Skip to main content

StorableAttributes

@webda/models


Type Alias: StorableAttributes<T, U>

StorableAttributes<T, U> = FilterAttributes<Omit<ExcludeSymbols<T>, FilterAttributes<T, Function> | FilterAttributes<T, ModelRelated<any, any, any>> | ReadonlyKeys<T> | Extract<keyof T, symbol>>, U>

Defined in: packages/models/src/storable.ts:253

Get the model attributes without the internal properties

Used for the create method

Type Parameters​

T​

T extends Storable

U​

U = any