@supernovaio/cli
Version:
Supernova.io Command Line Interface
29 lines (27 loc) • 1.22 kB
JavaScript
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9f54d89e-12cb-5b20-a626-2bd5dc13974e")}catch(e){}}();
import { z } from "zod";
const safeString = z.string().optional().catch(undefined);
const safeBoolean = z.boolean().optional().catch(undefined);
export const SupernovaConfigStorybook = z.object({
designSystemId: safeString,
sourceId: safeString,
brandId: safeString,
name: safeString,
from: safeString,
publicAccess: safeBoolean,
});
export const SupernovaConfigAnalyze = z.object({
repoId: safeString,
repoName: safeString,
packages: z.array(z.string()).optional().catch(undefined),
excludedPackages: z.array(z.string()).optional().catch(undefined),
});
export const SupernovaConfig = z
.object({
designSystemId: safeString,
analyze: SupernovaConfigAnalyze.optional().catch(undefined),
storybook: SupernovaConfigStorybook.optional().catch(undefined),
})
.catch({});
//# sourceMappingURL=config.js.map
//# debugId=9f54d89e-12cb-5b20-a626-2bd5dc13974e