mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 13:48:55 +00:00
19 lines
463 B
TypeScript
19 lines
463 B
TypeScript
import { z } from 'zod';
|
|
|
|
export const AzurePipelinesTaskVersion = z.object({
|
|
major: z.number(),
|
|
minor: z.number(),
|
|
patch: z.number(),
|
|
});
|
|
|
|
export const AzurePipelinesTask = z.object({
|
|
name: z.string(),
|
|
deprecated: z.boolean().optional(),
|
|
version: AzurePipelinesTaskVersion.nullable(),
|
|
});
|
|
|
|
export const AzurePipelinesJSON = z.object({
|
|
value: AzurePipelinesTask.array(),
|
|
});
|
|
|
|
export const AzurePipelinesFallbackTasks = z.record(z.string().array());
|