@fuzdev/fuz_app 0.163.0 → 0.164.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.
Files changed (181) hide show
  1. package/README.md +2 -1
  2. package/dist/actions/action_event_data.d.ts +1 -1
  3. package/dist/actions/action_rpc.d.ts.map +1 -1
  4. package/dist/actions/action_rpc.js +4 -0
  5. package/dist/actions/action_spec.d.ts +3 -3
  6. package/dist/actions/action_spec.d.ts.map +1 -1
  7. package/dist/auth/CLAUDE.md +1 -1
  8. package/dist/auth/account_route_schema.d.ts +3 -27
  9. package/dist/auth/account_route_schema.d.ts.map +1 -1
  10. package/dist/auth/account_route_schema.js +6 -20
  11. package/dist/auth/admin_action_specs.d.ts +56 -56
  12. package/dist/auth/audit_log_route_schema.d.ts +1 -1
  13. package/dist/auth/audit_log_route_schema.d.ts.map +1 -1
  14. package/dist/auth/audit_log_route_schema.js +4 -5
  15. package/dist/auth/audit_log_schema.d.ts +18 -18
  16. package/dist/auth/bootstrap_route_schema.d.ts +1 -30
  17. package/dist/auth/bootstrap_route_schema.d.ts.map +1 -1
  18. package/dist/auth/bootstrap_route_schema.js +3 -8
  19. package/dist/auth/daemon_token.d.ts +4 -4
  20. package/dist/auth/daemon_token.d.ts.map +1 -1
  21. package/dist/auth/daemon_token.js +3 -3
  22. package/dist/auth/daemon_token_middleware.d.ts +1 -1
  23. package/dist/auth/daemon_token_middleware.d.ts.map +1 -1
  24. package/dist/auth/daemon_token_middleware.js +5 -5
  25. package/dist/auth/middleware.js +4 -4
  26. package/dist/auth/role_grant_offer_action_specs.d.ts +2 -2
  27. package/dist/auth/signup_route_schema.d.ts.map +1 -1
  28. package/dist/auth/signup_route_schema.js +3 -7
  29. package/dist/db/CLAUDE.md +2 -1
  30. package/dist/db/file_fact_url.d.ts +11 -6
  31. package/dist/db/file_fact_url.d.ts.map +1 -1
  32. package/dist/db/file_fact_url.js +5 -5
  33. package/dist/db/schema_ready.d.ts +0 -5
  34. package/dist/db/schema_ready.d.ts.map +1 -1
  35. package/dist/db/schema_ready.js +0 -5
  36. package/dist/http/CLAUDE.md +104 -71
  37. package/dist/http/auth_shape.d.ts +48 -29
  38. package/dist/http/auth_shape.d.ts.map +1 -1
  39. package/dist/http/auth_shape.js +12 -85
  40. package/dist/http/body_limit.d.ts +12 -0
  41. package/dist/http/body_limit.d.ts.map +1 -1
  42. package/dist/http/body_limit.js +15 -0
  43. package/dist/http/body_limit_schema.d.ts +20 -0
  44. package/dist/http/body_limit_schema.d.ts.map +1 -0
  45. package/dist/http/body_limit_schema.js +20 -0
  46. package/dist/http/common_routes.d.ts +1 -1
  47. package/dist/http/common_routes.d.ts.map +1 -1
  48. package/dist/http/common_routes.js +11 -14
  49. package/dist/http/db_routes.d.ts.map +1 -1
  50. package/dist/http/db_routes.js +59 -69
  51. package/dist/http/dev_route_error_check.d.ts +70 -0
  52. package/dist/http/dev_route_error_check.d.ts.map +1 -0
  53. package/dist/http/dev_route_error_check.js +119 -0
  54. package/dist/http/error_schemas.d.ts +365 -189
  55. package/dist/http/error_schemas.d.ts.map +1 -1
  56. package/dist/http/error_schemas.js +256 -149
  57. package/dist/http/health_schema.d.ts +10 -6
  58. package/dist/http/health_schema.d.ts.map +1 -1
  59. package/dist/http/health_schema.js +3 -3
  60. package/dist/http/middleware_spec.d.ts +8 -3
  61. package/dist/http/middleware_spec.d.ts.map +1 -1
  62. package/dist/http/origin.d.ts +12 -43
  63. package/dist/http/origin.d.ts.map +1 -1
  64. package/dist/http/origin.js +10 -6
  65. package/dist/http/route_error_check.d.ts +158 -0
  66. package/dist/http/route_error_check.d.ts.map +1 -0
  67. package/dist/http/route_error_check.js +247 -0
  68. package/dist/http/route_errors.d.ts +80 -0
  69. package/dist/http/route_errors.d.ts.map +1 -0
  70. package/dist/http/route_errors.js +83 -0
  71. package/dist/http/route_spec.d.ts +33 -17
  72. package/dist/http/route_spec.d.ts.map +1 -1
  73. package/dist/http/route_spec.js +48 -62
  74. package/dist/http/schema_helpers.d.ts +0 -33
  75. package/dist/http/schema_helpers.d.ts.map +1 -1
  76. package/dist/http/schema_helpers.js +0 -45
  77. package/dist/http/surface.d.ts +19 -12
  78. package/dist/http/surface.d.ts.map +1 -1
  79. package/dist/http/surface.js +25 -38
  80. package/dist/http/surface_query.d.ts +11 -2
  81. package/dist/http/surface_query.d.ts.map +1 -1
  82. package/dist/http/surface_query.js +7 -1
  83. package/dist/primitive_schemas_fuz.d.ts +17 -3
  84. package/dist/primitive_schemas_fuz.d.ts.map +1 -1
  85. package/dist/primitive_schemas_fuz.js +13 -3
  86. package/dist/rate_limiter.d.ts +13 -0
  87. package/dist/rate_limiter.d.ts.map +1 -1
  88. package/dist/rate_limiter.js +20 -2
  89. package/dist/schema_issues.d.ts +29 -11
  90. package/dist/schema_issues.d.ts.map +1 -1
  91. package/dist/schema_issues.js +11 -10
  92. package/dist/schema_meta.d.ts +8 -1
  93. package/dist/schema_meta.d.ts.map +1 -1
  94. package/dist/schema_meta.js +2 -1
  95. package/dist/server/app_server.d.ts +3 -1
  96. package/dist/server/app_server.d.ts.map +1 -1
  97. package/dist/server/app_server.js +24 -10
  98. package/dist/server/serve_fact_route.d.ts.map +1 -1
  99. package/dist/server/serve_fact_route.js +8 -31
  100. package/dist/server/surface_route.d.ts.map +1 -1
  101. package/dist/server/surface_route.js +5 -6
  102. package/dist/server/x_accel.d.ts +12 -7
  103. package/dist/server/x_accel.d.ts.map +1 -1
  104. package/dist/server/x_accel.js +7 -9
  105. package/dist/testing/CLAUDE.md +33 -39
  106. package/dist/testing/admin_integration.js +1 -1
  107. package/dist/testing/adversarial_404.d.ts +4 -18
  108. package/dist/testing/adversarial_404.d.ts.map +1 -1
  109. package/dist/testing/adversarial_404.js +19 -51
  110. package/dist/testing/adversarial_headers.d.ts +3 -4
  111. package/dist/testing/adversarial_headers.d.ts.map +1 -1
  112. package/dist/testing/adversarial_headers.js +8 -6
  113. package/dist/testing/adversarial_input.d.ts.map +1 -1
  114. package/dist/testing/adversarial_input.js +18 -17
  115. package/dist/testing/assertions.d.ts +33 -11
  116. package/dist/testing/assertions.d.ts.map +1 -1
  117. package/dist/testing/assertions.js +52 -12
  118. package/dist/testing/attack_surface.d.ts +5 -35
  119. package/dist/testing/attack_surface.d.ts.map +1 -1
  120. package/dist/testing/attack_surface.js +29 -91
  121. package/dist/testing/auth_apps.d.ts.map +1 -1
  122. package/dist/testing/auth_apps.js +2 -1
  123. package/dist/testing/cross_backend/action_manifest.d.ts +126 -56
  124. package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
  125. package/dist/testing/cross_backend/action_manifest.js +11 -11
  126. package/dist/testing/cross_backend/action_manifest_parity.d.ts +1 -1
  127. package/dist/testing/cross_backend/action_manifest_parity.d.ts.map +1 -1
  128. package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
  129. package/dist/testing/cross_backend/cell_crud.js +2 -1
  130. package/dist/testing/cross_backend/conformance_table.js +1 -1
  131. package/dist/testing/cross_backend/fact_serving.js +3 -3
  132. package/dist/testing/cross_backend/origin_conformance.d.ts +278 -102
  133. package/dist/testing/cross_backend/origin_conformance.d.ts.map +1 -1
  134. package/dist/testing/cross_backend/origin_conformance.js +21 -21
  135. package/dist/testing/cross_backend/rust_spine_consumer_surface.d.ts.map +1 -1
  136. package/dist/testing/cross_backend/rust_spine_consumer_surface.js +7 -1
  137. package/dist/testing/cross_backend/setup.d.ts +13 -0
  138. package/dist/testing/cross_backend/setup.d.ts.map +1 -1
  139. package/dist/testing/cross_backend/setup.js +24 -7
  140. package/dist/testing/cross_backend/testing_origin_check.d.ts +147 -71
  141. package/dist/testing/cross_backend/testing_origin_check.d.ts.map +1 -1
  142. package/dist/testing/cross_backend/testing_origin_check.js +16 -13
  143. package/dist/testing/cross_backend/testing_reset_actions.d.ts +70 -27
  144. package/dist/testing/cross_backend/testing_reset_actions.d.ts.map +1 -1
  145. package/dist/testing/data_exposure.d.ts.map +1 -1
  146. package/dist/testing/data_exposure.js +5 -4
  147. package/dist/testing/error_coverage.d.ts +24 -34
  148. package/dist/testing/error_coverage.d.ts.map +1 -1
  149. package/dist/testing/error_coverage.js +46 -89
  150. package/dist/testing/integration.d.ts.map +1 -1
  151. package/dist/testing/integration.js +5 -13
  152. package/dist/testing/integration_helpers.d.ts +37 -9
  153. package/dist/testing/integration_helpers.d.ts.map +1 -1
  154. package/dist/testing/integration_helpers.js +86 -40
  155. package/dist/testing/middleware.d.ts +3 -5
  156. package/dist/testing/middleware.d.ts.map +1 -1
  157. package/dist/testing/middleware.js +5 -4
  158. package/dist/testing/rate_limiting.d.ts +1 -1
  159. package/dist/testing/rate_limiting.d.ts.map +1 -1
  160. package/dist/testing/rate_limiting.js +5 -4
  161. package/dist/testing/round_trip.d.ts.map +1 -1
  162. package/dist/testing/round_trip.js +5 -3
  163. package/dist/testing/schema_generators.d.ts +10 -3
  164. package/dist/testing/schema_generators.d.ts.map +1 -1
  165. package/dist/testing/schema_generators.js +23 -11
  166. package/dist/testing/stubs.d.ts +10 -1
  167. package/dist/testing/stubs.d.ts.map +1 -1
  168. package/dist/testing/stubs.js +15 -5
  169. package/dist/testing/surface_invariants.d.ts +36 -115
  170. package/dist/testing/surface_invariants.d.ts.map +1 -1
  171. package/dist/testing/surface_invariants.js +106 -269
  172. package/dist/ui/CLAUDE.md +4 -2
  173. package/dist/ui/auth_state.svelte.d.ts.map +1 -1
  174. package/dist/ui/auth_state.svelte.js +2 -8
  175. package/dist/ui/backend_probe.svelte.js +3 -3
  176. package/dist/ui/table_state.svelte.d.ts.map +1 -1
  177. package/dist/ui/table_state.svelte.js +1 -8
  178. package/dist/ui/ui_fetch.d.ts +12 -2
  179. package/dist/ui/ui_fetch.d.ts.map +1 -1
  180. package/dist/ui/ui_fetch.js +22 -4
  181. package/package.json +1 -1
@@ -616,32 +616,32 @@ export type AdminTokenRevokeAllOutput = Infer<typeof AdminTokenRevokeAllOutput>;
616
616
  export declare const AuditLogListInput: import("@fuzdev/fuz_schema/schema.ts").Schema<{
617
617
  account_id?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null | undefined;
618
618
  acting?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
619
- event_type?: string | null | undefined;
620
619
  outcome?: "success" | "failure" | null | undefined;
620
+ event_type?: string | null | undefined;
621
621
  limit?: number | null | undefined;
622
622
  offset?: number | null | undefined;
623
623
  since_seq?: number | null | undefined;
624
624
  }, {
625
625
  account_id?: string | null | undefined;
626
626
  acting?: string | undefined;
627
- event_type?: string | null | undefined;
628
627
  outcome?: "success" | "failure" | null | undefined;
628
+ event_type?: string | null | undefined;
629
629
  limit?: number | null | undefined;
630
630
  offset?: number | null | undefined;
631
631
  since_seq?: number | null | undefined;
632
632
  } | undefined, "with_default_fn", import("@fuzdev/fuz_schema/schema.ts").SchemaDefaultFnDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
633
633
  account_id?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null | undefined;
634
634
  acting?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
635
- event_type?: string | null | undefined;
636
635
  outcome?: "success" | "failure" | null | undefined;
636
+ event_type?: string | null | undefined;
637
637
  limit?: number | null | undefined;
638
638
  offset?: number | null | undefined;
639
639
  since_seq?: number | null | undefined;
640
640
  }, {
641
641
  account_id?: string | null | undefined;
642
642
  acting?: string | undefined;
643
- event_type?: string | null | undefined;
644
643
  outcome?: "success" | "failure" | null | undefined;
644
+ event_type?: string | null | undefined;
645
645
  limit?: number | null | undefined;
646
646
  offset?: number | null | undefined;
647
647
  since_seq?: number | null | undefined;
@@ -673,13 +673,13 @@ export declare const AuditLogListOutput: import("@fuzdev/fuz_schema/schema.ts").
673
673
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
674
674
  created_at: string;
675
675
  username: string | null;
676
- ip: string | null;
676
+ outcome: "success" | "failure";
677
677
  seq: number;
678
678
  event_type: string;
679
- outcome: "success" | "failure";
680
679
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
681
680
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
682
681
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
682
+ ip: string | null;
683
683
  target_username: string | null;
684
684
  }[];
685
685
  }, {
@@ -689,13 +689,13 @@ export declare const AuditLogListOutput: import("@fuzdev/fuz_schema/schema.ts").
689
689
  account_id: string | null;
690
690
  created_at: string;
691
691
  username: string | null;
692
- ip: string | null;
692
+ outcome: "success" | "failure";
693
693
  seq: number;
694
694
  event_type: string;
695
- outcome: "success" | "failure";
696
695
  actor_id: string | null;
697
696
  target_account_id: string | null;
698
697
  target_actor_id: string | null;
698
+ ip: string | null;
699
699
  target_username: string | null;
700
700
  }[];
701
701
  }, "object", {
@@ -705,13 +705,13 @@ export declare const AuditLogListOutput: import("@fuzdev/fuz_schema/schema.ts").
705
705
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
706
706
  created_at: string;
707
707
  username: string | null;
708
- ip: string | null;
708
+ outcome: "success" | "failure";
709
709
  seq: number;
710
710
  event_type: string;
711
- outcome: "success" | "failure";
712
711
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
713
712
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
714
713
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
714
+ ip: string | null;
715
715
  target_username: string | null;
716
716
  }[], {
717
717
  metadata: Record<string, unknown> | null;
@@ -719,13 +719,13 @@ export declare const AuditLogListOutput: import("@fuzdev/fuz_schema/schema.ts").
719
719
  account_id: string | null;
720
720
  created_at: string;
721
721
  username: string | null;
722
- ip: string | null;
722
+ outcome: "success" | "failure";
723
723
  seq: number;
724
724
  event_type: string;
725
- outcome: "success" | "failure";
726
725
  actor_id: string | null;
727
726
  target_account_id: string | null;
728
727
  target_actor_id: string | null;
728
+ ip: string | null;
729
729
  target_username: string | null;
730
730
  }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
731
731
  metadata: Record<string, unknown> | null;
@@ -733,13 +733,13 @@ export declare const AuditLogListOutput: import("@fuzdev/fuz_schema/schema.ts").
733
733
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
734
734
  created_at: string;
735
735
  username: string | null;
736
- ip: string | null;
736
+ outcome: "success" | "failure";
737
737
  seq: number;
738
738
  event_type: string;
739
- outcome: "success" | "failure";
740
739
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
741
740
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
742
741
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
742
+ ip: string | null;
743
743
  target_username: string | null;
744
744
  }, {
745
745
  metadata: Record<string, unknown> | null;
@@ -747,13 +747,13 @@ export declare const AuditLogListOutput: import("@fuzdev/fuz_schema/schema.ts").
747
747
  account_id: string | null;
748
748
  created_at: string;
749
749
  username: string | null;
750
- ip: string | null;
750
+ outcome: "success" | "failure";
751
751
  seq: number;
752
752
  event_type: string;
753
- outcome: "success" | "failure";
754
753
  actor_id: string | null;
755
754
  target_account_id: string | null;
756
755
  target_actor_id: string | null;
756
+ ip: string | null;
757
757
  target_username: string | null;
758
758
  }, "object", {
759
759
  username: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
@@ -836,13 +836,13 @@ export declare const AuditLogRoleGrantHistoryOutput: import("@fuzdev/fuz_schema/
836
836
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
837
837
  created_at: string;
838
838
  username: string | null;
839
- ip: string | null;
839
+ outcome: "success" | "failure";
840
840
  seq: number;
841
841
  event_type: string;
842
- outcome: "success" | "failure";
843
842
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
844
843
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
845
844
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
845
+ ip: string | null;
846
846
  target_username: string | null;
847
847
  }[];
848
848
  }, {
@@ -852,13 +852,13 @@ export declare const AuditLogRoleGrantHistoryOutput: import("@fuzdev/fuz_schema/
852
852
  account_id: string | null;
853
853
  created_at: string;
854
854
  username: string | null;
855
- ip: string | null;
855
+ outcome: "success" | "failure";
856
856
  seq: number;
857
857
  event_type: string;
858
- outcome: "success" | "failure";
859
858
  actor_id: string | null;
860
859
  target_account_id: string | null;
861
860
  target_actor_id: string | null;
861
+ ip: string | null;
862
862
  target_username: string | null;
863
863
  }[];
864
864
  }, "object", {
@@ -868,13 +868,13 @@ export declare const AuditLogRoleGrantHistoryOutput: import("@fuzdev/fuz_schema/
868
868
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
869
869
  created_at: string;
870
870
  username: string | null;
871
- ip: string | null;
871
+ outcome: "success" | "failure";
872
872
  seq: number;
873
873
  event_type: string;
874
- outcome: "success" | "failure";
875
874
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
876
875
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
877
876
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
877
+ ip: string | null;
878
878
  target_username: string | null;
879
879
  }[], {
880
880
  metadata: Record<string, unknown> | null;
@@ -882,13 +882,13 @@ export declare const AuditLogRoleGrantHistoryOutput: import("@fuzdev/fuz_schema/
882
882
  account_id: string | null;
883
883
  created_at: string;
884
884
  username: string | null;
885
- ip: string | null;
885
+ outcome: "success" | "failure";
886
886
  seq: number;
887
887
  event_type: string;
888
- outcome: "success" | "failure";
889
888
  actor_id: string | null;
890
889
  target_account_id: string | null;
891
890
  target_actor_id: string | null;
891
+ ip: string | null;
892
892
  target_username: string | null;
893
893
  }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
894
894
  metadata: Record<string, unknown> | null;
@@ -896,13 +896,13 @@ export declare const AuditLogRoleGrantHistoryOutput: import("@fuzdev/fuz_schema/
896
896
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
897
897
  created_at: string;
898
898
  username: string | null;
899
- ip: string | null;
899
+ outcome: "success" | "failure";
900
900
  seq: number;
901
901
  event_type: string;
902
- outcome: "success" | "failure";
903
902
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
904
903
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
905
904
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
905
+ ip: string | null;
906
906
  target_username: string | null;
907
907
  }, {
908
908
  metadata: Record<string, unknown> | null;
@@ -910,13 +910,13 @@ export declare const AuditLogRoleGrantHistoryOutput: import("@fuzdev/fuz_schema/
910
910
  account_id: string | null;
911
911
  created_at: string;
912
912
  username: string | null;
913
- ip: string | null;
913
+ outcome: "success" | "failure";
914
914
  seq: number;
915
915
  event_type: string;
916
- outcome: "success" | "failure";
917
916
  actor_id: string | null;
918
917
  target_account_id: string | null;
919
918
  target_actor_id: string | null;
919
+ ip: string | null;
920
920
  target_username: string | null;
921
921
  }, "object", {
922
922
  username: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
@@ -2123,32 +2123,32 @@ export declare const audit_log_list_action_spec: {
2123
2123
  input: import("@fuzdev/fuz_schema/schema.ts").Schema<{
2124
2124
  account_id?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null | undefined;
2125
2125
  acting?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
2126
- event_type?: string | null | undefined;
2127
2126
  outcome?: "success" | "failure" | null | undefined;
2127
+ event_type?: string | null | undefined;
2128
2128
  limit?: number | null | undefined;
2129
2129
  offset?: number | null | undefined;
2130
2130
  since_seq?: number | null | undefined;
2131
2131
  }, {
2132
2132
  account_id?: string | null | undefined;
2133
2133
  acting?: string | undefined;
2134
- event_type?: string | null | undefined;
2135
2134
  outcome?: "success" | "failure" | null | undefined;
2135
+ event_type?: string | null | undefined;
2136
2136
  limit?: number | null | undefined;
2137
2137
  offset?: number | null | undefined;
2138
2138
  since_seq?: number | null | undefined;
2139
2139
  } | undefined, "with_default_fn", import("@fuzdev/fuz_schema/schema.ts").SchemaDefaultFnDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
2140
2140
  account_id?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null | undefined;
2141
2141
  acting?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
2142
- event_type?: string | null | undefined;
2143
2142
  outcome?: "success" | "failure" | null | undefined;
2143
+ event_type?: string | null | undefined;
2144
2144
  limit?: number | null | undefined;
2145
2145
  offset?: number | null | undefined;
2146
2146
  since_seq?: number | null | undefined;
2147
2147
  }, {
2148
2148
  account_id?: string | null | undefined;
2149
2149
  acting?: string | undefined;
2150
- event_type?: string | null | undefined;
2151
2150
  outcome?: "success" | "failure" | null | undefined;
2151
+ event_type?: string | null | undefined;
2152
2152
  limit?: number | null | undefined;
2153
2153
  offset?: number | null | undefined;
2154
2154
  since_seq?: number | null | undefined;
@@ -2178,13 +2178,13 @@ export declare const audit_log_list_action_spec: {
2178
2178
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2179
2179
  created_at: string;
2180
2180
  username: string | null;
2181
- ip: string | null;
2181
+ outcome: "success" | "failure";
2182
2182
  seq: number;
2183
2183
  event_type: string;
2184
- outcome: "success" | "failure";
2185
2184
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2186
2185
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2187
2186
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2187
+ ip: string | null;
2188
2188
  target_username: string | null;
2189
2189
  }[];
2190
2190
  }, {
@@ -2194,13 +2194,13 @@ export declare const audit_log_list_action_spec: {
2194
2194
  account_id: string | null;
2195
2195
  created_at: string;
2196
2196
  username: string | null;
2197
- ip: string | null;
2197
+ outcome: "success" | "failure";
2198
2198
  seq: number;
2199
2199
  event_type: string;
2200
- outcome: "success" | "failure";
2201
2200
  actor_id: string | null;
2202
2201
  target_account_id: string | null;
2203
2202
  target_actor_id: string | null;
2203
+ ip: string | null;
2204
2204
  target_username: string | null;
2205
2205
  }[];
2206
2206
  }, "object", {
@@ -2210,13 +2210,13 @@ export declare const audit_log_list_action_spec: {
2210
2210
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2211
2211
  created_at: string;
2212
2212
  username: string | null;
2213
- ip: string | null;
2213
+ outcome: "success" | "failure";
2214
2214
  seq: number;
2215
2215
  event_type: string;
2216
- outcome: "success" | "failure";
2217
2216
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2218
2217
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2219
2218
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2219
+ ip: string | null;
2220
2220
  target_username: string | null;
2221
2221
  }[], {
2222
2222
  metadata: Record<string, unknown> | null;
@@ -2224,13 +2224,13 @@ export declare const audit_log_list_action_spec: {
2224
2224
  account_id: string | null;
2225
2225
  created_at: string;
2226
2226
  username: string | null;
2227
- ip: string | null;
2227
+ outcome: "success" | "failure";
2228
2228
  seq: number;
2229
2229
  event_type: string;
2230
- outcome: "success" | "failure";
2231
2230
  actor_id: string | null;
2232
2231
  target_account_id: string | null;
2233
2232
  target_actor_id: string | null;
2233
+ ip: string | null;
2234
2234
  target_username: string | null;
2235
2235
  }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
2236
2236
  metadata: Record<string, unknown> | null;
@@ -2238,13 +2238,13 @@ export declare const audit_log_list_action_spec: {
2238
2238
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2239
2239
  created_at: string;
2240
2240
  username: string | null;
2241
- ip: string | null;
2241
+ outcome: "success" | "failure";
2242
2242
  seq: number;
2243
2243
  event_type: string;
2244
- outcome: "success" | "failure";
2245
2244
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2246
2245
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2247
2246
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2247
+ ip: string | null;
2248
2248
  target_username: string | null;
2249
2249
  }, {
2250
2250
  metadata: Record<string, unknown> | null;
@@ -2252,13 +2252,13 @@ export declare const audit_log_list_action_spec: {
2252
2252
  account_id: string | null;
2253
2253
  created_at: string;
2254
2254
  username: string | null;
2255
- ip: string | null;
2255
+ outcome: "success" | "failure";
2256
2256
  seq: number;
2257
2257
  event_type: string;
2258
- outcome: "success" | "failure";
2259
2258
  actor_id: string | null;
2260
2259
  target_account_id: string | null;
2261
2260
  target_actor_id: string | null;
2261
+ ip: string | null;
2262
2262
  target_username: string | null;
2263
2263
  }, "object", {
2264
2264
  username: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
@@ -2353,13 +2353,13 @@ export declare const audit_log_role_grant_history_action_spec: {
2353
2353
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2354
2354
  created_at: string;
2355
2355
  username: string | null;
2356
- ip: string | null;
2356
+ outcome: "success" | "failure";
2357
2357
  seq: number;
2358
2358
  event_type: string;
2359
- outcome: "success" | "failure";
2360
2359
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2361
2360
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2362
2361
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2362
+ ip: string | null;
2363
2363
  target_username: string | null;
2364
2364
  }[];
2365
2365
  }, {
@@ -2369,13 +2369,13 @@ export declare const audit_log_role_grant_history_action_spec: {
2369
2369
  account_id: string | null;
2370
2370
  created_at: string;
2371
2371
  username: string | null;
2372
- ip: string | null;
2372
+ outcome: "success" | "failure";
2373
2373
  seq: number;
2374
2374
  event_type: string;
2375
- outcome: "success" | "failure";
2376
2375
  actor_id: string | null;
2377
2376
  target_account_id: string | null;
2378
2377
  target_actor_id: string | null;
2378
+ ip: string | null;
2379
2379
  target_username: string | null;
2380
2380
  }[];
2381
2381
  }, "object", {
@@ -2385,13 +2385,13 @@ export declare const audit_log_role_grant_history_action_spec: {
2385
2385
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2386
2386
  created_at: string;
2387
2387
  username: string | null;
2388
- ip: string | null;
2388
+ outcome: "success" | "failure";
2389
2389
  seq: number;
2390
2390
  event_type: string;
2391
- outcome: "success" | "failure";
2392
2391
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2393
2392
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2394
2393
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2394
+ ip: string | null;
2395
2395
  target_username: string | null;
2396
2396
  }[], {
2397
2397
  metadata: Record<string, unknown> | null;
@@ -2399,13 +2399,13 @@ export declare const audit_log_role_grant_history_action_spec: {
2399
2399
  account_id: string | null;
2400
2400
  created_at: string;
2401
2401
  username: string | null;
2402
- ip: string | null;
2402
+ outcome: "success" | "failure";
2403
2403
  seq: number;
2404
2404
  event_type: string;
2405
- outcome: "success" | "failure";
2406
2405
  actor_id: string | null;
2407
2406
  target_account_id: string | null;
2408
2407
  target_actor_id: string | null;
2408
+ ip: string | null;
2409
2409
  target_username: string | null;
2410
2410
  }[], "array", import("@fuzdev/fuz_schema/schema.ts").Schema<{
2411
2411
  metadata: Record<string, unknown> | null;
@@ -2413,13 +2413,13 @@ export declare const audit_log_role_grant_history_action_spec: {
2413
2413
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2414
2414
  created_at: string;
2415
2415
  username: string | null;
2416
- ip: string | null;
2416
+ outcome: "success" | "failure";
2417
2417
  seq: number;
2418
2418
  event_type: string;
2419
- outcome: "success" | "failure";
2420
2419
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2421
2420
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2422
2421
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
2422
+ ip: string | null;
2423
2423
  target_username: string | null;
2424
2424
  }, {
2425
2425
  metadata: Record<string, unknown> | null;
@@ -2427,13 +2427,13 @@ export declare const audit_log_role_grant_history_action_spec: {
2427
2427
  account_id: string | null;
2428
2428
  created_at: string;
2429
2429
  username: string | null;
2430
- ip: string | null;
2430
+ outcome: "success" | "failure";
2431
2431
  seq: number;
2432
2432
  event_type: string;
2433
- outcome: "success" | "failure";
2434
2433
  actor_id: string | null;
2435
2434
  target_account_id: string | null;
2436
2435
  target_actor_id: string | null;
2436
+ ip: string | null;
2437
2437
  target_username: string | null;
2438
2438
  }, "object", {
2439
2439
  username: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
@@ -35,7 +35,7 @@ export declare const DEFAULT_AUDIT_STREAM_ROLE = "admin";
35
35
  * The `GET /audit/stream` SSE route shape minus its handler — pure hono-free
36
36
  * data. `create_audit_log_route_specs` spreads this and attaches the live SSE
37
37
  * handler; cross-process surface builders spread it with a stub handler. The
38
- * output is `z.null()` because SSE streams have no JSON response body.
38
+ * output is `literal(null)` because SSE streams have no JSON response body.
39
39
  *
40
40
  * @param required_role - role gating the stream (default `DEFAULT_AUDIT_STREAM_ROLE`)
41
41
  * @returns the SSE route shape minus its handler
@@ -1 +1 @@
1
- {"version":3,"file":"audit_log_route_schema.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/audit_log_route_schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAU,KAAK,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAElE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;EAAkC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE9D,+DAA+D;AAC/D,eAAO,MAAM,yBAAyB,UAAU,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,GACxC,gBAAe,MAAkC,KAC/C,IAAI,CAAC,SAAS,EAAE,SAAS,CA8B1B,CAAC"}
1
+ {"version":3,"file":"audit_log_route_schema.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/audit_log_route_schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAmB,KAAK,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAE3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvD;;;GAGG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;EAAkC,CAAC;AAChE,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE9D,+DAA+D;AAC/D,eAAO,MAAM,yBAAyB,UAAU,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B,GACxC,gBAAe,MAAkC,KAC/C,IAAI,CAAC,SAAS,EAAE,SAAS,CA8B1B,CAAC"}
@@ -10,8 +10,7 @@
10
10
  *
11
11
  * @module
12
12
  */
13
- import { z } from 'zod';
14
- import { object } from '@fuzdev/fuz_schema/schema.ts';
13
+ import { literal, object } from '@fuzdev/fuz_schema/schema.ts';
15
14
  import { ActingActor } from '../primitive_schemas_fuz.js';
16
15
  /**
17
16
  * Query schema for the audit-log SSE route, a `@fuzdev/fuz_schema` `object`
@@ -24,7 +23,7 @@ export const DEFAULT_AUDIT_STREAM_ROLE = 'admin';
24
23
  * The `GET /audit/stream` SSE route shape minus its handler — pure hono-free
25
24
  * data. `create_audit_log_route_specs` spreads this and attaches the live SSE
26
25
  * handler; cross-process surface builders spread it with a stub handler. The
27
- * output is `z.null()` because SSE streams have no JSON response body.
26
+ * output is `literal(null)` because SSE streams have no JSON response body.
28
27
  *
29
28
  * @param required_role - role gating the stream (default `DEFAULT_AUDIT_STREAM_ROLE`)
30
29
  * @returns the SSE route shape minus its handler
@@ -57,6 +56,6 @@ export const create_audit_log_route_shape = (required_role = DEFAULT_AUDIT_STREA
57
56
  },
58
57
  description: 'Subscribe to realtime audit log events',
59
58
  query: AuditStreamQuery,
60
- input: z.null(),
61
- output: z.null() // SSE — no JSON response
59
+ input: literal(null),
60
+ output: literal(null) // SSE — no JSON response
62
61
  });
@@ -175,25 +175,25 @@ export declare const audit_metadata_schemas: Readonly<{
175
175
  email: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").PipeSchema<string, import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>>;
176
176
  }>;
177
177
  password_change: import("@fuzdev/fuz_schema/schema.ts").Schema<({
178
+ credential_type?: "session" | "api_token" | "daemon_token" | undefined;
178
179
  reason?: "concurrent_change" | undefined;
179
180
  sessions_revoked?: number | undefined;
180
181
  tokens_revoked?: number | undefined;
181
- credential_type?: "session" | "api_token" | "daemon_token" | undefined;
182
182
  } & Record<string, unknown>) | null, ({
183
+ credential_type?: "session" | "api_token" | "daemon_token" | undefined;
183
184
  reason?: "concurrent_change" | undefined;
184
185
  sessions_revoked?: number | undefined;
185
186
  tokens_revoked?: number | undefined;
186
- credential_type?: "session" | "api_token" | "daemon_token" | undefined;
187
187
  } & Record<string, unknown>) | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{
188
+ credential_type?: "session" | "api_token" | "daemon_token" | undefined;
188
189
  reason?: "concurrent_change" | undefined;
189
190
  sessions_revoked?: number | undefined;
190
191
  tokens_revoked?: number | undefined;
191
- credential_type?: "session" | "api_token" | "daemon_token" | undefined;
192
192
  } & Record<string, unknown>, {
193
+ credential_type?: "session" | "api_token" | "daemon_token" | undefined;
193
194
  reason?: "concurrent_change" | undefined;
194
195
  sessions_revoked?: number | undefined;
195
196
  tokens_revoked?: number | undefined;
196
- credential_type?: "session" | "api_token" | "daemon_token" | undefined;
197
197
  } & Record<string, unknown>, "loose_object", {
198
198
  sessions_revoked: import("@fuzdev/fuz_schema/schema.ts").Schema<number | undefined, number | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>>;
199
199
  tokens_revoked: import("@fuzdev/fuz_schema/schema.ts").Schema<number | undefined, number | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>>;
@@ -216,13 +216,13 @@ export declare const audit_metadata_schemas: Readonly<{
216
216
  credential_type: import("@fuzdev/fuz_schema/schema.ts").Schema<"session" | "api_token" | "daemon_token" | undefined, "session" | "api_token" | "daemon_token" | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<"session" | "api_token" | "daemon_token", "session" | "api_token" | "daemon_token", "one_of", readonly ["session", "api_token", "daemon_token"]>>>;
217
217
  }>;
218
218
  session_revoke_all: import("@fuzdev/fuz_schema/schema.ts").Schema<{
219
- reason?: string | undefined;
220
219
  credential_type?: "session" | "api_token" | "daemon_token" | undefined;
220
+ reason?: string | undefined;
221
221
  count?: number | undefined;
222
222
  attempted_account_id?: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | undefined;
223
223
  } & Record<string, unknown>, {
224
- reason?: string | undefined;
225
224
  credential_type?: "session" | "api_token" | "daemon_token" | undefined;
225
+ reason?: string | undefined;
226
226
  count?: number | undefined;
227
227
  attempted_account_id?: string | undefined;
228
228
  } & Record<string, unknown>, "loose_object", {
@@ -837,25 +837,25 @@ export declare const AuditLogEventJson: import("@fuzdev/fuz_schema/schema.ts").S
837
837
  id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
838
838
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
839
839
  created_at: string;
840
- ip: string | null;
840
+ outcome: "success" | "failure";
841
841
  seq: number;
842
842
  event_type: string;
843
- outcome: "success" | "failure";
844
843
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
845
844
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
846
845
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
846
+ ip: string | null;
847
847
  }, {
848
848
  metadata: Record<string, unknown> | null;
849
849
  id: string;
850
850
  account_id: string | null;
851
851
  created_at: string;
852
- ip: string | null;
852
+ outcome: "success" | "failure";
853
853
  seq: number;
854
854
  event_type: string;
855
- outcome: "success" | "failure";
856
855
  actor_id: string | null;
857
856
  target_account_id: string | null;
858
857
  target_actor_id: string | null;
858
+ ip: string | null;
859
859
  }, "object", {
860
860
  id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
861
861
  readonly '~types'?: {
@@ -902,13 +902,13 @@ export declare const AuditLogEventWithUsernamesJson: import("@fuzdev/fuz_schema/
902
902
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
903
903
  created_at: string;
904
904
  username: string | null;
905
- ip: string | null;
905
+ outcome: "success" | "failure";
906
906
  seq: number;
907
907
  event_type: string;
908
- outcome: "success" | "failure";
909
908
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
910
909
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
911
910
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
911
+ ip: string | null;
912
912
  target_username: string | null;
913
913
  }, {
914
914
  metadata: Record<string, unknown> | null;
@@ -916,13 +916,13 @@ export declare const AuditLogEventWithUsernamesJson: import("@fuzdev/fuz_schema/
916
916
  account_id: string | null;
917
917
  created_at: string;
918
918
  username: string | null;
919
- ip: string | null;
919
+ outcome: "success" | "failure";
920
920
  seq: number;
921
921
  event_type: string;
922
- outcome: "success" | "failure";
923
922
  actor_id: string | null;
924
923
  target_account_id: string | null;
925
924
  target_actor_id: string | null;
925
+ ip: string | null;
926
926
  target_username: string | null;
927
927
  }, "object", {
928
928
  username: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
@@ -972,13 +972,13 @@ export declare const RoleGrantHistoryEventJson: import("@fuzdev/fuz_schema/schem
972
972
  account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
973
973
  created_at: string;
974
974
  username: string | null;
975
- ip: string | null;
975
+ outcome: "success" | "failure";
976
976
  seq: number;
977
977
  event_type: string;
978
- outcome: "success" | "failure";
979
978
  actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
980
979
  target_account_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
981
980
  target_actor_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid"> | null;
981
+ ip: string | null;
982
982
  target_username: string | null;
983
983
  }, {
984
984
  metadata: Record<string, unknown> | null;
@@ -986,13 +986,13 @@ export declare const RoleGrantHistoryEventJson: import("@fuzdev/fuz_schema/schem
986
986
  account_id: string | null;
987
987
  created_at: string;
988
988
  username: string | null;
989
- ip: string | null;
989
+ outcome: "success" | "failure";
990
990
  seq: number;
991
991
  event_type: string;
992
- outcome: "success" | "failure";
993
992
  actor_id: string | null;
994
993
  target_account_id: string | null;
995
994
  target_actor_id: string | null;
995
+ ip: string | null;
996
996
  target_username: string | null;
997
997
  }, "object", {
998
998
  username: import("@fuzdev/fuz_schema/schema.ts").Schema<string | null, string | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;