@authhero/kysely-adapter 11.5.3 → 11.6.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 +15 -15
- package/dist/kysely-adapter.d.ts +11 -0
- package/dist/kysely-adapter.mjs +1333 -1175
- package/dist/types/migrate/migrations/2026-06-04T10:00:00_widen_user_permissions_resource_server_identifier.d.ts +4 -0
- package/dist/types/migrate/migrations/2026-06-04T11:00:00_create_grants.d.ts +3 -0
- package/dist/types/migrate/migrations/2026-06-04T11:01:00_default_first_party_true.d.ts +3 -0
- package/dist/types/migrate/migrations/index.d.ts +6 -0
- package/dist/types/src/db.d.ts +11 -0
- package/dist/types/src/grants/create.d.ts +4 -0
- package/dist/types/src/grants/get.d.ts +4 -0
- package/dist/types/src/grants/index.d.ts +4 -0
- package/dist/types/src/grants/list.d.ts +4 -0
- package/dist/types/src/grants/remove.d.ts +4 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -606,6 +606,16 @@ declare const sqlRolePermissionSchema: z.ZodObject<{
|
|
|
606
606
|
created_at: z.ZodString;
|
|
607
607
|
tenant_id: z.ZodString;
|
|
608
608
|
}, z.core.$strip>;
|
|
609
|
+
declare const sqlGrantSchema: z.ZodObject<{
|
|
610
|
+
id: z.ZodString;
|
|
611
|
+
tenant_id: z.ZodString;
|
|
612
|
+
user_id: z.ZodString;
|
|
613
|
+
client_id: z.ZodString;
|
|
614
|
+
audience: z.ZodString;
|
|
615
|
+
scope: z.ZodString;
|
|
616
|
+
created_at: z.ZodString;
|
|
617
|
+
updated_at: z.ZodString;
|
|
618
|
+
}, z.core.$strip>;
|
|
609
619
|
declare const sqlUserPermissionSchema: z.ZodObject<{
|
|
610
620
|
user_id: z.ZodString;
|
|
611
621
|
resource_server_identifier: z.ZodString;
|
|
@@ -830,6 +840,7 @@ interface Database {
|
|
|
830
840
|
themes: z.infer<typeof sqlThemeSchema>;
|
|
831
841
|
resource_servers: z.infer<typeof sqlResourceServerSchema>;
|
|
832
842
|
role_permissions: z.infer<typeof sqlRolePermissionSchema>;
|
|
843
|
+
grants: z.infer<typeof sqlGrantSchema>;
|
|
833
844
|
user_permissions: z.infer<typeof sqlUserPermissionSchema>;
|
|
834
845
|
user_roles: z.infer<typeof sqlUserRoleSchema>;
|
|
835
846
|
roles: z.infer<typeof sqlRoleSchema>;
|