@jmruthers/pace-core 0.5.187 → 0.5.188

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 (193) hide show
  1. package/dist/{DataTable-K3RJRSOX.js → DataTable-GUFUNZ3N.js} +5 -5
  2. package/dist/{UnifiedAuthProvider-B76OWOAT.js → UnifiedAuthProvider-643PUAIM.js} +2 -2
  3. package/dist/{chunk-FMTK4XNN.js → chunk-2UUZZJFT.js} +3 -3
  4. package/dist/{chunk-3IC5WCMO.js → chunk-3GOZZZYH.js} +3 -3
  5. package/dist/{chunk-ULX5FYEM.js → chunk-DDM4CCYT.js} +3 -3
  6. package/dist/{chunk-K2JGDXGU.js → chunk-E7UAOUMY.js} +2 -2
  7. package/dist/{chunk-LBBUPSSC.js → chunk-EFCLXK7F.js} +7 -7
  8. package/dist/{chunk-T6ZJVI3A.js → chunk-IM4QE42D.js} +4 -4
  9. package/dist/{chunk-3NFNJOO7.js → chunk-IPCH26AG.js} +4 -4
  10. package/dist/{chunk-C4OYJOV4.js → chunk-UNOTYLQF.js} +3 -3
  11. package/dist/{chunk-WK2Y6TGA.js → chunk-VGZZXKBR.js} +3 -3
  12. package/dist/chunk-VGZZXKBR.js.map +1 -0
  13. package/dist/components.js +6 -6
  14. package/dist/hooks.js +5 -5
  15. package/dist/index.js +9 -9
  16. package/dist/providers.js +1 -1
  17. package/dist/rbac/index.js +5 -5
  18. package/dist/utils.js +1 -1
  19. package/docs/api/classes/ColumnFactory.md +1 -1
  20. package/docs/api/classes/ErrorBoundary.md +1 -1
  21. package/docs/api/classes/InvalidScopeError.md +1 -1
  22. package/docs/api/classes/Logger.md +1 -1
  23. package/docs/api/classes/MissingUserContextError.md +1 -1
  24. package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
  25. package/docs/api/classes/PermissionDeniedError.md +1 -1
  26. package/docs/api/classes/RBACAuditManager.md +1 -1
  27. package/docs/api/classes/RBACCache.md +1 -1
  28. package/docs/api/classes/RBACEngine.md +1 -1
  29. package/docs/api/classes/RBACError.md +1 -1
  30. package/docs/api/classes/RBACNotInitializedError.md +1 -1
  31. package/docs/api/classes/SecureSupabaseClient.md +1 -1
  32. package/docs/api/classes/StorageUtils.md +1 -1
  33. package/docs/api/enums/FileCategory.md +1 -1
  34. package/docs/api/enums/LogLevel.md +1 -1
  35. package/docs/api/enums/RBACErrorCode.md +1 -1
  36. package/docs/api/enums/RPCFunction.md +1 -1
  37. package/docs/api/interfaces/AddressFieldProps.md +1 -1
  38. package/docs/api/interfaces/AddressFieldRef.md +1 -1
  39. package/docs/api/interfaces/AggregateConfig.md +1 -1
  40. package/docs/api/interfaces/AutocompleteOptions.md +1 -1
  41. package/docs/api/interfaces/BadgeProps.md +1 -1
  42. package/docs/api/interfaces/ButtonProps.md +1 -1
  43. package/docs/api/interfaces/CalendarProps.md +1 -1
  44. package/docs/api/interfaces/CardProps.md +1 -1
  45. package/docs/api/interfaces/ColorPalette.md +1 -1
  46. package/docs/api/interfaces/ColorShade.md +1 -1
  47. package/docs/api/interfaces/ComplianceResult.md +1 -1
  48. package/docs/api/interfaces/DataAccessRecord.md +1 -1
  49. package/docs/api/interfaces/DataRecord.md +1 -1
  50. package/docs/api/interfaces/DataTableAction.md +1 -1
  51. package/docs/api/interfaces/DataTableColumn.md +1 -1
  52. package/docs/api/interfaces/DataTableProps.md +1 -1
  53. package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
  54. package/docs/api/interfaces/DatabaseComplianceResult.md +1 -1
  55. package/docs/api/interfaces/DatabaseIssue.md +1 -1
  56. package/docs/api/interfaces/EmptyStateConfig.md +1 -1
  57. package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
  58. package/docs/api/interfaces/EventAppRoleData.md +1 -1
  59. package/docs/api/interfaces/ExportColumn.md +1 -1
  60. package/docs/api/interfaces/ExportOptions.md +1 -1
  61. package/docs/api/interfaces/FileDisplayProps.md +1 -1
  62. package/docs/api/interfaces/FileMetadata.md +1 -1
  63. package/docs/api/interfaces/FileReference.md +1 -1
  64. package/docs/api/interfaces/FileSizeLimits.md +1 -1
  65. package/docs/api/interfaces/FileUploadOptions.md +1 -1
  66. package/docs/api/interfaces/FileUploadProps.md +1 -1
  67. package/docs/api/interfaces/FooterProps.md +1 -1
  68. package/docs/api/interfaces/FormFieldProps.md +1 -1
  69. package/docs/api/interfaces/FormProps.md +1 -1
  70. package/docs/api/interfaces/GrantEventAppRoleParams.md +1 -1
  71. package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
  72. package/docs/api/interfaces/InputProps.md +1 -1
  73. package/docs/api/interfaces/LabelProps.md +1 -1
  74. package/docs/api/interfaces/LoggerConfig.md +1 -1
  75. package/docs/api/interfaces/LoginFormProps.md +1 -1
  76. package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
  77. package/docs/api/interfaces/NavigationContextType.md +1 -1
  78. package/docs/api/interfaces/NavigationGuardProps.md +1 -1
  79. package/docs/api/interfaces/NavigationItem.md +1 -1
  80. package/docs/api/interfaces/NavigationMenuProps.md +1 -1
  81. package/docs/api/interfaces/NavigationProviderProps.md +1 -1
  82. package/docs/api/interfaces/Organisation.md +1 -1
  83. package/docs/api/interfaces/OrganisationContextType.md +1 -1
  84. package/docs/api/interfaces/OrganisationMembership.md +1 -1
  85. package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
  86. package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
  87. package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
  88. package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
  89. package/docs/api/interfaces/PageAccessRecord.md +1 -1
  90. package/docs/api/interfaces/PagePermissionContextType.md +1 -1
  91. package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
  92. package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
  93. package/docs/api/interfaces/PaletteData.md +1 -1
  94. package/docs/api/interfaces/ParsedAddress.md +1 -1
  95. package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
  96. package/docs/api/interfaces/ProgressProps.md +1 -1
  97. package/docs/api/interfaces/ProtectedRouteProps.md +1 -1
  98. package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
  99. package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
  100. package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
  101. package/docs/api/interfaces/QuickFix.md +1 -1
  102. package/docs/api/interfaces/RBACAccessValidateParams.md +1 -1
  103. package/docs/api/interfaces/RBACAccessValidateResult.md +1 -1
  104. package/docs/api/interfaces/RBACAuditLogParams.md +1 -1
  105. package/docs/api/interfaces/RBACAuditLogResult.md +1 -1
  106. package/docs/api/interfaces/RBACConfig.md +1 -1
  107. package/docs/api/interfaces/RBACContext.md +1 -1
  108. package/docs/api/interfaces/RBACLogger.md +1 -1
  109. package/docs/api/interfaces/RBACPageAccessCheckParams.md +1 -1
  110. package/docs/api/interfaces/RBACPerformanceMetrics.md +1 -1
  111. package/docs/api/interfaces/RBACPermissionCheckParams.md +1 -1
  112. package/docs/api/interfaces/RBACPermissionCheckResult.md +1 -1
  113. package/docs/api/interfaces/RBACPermissionsGetParams.md +1 -1
  114. package/docs/api/interfaces/RBACPermissionsGetResult.md +1 -1
  115. package/docs/api/interfaces/RBACResult.md +1 -1
  116. package/docs/api/interfaces/RBACRoleGrantParams.md +1 -1
  117. package/docs/api/interfaces/RBACRoleGrantResult.md +1 -1
  118. package/docs/api/interfaces/RBACRoleRevokeParams.md +1 -1
  119. package/docs/api/interfaces/RBACRoleRevokeResult.md +1 -1
  120. package/docs/api/interfaces/RBACRoleValidateParams.md +1 -1
  121. package/docs/api/interfaces/RBACRoleValidateResult.md +1 -1
  122. package/docs/api/interfaces/RBACRolesListParams.md +1 -1
  123. package/docs/api/interfaces/RBACRolesListResult.md +1 -1
  124. package/docs/api/interfaces/RBACSessionTrackParams.md +1 -1
  125. package/docs/api/interfaces/RBACSessionTrackResult.md +1 -1
  126. package/docs/api/interfaces/ResourcePermissions.md +1 -1
  127. package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
  128. package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
  129. package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
  130. package/docs/api/interfaces/RoleManagementResult.md +1 -1
  131. package/docs/api/interfaces/RouteAccessRecord.md +1 -1
  132. package/docs/api/interfaces/RouteConfig.md +1 -1
  133. package/docs/api/interfaces/RuntimeComplianceResult.md +1 -1
  134. package/docs/api/interfaces/SecureDataContextType.md +1 -1
  135. package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
  136. package/docs/api/interfaces/SessionRestorationLoaderProps.md +1 -1
  137. package/docs/api/interfaces/SetupIssue.md +1 -1
  138. package/docs/api/interfaces/StorageConfig.md +1 -1
  139. package/docs/api/interfaces/StorageFileInfo.md +1 -1
  140. package/docs/api/interfaces/StorageFileMetadata.md +1 -1
  141. package/docs/api/interfaces/StorageListOptions.md +1 -1
  142. package/docs/api/interfaces/StorageListResult.md +1 -1
  143. package/docs/api/interfaces/StorageUploadOptions.md +1 -1
  144. package/docs/api/interfaces/StorageUploadResult.md +1 -1
  145. package/docs/api/interfaces/StorageUrlOptions.md +1 -1
  146. package/docs/api/interfaces/StyleImport.md +1 -1
  147. package/docs/api/interfaces/SwitchProps.md +1 -1
  148. package/docs/api/interfaces/TabsContentProps.md +1 -1
  149. package/docs/api/interfaces/TabsListProps.md +1 -1
  150. package/docs/api/interfaces/TabsProps.md +1 -1
  151. package/docs/api/interfaces/TabsTriggerProps.md +1 -1
  152. package/docs/api/interfaces/TextareaProps.md +1 -1
  153. package/docs/api/interfaces/ToastActionElement.md +1 -1
  154. package/docs/api/interfaces/ToastProps.md +1 -1
  155. package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
  156. package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
  157. package/docs/api/interfaces/UseFormDialogOptions.md +1 -1
  158. package/docs/api/interfaces/UseFormDialogReturn.md +1 -1
  159. package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
  160. package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
  161. package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
  162. package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
  163. package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
  164. package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
  165. package/docs/api/interfaces/UsePublicFileDisplayOptions.md +1 -1
  166. package/docs/api/interfaces/UsePublicFileDisplayReturn.md +1 -1
  167. package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
  168. package/docs/api/interfaces/UseResolvedScopeOptions.md +1 -1
  169. package/docs/api/interfaces/UseResolvedScopeReturn.md +1 -1
  170. package/docs/api/interfaces/UseResourcePermissionsOptions.md +1 -1
  171. package/docs/api/interfaces/UserEventAccess.md +1 -1
  172. package/docs/api/interfaces/UserMenuProps.md +1 -1
  173. package/docs/api/interfaces/UserProfile.md +1 -1
  174. package/docs/api/modules.md +2 -2
  175. package/docs/getting-started/examples/README.md +2 -2
  176. package/docs/implementation-guides/public-pages.md +140 -1230
  177. package/docs/standards/05-security-standard.md +3 -1
  178. package/docs/standards/07-rbac-and-rls-standard.md +356 -0
  179. package/package.json +1 -1
  180. package/src/__tests__/public-recipe-view.test.ts +199 -0
  181. package/src/__tests__/rls-policies.test.ts +333 -0
  182. package/src/services/OrganisationService.ts +5 -4
  183. package/dist/chunk-WK2Y6TGA.js.map +0 -1
  184. /package/dist/{DataTable-K3RJRSOX.js.map → DataTable-GUFUNZ3N.js.map} +0 -0
  185. /package/dist/{UnifiedAuthProvider-B76OWOAT.js.map → UnifiedAuthProvider-643PUAIM.js.map} +0 -0
  186. /package/dist/{chunk-FMTK4XNN.js.map → chunk-2UUZZJFT.js.map} +0 -0
  187. /package/dist/{chunk-3IC5WCMO.js.map → chunk-3GOZZZYH.js.map} +0 -0
  188. /package/dist/{chunk-ULX5FYEM.js.map → chunk-DDM4CCYT.js.map} +0 -0
  189. /package/dist/{chunk-K2JGDXGU.js.map → chunk-E7UAOUMY.js.map} +0 -0
  190. /package/dist/{chunk-LBBUPSSC.js.map → chunk-EFCLXK7F.js.map} +0 -0
  191. /package/dist/{chunk-T6ZJVI3A.js.map → chunk-IM4QE42D.js.map} +0 -0
  192. /package/dist/{chunk-3NFNJOO7.js.map → chunk-IPCH26AG.js.map} +0 -0
  193. /package/dist/{chunk-C4OYJOV4.js.map → chunk-UNOTYLQF.js.map} +0 -0
@@ -60,8 +60,8 @@ import {
60
60
  sum,
61
61
  validateHierarchicalData,
62
62
  validatePaginationConfig
63
- } from "./chunk-FMTK4XNN.js";
64
- import "./chunk-3IC5WCMO.js";
63
+ } from "./chunk-2UUZZJFT.js";
64
+ import "./chunk-3GOZZZYH.js";
65
65
  import "./chunk-HEHYGYOX.js";
66
66
  import "./chunk-63FOKYGO.js";
67
67
  import {
@@ -82,8 +82,8 @@ import {
82
82
  throttle,
83
83
  useDataTablePerformance
84
84
  } from "./chunk-6C4YBBJM.js";
85
- import "./chunk-K2JGDXGU.js";
86
- import "./chunk-WK2Y6TGA.js";
85
+ import "./chunk-E7UAOUMY.js";
86
+ import "./chunk-VGZZXKBR.js";
87
87
  import "./chunk-QXHPKYJV.js";
88
88
  import "./chunk-R77UEZ4E.js";
89
89
  import "./chunk-F2IMUDXZ.js";
@@ -169,4 +169,4 @@ export {
169
169
  validateHierarchicalData,
170
170
  validatePaginationConfig
171
171
  };
172
- //# sourceMappingURL=DataTable-K3RJRSOX.js.map
172
+ //# sourceMappingURL=DataTable-GUFUNZ3N.js.map
@@ -2,7 +2,7 @@ import {
2
2
  UnifiedAuthContext,
3
3
  UnifiedAuthProvider,
4
4
  useUnifiedAuth
5
- } from "./chunk-WK2Y6TGA.js";
5
+ } from "./chunk-VGZZXKBR.js";
6
6
  import "./chunk-QXHPKYJV.js";
7
7
  import "./chunk-VBXEHIUJ.js";
8
8
  import "./chunk-PWLANIRT.js";
@@ -12,4 +12,4 @@ export {
12
12
  UnifiedAuthProvider,
13
13
  useUnifiedAuth
14
14
  };
15
- //# sourceMappingURL=UnifiedAuthProvider-B76OWOAT.js.map
15
+ //# sourceMappingURL=UnifiedAuthProvider-643PUAIM.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  useCan,
3
3
  useResolvedScope
4
- } from "./chunk-3IC5WCMO.js";
4
+ } from "./chunk-3GOZZZYH.js";
5
5
  import {
6
6
  toast,
7
7
  useDataTablePerformance
8
8
  } from "./chunk-6C4YBBJM.js";
9
9
  import {
10
10
  useUnifiedAuth
11
- } from "./chunk-WK2Y6TGA.js";
11
+ } from "./chunk-VGZZXKBR.js";
12
12
  import {
13
13
  cn,
14
14
  renderSafeHtml
@@ -12753,4 +12753,4 @@ lodash/lodash.js:
12753
12753
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
12754
12754
  *)
12755
12755
  */
12756
- //# sourceMappingURL=chunk-FMTK4XNN.js.map
12756
+ //# sourceMappingURL=chunk-2UUZZJFT.js.map
@@ -11,10 +11,10 @@ import {
11
11
  import {
12
12
  useEvents,
13
13
  useOrganisations
14
- } from "./chunk-K2JGDXGU.js";
14
+ } from "./chunk-E7UAOUMY.js";
15
15
  import {
16
16
  useUnifiedAuth
17
- } from "./chunk-WK2Y6TGA.js";
17
+ } from "./chunk-VGZZXKBR.js";
18
18
  import {
19
19
  getCurrentAppName
20
20
  } from "./chunk-F2IMUDXZ.js";
@@ -1483,4 +1483,4 @@ export {
1483
1483
  useRoleManagement,
1484
1484
  useSecureSupabase
1485
1485
  };
1486
- //# sourceMappingURL=chunk-3IC5WCMO.js.map
1486
+ //# sourceMappingURL=chunk-3GOZZZYH.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useOrganisations
3
- } from "./chunk-K2JGDXGU.js";
3
+ } from "./chunk-E7UAOUMY.js";
4
4
  import {
5
5
  EventServiceContext,
6
6
  useUnifiedAuth
7
- } from "./chunk-WK2Y6TGA.js";
7
+ } from "./chunk-VGZZXKBR.js";
8
8
  import {
9
9
  setOrganisationContext
10
10
  } from "./chunk-VBXEHIUJ.js";
@@ -388,4 +388,4 @@ function useSecureDataAccess() {
388
388
  export {
389
389
  useSecureDataAccess
390
390
  };
391
- //# sourceMappingURL=chunk-ULX5FYEM.js.map
391
+ //# sourceMappingURL=chunk-DDM4CCYT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useEventService,
3
3
  useOrganisationService
4
- } from "./chunk-WK2Y6TGA.js";
4
+ } from "./chunk-VGZZXKBR.js";
5
5
 
6
6
  // src/hooks/useEvents.ts
7
7
  import { useMemo, useRef } from "react";
@@ -72,4 +72,4 @@ export {
72
72
  useEvents,
73
73
  useOrganisations
74
74
  };
75
- //# sourceMappingURL=chunk-K2JGDXGU.js.map
75
+ //# sourceMappingURL=chunk-E7UAOUMY.js.map
@@ -25,13 +25,13 @@ import {
25
25
  SelectSeparator,
26
26
  SelectTrigger,
27
27
  SelectValue
28
- } from "./chunk-FMTK4XNN.js";
28
+ } from "./chunk-2UUZZJFT.js";
29
29
  import {
30
30
  useCan,
31
31
  usePermissions,
32
32
  useRBAC,
33
33
  useResolvedScope
34
- } from "./chunk-3IC5WCMO.js";
34
+ } from "./chunk-3GOZZZYH.js";
35
35
  import {
36
36
  isSuperAdmin
37
37
  } from "./chunk-HEHYGYOX.js";
@@ -50,19 +50,19 @@ import {
50
50
  useIsPublicPage,
51
51
  usePreventTabReload,
52
52
  usePublicFileDisplay
53
- } from "./chunk-C4OYJOV4.js";
53
+ } from "./chunk-UNOTYLQF.js";
54
54
  import {
55
55
  useToast
56
56
  } from "./chunk-6C4YBBJM.js";
57
57
  import {
58
58
  useEvents,
59
59
  useOrganisations
60
- } from "./chunk-K2JGDXGU.js";
60
+ } from "./chunk-E7UAOUMY.js";
61
61
  import {
62
62
  EventServiceContext,
63
63
  useSessionRestoration,
64
64
  useUnifiedAuth
65
- } from "./chunk-WK2Y6TGA.js";
65
+ } from "./chunk-VGZZXKBR.js";
66
66
  import {
67
67
  assertAppId
68
68
  } from "./chunk-QXHPKYJV.js";
@@ -2431,7 +2431,7 @@ function PaceAppLayout({
2431
2431
  }
2432
2432
  }
2433
2433
  if (hasAccess && currentRoute.roles && currentRoute.roles.length > 0 && user?.id) {
2434
- const { useUnifiedAuth: useUnifiedAuth2 } = await import("./UnifiedAuthProvider-B76OWOAT.js");
2434
+ const { useUnifiedAuth: useUnifiedAuth2 } = await import("./UnifiedAuthProvider-643PUAIM.js");
2435
2435
  hasAccess = true;
2436
2436
  }
2437
2437
  if (!isMounted) return;
@@ -4590,4 +4590,4 @@ export {
4590
4590
  PublicPageFooter,
4591
4591
  PublicPageLayout
4592
4592
  };
4593
- //# sourceMappingURL=chunk-LBBUPSSC.js.map
4593
+ //# sourceMappingURL=chunk-EFCLXK7F.js.map
@@ -4,7 +4,7 @@ import {
4
4
  useAccessLevel,
5
5
  useCan,
6
6
  useMultiplePermissions
7
- } from "./chunk-3IC5WCMO.js";
7
+ } from "./chunk-3GOZZZYH.js";
8
8
  import {
9
9
  RBACCache,
10
10
  RBACNotInitializedError,
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-HEHYGYOX.js";
15
15
  import {
16
16
  useSecureDataAccess
17
- } from "./chunk-ULX5FYEM.js";
17
+ } from "./chunk-DDM4CCYT.js";
18
18
  import {
19
19
  useUnifiedAuth
20
- } from "./chunk-WK2Y6TGA.js";
20
+ } from "./chunk-VGZZXKBR.js";
21
21
  import {
22
22
  createLogger,
23
23
  logger
@@ -2109,4 +2109,4 @@ export {
2109
2109
  getDirectSupabaseAuthFixes,
2110
2110
  getQuickFixes
2111
2111
  };
2112
- //# sourceMappingURL=chunk-T6ZJVI3A.js.map
2112
+ //# sourceMappingURL=chunk-IM4QE42D.js.map
@@ -10,13 +10,13 @@ import {
10
10
  listFiles,
11
11
  uploadFile,
12
12
  usePublicPageContext
13
- } from "./chunk-C4OYJOV4.js";
13
+ } from "./chunk-UNOTYLQF.js";
14
14
  import {
15
15
  useOrganisations
16
- } from "./chunk-K2JGDXGU.js";
16
+ } from "./chunk-E7UAOUMY.js";
17
17
  import {
18
18
  useUnifiedAuth
19
- } from "./chunk-WK2Y6TGA.js";
19
+ } from "./chunk-VGZZXKBR.js";
20
20
  import {
21
21
  assertOrganisationId
22
22
  } from "./chunk-QXHPKYJV.js";
@@ -866,4 +866,4 @@ export {
866
866
  generatePublicRoutePath,
867
867
  extractEventCodeFromPath
868
868
  };
869
- //# sourceMappingURL=chunk-3NFNJOO7.js.map
869
+ //# sourceMappingURL=chunk-IPCH26AG.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useEvents
3
- } from "./chunk-K2JGDXGU.js";
3
+ } from "./chunk-E7UAOUMY.js";
4
4
  import {
5
5
  useUnifiedAuth
6
- } from "./chunk-WK2Y6TGA.js";
6
+ } from "./chunk-VGZZXKBR.js";
7
7
  import {
8
8
  assertAppId
9
9
  } from "./chunk-QXHPKYJV.js";
@@ -2146,4 +2146,4 @@ export {
2146
2146
  clearPublicFileDisplayCache,
2147
2147
  getPublicFileDisplayCacheStats
2148
2148
  };
2149
- //# sourceMappingURL=chunk-C4OYJOV4.js.map
2149
+ //# sourceMappingURL=chunk-UNOTYLQF.js.map
@@ -862,7 +862,7 @@ var OrganisationService = class extends BaseService {
862
862
  }
863
863
  const result = await Promise.race([rpcPromise, timeoutPromise]);
864
864
  memberships = result.data?.filter(
865
- (role) => ["org_admin", "leader", "member"].includes(role.role)
865
+ (role) => ["org_admin", "leader", "member", "supporter"].includes(role.role)
866
866
  ).map((m) => ({
867
867
  ...m,
868
868
  user_id: assertUserId(m.user_id),
@@ -903,7 +903,7 @@ var OrganisationService = class extends BaseService {
903
903
  created_at,
904
904
  updated_at
905
905
  )
906
- `).eq("user_id", this.user.id).eq("status", "active").is("revoked_at", null).in("role", ["org_admin", "leader", "member"]);
906
+ `).eq("user_id", this.user.id).eq("status", "active").is("revoked_at", null).in("role", ["org_admin", "leader", "member", "supporter"]);
907
907
  if (fallbackError) {
908
908
  logger.error("OrganisationService", "Fallback query also failed:", fallbackError);
909
909
  throw membershipError;
@@ -2314,4 +2314,4 @@ export {
2314
2314
  useUnifiedAuth,
2315
2315
  UnifiedAuthProvider
2316
2316
  };
2317
- //# sourceMappingURL=chunk-WK2Y6TGA.js.map
2317
+ //# sourceMappingURL=chunk-VGZZXKBR.js.map