@authhero/kysely-adapter 12.18.1 → 12.19.0
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 +2 -2
- package/dist/kysely-adapter.d.ts +4 -0
- package/dist/kysely-adapter.mjs +441 -365
- package/dist/types/migrate/migrations/2026-11-05T12:00:00_session_authentication.d.ts +4 -0
- package/dist/types/migrate/migrations/2026-11-05T13:00:00_authentication_methods_totp_last_step.d.ts +4 -0
- package/dist/types/migrate/migrations/index.d.ts +4 -0
- package/dist/types/src/authenticationMethods/consumeTotpStep.d.ts +3 -0
- package/dist/types/src/db.d.ts +4 -0
- package/dist/types/src/tenants/list.d.ts +2 -2
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -281,6 +281,7 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
281
281
|
tenant_id: z.ZodString;
|
|
282
282
|
device: z.ZodString;
|
|
283
283
|
clients: z.ZodString;
|
|
284
|
+
authentication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
284
285
|
created_at_ts: z.ZodNumber;
|
|
285
286
|
updated_at_ts: z.ZodNumber;
|
|
286
287
|
expires_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -643,6 +644,8 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
643
644
|
policy: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
644
645
|
never: "never";
|
|
645
646
|
always: "always";
|
|
647
|
+
"all-applications": "all-applications";
|
|
648
|
+
"confidence-score": "confidence-score";
|
|
646
649
|
}>>>;
|
|
647
650
|
factors: z.ZodOptional<z.ZodObject<{
|
|
648
651
|
sms: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -889,6 +892,7 @@ declare const sqlAuthenticationMethodSchema: z.ZodObject<{
|
|
|
889
892
|
type: z.ZodString;
|
|
890
893
|
phone_number: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
891
894
|
totp_secret: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
895
|
+
totp_last_step: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
892
896
|
credential_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
893
897
|
public_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
894
898
|
sign_count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|