phero
phero copied to clipboard
Support adding namespaces for your models and services`
export namespace todo.aap {
export const service = createService(
{
list,
create,
update,
updateTodoStatus,
markAllAsDone,
remove,
},
{
middleware: [authenticate],
}
);
}
- [ ] Let the user decide what the namespace is of their services and models based on the "export namespace" syntax
- [ ] generate classes/interfaces for the services
- [ ] when there's no namespace export, all services, and models will go into the global namespace
- [ ] remove domain namespace / code to calculate shared models