AppOptions = object
Defined in: packages/modelence/src/app/index.ts:44
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
auth? | AuthConfig | - | packages/modelence/src/app/index.ts:48 |
email? | EmailConfig | - | packages/modelence/src/app/index.ts:47 |
migrations? | MigrationScript[] | - | packages/modelence/src/app/index.ts:69 |
modules? | Module[] | - | packages/modelence/src/app/index.ts:45 |
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:66 |
security? | SecurityConfig | Security settings such as clickjacking protection. See SecurityConfig. | packages/modelence/src/app/index.ts:50 |
server? | AppServer | - | packages/modelence/src/app/index.ts:46 |
websocket? | WebsocketConfig | - | packages/modelence/src/app/index.ts:70 |