Skip to main content

Interface: VersionedSchema<T>

Defined in: defineSchemaUpdate.ts:42

Version 2 or later of a schema, produced by nextSchema. Links back to the previous version.

Type Parameters​

T​

T extends ModelDefs = ModelDefs

Properties​

deprecations?​

readonly optional deprecations?: VersionDeprecations

Defined in: defineSchemaUpdate.ts:48


migrations?​

readonly optional migrations?: VersionMigrations

Defined in: defineSchemaUpdate.ts:47


models​

readonly models: T

Defined in: defineSchemaUpdate.ts:44


previous​

readonly previous: SchemaDefinition

Defined in: defineSchemaUpdate.ts:46


type​

readonly type: "versioned"

Defined in: defineSchemaUpdate.ts:43


version​

readonly version: number

Defined in: defineSchemaUpdate.ts:45