Parts of a module
Only the manifest is required. The Expenses module is a manifest and nothing else.
exports: ./manifest, ./server and ./studio.
How a module reaches a workspace
- The package is listed in
devias.config.ts, so the studio and the server know about it. - An admin installs it in a workspace from Settings → Modules, after reviewing a plan of what will change.
- From then on the studio shows its screens and the server runs its code.
A module can build on another. Expenses, for example, needs the CRM installed first, because an expense points at a CRM company.
Related
- Create a first module: a procedure with a complete manifest.
- Built-in modules: the modules that ship with Devias, as examples.
- Modules: the concept.