@authhero/drizzle 1.2.0 → 1.3.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/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.3.0",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
17
|
"src/schema",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"drizzle-orm": "^0.45.2",
|
|
37
37
|
"nanoid": "^5.1.11",
|
|
38
|
-
"@authhero/adapter-interfaces": "4.
|
|
39
|
-
"@authhero/proxy": "0.10.
|
|
38
|
+
"@authhero/adapter-interfaces": "4.6.0",
|
|
39
|
+
"@authhero/proxy": "0.10.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@hono/zod-openapi": "^1.4.0",
|
|
@@ -287,6 +287,8 @@ export const hooks = sqliteTable(
|
|
|
287
287
|
form_id: text("form_id", { length: 128 }), // only required for form type hooks
|
|
288
288
|
template_id: text("template_id", { length: 64 }), // only required for template type hooks
|
|
289
289
|
code_id: text("code_id", { length: 21 }), // only required for code type hooks
|
|
290
|
+
page_id: text("page_id", { length: 64 }), // only required for page type hooks
|
|
291
|
+
permission_required: text("permission_required", { length: 255 }), // optional gate for page type hooks
|
|
290
292
|
metadata: text("metadata"), // JSON property bag (inheritable flag, template options)
|
|
291
293
|
},
|
|
292
294
|
(table) => [index("hooks_tenant_id_idx").on(table.tenant_id)],
|