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?
readonlyoptionaldeprecations?:VersionDeprecations
Defined in: defineSchemaUpdate.ts:48
migrations?
readonlyoptionalmigrations?:VersionMigrations
Defined in: defineSchemaUpdate.ts:47
models
readonlymodels:T
Defined in: defineSchemaUpdate.ts:44
previous
readonlyprevious:SchemaDefinition
Defined in: defineSchemaUpdate.ts:46
type
readonlytype:"versioned"
Defined in: defineSchemaUpdate.ts:43
version
readonlyversion:number
Defined in: defineSchemaUpdate.ts:45