Hyperlinkv0.8.0-beta.28

QueueHyperlink

QueueHyperlink.jsonValueconstsrc/QueueHyperlink.ts:197
Schema.Codec<JsonValue, JsonValue, never, never>

Recursive structural JSON value schema — decodes to JsonValue. Used for the option attributes, which the engine persists as JSON. Schema.suspend breaks the self-reference.

wire schemasJsonValue
export const jsonValue: Schema.Codec<JsonValue> = Schema.Union([
  Schema.Null,
  Schema.String,
  Schema.Number,
  Schema.Boolean,
  Schema.Record(
    Schema.String,
    Schema.suspend((): Schema.Codec<JsonValue> => jsonValue),
  ),
  Schema.Array(Schema.suspend((): Schema.Codec<JsonValue> => jsonValue)),
]);
Referenced by 2 symbols