module@warp-drive/legacy/model/migration-support @legacy
Type Alias WithLegacyDerivations<T>
ts
type WithLegacyDerivations<T> = T & MinimalLegacyRecord & object;Defined in: warp-drive-packages/legacy/src/model/migration-support.ts:87
Adds the Model-style belongsTo/hasMany reference methods to a TypedRecordInstance, for use when migrating a resource from Model to a schema-based record while preserving these APIs.
Type Declaration
belongsTo
ts
belongsTo: typeof belongsTo;see belongsTo
hasMany
ts
hasMany: typeof hasMany;see hasMany
Type Parameters
T
T extends TypedRecordInstance