/** * The format for @oada/jobs queues list * @example * ```json * { * "asdxjkacsdj": { * "domain": "https://dev.trellis.one", * "token": "abc1234321cba", * "path": "/bookmarks/services/MyCoolService" * } * } * ``` * * * File automatically generated using json-schema-to-typescript. * ! DO NOT MODIFY IT BY HAND ! * Instead, modify the source file ./oada/service/queues.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/queues.schema.json} */ export declare const $id = "https://formats.openag.io/oada/service/queues.schema.json"; /** * JSON Schema used to generate this type * @see {@link https://formats.openag.io/oada/service/queues.schema.json} */ export declare const schema: { readonly $id: "https://formats.openag.io/oada/service/queues.schema.json"; readonly $schema: "http://json-schema.org/draft-07/schema#"; readonly description: "The format for @oada/jobs queues list"; readonly type: "object"; readonly additionalProperties: { readonly $ref: "./queue.schema.json"; }; readonly examples: readonly [{ readonly asdxjkacsdj: { readonly domain: "https://dev.trellis.one"; readonly token: "abc1234321cba"; readonly path: "/bookmarks/services/MyCoolService"; }; }]; }; /** * Returns true if `val` is a @type `QueuesSchema`, false otherwise */ export declare function is(val: unknown): val is QueuesSchema; /** * Asserts that `val` is a @type `QueuesSchema` */ export declare function assert(val: unknown): asserts val is QueuesSchema; /** * The format for @oada/jobs queues list * @example * ```json * { * "asdxjkacsdj": { * "domain": "https://dev.trellis.one", * "token": "abc1234321cba", * "path": "/bookmarks/services/MyCoolService" * } * } * ``` * */ export default QueuesSchema; /** * The format for @oada/jobs queues list */ export interface QueuesSchema { [k: string]: HttpsFormatsOpenagIoOadaServiceQueueSchemaJson; } /** * The format for @oada/jobs queue a job queue request */ export interface HttpsFormatsOpenagIoOadaServiceQueueSchemaJson { /** * OADA domain of the job queue */ domain: string; /** * Token to use when interacting with job queue */ token: string; [k: string]: unknown; }