Closed ksibod closed 7 years ago
Added some style and syntax fixes.
Thank you very much for this PR, @ksibod! Will take a closure look on it as soon as possible ;)
@stel No problem, thanks!
@stel Got it thanks! I'll make these changes and push again
@stel Updated and pushed
@stel I apologize, I missed one of the cases! That should do the trick.
Awesome, @ksibod! Merging it now, thank you very much!
Simple saving of model definitions in javascript for use in React-Native or node js. Saves all schema definitions into a single js file (It adds the
Schema
text after the actual table name). The schemaconst
s are exported at the bottom of the file throughmodule.exports
. It might not handle every case but is at least a good start for exporting models from existing realm files!