renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
136 lines (135 loc) • 3.19 kB
TypeScript
import { z } from 'zod';
import type { PackageDependency } from '../types';
/**
* schema here should match the whole step,
* there may be some actions use env as arguments version.
*
* each type should return `PackageDependency | undefined`
*/
export declare const CommunityActions: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
uses: z.ZodUnion<[z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>]>;
with: z.ZodObject<{
repo: z.ZodString;
tag: z.ZodString;
}, "strip", z.ZodTypeAny, {
repo: string;
tag: string;
}, {
repo: string;
tag: string;
}>;
}, "strip", z.ZodTypeAny, {
with: {
repo: string;
tag: string;
};
uses?: any;
}, {
with: {
repo: string;
tag: string;
};
uses?: any;
}>, PackageDependency<Record<string, any>>, {
with: {
repo: string;
tag: string;
};
uses?: any;
}>, z.ZodEffects<z.ZodObject<{
uses: z.ZodType<any, z.ZodTypeDef, any>;
with: z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
}, {
version?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
with: {
version?: string | undefined;
};
uses?: any;
}, {
with: {
version?: string | undefined;
};
uses?: any;
}>, PackageDependency<Record<string, any>>, {
with: {
version?: string | undefined;
};
uses?: any;
}>, z.ZodEffects<z.ZodObject<{
uses: z.ZodType<any, z.ZodTypeDef, any>;
with: z.ZodObject<{
'pixi-version': z.ZodString;
}, "strip", z.ZodTypeAny, {
'pixi-version': string;
}, {
'pixi-version': string;
}>;
}, "strip", z.ZodTypeAny, {
with: {
'pixi-version': string;
};
uses?: any;
}, {
with: {
'pixi-version': string;
};
uses?: any;
}>, PackageDependency<Record<string, any>>, {
with: {
'pixi-version': string;
};
uses?: any;
}>, z.ZodEffects<z.ZodObject<{
uses: z.ZodType<any, z.ZodTypeDef, any>;
with: z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
}, {
version?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
with: {
version?: string | undefined;
};
uses?: any;
}, {
with: {
version?: string | undefined;
};
uses?: any;
}>, PackageDependency<Record<string, any>>, {
with: {
version?: string | undefined;
};
uses?: any;
}>, z.ZodEffects<z.ZodObject<{
uses: z.ZodType<any, z.ZodTypeDef, any>;
with: z.ZodObject<{
version: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
version?: string | undefined;
}, {
version?: string | undefined;
}>;
}, "strip", z.ZodTypeAny, {
with: {
version?: string | undefined;
};
uses?: any;
}, {
with: {
version?: string | undefined;
};
uses?: any;
}>, PackageDependency<Record<string, any>>, {
with: {
version?: string | undefined;
};
uses?: any;
}>]>;