@jmruthers/pace-core 0.5.114 → 0.5.116
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/{AuthService-CVgsgtaZ.d.ts → AuthService-D4646R4b.d.ts} +9 -4
- package/dist/{DataTable-3JRLZXER.js → DataTable-ZOAKQ3SU.js} +10 -9
- package/dist/{UnifiedAuthProvider-KZZUO27W.js → UnifiedAuthProvider-YFN7YGVN.js} +4 -3
- package/dist/{api-PKU4PUBO.js → api-TNIBJWLM.js} +3 -3
- package/dist/{audit-H4YJJF7R.js → audit-T36HM7IM.js} +2 -2
- package/dist/{chunk-4OX5PXHX.js → chunk-2GJ5GL77.js} +4 -5
- package/dist/chunk-2GJ5GL77.js.map +1 -0
- package/dist/{chunk-5YIZFEUQ.js → chunk-2LM4QQGH.js} +31 -35
- package/dist/chunk-2LM4QQGH.js.map +1 -0
- package/dist/{chunk-3OGQLOJM.js → chunk-3DBFLLLU.js} +30 -1
- package/dist/chunk-3DBFLLLU.js.map +1 -0
- package/dist/{chunk-KTHLNIMA.js → chunk-ECOVPXYS.js} +13 -62
- package/dist/chunk-ECOVPXYS.js.map +1 -0
- package/dist/{chunk-OO3V7W4H.js → chunk-KA3PSVNV.js} +87 -40
- package/dist/chunk-KA3PSVNV.js.map +1 -0
- package/dist/{chunk-HKWQN44G.js → chunk-KMPWND3F.js} +15 -15
- package/dist/{chunk-L36JW4KV.js → chunk-LFS45U62.js} +2 -2
- package/dist/{chunk-NEONKMTU.js → chunk-LZYHAL7Y.js} +9 -4
- package/dist/{chunk-NEONKMTU.js.map → chunk-LZYHAL7Y.js.map} +1 -1
- package/dist/{chunk-BUN7NMV7.js → chunk-O3FTRYEU.js} +2 -2
- package/dist/{chunk-F6QB26OS.js → chunk-P3PUOL6B.js} +80 -8
- package/dist/chunk-P3PUOL6B.js.map +1 -0
- package/dist/{chunk-ZPXWJA4H.js → chunk-PHDAXDHB.js} +131 -5
- package/dist/chunk-PHDAXDHB.js.map +1 -0
- package/dist/chunk-UJI6WSMD.js +201 -0
- package/dist/{chunk-5CDJCTOO.js.map → chunk-UJI6WSMD.js.map} +1 -1
- package/dist/{chunk-JHWQNJP3.js → chunk-UKZWNQMB.js} +65 -19
- package/dist/{chunk-JHWQNJP3.js.map → chunk-UKZWNQMB.js.map} +1 -1
- package/dist/{chunk-7H75SHXZ.js → chunk-VN3OOE35.js} +2 -2
- package/dist/{chunk-QKIVSZ2O.js → chunk-WP5I5GLN.js} +2 -2
- package/dist/components.d.ts +1 -1
- package/dist/components.js +12 -11
- package/dist/components.js.map +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +10 -9
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +19 -16
- package/dist/index.js.map +1 -1
- package/dist/providers.d.ts +2 -2
- package/dist/providers.js +3 -2
- package/dist/rbac/index.d.ts +82 -1
- package/dist/rbac/index.js +13 -10
- package/dist/{useToast-DRah6K-g.d.ts → useToast-Cs_g32bg.d.ts} +8 -6
- package/dist/utils.js +6 -4
- package/dist/utils.js.map +1 -1
- package/dist/validation.js +3 -1
- package/dist/validation.js.map +1 -1
- package/docs/README.md +4 -0
- 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/MissingUserContextError.md +1 -1
- package/docs/api/classes/OrganisationContextRequiredError.md +1 -1
- package/docs/api/classes/PermissionDeniedError.md +1 -1
- package/docs/api/classes/PublicErrorBoundary.md +1 -1
- package/docs/api/classes/RBACAuditManager.md +35 -12
- 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/interfaces/AggregateConfig.md +1 -1
- package/docs/api/interfaces/ButtonProps.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/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/EmptyStateConfig.md +1 -1
- package/docs/api/interfaces/EnhancedNavigationMenuProps.md +1 -1
- package/docs/api/interfaces/EventAppRoleData.md +71 -0
- 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/GrantEventAppRoleParams.md +122 -0
- 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/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 +27 -27
- 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/PermissionEnforcerProps.md +1 -1
- package/docs/api/interfaces/ProtectedRouteProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryProps.md +1 -1
- package/docs/api/interfaces/PublicErrorBoundaryState.md +1 -1
- package/docs/api/interfaces/PublicLoadingSpinnerProps.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/RBACConfig.md +1 -1
- package/docs/api/interfaces/RBACLogger.md +1 -1
- package/docs/api/interfaces/RevokeEventAppRoleParams.md +100 -0
- package/docs/api/interfaces/RoleBasedRouterContextType.md +1 -1
- package/docs/api/interfaces/RoleBasedRouterProps.md +1 -1
- package/docs/api/interfaces/RoleManagementResult.md +52 -0
- package/docs/api/interfaces/RouteAccessRecord.md +1 -1
- package/docs/api/interfaces/RouteConfig.md +1 -1
- package/docs/api/interfaces/SecureDataContextType.md +1 -1
- package/docs/api/interfaces/SecureDataProviderProps.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/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/UseInactivityTrackerOptions.md +1 -1
- package/docs/api/interfaces/UseInactivityTrackerReturn.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/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 +43 -16
- package/docs/architecture/rpc-function-standards.md +193 -0
- package/package.json +1 -1
- package/src/__tests__/TEST_STANDARD.md +244 -2
- package/src/components/DataTable/__tests__/a11y.basic.test.tsx +46 -16
- package/src/components/DataTable/__tests__/keyboard.test.tsx +276 -217
- package/src/components/DataTable/components/DataTableCore.tsx +32 -17
- package/src/components/DataTable/components/DataTableToolbar.tsx +3 -2
- package/src/components/DataTable/components/EditableRow.tsx +18 -1
- package/src/components/DataTable/components/ImportModal.tsx +25 -2
- package/src/components/DataTable/components/ViewRowModal.tsx +1 -1
- package/src/components/DataTable/components/__tests__/AccessDeniedPage.test.tsx +735 -0
- package/src/components/DataTable/components/__tests__/BulkOperationsDropdown.test.tsx +572 -0
- package/src/components/DataTable/components/__tests__/ColumnVisibilityDropdown.test.tsx +708 -0
- package/src/components/DataTable/components/__tests__/DataTableErrorBoundary.test.tsx +451 -0
- package/src/components/DataTable/components/__tests__/DataTableModals.test.tsx +456 -0
- package/src/components/DataTable/components/__tests__/EditableRow.test.tsx +454 -0
- package/src/components/DataTable/components/__tests__/ExpandButton.test.tsx +462 -0
- package/src/components/DataTable/components/__tests__/FilterRow.test.tsx +423 -0
- package/src/components/DataTable/components/__tests__/GroupHeader.test.tsx +393 -0
- package/src/components/DataTable/components/__tests__/GroupingDropdown.test.tsx +617 -0
- package/src/components/DataTable/components/__tests__/ImportModal.test.tsx +734 -0
- package/src/components/DataTable/components/__tests__/ViewRowModal.test.tsx +412 -0
- package/src/components/DataTable/hooks/useTableHandlers.ts +4 -0
- package/src/components/EventSelector/EventSelector.tsx +5 -25
- package/src/components/PaceAppLayout/PaceAppLayout.test.tsx +12 -7
- package/src/components/PaceAppLayout/PaceAppLayout.tsx +4 -0
- package/src/components/PaceAppLayout/__tests__/PaceAppLayout.accessibility.test.tsx +7 -2
- package/src/components/PaceAppLayout/__tests__/PaceAppLayout.integration.test.tsx +13 -8
- package/src/components/PaceAppLayout/__tests__/PaceAppLayout.performance.test.tsx +109 -100
- package/src/components/PaceAppLayout/__tests__/PaceAppLayout.security.test.tsx +18 -13
- package/src/components/PaceAppLayout/__tests__/PaceAppLayout.unit.test.tsx +17 -12
- package/src/components/PaceLoginPage/PaceLoginPage.test.tsx +2 -0
- package/src/components/PaceLoginPage/PaceLoginPage.tsx +11 -1
- package/src/components/PasswordReset/PasswordChangeForm.test.tsx +2 -2
- package/src/components/ProtectedRoute/ProtectedRoute.test.tsx +648 -0
- package/src/components/ProtectedRoute/ProtectedRoute.tsx +10 -7
- package/src/components/PublicLayout/__tests__/PublicErrorBoundary.test.tsx +4 -12
- package/src/components/Select/Select.tsx +8 -0
- package/src/components/Toast/Toast.test.tsx +8 -7
- package/src/components/Toast/Toast.tsx +4 -4
- package/src/hooks/__tests__/usePublicEvent.simple.test.ts +367 -3
- package/src/hooks/__tests__/usePublicFileDisplay.test.ts +916 -0
- package/src/hooks/useEventTheme.ts +49 -18
- package/src/hooks/usePermissionCache.ts +5 -3
- package/src/hooks/useSecureDataAccess.ts +11 -1
- package/src/hooks/useToast.ts +11 -12
- package/src/providers/services/EventServiceProvider.tsx +15 -8
- package/src/rbac/__tests__/cache-invalidation.test.ts +385 -0
- package/src/rbac/audit.test.ts +206 -0
- package/src/rbac/audit.ts +37 -2
- package/src/rbac/components/__tests__/PagePermissionGuard.test.tsx +26 -23
- package/src/rbac/errors.test.ts +340 -0
- package/src/rbac/hooks/index.ts +9 -0
- package/src/rbac/hooks/useResolvedScope.test.ts +1063 -0
- package/src/rbac/hooks/useRoleManagement.test.ts +908 -0
- package/src/rbac/hooks/useRoleManagement.ts +255 -0
- package/src/services/AuthService.ts +10 -0
- package/src/services/EventService.ts +111 -50
- package/src/services/__tests__/AuthService.test.ts +1 -1
- package/src/services/__tests__/EventService.test.ts +60 -45
- package/src/services/interfaces/IEventService.ts +1 -1
- package/src/utils/__tests__/deviceFingerprint.unit.test.ts +320 -0
- package/src/utils/__tests__/logger.unit.test.ts +398 -0
- package/src/utils/__tests__/validation.unit.test.ts +225 -1
- package/src/utils/file-reference.test.ts +214 -0
- package/dist/chunk-3OGQLOJM.js.map +0 -1
- package/dist/chunk-4OX5PXHX.js.map +0 -1
- package/dist/chunk-5CDJCTOO.js +0 -190
- package/dist/chunk-5YIZFEUQ.js.map +0 -1
- package/dist/chunk-F6QB26OS.js.map +0 -1
- package/dist/chunk-KTHLNIMA.js.map +0 -1
- package/dist/chunk-OO3V7W4H.js.map +0 -1
- package/dist/chunk-ZPXWJA4H.js.map +0 -1
- package/src/rbac/audit-enhanced.ts +0 -351
- /package/dist/{DataTable-3JRLZXER.js.map → DataTable-ZOAKQ3SU.js.map} +0 -0
- /package/dist/{UnifiedAuthProvider-KZZUO27W.js.map → UnifiedAuthProvider-YFN7YGVN.js.map} +0 -0
- /package/dist/{api-PKU4PUBO.js.map → api-TNIBJWLM.js.map} +0 -0
- /package/dist/{audit-H4YJJF7R.js.map → audit-T36HM7IM.js.map} +0 -0
- /package/dist/{chunk-HKWQN44G.js.map → chunk-KMPWND3F.js.map} +0 -0
- /package/dist/{chunk-L36JW4KV.js.map → chunk-LFS45U62.js.map} +0 -0
- /package/dist/{chunk-BUN7NMV7.js.map → chunk-O3FTRYEU.js.map} +0 -0
- /package/dist/{chunk-7H75SHXZ.js.map → chunk-VN3OOE35.js.map} +0 -0
- /package/dist/{chunk-QKIVSZ2O.js.map → chunk-WP5I5GLN.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[@jmruthers/pace-core - v0.5.
|
|
1
|
+
[@jmruthers/pace-core - v0.5.116](../README.md) / [Exports](../modules.md) / PaceAppLayoutProps
|
|
2
2
|
|
|
3
3
|
# Interface: PaceAppLayoutProps
|
|
4
4
|
|
|
@@ -43,7 +43,7 @@ The name of the application to be displayed in the header.
|
|
|
43
43
|
|
|
44
44
|
#### Defined in
|
|
45
45
|
|
|
46
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
46
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:123](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L123)
|
|
47
47
|
|
|
48
48
|
___
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ Optional navigation items for the header menu. If not provided, uses default nav
|
|
|
55
55
|
|
|
56
56
|
#### Defined in
|
|
57
57
|
|
|
58
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
58
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:125](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L125)
|
|
59
59
|
|
|
60
60
|
___
|
|
61
61
|
|
|
@@ -67,7 +67,7 @@ Show/hide event selector in the header
|
|
|
67
67
|
|
|
68
68
|
#### Defined in
|
|
69
69
|
|
|
70
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
70
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:127](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L127)
|
|
71
71
|
|
|
72
72
|
___
|
|
73
73
|
|
|
@@ -79,7 +79,7 @@ Custom actions to display in the header (between event selector and user menu)
|
|
|
79
79
|
|
|
80
80
|
#### Defined in
|
|
81
81
|
|
|
82
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
82
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:129](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L129)
|
|
83
83
|
|
|
84
84
|
___
|
|
85
85
|
|
|
@@ -91,7 +91,7 @@ Custom logo component (overrides default logo)
|
|
|
91
91
|
|
|
92
92
|
#### Defined in
|
|
93
93
|
|
|
94
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
94
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:131](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L131)
|
|
95
95
|
|
|
96
96
|
___
|
|
97
97
|
|
|
@@ -103,7 +103,7 @@ URL to navigate to when logo is clicked (defaults to '/dashboard')
|
|
|
103
103
|
|
|
104
104
|
#### Defined in
|
|
105
105
|
|
|
106
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
106
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:133](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L133)
|
|
107
107
|
|
|
108
108
|
___
|
|
109
109
|
|
|
@@ -115,7 +115,7 @@ Custom user menu component (overrides default user menu)
|
|
|
115
115
|
|
|
116
116
|
#### Defined in
|
|
117
117
|
|
|
118
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
118
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:135](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L135)
|
|
119
119
|
|
|
120
120
|
___
|
|
121
121
|
|
|
@@ -127,7 +127,7 @@ Custom className for the header
|
|
|
127
127
|
|
|
128
128
|
#### Defined in
|
|
129
129
|
|
|
130
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
130
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:137](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L137)
|
|
131
131
|
|
|
132
132
|
___
|
|
133
133
|
|
|
@@ -139,7 +139,7 @@ Show/hide user menu
|
|
|
139
139
|
|
|
140
140
|
#### Defined in
|
|
141
141
|
|
|
142
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
142
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:139](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L139)
|
|
143
143
|
|
|
144
144
|
___
|
|
145
145
|
|
|
@@ -151,7 +151,7 @@ Enable layout-level permission enforcement
|
|
|
151
151
|
|
|
152
152
|
#### Defined in
|
|
153
153
|
|
|
154
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
154
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:141](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L141)
|
|
155
155
|
|
|
156
156
|
___
|
|
157
157
|
|
|
@@ -163,7 +163,7 @@ Default permission to check for all routes (when enforcePermissions is true)
|
|
|
163
163
|
|
|
164
164
|
#### Defined in
|
|
165
165
|
|
|
166
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
166
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:143](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L143)
|
|
167
167
|
|
|
168
168
|
___
|
|
169
169
|
|
|
@@ -175,7 +175,7 @@ Route-specific permissions mapping
|
|
|
175
175
|
|
|
176
176
|
#### Defined in
|
|
177
177
|
|
|
178
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
178
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:145](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L145)
|
|
179
179
|
|
|
180
180
|
___
|
|
181
181
|
|
|
@@ -187,7 +187,7 @@ Fallback component to show when user lacks permission
|
|
|
187
187
|
|
|
188
188
|
#### Defined in
|
|
189
189
|
|
|
190
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
190
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:147](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L147)
|
|
191
191
|
|
|
192
192
|
___
|
|
193
193
|
|
|
@@ -199,7 +199,7 @@ Enable permission-based navigation filtering
|
|
|
199
199
|
|
|
200
200
|
#### Defined in
|
|
201
201
|
|
|
202
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
202
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:149](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L149)
|
|
203
203
|
|
|
204
204
|
___
|
|
205
205
|
|
|
@@ -211,7 +211,7 @@ Custom permission page ID mapping
|
|
|
211
211
|
|
|
212
212
|
#### Defined in
|
|
213
213
|
|
|
214
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
214
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:151](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L151)
|
|
215
215
|
|
|
216
216
|
___
|
|
217
217
|
|
|
@@ -223,7 +223,7 @@ Enable strict mode to prevent bypassing permission checks (default: true)
|
|
|
223
223
|
|
|
224
224
|
#### Defined in
|
|
225
225
|
|
|
226
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
226
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:155](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L155)
|
|
227
227
|
|
|
228
228
|
___
|
|
229
229
|
|
|
@@ -235,7 +235,7 @@ Enable page-level permission enforcement (default: false)
|
|
|
235
235
|
|
|
236
236
|
#### Defined in
|
|
237
237
|
|
|
238
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
238
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:157](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L157)
|
|
239
239
|
|
|
240
240
|
___
|
|
241
241
|
|
|
@@ -247,7 +247,7 @@ Default page permission fallback component
|
|
|
247
247
|
|
|
248
248
|
#### Defined in
|
|
249
249
|
|
|
250
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
250
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:159](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L159)
|
|
251
251
|
|
|
252
252
|
___
|
|
253
253
|
|
|
@@ -259,7 +259,7 @@ Enable audit logging for all permission checks (default: true)
|
|
|
259
259
|
|
|
260
260
|
#### Defined in
|
|
261
261
|
|
|
262
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
262
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:161](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L161)
|
|
263
263
|
|
|
264
264
|
___
|
|
265
265
|
|
|
@@ -286,7 +286,7 @@ Callback when page access is denied
|
|
|
286
286
|
|
|
287
287
|
#### Defined in
|
|
288
288
|
|
|
289
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
289
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:163](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L163)
|
|
290
290
|
|
|
291
291
|
___
|
|
292
292
|
|
|
@@ -313,7 +313,7 @@ Callback when strict mode violation occurs
|
|
|
313
313
|
|
|
314
314
|
#### Defined in
|
|
315
315
|
|
|
316
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
316
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:165](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L165)
|
|
317
317
|
|
|
318
318
|
___
|
|
319
319
|
|
|
@@ -325,7 +325,7 @@ Enable role-based routing (default: false)
|
|
|
325
325
|
|
|
326
326
|
#### Defined in
|
|
327
327
|
|
|
328
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
328
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:169](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L169)
|
|
329
329
|
|
|
330
330
|
___
|
|
331
331
|
|
|
@@ -337,7 +337,7 @@ Route configuration for role-based routing
|
|
|
337
337
|
|
|
338
338
|
#### Defined in
|
|
339
339
|
|
|
340
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
340
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:171](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L171)
|
|
341
341
|
|
|
342
342
|
___
|
|
343
343
|
|
|
@@ -349,7 +349,7 @@ Fallback route for unauthorized access
|
|
|
349
349
|
|
|
350
350
|
#### Defined in
|
|
351
351
|
|
|
352
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
352
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:187](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L187)
|
|
353
353
|
|
|
354
354
|
___
|
|
355
355
|
|
|
@@ -376,7 +376,7 @@ Callback when route access is denied
|
|
|
376
376
|
|
|
377
377
|
#### Defined in
|
|
378
378
|
|
|
379
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
379
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:189](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L189)
|
|
380
380
|
|
|
381
381
|
___
|
|
382
382
|
|
|
@@ -403,4 +403,4 @@ Callback when route strict mode violation occurs
|
|
|
403
403
|
|
|
404
404
|
#### Defined in
|
|
405
405
|
|
|
406
|
-
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:
|
|
406
|
+
[packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx:191](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/components/PaceAppLayout/PaceAppLayout.tsx#L191)
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
[@jmruthers/pace-core - v0.5.116](../README.md) / [Exports](../modules.md) / RevokeEventAppRoleParams
|
|
2
|
+
|
|
3
|
+
# Interface: RevokeEventAppRoleParams
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`EventAppRoleData`](EventAppRoleData.md)
|
|
8
|
+
|
|
9
|
+
↳ **`RevokeEventAppRoleParams`**
|
|
10
|
+
|
|
11
|
+
## Table of contents
|
|
12
|
+
|
|
13
|
+
### Properties
|
|
14
|
+
|
|
15
|
+
- [user\_id](RevokeEventAppRoleParams.md#user_id)
|
|
16
|
+
- [organisation\_id](RevokeEventAppRoleParams.md#organisation_id)
|
|
17
|
+
- [event\_id](RevokeEventAppRoleParams.md#event_id)
|
|
18
|
+
- [app\_id](RevokeEventAppRoleParams.md#app_id)
|
|
19
|
+
- [role](RevokeEventAppRoleParams.md#role)
|
|
20
|
+
- [revoked\_by](RevokeEventAppRoleParams.md#revoked_by)
|
|
21
|
+
|
|
22
|
+
## Properties
|
|
23
|
+
|
|
24
|
+
### user\_id
|
|
25
|
+
|
|
26
|
+
• **user\_id**: `string`
|
|
27
|
+
|
|
28
|
+
#### Inherited from
|
|
29
|
+
|
|
30
|
+
[EventAppRoleData](EventAppRoleData.md).[user_id](EventAppRoleData.md#user_id)
|
|
31
|
+
|
|
32
|
+
#### Defined in
|
|
33
|
+
|
|
34
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:44](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L44)
|
|
35
|
+
|
|
36
|
+
___
|
|
37
|
+
|
|
38
|
+
### organisation\_id
|
|
39
|
+
|
|
40
|
+
• **organisation\_id**: `string`
|
|
41
|
+
|
|
42
|
+
#### Inherited from
|
|
43
|
+
|
|
44
|
+
[EventAppRoleData](EventAppRoleData.md).[organisation_id](EventAppRoleData.md#organisation_id)
|
|
45
|
+
|
|
46
|
+
#### Defined in
|
|
47
|
+
|
|
48
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:45](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L45)
|
|
49
|
+
|
|
50
|
+
___
|
|
51
|
+
|
|
52
|
+
### event\_id
|
|
53
|
+
|
|
54
|
+
• **event\_id**: `string`
|
|
55
|
+
|
|
56
|
+
#### Inherited from
|
|
57
|
+
|
|
58
|
+
[EventAppRoleData](EventAppRoleData.md).[event_id](EventAppRoleData.md#event_id)
|
|
59
|
+
|
|
60
|
+
#### Defined in
|
|
61
|
+
|
|
62
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:46](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L46)
|
|
63
|
+
|
|
64
|
+
___
|
|
65
|
+
|
|
66
|
+
### app\_id
|
|
67
|
+
|
|
68
|
+
• **app\_id**: `string`
|
|
69
|
+
|
|
70
|
+
#### Inherited from
|
|
71
|
+
|
|
72
|
+
[EventAppRoleData](EventAppRoleData.md).[app_id](EventAppRoleData.md#app_id)
|
|
73
|
+
|
|
74
|
+
#### Defined in
|
|
75
|
+
|
|
76
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:47](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L47)
|
|
77
|
+
|
|
78
|
+
___
|
|
79
|
+
|
|
80
|
+
### role
|
|
81
|
+
|
|
82
|
+
• **role**: ``"viewer"`` \| ``"participant"`` \| ``"planner"`` \| ``"event_admin"``
|
|
83
|
+
|
|
84
|
+
#### Inherited from
|
|
85
|
+
|
|
86
|
+
[EventAppRoleData](EventAppRoleData.md).[role](EventAppRoleData.md#role)
|
|
87
|
+
|
|
88
|
+
#### Defined in
|
|
89
|
+
|
|
90
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:48](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L48)
|
|
91
|
+
|
|
92
|
+
___
|
|
93
|
+
|
|
94
|
+
### revoked\_by
|
|
95
|
+
|
|
96
|
+
• `Optional` **revoked\_by**: `string`
|
|
97
|
+
|
|
98
|
+
#### Defined in
|
|
99
|
+
|
|
100
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:52](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L52)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
[@jmruthers/pace-core - v0.5.116](../README.md) / [Exports](../modules.md) / RoleManagementResult
|
|
2
|
+
|
|
3
|
+
# Interface: RoleManagementResult
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [success](RoleManagementResult.md#success)
|
|
10
|
+
- [message](RoleManagementResult.md#message)
|
|
11
|
+
- [error](RoleManagementResult.md#error)
|
|
12
|
+
- [roleId](RoleManagementResult.md#roleid)
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
### success
|
|
17
|
+
|
|
18
|
+
• **success**: `boolean`
|
|
19
|
+
|
|
20
|
+
#### Defined in
|
|
21
|
+
|
|
22
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:62](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L62)
|
|
23
|
+
|
|
24
|
+
___
|
|
25
|
+
|
|
26
|
+
### message
|
|
27
|
+
|
|
28
|
+
• `Optional` **message**: `string`
|
|
29
|
+
|
|
30
|
+
#### Defined in
|
|
31
|
+
|
|
32
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:63](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L63)
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### error
|
|
37
|
+
|
|
38
|
+
• `Optional` **error**: `string`
|
|
39
|
+
|
|
40
|
+
#### Defined in
|
|
41
|
+
|
|
42
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:64](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L64)
|
|
43
|
+
|
|
44
|
+
___
|
|
45
|
+
|
|
46
|
+
### roleId
|
|
47
|
+
|
|
48
|
+
• `Optional` **roleId**: `string`
|
|
49
|
+
|
|
50
|
+
#### Defined in
|
|
51
|
+
|
|
52
|
+
[packages/core/src/rbac/hooks/useRoleManagement.ts:65](https://github.com/jmruthers/pace-core/blob/main/packages/core/src/rbac/hooks/useRoleManagement.ts#L65)
|