@ceramic-sdk/model-protocol v0.2.1 • Docs
Ceramic SDK / @ceramic-sdk/model-protocol / ModelViewsDefinitionV2
constModelViewsDefinitionV2:NonEnumerableRecordCodec<TrivialCodec<string>,UnionCodec<[UnionCodec<[ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>]>,UnionCodec<[ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>]>]>>
A mapping between model's property names and types of view properties
It indicates which properties of a model are view properties and of what type