gradum-kit - v0.1.0
    Preparing search index...

    Type Alias GradumModelProxy<DataType, IdType>

    GradumModelProxy: DataType & { $model: GradumModel<DataType, KeyType, IdType> }

    Type Parameters

    • DataType extends object = any

      The type of the wrapped data.

    • IdType extends KeyType = any

      The type of the data's ID.

    Plain data that reads and writes through a GradumModel, as returned by GradumModel.from. Use the keys of the data directly; reach the backing model through $model.