@authhero/drizzle 0.43.2 → 0.43.4

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": "0.43.2",
14
+ "version": "0.43.4",
15
15
  "files": [
16
16
  "dist",
17
17
  "src/schema",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "drizzle-orm": "^0.44.2",
36
36
  "nanoid": "^5.0.8",
37
- "@authhero/adapter-interfaces": "1.10.0"
37
+ "@authhero/adapter-interfaces": "1.10.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@hono/zod-openapi": "^0.19.2",
@@ -256,6 +256,7 @@ export const hooks = sqliteTable(
256
256
  form_id: text("form_id", { length: 128 }), // only required for form type hooks
257
257
  template_id: text("template_id", { length: 64 }), // only required for template type hooks
258
258
  code_id: text("code_id", { length: 21 }), // only required for code type hooks
259
+ metadata: text("metadata"), // JSON property bag (inheritable flag, template options)
259
260
  },
260
261
  (table) => [index("hooks_tenant_id_idx").on(table.tenant_id)],
261
262
  );
@@ -83,6 +83,7 @@ export const clients = sqliteTable(
83
83
  owner_user_id: text("owner_user_id", { length: 255 }),
84
84
  registration_type: text("registration_type", { length: 32 }),
85
85
  registration_metadata: text("registration_metadata"),
86
+ user_linking_mode: text("user_linking_mode", { length: 16 }),
86
87
  },
87
88
  (table) => [
88
89
  primaryKey({