Commit with GitHub user email (needed for vercel deployment)

This commit is contained in:
Will Chen
2025-04-14 22:39:42 -07:00
parent d55d6781a6
commit 1c325eccf4
7 changed files with 145 additions and 100 deletions

View File

@@ -74,6 +74,11 @@ export const GitHubSettingsSchema = z.object({
});
export type GitHubSettings = z.infer<typeof GitHubSettingsSchema>;
export const GithubUserSchema = z.object({
email: z.string(),
});
export type GithubUser = z.infer<typeof GithubUserSchema>;
/**
* Zod schema for user settings
*/
@@ -82,6 +87,7 @@ export const UserSettingsSchema = z.object({
providerSettings: z.record(z.string(), ProviderSettingSchema),
runtimeMode: RuntimeModeSchema,
githubSettings: GitHubSettingsSchema,
githubUser: GithubUserSchema.optional(),
});
/**