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
This should only make the listed dependencies available in the given context. If using a context that's not ModuleContext, then all modules are available. Should be easy to do using a Partial.
Any module names that conflict with the core types (e.g. db) will be renamed with an underscore. e.g. calling the db module looks like ctx._db.doSomething({})
This needs to have a type-safe req/res format. This will require generating types in the runtime_config.ts file.
The text was updated successfully, but these errors were encountered:
Example:
ctx.users.get({ … })
This should only make the listed
dependencies
available in the given context. If using a context that's notModuleContext
, then all modules are available. Should be easy to do using aPartial
.Any module names that conflict with the core types (e.g.
db
) will be renamed with an underscore. e.g. calling thedb
module looks likectx._db.doSomething({})
This needs to have a type-safe req/res format. This will require generating types in the
runtime_config.ts
file.The text was updated successfully, but these errors were encountered: