UNPKG

artifact-metadata

Version:

NodeJS module to store Issues and Pull Requests metadata in GitHub Artifacts.

29 lines (28 loc) 893 B
import { z } from 'zod'; export declare const idSchema: z.ZodString; export declare const requestDetailsSchema: z.ZodObject<{ owner: z.ZodString; repo: z.ZodString; headers: z.ZodObject<{ authorization: z.ZodString; }, "strip", z.ZodTypeAny, { authorization?: string; }, { authorization?: string; }>; }, "strip", z.ZodTypeAny, { owner?: string; repo?: string; headers?: { authorization?: string; }; }, { owner?: string; repo?: string; headers?: { authorization?: string; }; }>; export type RequestDetails = z.infer<typeof requestDetailsSchema>; export declare const metadataObjectSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">]>>; export type MetadataObject = z.infer<typeof metadataObjectSchema>;