SettablePrimaryKey
Type Alias: SettablePrimaryKey<T>
SettablePrimaryKey<
T> =PrimaryKeyType<T> extendsobject?Settable<PrimaryKeyType<T>> |PrimaryKeyType<T> :PrimaryKeyType<T>
Defined in: packages/models/src/storable.ts:192
A widened version of PrimaryKeyType that accepts setter-compatible values.
For composite keys (objects), applies Settable to widen properties that have
a set() method (e.g. ModelLink accepts string).
For single keys (string/number), returns the type as-is.
Type Parameters
T
T extends Storable<any, any>