Actinium Domain Model
Artifacts
File | Description |
middleware.js | Express middleware file for registering middleware. |
plugin.js | Actinium plugin file for registering a plugin. |
sdk.js | File in a plugin directory that defines an extension to the Actinium SDK. (optional) |
route.js | File in a plugin directory that defines data driven routes for dynamic routes in the admin or another UI application. (optional) |
blueprints.js | File in a plugin directory that defines UI layouts for the Admin. (optional) |
schema.js | File in a plugin directory that defines DB schema information for registering Parse Collections |
plugin.js
Actinium will attempt to add any file within the /src/app directory with a file name that ends with plugin.js and execute in the file scope.
A typical plugin.js file may look like:
middleware.js
Actinium will attempt to add any file within the /src/app directory with a file name that ends with middleware.js and execute it in the file scope.
A typical middleware.js file may look like:
Actinium will traverse node_modules/**/actinium directories for plugin.js and middleware.js artifacts.
Last updated