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.

OptionaloverrideCollectionWorldPermissions

overrideCollectionWorldPermissions: boolean

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

OptionaluserPermissions

userPermissions: object

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.

OptionalworldPermissions

worldPermissions: ModelPermissions

Generic permissions for this model for all users.