/** * Auto-generated Zod schema for Discussion * DO NOT MODIFY - regenerate with: bun run generate:schemas */ import type { Discussion as DiscussionOctokit } from '@octokit/webhooks-types'; import { z } from 'zod'; export declare const DiscussionSchema: z.ZodObject<{ repository_url: z.ZodString; category: z.ZodObject<{ id: z.ZodNumber; node_id: z.ZodString; repository_id: z.ZodNumber; emoji: z.ZodString; name: z.ZodString; description: z.ZodString; created_at: z.ZodString; updated_at: z.ZodString; slug: z.ZodString; is_answerable: z.ZodBoolean; }, z.core.$strip>; answer_html_url: z.ZodNullable; answer_chosen_at: z.ZodNullable; answer_chosen_by: z.ZodNullable; email: z.ZodOptional>; avatar_url: z.ZodString; gravatar_id: z.ZodString; url: z.ZodString; html_url: z.ZodString; followers_url: z.ZodString; following_url: z.ZodString; gists_url: z.ZodString; starred_url: z.ZodString; subscriptions_url: z.ZodString; organizations_url: z.ZodString; repos_url: z.ZodString; events_url: z.ZodString; received_events_url: z.ZodString; type: z.ZodUnion, z.ZodLiteral<"User">, z.ZodLiteral<"Organization">]>; site_admin: z.ZodBoolean; }, z.core.$strip>>; html_url: z.ZodString; id: z.ZodNumber; node_id: z.ZodString; number: z.ZodNumber; title: z.ZodString; user: z.ZodObject<{ login: z.ZodString; id: z.ZodNumber; node_id: z.ZodString; name: z.ZodOptional; email: z.ZodOptional>; avatar_url: z.ZodString; gravatar_id: z.ZodString; url: z.ZodString; html_url: z.ZodString; followers_url: z.ZodString; following_url: z.ZodString; gists_url: z.ZodString; starred_url: z.ZodString; subscriptions_url: z.ZodString; organizations_url: z.ZodString; repos_url: z.ZodString; events_url: z.ZodString; received_events_url: z.ZodString; type: z.ZodUnion, z.ZodLiteral<"User">, z.ZodLiteral<"Organization">]>; site_admin: z.ZodBoolean; }, z.core.$strip>; state: z.ZodUnion, z.ZodLiteral<"locked">, z.ZodLiteral<"converting">]>; locked: z.ZodBoolean; comments: z.ZodNumber; created_at: z.ZodString; updated_at: z.ZodString; author_association: z.ZodUnion, z.ZodLiteral<"CONTRIBUTOR">, z.ZodLiteral<"FIRST_TIMER">, z.ZodLiteral<"FIRST_TIME_CONTRIBUTOR">, z.ZodLiteral<"MANNEQUIN">, z.ZodLiteral<"MEMBER">, z.ZodLiteral<"NONE">, z.ZodLiteral<"OWNER">]>; active_lock_reason: z.ZodNullable; body: z.ZodString; reactions: z.ZodOptional>; }, z.core.$strip>; export type Discussion = DiscussionOctokit; export declare function isDiscussion(value: unknown): value is Discussion; //# sourceMappingURL=discussion.d.ts.map