You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Request: add an option for exporting just the TypeScript interfaces or classes from the DB schema, with no dependency on Model.
Scenario: Using sequelize-typescript on node, want to be able to use data returned by API calls in the browser, where I'm running Svelte with typescript. Example: API call to return a list of books - want to be able to use a Book array on the client side.
This doesn't work because sequelize only works on node (server-side) and you can't even import just the generated classes, since they extend Model from sequelize-typescript.
The text was updated successfully, but these errors were encountered:
Request: add an option for exporting just the TypeScript interfaces or classes from the DB schema, with no dependency on Model.
Scenario: Using sequelize-typescript on node, want to be able to use data returned by API calls in the browser, where I'm running Svelte with typescript. Example: API call to return a list of books - want to be able to use a Book array on the client side.
This doesn't work because sequelize only works on node (server-side) and you can't even import just the generated classes, since they extend Model from sequelize-typescript.
The text was updated successfully, but these errors were encountered: