JSON-safe metadata for queue item wire encoding and typed group contracts.
models
Source src/internal/queueHyperlink.ts:22010 lines
export interface QueueItemCodecDescriptor {
/** Stable codec id, e.g. `"@app/EmailQueue/item@v1"`. */
readonly QueueItemCodecDescriptor.id: stringStable codec id, e.g. "@app/EmailQueue/item@v1".
id: string;
/** Version string for drift checks (bump when encoded shape breaks). */
readonly QueueItemCodecDescriptor.version: stringVersion string for drift checks (bump when encoded shape breaks).
version: string;
/** Wire encoding; `"json"` is the only supported value today. */
readonly QueueItemCodecDescriptor.encoding: "json"Wire encoding; "json" is the only supported value today.
encoding: "json";
/** Draft-07 JSON Schema for the **encoded** item payload. */
readonly QueueItemCodecDescriptor.jsonSchema: JsonSchema.JsonSchemaDraft-07 JSON Schema for the encoded item payload.
jsonSchema: import JsonSchemaJsonSchema.JsonSchema;
}
Referenced by 3 symbols