/** * The format for @oada/jobs queue a job queue request * @example * ```json * { * "domain": "dev.trellis.one", * "token": "abc1234321cba" * } * ``` * * * File automatically generated using json-schema-to-typescript. * ! DO NOT MODIFY IT BY HAND ! * Instead, modify the source file ./oada/service/queue.schema.json of @oada/formats * and run `$ yarn build` to regenerate this file. * * @packageDocumentation */ /** * `$id` of the source schema * @see {@link https://formats.openag.io/oada/service/queue.schema.json} */ export declare const $id = "https://formats.openag.io/oada/service/queue.schema.json"; /** * JSON Schema used to generate this type * @see {@link https://formats.openag.io/oada/service/queue.schema.json} */ export declare const schema: { readonly $id: "https://formats.openag.io/oada/service/queue.schema.json"; readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly description: "The format for @oada/jobs queue a job queue request"; readonly type: "object"; readonly properties: { readonly domain: { readonly description: "OADA domain of the job queue"; readonly type: "string"; }; readonly token: { readonly description: "Token to use when interacting with job queue"; readonly type: "string"; }; }; readonly required: readonly ["domain", "token"]; readonly examples: readonly [{ readonly domain: "dev.trellis.one"; readonly token: "abc1234321cba"; }]; }; /** * Returns true if `val` is a @type `QueueSchema`, false otherwise */ export declare function is(val: unknown): val is QueueSchema; /** * Asserts that `val` is a @type `QueueSchema` */ export declare function assert(val: unknown): asserts val is QueueSchema; /** * The format for @oada/jobs queue a job queue request * @example * ```json * { * "domain": "dev.trellis.one", * "token": "abc1234321cba" * } * ``` * */ export default QueueSchema; /** * The format for @oada/jobs queue a job queue request */ export interface QueueSchema { /** * OADA domain of the job queue */ domain: string; /** * Token to use when interacting with job queue */ token: string; [k: string]: unknown; }