authhero 4.106.1 → 4.107.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.
@@ -42387,17 +42387,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
42387
42387
  synchronous: z.ZodDefault<z.ZodBoolean>;
42388
42388
  priority: z.ZodOptional<z.ZodNumber>;
42389
42389
  hook_id: z.ZodOptional<z.ZodString>;
42390
+ /**
42391
+ * Free-form key/value bag for hook properties. Two well-known keys:
42392
+ *
42393
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42394
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42395
+ * - Template-specific options. Templates read their config here, e.g.
42396
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42397
+ * user_metadata into the primary on link.
42398
+ *
42399
+ * Everything else is opaque to the runtime. Persisted as JSON.
42400
+ */
42401
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42390
42402
  }, "strip", z.ZodTypeAny, {
42391
42403
  url: string;
42392
42404
  enabled: boolean;
42393
42405
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
42394
42406
  synchronous: boolean;
42407
+ metadata?: Record<string, unknown> | undefined;
42395
42408
  priority?: number | undefined;
42396
42409
  hook_id?: string | undefined;
42397
42410
  }, {
42398
42411
  url: string;
42399
42412
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
42400
42413
  enabled?: boolean | undefined;
42414
+ metadata?: Record<string, unknown> | undefined;
42401
42415
  synchronous?: boolean | undefined;
42402
42416
  priority?: number | undefined;
42403
42417
  hook_id?: string | undefined;
@@ -42416,17 +42430,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
42416
42430
  synchronous: z.ZodDefault<z.ZodBoolean>;
42417
42431
  priority: z.ZodOptional<z.ZodNumber>;
42418
42432
  hook_id: z.ZodOptional<z.ZodString>;
42433
+ /**
42434
+ * Free-form key/value bag for hook properties. Two well-known keys:
42435
+ *
42436
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42437
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42438
+ * - Template-specific options. Templates read their config here, e.g.
42439
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42440
+ * user_metadata into the primary on link.
42441
+ *
42442
+ * Everything else is opaque to the runtime. Persisted as JSON.
42443
+ */
42444
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42419
42445
  }, "strip", z.ZodTypeAny, {
42420
42446
  enabled: boolean;
42421
42447
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
42422
42448
  synchronous: boolean;
42423
42449
  form_id: string;
42450
+ metadata?: Record<string, unknown> | undefined;
42424
42451
  priority?: number | undefined;
42425
42452
  hook_id?: string | undefined;
42426
42453
  }, {
42427
42454
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
42428
42455
  form_id: string;
42429
42456
  enabled?: boolean | undefined;
42457
+ metadata?: Record<string, unknown> | undefined;
42430
42458
  synchronous?: boolean | undefined;
42431
42459
  priority?: number | undefined;
42432
42460
  hook_id?: string | undefined;
@@ -42447,17 +42475,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
42447
42475
  synchronous: z.ZodDefault<z.ZodBoolean>;
42448
42476
  priority: z.ZodOptional<z.ZodNumber>;
42449
42477
  hook_id: z.ZodOptional<z.ZodString>;
42478
+ /**
42479
+ * Free-form key/value bag for hook properties. Two well-known keys:
42480
+ *
42481
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42482
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42483
+ * - Template-specific options. Templates read their config here, e.g.
42484
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42485
+ * user_metadata into the primary on link.
42486
+ *
42487
+ * Everything else is opaque to the runtime. Persisted as JSON.
42488
+ */
42489
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42450
42490
  }, "strip", z.ZodTypeAny, {
42451
42491
  enabled: boolean;
42452
42492
  trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
42453
42493
  synchronous: boolean;
42454
42494
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
42495
+ metadata?: Record<string, unknown> | undefined;
42455
42496
  priority?: number | undefined;
42456
42497
  hook_id?: string | undefined;
42457
42498
  }, {
42458
42499
  trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
42459
42500
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
42460
42501
  enabled?: boolean | undefined;
42502
+ metadata?: Record<string, unknown> | undefined;
42461
42503
  synchronous?: boolean | undefined;
42462
42504
  priority?: number | undefined;
42463
42505
  hook_id?: string | undefined;
@@ -42474,17 +42516,31 @@ export declare const hookInsertSchema: z.ZodUnion<[
42474
42516
  synchronous: z.ZodDefault<z.ZodBoolean>;
42475
42517
  priority: z.ZodOptional<z.ZodNumber>;
42476
42518
  hook_id: z.ZodOptional<z.ZodString>;
42519
+ /**
42520
+ * Free-form key/value bag for hook properties. Two well-known keys:
42521
+ *
42522
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42523
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42524
+ * - Template-specific options. Templates read their config here, e.g.
42525
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42526
+ * user_metadata into the primary on link.
42527
+ *
42528
+ * Everything else is opaque to the runtime. Persisted as JSON.
42529
+ */
42530
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42477
42531
  }, "strip", z.ZodTypeAny, {
42478
42532
  code_id: string;
42479
42533
  enabled: boolean;
42480
42534
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
42481
42535
  synchronous: boolean;
42536
+ metadata?: Record<string, unknown> | undefined;
42482
42537
  priority?: number | undefined;
42483
42538
  hook_id?: string | undefined;
42484
42539
  }, {
42485
42540
  code_id: string;
42486
42541
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
42487
42542
  enabled?: boolean | undefined;
42543
+ metadata?: Record<string, unknown> | undefined;
42488
42544
  synchronous?: boolean | undefined;
42489
42545
  priority?: number | undefined;
42490
42546
  hook_id?: string | undefined;
@@ -42509,6 +42565,18 @@ export declare const hookSchema: z.ZodUnion<[
42509
42565
  enabled: z.ZodDefault<z.ZodBoolean>;
42510
42566
  synchronous: z.ZodDefault<z.ZodBoolean>;
42511
42567
  priority: z.ZodOptional<z.ZodNumber>;
42568
+ /**
42569
+ * Free-form key/value bag for hook properties. Two well-known keys:
42570
+ *
42571
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42572
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42573
+ * - Template-specific options. Templates read their config here, e.g.
42574
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42575
+ * user_metadata into the primary on link.
42576
+ *
42577
+ * Everything else is opaque to the runtime. Persisted as JSON.
42578
+ */
42579
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42512
42580
  }, "strip", z.ZodTypeAny, {
42513
42581
  created_at: string;
42514
42582
  updated_at: string;
@@ -42517,6 +42585,7 @@ export declare const hookSchema: z.ZodUnion<[
42517
42585
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
42518
42586
  synchronous: boolean;
42519
42587
  hook_id: string;
42588
+ metadata?: Record<string, unknown> | undefined;
42520
42589
  priority?: number | undefined;
42521
42590
  }, {
42522
42591
  created_at: string;
@@ -42525,6 +42594,7 @@ export declare const hookSchema: z.ZodUnion<[
42525
42594
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
42526
42595
  hook_id: string;
42527
42596
  enabled?: boolean | undefined;
42597
+ metadata?: Record<string, unknown> | undefined;
42528
42598
  synchronous?: boolean | undefined;
42529
42599
  priority?: number | undefined;
42530
42600
  }>,
@@ -42544,6 +42614,18 @@ export declare const hookSchema: z.ZodUnion<[
42544
42614
  enabled: z.ZodDefault<z.ZodBoolean>;
42545
42615
  synchronous: z.ZodDefault<z.ZodBoolean>;
42546
42616
  priority: z.ZodOptional<z.ZodNumber>;
42617
+ /**
42618
+ * Free-form key/value bag for hook properties. Two well-known keys:
42619
+ *
42620
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42621
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42622
+ * - Template-specific options. Templates read their config here, e.g.
42623
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42624
+ * user_metadata into the primary on link.
42625
+ *
42626
+ * Everything else is opaque to the runtime. Persisted as JSON.
42627
+ */
42628
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42547
42629
  }, "strip", z.ZodTypeAny, {
42548
42630
  created_at: string;
42549
42631
  updated_at: string;
@@ -42552,6 +42634,7 @@ export declare const hookSchema: z.ZodUnion<[
42552
42634
  synchronous: boolean;
42553
42635
  hook_id: string;
42554
42636
  form_id: string;
42637
+ metadata?: Record<string, unknown> | undefined;
42555
42638
  priority?: number | undefined;
42556
42639
  }, {
42557
42640
  created_at: string;
@@ -42560,6 +42643,7 @@ export declare const hookSchema: z.ZodUnion<[
42560
42643
  hook_id: string;
42561
42644
  form_id: string;
42562
42645
  enabled?: boolean | undefined;
42646
+ metadata?: Record<string, unknown> | undefined;
42563
42647
  synchronous?: boolean | undefined;
42564
42648
  priority?: number | undefined;
42565
42649
  }>,
@@ -42581,6 +42665,18 @@ export declare const hookSchema: z.ZodUnion<[
42581
42665
  enabled: z.ZodDefault<z.ZodBoolean>;
42582
42666
  synchronous: z.ZodDefault<z.ZodBoolean>;
42583
42667
  priority: z.ZodOptional<z.ZodNumber>;
42668
+ /**
42669
+ * Free-form key/value bag for hook properties. Two well-known keys:
42670
+ *
42671
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42672
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42673
+ * - Template-specific options. Templates read their config here, e.g.
42674
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42675
+ * user_metadata into the primary on link.
42676
+ *
42677
+ * Everything else is opaque to the runtime. Persisted as JSON.
42678
+ */
42679
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42584
42680
  }, "strip", z.ZodTypeAny, {
42585
42681
  created_at: string;
42586
42682
  updated_at: string;
@@ -42589,6 +42685,7 @@ export declare const hookSchema: z.ZodUnion<[
42589
42685
  synchronous: boolean;
42590
42686
  hook_id: string;
42591
42687
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
42688
+ metadata?: Record<string, unknown> | undefined;
42592
42689
  priority?: number | undefined;
42593
42690
  }, {
42594
42691
  created_at: string;
@@ -42597,6 +42694,7 @@ export declare const hookSchema: z.ZodUnion<[
42597
42694
  hook_id: string;
42598
42695
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
42599
42696
  enabled?: boolean | undefined;
42697
+ metadata?: Record<string, unknown> | undefined;
42600
42698
  synchronous?: boolean | undefined;
42601
42699
  priority?: number | undefined;
42602
42700
  }>,
@@ -42614,6 +42712,18 @@ export declare const hookSchema: z.ZodUnion<[
42614
42712
  enabled: z.ZodDefault<z.ZodBoolean>;
42615
42713
  synchronous: z.ZodDefault<z.ZodBoolean>;
42616
42714
  priority: z.ZodOptional<z.ZodNumber>;
42715
+ /**
42716
+ * Free-form key/value bag for hook properties. Two well-known keys:
42717
+ *
42718
+ * - `inheritable: true` — when set on a hook on the control-plane tenant,
42719
+ * the multi-tenancy sync surfaces this hook to sub-tenants (Phase 2).
42720
+ * - Template-specific options. Templates read their config here, e.g.
42721
+ * `account-linking` reads `copy_user_metadata: true` to merge secondary
42722
+ * user_metadata into the primary on link.
42723
+ *
42724
+ * Everything else is opaque to the runtime. Persisted as JSON.
42725
+ */
42726
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42617
42727
  }, "strip", z.ZodTypeAny, {
42618
42728
  created_at: string;
42619
42729
  updated_at: string;
@@ -42622,6 +42732,7 @@ export declare const hookSchema: z.ZodUnion<[
42622
42732
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
42623
42733
  synchronous: boolean;
42624
42734
  hook_id: string;
42735
+ metadata?: Record<string, unknown> | undefined;
42625
42736
  priority?: number | undefined;
42626
42737
  }, {
42627
42738
  created_at: string;
@@ -42630,6 +42741,7 @@ export declare const hookSchema: z.ZodUnion<[
42630
42741
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
42631
42742
  hook_id: string;
42632
42743
  enabled?: boolean | undefined;
42744
+ metadata?: Record<string, unknown> | undefined;
42633
42745
  synchronous?: boolean | undefined;
42634
42746
  priority?: number | undefined;
42635
42747
  }>
@@ -53288,6 +53400,18 @@ export interface AccountLinkingOptions {
53288
53400
  * @default true
53289
53401
  */
53290
53402
  requireVerifiedEmail?: boolean;
53403
+ /**
53404
+ * When the link is performed, merge the secondary user's `user_metadata`
53405
+ * into the primary's. Existing keys on the primary are NOT overwritten —
53406
+ * only keys absent from the primary are filled in from the secondary, so
53407
+ * the primary remains the source of truth for any conflicting values.
53408
+ *
53409
+ * `app_metadata` is intentionally never copied to avoid auto-merging into
53410
+ * the admin-only namespace.
53411
+ *
53412
+ * @default false
53413
+ */
53414
+ copyUserMetadata?: boolean;
53291
53415
  }
53292
53416
  /**
53293
53417
  * Trigger-agnostic event handler used by all `account-linking` template
@@ -60884,6 +61008,9 @@ export declare function init(config: AuthHeroConfig): {
60884
61008
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
60885
61009
  synchronous: boolean;
60886
61010
  hook_id: string;
61011
+ metadata?: {
61012
+ [x: string]: import("hono/utils/types").JSONValue;
61013
+ } | undefined;
60887
61014
  priority?: number | undefined | undefined;
60888
61015
  } | {
60889
61016
  created_at: string;
@@ -60893,6 +61020,9 @@ export declare function init(config: AuthHeroConfig): {
60893
61020
  synchronous: boolean;
60894
61021
  hook_id: string;
60895
61022
  form_id: string;
61023
+ metadata?: {
61024
+ [x: string]: import("hono/utils/types").JSONValue;
61025
+ } | undefined;
60896
61026
  priority?: number | undefined | undefined;
60897
61027
  } | {
60898
61028
  created_at: string;
@@ -60902,6 +61032,9 @@ export declare function init(config: AuthHeroConfig): {
60902
61032
  synchronous: boolean;
60903
61033
  hook_id: string;
60904
61034
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
61035
+ metadata?: {
61036
+ [x: string]: import("hono/utils/types").JSONValue;
61037
+ } | undefined;
60905
61038
  priority?: number | undefined | undefined;
60906
61039
  } | {
60907
61040
  created_at: string;
@@ -60911,6 +61044,9 @@ export declare function init(config: AuthHeroConfig): {
60911
61044
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
60912
61045
  synchronous: boolean;
60913
61046
  hook_id: string;
61047
+ metadata?: {
61048
+ [x: string]: import("hono/utils/types").JSONValue;
61049
+ } | undefined;
60914
61050
  priority?: number | undefined | undefined;
60915
61051
  })[] | {
60916
61052
  length: number;
@@ -60924,6 +61060,9 @@ export declare function init(config: AuthHeroConfig): {
60924
61060
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
60925
61061
  synchronous: boolean;
60926
61062
  hook_id: string;
61063
+ metadata?: {
61064
+ [x: string]: import("hono/utils/types").JSONValue;
61065
+ } | undefined;
60927
61066
  priority?: number | undefined | undefined;
60928
61067
  } | {
60929
61068
  created_at: string;
@@ -60933,6 +61072,9 @@ export declare function init(config: AuthHeroConfig): {
60933
61072
  synchronous: boolean;
60934
61073
  hook_id: string;
60935
61074
  form_id: string;
61075
+ metadata?: {
61076
+ [x: string]: import("hono/utils/types").JSONValue;
61077
+ } | undefined;
60936
61078
  priority?: number | undefined | undefined;
60937
61079
  } | {
60938
61080
  created_at: string;
@@ -60942,6 +61084,9 @@ export declare function init(config: AuthHeroConfig): {
60942
61084
  synchronous: boolean;
60943
61085
  hook_id: string;
60944
61086
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
61087
+ metadata?: {
61088
+ [x: string]: import("hono/utils/types").JSONValue;
61089
+ } | undefined;
60945
61090
  priority?: number | undefined | undefined;
60946
61091
  } | {
60947
61092
  created_at: string;
@@ -60951,6 +61096,9 @@ export declare function init(config: AuthHeroConfig): {
60951
61096
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
60952
61097
  synchronous: boolean;
60953
61098
  hook_id: string;
61099
+ metadata?: {
61100
+ [x: string]: import("hono/utils/types").JSONValue;
61101
+ } | undefined;
60954
61102
  priority?: number | undefined | undefined;
60955
61103
  })[];
60956
61104
  total?: number | undefined;
@@ -60971,6 +61119,7 @@ export declare function init(config: AuthHeroConfig): {
60971
61119
  url: string;
60972
61120
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
60973
61121
  enabled?: boolean | undefined;
61122
+ metadata?: Record<string, unknown> | undefined;
60974
61123
  synchronous?: boolean | undefined;
60975
61124
  priority?: number | undefined;
60976
61125
  hook_id?: string | undefined;
@@ -60978,6 +61127,7 @@ export declare function init(config: AuthHeroConfig): {
60978
61127
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
60979
61128
  form_id: string;
60980
61129
  enabled?: boolean | undefined;
61130
+ metadata?: Record<string, unknown> | undefined;
60981
61131
  synchronous?: boolean | undefined;
60982
61132
  priority?: number | undefined;
60983
61133
  hook_id?: string | undefined;
@@ -60985,6 +61135,7 @@ export declare function init(config: AuthHeroConfig): {
60985
61135
  trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
60986
61136
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
60987
61137
  enabled?: boolean | undefined;
61138
+ metadata?: Record<string, unknown> | undefined;
60988
61139
  synchronous?: boolean | undefined;
60989
61140
  priority?: number | undefined;
60990
61141
  hook_id?: string | undefined;
@@ -60992,6 +61143,7 @@ export declare function init(config: AuthHeroConfig): {
60992
61143
  code_id: string;
60993
61144
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
60994
61145
  enabled?: boolean | undefined;
61146
+ metadata?: Record<string, unknown> | undefined;
60995
61147
  synchronous?: boolean | undefined;
60996
61148
  priority?: number | undefined;
60997
61149
  hook_id?: string | undefined;
@@ -61005,6 +61157,9 @@ export declare function init(config: AuthHeroConfig): {
61005
61157
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
61006
61158
  synchronous: boolean;
61007
61159
  hook_id: string;
61160
+ metadata?: {
61161
+ [x: string]: import("hono/utils/types").JSONValue;
61162
+ } | undefined;
61008
61163
  priority?: number | undefined | undefined;
61009
61164
  } | {
61010
61165
  created_at: string;
@@ -61014,6 +61169,9 @@ export declare function init(config: AuthHeroConfig): {
61014
61169
  synchronous: boolean;
61015
61170
  hook_id: string;
61016
61171
  form_id: string;
61172
+ metadata?: {
61173
+ [x: string]: import("hono/utils/types").JSONValue;
61174
+ } | undefined;
61017
61175
  priority?: number | undefined | undefined;
61018
61176
  } | {
61019
61177
  created_at: string;
@@ -61023,6 +61181,9 @@ export declare function init(config: AuthHeroConfig): {
61023
61181
  synchronous: boolean;
61024
61182
  hook_id: string;
61025
61183
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
61184
+ metadata?: {
61185
+ [x: string]: import("hono/utils/types").JSONValue;
61186
+ } | undefined;
61026
61187
  priority?: number | undefined | undefined;
61027
61188
  } | {
61028
61189
  created_at: string;
@@ -61032,6 +61193,9 @@ export declare function init(config: AuthHeroConfig): {
61032
61193
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
61033
61194
  synchronous: boolean;
61034
61195
  hook_id: string;
61196
+ metadata?: {
61197
+ [x: string]: import("hono/utils/types").JSONValue;
61198
+ } | undefined;
61035
61199
  priority?: number | undefined | undefined;
61036
61200
  };
61037
61201
  outputFormat: "json";
@@ -61075,6 +61239,9 @@ export declare function init(config: AuthHeroConfig): {
61075
61239
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
61076
61240
  synchronous: boolean;
61077
61241
  hook_id: string;
61242
+ metadata?: {
61243
+ [x: string]: import("hono/utils/types").JSONValue;
61244
+ } | undefined;
61078
61245
  priority?: number | undefined | undefined;
61079
61246
  } | {
61080
61247
  created_at: string;
@@ -61084,6 +61251,9 @@ export declare function init(config: AuthHeroConfig): {
61084
61251
  synchronous: boolean;
61085
61252
  hook_id: string;
61086
61253
  form_id: string;
61254
+ metadata?: {
61255
+ [x: string]: import("hono/utils/types").JSONValue;
61256
+ } | undefined;
61087
61257
  priority?: number | undefined | undefined;
61088
61258
  } | {
61089
61259
  created_at: string;
@@ -61093,6 +61263,9 @@ export declare function init(config: AuthHeroConfig): {
61093
61263
  synchronous: boolean;
61094
61264
  hook_id: string;
61095
61265
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
61266
+ metadata?: {
61267
+ [x: string]: import("hono/utils/types").JSONValue;
61268
+ } | undefined;
61096
61269
  priority?: number | undefined | undefined;
61097
61270
  } | {
61098
61271
  created_at: string;
@@ -61102,6 +61275,9 @@ export declare function init(config: AuthHeroConfig): {
61102
61275
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
61103
61276
  synchronous: boolean;
61104
61277
  hook_id: string;
61278
+ metadata?: {
61279
+ [x: string]: import("hono/utils/types").JSONValue;
61280
+ } | undefined;
61105
61281
  priority?: number | undefined | undefined;
61106
61282
  };
61107
61283
  outputFormat: "json";
@@ -61141,6 +61317,9 @@ export declare function init(config: AuthHeroConfig): {
61141
61317
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
61142
61318
  synchronous: boolean;
61143
61319
  hook_id: string;
61320
+ metadata?: {
61321
+ [x: string]: import("hono/utils/types").JSONValue;
61322
+ } | undefined;
61144
61323
  priority?: number | undefined | undefined;
61145
61324
  } | {
61146
61325
  created_at: string;
@@ -61150,6 +61329,9 @@ export declare function init(config: AuthHeroConfig): {
61150
61329
  synchronous: boolean;
61151
61330
  hook_id: string;
61152
61331
  form_id: string;
61332
+ metadata?: {
61333
+ [x: string]: import("hono/utils/types").JSONValue;
61334
+ } | undefined;
61153
61335
  priority?: number | undefined | undefined;
61154
61336
  } | {
61155
61337
  created_at: string;
@@ -61159,6 +61341,9 @@ export declare function init(config: AuthHeroConfig): {
61159
61341
  synchronous: boolean;
61160
61342
  hook_id: string;
61161
61343
  template_id: "ensure-username" | "set-preferred-username" | "account-linking";
61344
+ metadata?: {
61345
+ [x: string]: import("hono/utils/types").JSONValue;
61346
+ } | undefined;
61162
61347
  priority?: number | undefined | undefined;
61163
61348
  } | {
61164
61349
  created_at: string;
@@ -61168,6 +61353,9 @@ export declare function init(config: AuthHeroConfig): {
61168
61353
  trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
61169
61354
  synchronous: boolean;
61170
61355
  hook_id: string;
61356
+ metadata?: {
61357
+ [x: string]: import("hono/utils/types").JSONValue;
61358
+ } | undefined;
61171
61359
  priority?: number | undefined | undefined;
61172
61360
  };
61173
61361
  outputFormat: "json";