renovate
Version:
Automated dependency updates. Flexible so you don't need to be.
206 lines (205 loc) • 5.05 kB
TypeScript
import { z } from 'zod';
export declare const User: z.ZodObject<{
displayName: z.ZodString;
emailAddress: z.ZodCatch<z.ZodString>;
active: z.ZodBoolean;
slug: z.ZodString;
}, "strip", z.ZodTypeAny, {
active: boolean;
slug: string;
displayName: string;
emailAddress: string;
}, {
active: boolean;
slug: string;
displayName: string;
emailAddress?: unknown;
}>;
export declare const Users: z.ZodArray<z.ZodObject<{
displayName: z.ZodString;
emailAddress: z.ZodCatch<z.ZodString>;
active: z.ZodBoolean;
slug: z.ZodString;
}, "strip", z.ZodTypeAny, {
active: boolean;
slug: string;
displayName: string;
emailAddress: string;
}, {
active: boolean;
slug: string;
displayName: string;
emailAddress?: unknown;
}>, "many">;
export declare const Files: z.ZodArray<z.ZodString, "many">;
export declare const Comment: z.ZodObject<{
text: z.ZodString;
id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
id: number;
text: string;
}, {
id: number;
text: string;
}>;
export type Comment = z.infer<typeof Comment>;
export declare const PullRequestCommentActivity: z.ZodObject<{
action: z.ZodLiteral<"COMMENTED">;
commentAction: z.ZodString;
comment: z.ZodObject<{
text: z.ZodString;
id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
id: number;
text: string;
}, {
id: number;
text: string;
}>;
}, "strip", z.ZodTypeAny, {
comment: {
id: number;
text: string;
};
action: "COMMENTED";
commentAction: string;
}, {
comment: {
id: number;
text: string;
};
action: "COMMENTED";
commentAction: string;
}>;
export type PullRequestCommentActivity = z.infer<typeof PullRequestCommentActivity>;
export declare const PullRequestActivity: z.ZodUnion<[z.ZodObject<{
action: z.ZodString;
}, "strip", z.ZodTypeAny, {
action: string;
}, {
action: string;
}>, z.ZodObject<{
action: z.ZodLiteral<"COMMENTED">;
commentAction: z.ZodString;
comment: z.ZodObject<{
text: z.ZodString;
id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
id: number;
text: string;
}, {
id: number;
text: string;
}>;
}, "strip", z.ZodTypeAny, {
comment: {
id: number;
text: string;
};
action: "COMMENTED";
commentAction: string;
}, {
comment: {
id: number;
text: string;
};
action: "COMMENTED";
commentAction: string;
}>]>;
export type PullRequestActivity = z.infer<typeof PullRequestActivity>;
export declare const ReviewerGroup: z.ZodObject<{
name: z.ZodString;
users: z.ZodArray<z.ZodObject<{
displayName: z.ZodString;
emailAddress: z.ZodCatch<z.ZodString>;
active: z.ZodBoolean;
slug: z.ZodString;
}, "strip", z.ZodTypeAny, {
active: boolean;
slug: string;
displayName: string;
emailAddress: string;
}, {
active: boolean;
slug: string;
displayName: string;
emailAddress?: unknown;
}>, "many">;
scope: z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"REPOSITORY">, z.ZodLiteral<"PROJECT">]>;
}, "strip", z.ZodTypeAny, {
type: "REPOSITORY" | "PROJECT";
}, {
type: "REPOSITORY" | "PROJECT";
}>;
}, "strip", z.ZodTypeAny, {
name: string;
scope: {
type: "REPOSITORY" | "PROJECT";
};
users: {
active: boolean;
slug: string;
displayName: string;
emailAddress: string;
}[];
}, {
name: string;
scope: {
type: "REPOSITORY" | "PROJECT";
};
users: {
active: boolean;
slug: string;
displayName: string;
emailAddress?: unknown;
}[];
}>;
export declare const ReviewerGroups: z.ZodArray<z.ZodObject<{
name: z.ZodString;
users: z.ZodArray<z.ZodObject<{
displayName: z.ZodString;
emailAddress: z.ZodCatch<z.ZodString>;
active: z.ZodBoolean;
slug: z.ZodString;
}, "strip", z.ZodTypeAny, {
active: boolean;
slug: string;
displayName: string;
emailAddress: string;
}, {
active: boolean;
slug: string;
displayName: string;
emailAddress?: unknown;
}>, "many">;
scope: z.ZodObject<{
type: z.ZodUnion<[z.ZodLiteral<"REPOSITORY">, z.ZodLiteral<"PROJECT">]>;
}, "strip", z.ZodTypeAny, {
type: "REPOSITORY" | "PROJECT";
}, {
type: "REPOSITORY" | "PROJECT";
}>;
}, "strip", z.ZodTypeAny, {
name: string;
scope: {
type: "REPOSITORY" | "PROJECT";
};
users: {
active: boolean;
slug: string;
displayName: string;
emailAddress: string;
}[];
}, {
name: string;
scope: {
type: "REPOSITORY" | "PROJECT";
};
users: {
active: boolean;
slug: string;
displayName: string;
emailAddress?: unknown;
}[];
}>, "many">;