@ceramic-sdk/model-protocol v0.2.1 • Docs
Ceramic SDK / @ceramic-sdk/model-protocol / ModelAccountRelationV2
constModelAccountRelationV2:UnionCodec<[ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>,ExactCodec<TypeCodec<object>>]>
Represents the relationship between an instance of this model and the controller account:
- 'list' means there can be many instances of this model for a single account
- 'single' means there can be only one instance of this model per account (if a new instance is created it overrides the old one)
- 'none' means there can be no instance associated to an account (for interfaces notably)
- 'set' means there can be only one instance of this model per account and value of the specified content 'fields'