@authhero/kysely-adapter 0.9.5 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3131,9 +3131,9 @@ declare const sqlApplicationSchema: z.ZodObject<{
3131
3131
  allowed_origins: z.ZodString;
3132
3132
  web_origins: z.ZodString;
3133
3133
  allowed_logout_urls: z.ZodString;
3134
+ allowed_clients: z.ZodString;
3134
3135
  id: z.ZodString;
3135
3136
  name: z.ZodString;
3136
- allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
3137
3137
  email_validation: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
3138
3138
  "enabled",
3139
3139
  "disabled",
@@ -3150,11 +3150,11 @@ declare const sqlApplicationSchema: z.ZodObject<{
3150
3150
  allowed_origins: string;
3151
3151
  web_origins: string;
3152
3152
  allowed_logout_urls: string;
3153
+ allowed_clients: string;
3153
3154
  id: string;
3154
3155
  name: string;
3155
3156
  created_at: string;
3156
3157
  updated_at: string;
3157
- allowed_clients?: string[] | undefined;
3158
3158
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
3159
3159
  client_secret?: string | undefined;
3160
3160
  }, {
@@ -3165,14 +3165,36 @@ declare const sqlApplicationSchema: z.ZodObject<{
3165
3165
  allowed_origins: string;
3166
3166
  web_origins: string;
3167
3167
  allowed_logout_urls: string;
3168
+ allowed_clients: string;
3168
3169
  id: string;
3169
3170
  name: string;
3170
3171
  created_at: string;
3171
3172
  updated_at: string;
3172
- allowed_clients?: string[] | undefined;
3173
3173
  email_validation?: "enabled" | "disabled" | "enforced" | undefined;
3174
3174
  client_secret?: string | undefined;
3175
3175
  }>;
3176
+ declare const sqlPromptSettingSchema: z.ZodObject<{
3177
+ identifier_first: z.ZodNumber;
3178
+ password_first: z.ZodNumber;
3179
+ webauthn_platform_first_factor: z.ZodNumber;
3180
+ tenant_id: z.ZodString;
3181
+ universal_login_experience: z.ZodDefault<z.ZodEnum<[
3182
+ "new",
3183
+ "classic"
3184
+ ]>>;
3185
+ }, "strip", z.ZodTypeAny, {
3186
+ tenant_id: string;
3187
+ identifier_first: number;
3188
+ password_first: number;
3189
+ webauthn_platform_first_factor: number;
3190
+ universal_login_experience: "new" | "classic";
3191
+ }, {
3192
+ tenant_id: string;
3193
+ identifier_first: number;
3194
+ password_first: number;
3195
+ webauthn_platform_first_factor: number;
3196
+ universal_login_experience?: "new" | "classic" | undefined;
3197
+ }>;
3176
3198
  export interface Database {
3177
3199
  applications: z.infer<typeof sqlApplicationSchema>;
3178
3200
  branding: SqlBranding;
@@ -3194,9 +3216,7 @@ export interface Database {
3194
3216
  passwords: Password & {
3195
3217
  tenant_id: string;
3196
3218
  };
3197
- prompt_settings: PromptSetting & {
3198
- tenant_id: string;
3199
- };
3219
+ prompt_settings: z.infer<typeof sqlPromptSettingSchema>;
3200
3220
  users: SqlUser;
3201
3221
  sessions: Session & {
3202
3222
  tenant_id: string;