Options
Menu

Interface IModelCreationData

Hierarchy

  • IModelCreationData

Index

Properties

collection

collection: string

The collection in which this model will live.

createdTime

createdTime: Date

The date / time the model was created.

initialData

initialData: IObjectValue

The data the model was created with.

modelId

modelId: string

The model's unique id.

overrideCollectionWorldPermissions

overrideCollectionWorldPermissions: boolean

Set to true if the permissions set in this object should override those set in the parent collection.

userPermissions

userPermissions: {}

Per-user permissions can be set here, where the key is an existing user's username.

Type declaration

valueIdPrefix

valueIdPrefix: string

The value id prefix to use for the model.

worldPermissions

worldPermissions: IModelPermissions

Generic permissions for this model for all users.