@authhero/kysely-adapter 12.4.2 → 12.5.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 +1 -1
- package/dist/kysely-adapter.d.ts +5 -0
- package/dist/kysely-adapter.mjs +1105 -1017
- package/dist/types/migrate/migrations/2026-08-20T12:00:00_refresh_token_session_id.d.ts +4 -0
- package/dist/types/migrate/migrations/2026-08-21T12:00:00_refresh_token_session_id_backfill.d.ts +4 -0
- package/dist/types/migrate/migrations/index.d.ts +4 -0
- package/dist/types/src/db.d.ts +5 -0
- package/dist/types/src/refreshTokens/list.d.ts +2 -2
- package/dist/types/src/refreshTokens/revokeByUser.d.ts +13 -0
- package/dist/types/src/refreshTokens/to-refresh-token.d.ts +11 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -238,7 +238,10 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
238
238
|
}, z.core.$strip>;
|
|
239
239
|
declare const sqlRefreshTokensSchema: z.ZodObject<{
|
|
240
240
|
client_id: z.ZodString;
|
|
241
|
+
organization: z.ZodOptional<z.ZodString>;
|
|
242
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
241
243
|
user_id: z.ZodString;
|
|
244
|
+
auth_connection: z.ZodOptional<z.ZodString>;
|
|
242
245
|
id: z.ZodString;
|
|
243
246
|
login_id: z.ZodString;
|
|
244
247
|
token_lookup: z.ZodOptional<z.ZodString>;
|
|
@@ -249,6 +252,8 @@ declare const sqlRefreshTokensSchema: z.ZodObject<{
|
|
|
249
252
|
device: z.ZodString;
|
|
250
253
|
resource_servers: z.ZodString;
|
|
251
254
|
rotating: z.ZodNumber;
|
|
255
|
+
auth_strategy_strategy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
256
|
+
auth_strategy_strategy_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
252
257
|
created_at_ts: z.ZodNumber;
|
|
253
258
|
expires_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
254
259
|
idle_expires_at_ts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|