@authhero/kysely-adapter 0.9.5 → 0.9.6
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.
- package/dist/kysely-adapter.cjs +1 -1
- package/dist/kysely-adapter.d.ts +23 -3
- package/dist/kysely-adapter.iife.js +1 -1
- package/dist/kysely-adapter.mjs +447 -438
- package/package.json +1 -1
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -3173,6 +3173,28 @@ declare const sqlApplicationSchema: z.ZodObject<{
|
|
|
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:
|
|
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;
|