Metakit / @doeixd/metakit/artifact

schemaInterface

function · packages/metakit/src/schemaInterface.ts:279

function schemaInterface(
  schema: Schema.Top,
): Effect.Effect<SchemaInterface, Failure>

The interface of schema's decoded side, as a canonical value: two Schemas that differ only in documentation, names or field order have equal interfaces. Fails with Unhashable('unidentified'), naming the field, for a check or declaration with no representation identity.