@cdwr/nx-migrate-action
Version:
The Nx Migrate GitHub Action will keep your workspace up to date.
118 lines (117 loc) • 3.06 kB
TypeScript
import { z } from 'zod';
export declare const EmailValidation: {
standardEmail: z.ZodString;
githubBotEmail: z.ZodString;
anyBotEmail: z.ZodEffects<z.ZodString, string, string>;
};
export declare const ActionInputsSchema: z.ZodObject<{
author: z.ZodString;
autoMerge: z.ZodBoolean;
checkToken: z.ZodBoolean;
committer: z.ZodString;
dryRun: z.ZodBoolean;
mainBranch: z.ZodString;
frequency: z.ZodEnum<["major", "minor", "patch"]>;
packagePatterns: z.ZodArray<z.ZodString, "many">;
prAssignees: z.ZodString;
skipTests: z.ZodBoolean;
skipE2E: z.ZodBoolean;
token: z.ZodString;
}, "strip", z.ZodTypeAny, {
author: string;
autoMerge: boolean;
checkToken: boolean;
committer: string;
dryRun: boolean;
mainBranch: string;
frequency: "major" | "minor" | "patch";
packagePatterns: string[];
prAssignees: string;
skipTests: boolean;
skipE2E: boolean;
token: string;
}, {
author: string;
autoMerge: boolean;
checkToken: boolean;
committer: string;
dryRun: boolean;
mainBranch: string;
frequency: "major" | "minor" | "patch";
packagePatterns: string[];
prAssignees: string;
skipTests: boolean;
skipE2E: boolean;
token: string;
}>;
export declare const MigrateConfigSchema: z.ZodObject<{
autoMerge: z.ZodBoolean;
checkToken: z.ZodBoolean;
dryRun: z.ZodBoolean;
frequency: z.ZodEnum<["major", "minor", "patch"]>;
skipTests: z.ZodBoolean;
skipE2E: z.ZodBoolean;
token: z.ZodString;
} & {
author: z.ZodOptional<z.ZodObject<{
name: z.ZodString;
email: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
email: string;
}, {
name: string;
email: string;
}>>;
committer: z.ZodObject<{
name: z.ZodString;
email: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
email: string;
}, {
name: string;
email: string;
}>;
mainBranch: z.ZodString;
packagePatterns: z.ZodArray<z.ZodString, "many">;
prAssignees: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
autoMerge: boolean;
checkToken: boolean;
committer: {
name: string;
email: string;
};
dryRun: boolean;
mainBranch: string;
frequency: "major" | "minor" | "patch";
packagePatterns: string[];
prAssignees: string[];
skipTests: boolean;
skipE2E: boolean;
token: string;
author?: {
name: string;
email: string;
} | undefined;
}, {
autoMerge: boolean;
checkToken: boolean;
committer: {
name: string;
email: string;
};
dryRun: boolean;
mainBranch: string;
frequency: "major" | "minor" | "patch";
packagePatterns: string[];
prAssignees: string[];
skipTests: boolean;
skipE2E: boolean;
token: string;
author?: {
name: string;
email: string;
} | undefined;
}>;