renovate/lib/modules/manager/bitrise/schema.ts

13 lines
311 B
TypeScript

import { z } from 'zod';
export const BitriseStep = z.record(z.string(), z.unknown());
export const BitriseWorkflow = z.object({
steps: z.array(BitriseStep),
});
export const BitriseFile = z.object({
default_step_lib_source: z.string().optional(),
workflows: z.record(z.string(), BitriseWorkflow),
});