mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-12 23:51:55 +00:00
22 lines
569 B
TypeScript
22 lines
569 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({
|
|
id: z.string(),
|
|
name: z.string(),
|
|
deprecated: z.boolean().optional(),
|
|
serverOwned: z.boolean().optional(),
|
|
version: AzurePipelinesTaskVersion.nullable(),
|
|
contributionIdentifier: z.string().optional(),
|
|
});
|
|
|
|
export const AzurePipelinesJSON = z.object({
|
|
value: AzurePipelinesTask.array(),
|
|
});
|
|
|
|
export const AzurePipelinesFallbackTasks = z.record(z.string().array());
|