Skip to main content

Variable: TypesyncHypergraphMapping

const TypesyncHypergraphMapping: Record$<typeof NonEmptyTrimmedString, Struct<{ properties: optional<UndefinedOr<Record$<typeof NonEmptyTrimmedString, typeof UUID>>>; relations: optional<UndefinedOr<Record$<typeof NonEmptyTrimmedString, typeof UUID>>>; typeIds: filter<Array$<typeof UUID>>; }>>

Defined in: packages/hypergraph/src/cli/services/Model.ts:65

Extending the hypergraph Mapping definition to make it an effect Schema instance. Allows decoding as well as passing in the api request payload