Variable ModelDefinitionConst
ModelDefinition: UnionCodec<[SparseCodec<{ accountRelation: UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"list"> }>>, ExactCodec<TypeCodec<{ type: LiteralCodec<"single"> }>>]>; description: OptionalCodec<TrivialCodec<string>>; name: TrivialCodec<string>; relations: OptionalCodec<NonEnumerableRecordCodec<TrivialCodec<string>, UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"account"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; type: LiteralCodec<"document"> }>>]>>>; schema: Type<Object<any>, Object<any>, unknown>; version: LiteralCodec<"1.0">; views: OptionalCodec<NonEnumerableRecordCodec<TrivialCodec<string>, UnionCodec<[UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"documentAccount"> }>>, ExactCodec<TypeCodec<{ type: LiteralCodec<"documentVersion"> }>>]>, UnionCodec<[ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; property: TrivialCodec<string>; type: LiteralCodec<"relationDocument"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; property: TrivialCodec<string>; type: LiteralCodec<"relationFrom"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; property: TrivialCodec<string>; type: LiteralCodec<"relationCountFrom"> }>>]>]>>> }>, SparseCodec<{ accountRelation: UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"list"> }>>, ExactCodec<TypeCodec<{ type: LiteralCodec<"single"> }>>, ExactCodec<TypeCodec<{ type: LiteralCodec<"none"> }>>, ExactCodec<TypeCodec<{ fields: Codec<string[], string[], unknown> & {}; type: LiteralCodec<"set"> }>>]>; description: OptionalCodec<TrivialCodec<string>>; immutableFields: OptionalCodec<Codec<string[], string[], unknown> & {}>; implements: Codec<string[], string[], unknown> & {}; interface: TrivialCodec<boolean>; name: TrivialCodec<string>; relations: OptionalCodec<NonEnumerableRecordCodec<TrivialCodec<string>, UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"account"> }>>, ExactCodec<TypeCodec<{ model: UnionCodec<[RefinementCodec<TrivialCodec<string>, string>, TrivialCodec<null>]>; type: LiteralCodec<"document"> }>>]>>>; schema: Type<Object<any>, Object<any>, unknown>; version: LiteralCodec<"2.0">; views: OptionalCodec<NonEnumerableRecordCodec<TrivialCodec<string>, UnionCodec<[UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"documentAccount"> }>>, ExactCodec<TypeCodec<{ type: LiteralCodec<"documentVersion"> }>>]>, UnionCodec<[ExactCodec<TypeCodec<{ model: UnionCodec<[RefinementCodec<TrivialCodec<string>, string>, TrivialCodec<null>]>; property: TrivialCodec<string>; type: LiteralCodec<"relationDocument"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; property: TrivialCodec<string>; type: LiteralCodec<"relationFrom"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; property: TrivialCodec<string>; type: LiteralCodec<"relationCountFrom"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; property: TrivialCodec<string>; type: LiteralCodec<"relationSetFrom"> }>>]>]>>> }>]> = ...
Contents of a Model Stream.