@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.
- package/dist/{DataTable-K3RJRSOX.js → DataTable-GUFUNZ3N.js} +5 -5
- package/dist/{UnifiedAuthProvider-B76OWOAT.js → UnifiedAuthProvider-643PUAIM.js} +2 -2
- package/dist/{chunk-FMTK4XNN.js → chunk-2UUZZJFT.js} +3 -3
- package/dist/{chunk-3IC5WCMO.js → chunk-3GOZZZYH.js} +3 -3
- package/dist/{chunk-ULX5FYEM.js → chunk-DDM4CCYT.js} +3 -3
- package/dist/{chunk-K2JGDXGU.js → chunk-E7UAOUMY.js} +2 -2
- package/dist/{chunk-LBBUPSSC.js → chunk-EFCLXK7F.js} +7 -7
- package/dist/{chunk-T6ZJVI3A.js → chunk-IM4QE42D.js} +4 -4
- package/dist/{chunk-3NFNJOO7.js → chunk-IPCH26AG.js} +4 -4
- package/dist/{chunk-C4OYJOV4.js → chunk-UNOTYLQF.js} +3 -3
- package/dist/{chunk-WK2Y6TGA.js → chunk-VGZZXKBR.js} +3 -3
- package/dist/chunk-VGZZXKBR.js.map +1 -0
- package/dist/components.js +6 -6
- package/dist/hooks.js +5 -5
- package/dist/index.js +9 -9
- package/dist/providers.js +1 -1
- package/dist/rbac/index.js +5 -5
- package/dist/utils.js +1 -1
- package/docs/api/classes/ColumnFactory.md +1 -1
- package/docs/api/classes/ErrorBoundary.md +1 -1
- package/docs/api/classes/InvalidScopeError.md +1 -1
- package/docs/api/classes/Logger.md +1 -1
- package/docs/api/classes/MissingUserContextError.md +1 -1
- package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
- package/docs/api/classes/PermissionDeniedError.md +1 -1
- package/docs/api/classes/RBACAuditManager.md +1 -1
- package/docs/api/classes/RBACCache.md +1 -1
- package/docs/api/classes/RBACEngine.md +1 -1
- package/docs/api/classes/RBACError.md +1 -1
- package/docs/api/classes/RBACNotInitializedError.md +1 -1
- package/docs/api/classes/SecureSupabaseClient.md +1 -1
- package/docs/api/classes/StorageUtils.md +1 -1
- package/docs/api/enums/FileCategory.md +1 -1
- package/docs/api/enums/LogLevel.md +1 -1
- package/docs/api/enums/RBACErrorCode.md +1 -1
- package/docs/api/enums/RPCFunction.md +1 -1
- package/docs/api/interfaces/AddressFieldProps.md +1 -1
- package/docs/api/interfaces/AddressFieldRef.md +1 -1
- package/docs/api/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/AutocompleteOptions.md +1 -1
- package/docs/api/interfaces/BadgeProps.md +1 -1
- package/docs/api/interfaces/ButtonProps.md +1 -1
- package/docs/api/interfaces/CalendarProps.md +1 -1
- package/docs/api/interfaces/CardProps.md +1 -1
- package/docs/api/interfaces/ColorPalette.md +1 -1
- package/docs/api/interfaces/ColorShade.md +1 -1
- package/docs/api/interfaces/ComplianceResult.md +1 -1
- package/docs/api/interfaces/DataAccessRecord.md +1 -1
- package/docs/api/interfaces/DataRecord.md +1 -1
- package/docs/api/interfaces/DataTableAction.md +1 -1
- package/docs/api/interfaces/DataTableColumn.md +1 -1
- package/docs/api/interfaces/DataTableProps.md +1 -1
- package/docs/api/interfaces/DataTableToolbarButton.md +1 -1
- package/docs/api/interfaces/DatabaseComplianceResult.md +1 -1
- package/docs/api/interfaces/DatabaseIssue.md +1 -1
- package/docs/api/interfaces/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventAppRoleData.md +1 -1
- package/docs/api/interfaces/ExportColumn.md +1 -1
- package/docs/api/interfaces/ExportOptions.md +1 -1
- package/docs/api/interfaces/FileDisplayProps.md +1 -1
- package/docs/api/interfaces/FileMetadata.md +1 -1
- package/docs/api/interfaces/FileReference.md +1 -1
- package/docs/api/interfaces/FileSizeLimits.md +1 -1
- package/docs/api/interfaces/FileUploadOptions.md +1 -1
- package/docs/api/interfaces/FileUploadProps.md +1 -1
- package/docs/api/interfaces/FooterProps.md +1 -1
- package/docs/api/interfaces/FormFieldProps.md +1 -1
- package/docs/api/interfaces/FormProps.md +1 -1
- package/docs/api/interfaces/GrantEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/InactivityWarningModalProps.md +1 -1
- package/docs/api/interfaces/InputProps.md +1 -1
- package/docs/api/interfaces/LabelProps.md +1 -1
- package/docs/api/interfaces/LoggerConfig.md +1 -1
- package/docs/api/interfaces/LoginFormProps.md +1 -1
- package/docs/api/interfaces/NavigationAccessRecord.md +1 -1
- package/docs/api/interfaces/NavigationContextType.md +1 -1
- package/docs/api/interfaces/NavigationGuardProps.md +1 -1
- package/docs/api/interfaces/NavigationItem.md +1 -1
- package/docs/api/interfaces/NavigationMenuProps.md +1 -1
- package/docs/api/interfaces/NavigationProviderProps.md +1 -1
- package/docs/api/interfaces/Organisation.md +1 -1
- package/docs/api/interfaces/OrganisationContextType.md +1 -1
- package/docs/api/interfaces/OrganisationMembership.md +1 -1
- package/docs/api/interfaces/OrganisationProviderProps.md +1 -1
- package/docs/api/interfaces/OrganisationSecurityError.md +1 -1
- package/docs/api/interfaces/PaceAppLayoutProps.md +1 -1
- package/docs/api/interfaces/PaceLoginPageProps.md +1 -1
- package/docs/api/interfaces/PageAccessRecord.md +1 -1
- package/docs/api/interfaces/PagePermissionContextType.md +1 -1
- package/docs/api/interfaces/PagePermissionGuardProps.md +1 -1
- package/docs/api/interfaces/PagePermissionProviderProps.md +1 -1
- package/docs/api/interfaces/PaletteData.md +1 -1
- package/docs/api/interfaces/ParsedAddress.md +1 -1
- package/docs/api/interfaces/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/ProgressProps.md +1 -1
- package/docs/api/interfaces/ProtectedRouteProps.md +1 -1
- package/docs/api/interfaces/PublicPageFooterProps.md +1 -1
- package/docs/api/interfaces/PublicPageHeaderProps.md +1 -1
- package/docs/api/interfaces/PublicPageLayoutProps.md +1 -1
- package/docs/api/interfaces/QuickFix.md +1 -1
- package/docs/api/interfaces/RBACAccessValidateParams.md +1 -1
- package/docs/api/interfaces/RBACAccessValidateResult.md +1 -1
- package/docs/api/interfaces/RBACAuditLogParams.md +1 -1
- package/docs/api/interfaces/RBACAuditLogResult.md +1 -1
- package/docs/api/interfaces/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACContext.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RBACPageAccessCheckParams.md +1 -1
- package/docs/api/interfaces/RBACPerformanceMetrics.md +1 -1
- package/docs/api/interfaces/RBACPermissionCheckParams.md +1 -1
- package/docs/api/interfaces/RBACPermissionCheckResult.md +1 -1
- package/docs/api/interfaces/RBACPermissionsGetParams.md +1 -1
- package/docs/api/interfaces/RBACPermissionsGetResult.md +1 -1
- package/docs/api/interfaces/RBACResult.md +1 -1
- package/docs/api/interfaces/RBACRoleGrantParams.md +1 -1
- package/docs/api/interfaces/RBACRoleGrantResult.md +1 -1
- package/docs/api/interfaces/RBACRoleRevokeParams.md +1 -1
- package/docs/api/interfaces/RBACRoleRevokeResult.md +1 -1
- package/docs/api/interfaces/RBACRoleValidateParams.md +1 -1
- package/docs/api/interfaces/RBACRoleValidateResult.md +1 -1
- package/docs/api/interfaces/RBACRolesListParams.md +1 -1
- package/docs/api/interfaces/RBACRolesListResult.md +1 -1
- package/docs/api/interfaces/RBACSessionTrackParams.md +1 -1
- package/docs/api/interfaces/RBACSessionTrackResult.md +1 -1
- package/docs/api/interfaces/ResourcePermissions.md +1 -1
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RoleManagementResult.md +1 -1
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/RuntimeComplianceResult.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.md +1 -1
- package/docs/api/interfaces/SessionRestorationLoaderProps.md +1 -1
- package/docs/api/interfaces/SetupIssue.md +1 -1
- package/docs/api/interfaces/StorageConfig.md +1 -1
- package/docs/api/interfaces/StorageFileInfo.md +1 -1
- package/docs/api/interfaces/StorageFileMetadata.md +1 -1
- package/docs/api/interfaces/StorageListOptions.md +1 -1
- package/docs/api/interfaces/StorageListResult.md +1 -1
- package/docs/api/interfaces/StorageUploadOptions.md +1 -1
- package/docs/api/interfaces/StorageUploadResult.md +1 -1
- package/docs/api/interfaces/StorageUrlOptions.md +1 -1
- package/docs/api/interfaces/StyleImport.md +1 -1
- package/docs/api/interfaces/SwitchProps.md +1 -1
- package/docs/api/interfaces/TabsContentProps.md +1 -1
- package/docs/api/interfaces/TabsListProps.md +1 -1
- package/docs/api/interfaces/TabsProps.md +1 -1
- package/docs/api/interfaces/TabsTriggerProps.md +1 -1
- package/docs/api/interfaces/TextareaProps.md +1 -1
- package/docs/api/interfaces/ToastActionElement.md +1 -1
- package/docs/api/interfaces/ToastProps.md +1 -1
- package/docs/api/interfaces/UnifiedAuthContextType.md +1 -1
- package/docs/api/interfaces/UnifiedAuthProviderProps.md +1 -1
- package/docs/api/interfaces/UseFormDialogOptions.md +1 -1
- package/docs/api/interfaces/UseFormDialogReturn.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerOptions.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventLogoReturn.md +1 -1
- package/docs/api/interfaces/UsePublicEventOptions.md +1 -1
- package/docs/api/interfaces/UsePublicEventReturn.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayOptions.md +1 -1
- package/docs/api/interfaces/UsePublicFileDisplayReturn.md +1 -1
- package/docs/api/interfaces/UsePublicRouteParamsReturn.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeOptions.md +1 -1
- package/docs/api/interfaces/UseResolvedScopeReturn.md +1 -1
- package/docs/api/interfaces/UseResourcePermissionsOptions.md +1 -1
- package/docs/api/interfaces/UserEventAccess.md +1 -1
- package/docs/api/interfaces/UserMenuProps.md +1 -1
- package/docs/api/interfaces/UserProfile.md +1 -1
- package/docs/api/modules.md +2 -2
- package/docs/getting-started/examples/README.md +2 -2
- package/docs/implementation-guides/public-pages.md +140 -1230
- package/docs/standards/05-security-standard.md +3 -1
- package/docs/standards/07-rbac-and-rls-standard.md +356 -0
- package/package.json +1 -1
- package/src/__tests__/public-recipe-view.test.ts +199 -0
- package/src/__tests__/rls-policies.test.ts +333 -0
- package/src/services/OrganisationService.ts +5 -4
- package/dist/chunk-WK2Y6TGA.js.map +0 -1
- /package/dist/{DataTable-K3RJRSOX.js.map → DataTable-GUFUNZ3N.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-B76OWOAT.js.map → UnifiedAuthProvider-643PUAIM.js.map} +0 -0
- /package/dist/{chunk-FMTK4XNN.js.map → chunk-2UUZZJFT.js.map} +0 -0
- /package/dist/{chunk-3IC5WCMO.js.map → chunk-3GOZZZYH.js.map} +0 -0
- /package/dist/{chunk-ULX5FYEM.js.map → chunk-DDM4CCYT.js.map} +0 -0
- /package/dist/{chunk-K2JGDXGU.js.map → chunk-E7UAOUMY.js.map} +0 -0
- /package/dist/{chunk-LBBUPSSC.js.map → chunk-EFCLXK7F.js.map} +0 -0
- /package/dist/{chunk-T6ZJVI3A.js.map → chunk-IM4QE42D.js.map} +0 -0
- /package/dist/{chunk-3NFNJOO7.js.map → chunk-IPCH26AG.js.map} +0 -0
- /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-
|
|
64
|
-
import "./chunk-
|
|
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-
|
|
86
|
-
import "./chunk-
|
|
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-
|
|
172
|
+
//# sourceMappingURL=DataTable-GUFUNZ3N.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
UnifiedAuthContext,
|
|
3
3
|
UnifiedAuthProvider,
|
|
4
4
|
useUnifiedAuth
|
|
5
|
-
} from "./chunk-
|
|
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-
|
|
15
|
+
//# sourceMappingURL=UnifiedAuthProvider-643PUAIM.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCan,
|
|
3
3
|
useResolvedScope
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
12756
|
+
//# sourceMappingURL=chunk-2UUZZJFT.js.map
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
useEvents,
|
|
13
13
|
useOrganisations
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-E7UAOUMY.js";
|
|
15
15
|
import {
|
|
16
16
|
useUnifiedAuth
|
|
17
|
-
} from "./chunk-
|
|
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-
|
|
1486
|
+
//# sourceMappingURL=chunk-3GOZZZYH.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useOrganisations
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E7UAOUMY.js";
|
|
4
4
|
import {
|
|
5
5
|
EventServiceContext,
|
|
6
6
|
useUnifiedAuth
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
391
|
+
//# sourceMappingURL=chunk-DDM4CCYT.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useEventService,
|
|
3
3
|
useOrganisationService
|
|
4
|
-
} from "./chunk-
|
|
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-
|
|
75
|
+
//# sourceMappingURL=chunk-E7UAOUMY.js.map
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
SelectSeparator,
|
|
26
26
|
SelectTrigger,
|
|
27
27
|
SelectValue
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2UUZZJFT.js";
|
|
29
29
|
import {
|
|
30
30
|
useCan,
|
|
31
31
|
usePermissions,
|
|
32
32
|
useRBAC,
|
|
33
33
|
useResolvedScope
|
|
34
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
60
|
+
} from "./chunk-E7UAOUMY.js";
|
|
61
61
|
import {
|
|
62
62
|
EventServiceContext,
|
|
63
63
|
useSessionRestoration,
|
|
64
64
|
useUnifiedAuth
|
|
65
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
4593
|
+
//# sourceMappingURL=chunk-EFCLXK7F.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
useAccessLevel,
|
|
5
5
|
useCan,
|
|
6
6
|
useMultiplePermissions
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
17
|
+
} from "./chunk-DDM4CCYT.js";
|
|
18
18
|
import {
|
|
19
19
|
useUnifiedAuth
|
|
20
|
-
} from "./chunk-
|
|
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-
|
|
2112
|
+
//# sourceMappingURL=chunk-IM4QE42D.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
listFiles,
|
|
11
11
|
uploadFile,
|
|
12
12
|
usePublicPageContext
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UNOTYLQF.js";
|
|
14
14
|
import {
|
|
15
15
|
useOrganisations
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-E7UAOUMY.js";
|
|
17
17
|
import {
|
|
18
18
|
useUnifiedAuth
|
|
19
|
-
} from "./chunk-
|
|
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-
|
|
869
|
+
//# sourceMappingURL=chunk-IPCH26AG.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useEvents
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-E7UAOUMY.js";
|
|
4
4
|
import {
|
|
5
5
|
useUnifiedAuth
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
2317
|
+
//# sourceMappingURL=chunk-VGZZXKBR.js.map
|