Supabase integration experiment setting (off by default)
This commit is contained in:
@@ -87,6 +87,11 @@ export const SupabaseSchema = z.object({
|
||||
});
|
||||
export type Supabase = z.infer<typeof SupabaseSchema>;
|
||||
|
||||
export const ExperimentsSchema = z.object({
|
||||
enableSupabaseIntegration: z.boolean().optional(),
|
||||
});
|
||||
export type Experiments = z.infer<typeof ExperimentsSchema>;
|
||||
|
||||
/**
|
||||
* Zod schema for user settings
|
||||
*/
|
||||
@@ -100,6 +105,8 @@ export const UserSettingsSchema = z.object({
|
||||
telemetryConsent: z.enum(["opted_in", "opted_out", "unset"]).optional(),
|
||||
telemetryUserId: z.string().optional(),
|
||||
hasRunBefore: z.boolean().optional(),
|
||||
|
||||
experiments: ExperimentsSchema.optional(),
|
||||
// DEPRECATED.
|
||||
runtimeMode: RuntimeModeSchema.optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user