AppOptions = object
Defined in: packages/modelence/src/app/index.ts:35
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
auth? | AuthConfig | - | packages/modelence/src/app/index.ts:39 |
email? | EmailConfig | - | packages/modelence/src/app/index.ts:38 |
migrations? | MigrationScript[] | - | packages/modelence/src/app/index.ts:60 |
modules? | Module[] | - | packages/modelence/src/app/index.ts:36 |
roles? | Record<string, RoleDefinition> | Custom role definitions keyed by role name. Defined roles are synced to the Modelence Cloud dashboard for user management. See RoleDefinition. Example startApp({ roles: { admin: { description: 'Full access to all features' }, editor: { description: 'Can edit content' }, viewer: {}, }, }); | packages/modelence/src/app/index.ts:57 |
security? | SecurityConfig | Security settings such as clickjacking protection. See SecurityConfig. | packages/modelence/src/app/index.ts:41 |
server? | AppServer | - | packages/modelence/src/app/index.ts:37 |
websocket? | WebsocketConfig | - | packages/modelence/src/app/index.ts:61 |