@burdenoff/microfe-auth 2026.718.3 → 2026.725.1

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 (79) hide show
  1. package/dist/auth/AuthRoot.d.ts +29 -0
  2. package/dist/auth/AuthRoutes.d.ts +27 -0
  3. package/dist/auth/components/AuthIcons.d.ts +16 -0
  4. package/dist/auth/components/AuthLayout.d.ts +16 -0
  5. package/dist/auth/components/CaptchaV2.d.ts +25 -0
  6. package/dist/auth/components/ConfirmActionDialog.d.ts +15 -0
  7. package/dist/auth/components/index.d.ts +3 -0
  8. package/dist/auth/components/profile/UserProfileMenu.d.ts +41 -0
  9. package/dist/auth/components/workspace/WorkspaceSelector.d.ts +49 -0
  10. package/dist/auth/constants/permissions.d.ts +29 -0
  11. package/dist/auth/constants/sessionKeys.d.ts +17 -0
  12. package/dist/auth/hooks/index.d.ts +19 -0
  13. package/dist/auth/hooks/useAccountOperations.d.ts +18 -0
  14. package/dist/auth/hooks/useActiveContextBootstrapMirror.d.ts +91 -0
  15. package/dist/auth/hooks/useApiKeyOperations.d.ts +28 -0
  16. package/dist/auth/hooks/useAppOperations.d.ts +32 -0
  17. package/dist/auth/hooks/useAuthOperations.d.ts +59 -0
  18. package/dist/auth/hooks/useAuthPermissions.d.ts +19 -0
  19. package/dist/auth/hooks/useCaptchaV3.d.ts +12 -0
  20. package/dist/auth/hooks/useContextSwitcherData.d.ts +91 -0
  21. package/dist/auth/hooks/useDelegationOperations.d.ts +38 -0
  22. package/dist/auth/hooks/useMfaOperations.d.ts +17 -0
  23. package/dist/auth/hooks/useMyWorkspaces.d.ts +47 -0
  24. package/dist/auth/hooks/useOAuthOperations.d.ts +18 -0
  25. package/dist/auth/hooks/usePasswordOperations.d.ts +12 -0
  26. package/dist/auth/hooks/useSessionOperations.d.ts +57 -0
  27. package/dist/auth/hooks/useSignupCaptcha.d.ts +22 -0
  28. package/dist/auth/hooks/useSsoOperations.d.ts +67 -0
  29. package/dist/auth/hooks/useTokenRefresh.d.ts +55 -0
  30. package/dist/auth/hooks/useUserOperations.d.ts +32 -0
  31. package/dist/auth/hooks/useWorkspaceOperations.d.ts +34 -0
  32. package/dist/auth/hooks/useWorkspaceToken.d.ts +55 -0
  33. package/dist/auth/index.d.ts +63 -0
  34. package/dist/auth/pages/AuditLogPage.d.ts +11 -0
  35. package/dist/auth/pages/EmailVerifyPage.d.ts +4 -0
  36. package/dist/auth/pages/LoginPage.d.ts +5 -0
  37. package/dist/auth/pages/MagicLinkPage.d.ts +5 -0
  38. package/dist/auth/pages/MfaSetupPage.d.ts +4 -0
  39. package/dist/auth/pages/MfaVerifyPage.d.ts +6 -0
  40. package/dist/auth/pages/OAuthCallbackPage.d.ts +6 -0
  41. package/dist/auth/pages/PasswordResetPage.d.ts +5 -0
  42. package/dist/auth/pages/ReactivatePage.d.ts +5 -0
  43. package/dist/auth/pages/RegisterPage.d.ts +4 -0
  44. package/dist/auth/pages/SSOClearPage.d.ts +21 -0
  45. package/dist/auth/pages/SSODepositPage.d.ts +23 -0
  46. package/dist/auth/pages/SSORelayCallbackPage.d.ts +7 -0
  47. package/dist/auth/pages/SSORelayPage.d.ts +17 -0
  48. package/dist/auth/pages/SecurityPage.d.ts +6 -0
  49. package/dist/auth/pages/SessionBridgePage.d.ts +13 -0
  50. package/dist/auth/pages/SessionsPage.d.ts +7 -0
  51. package/dist/auth/pages/SsoCallbackPage.d.ts +7 -0
  52. package/dist/auth/pages/SsoConfigPage.d.ts +12 -0
  53. package/dist/auth/pages/SsoLoginPage.d.ts +6 -0
  54. package/dist/auth/pages/UserDetailsPage.d.ts +10 -0
  55. package/dist/auth/pages/UserDetailsPage.js.map +1 -1
  56. package/dist/auth/pages/UserProfilePage.d.ts +4 -0
  57. package/dist/auth/pages/UsersPage.d.ts +4 -0
  58. package/dist/auth/providers/AuthProvider.d.ts +17 -0
  59. package/dist/auth/providers/CaptchaProvider.d.ts +12 -0
  60. package/dist/auth/store/authStore.d.ts +110 -0
  61. package/dist/auth/types/index.d.ts +678 -0
  62. package/dist/auth/utils/captchaConfig.d.ts +3 -0
  63. package/dist/auth/utils/formatters.d.ts +36 -0
  64. package/dist/auth/utils/gatewayBaseUrls.d.ts +5 -0
  65. package/dist/auth/utils/index.d.ts +2 -0
  66. package/dist/auth/utils/ssoOrigins.d.ts +28 -0
  67. package/dist/auth/utils/validation.d.ts +29 -0
  68. package/dist/dev/main.d.ts +1 -0
  69. package/dist/generated/global-operations.d.ts +3095 -0
  70. package/dist/generated/global-types.d.ts +23528 -0
  71. package/dist/generated/wspace-operations.d.ts +123 -0
  72. package/dist/generated/wspace-types.d.ts +57850 -0
  73. package/dist/index.d.ts +3 -0
  74. package/dist/shared/hooks/index.d.ts +6 -0
  75. package/dist/shared/index.d.ts +5 -0
  76. package/dist/shared/types/index.d.ts +108 -0
  77. package/dist/translations/en.d.ts +320 -0
  78. package/dist/utils/nativeBridge.d.ts +2 -0
  79. package/package.json +5 -3
@@ -0,0 +1,3 @@
1
+
2
+ export * from './auth';
3
+ export type { MicrofrontendRootProps, NavItem, FooterItem, FooterSection, } from './shared/types';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Shared hooks - placeholder for future shell integration hooks
3
+ * The auth module doesn't need the registry stores since it receives
4
+ * registerNavItems and registerFooterItems as props from the host
5
+ */
6
+ export {};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Shared module exports
3
+ * Provides types and utilities for shell integration
4
+ */
5
+ export * from './types';
@@ -0,0 +1,108 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ /**
4
+ * Base user type
5
+ * Note: firstName and lastName are optional to match auth module's User type
6
+ */
7
+ export interface User {
8
+ id: string;
9
+ email: string;
10
+ firstName?: string;
11
+ lastName?: string;
12
+ avatar?: string;
13
+ /** Optional username for display */
14
+ username?: string;
15
+ /** Optional full name */
16
+ name?: string;
17
+ /** User role */
18
+ role?: string;
19
+ }
20
+ /**
21
+ * Base microfrontend root props
22
+ */
23
+ export interface MicrofrontendRootProps {
24
+ /**
25
+ * Base path for the microfrontend (e.g., '/auth')
26
+ */
27
+ basePath: string;
28
+ /**
29
+ * Navigation function injected by the host shell
30
+ */
31
+ navigate: (path: string) => void;
32
+ /**
33
+ * Current authenticated user
34
+ */
35
+ currentUser?: User;
36
+ /**
37
+ * Current tenant ID. Used for tenant-scoped data filters and queries
38
+ * (e.g. SSO config, available auth methods). NOT a permission scope —
39
+ * there is no `tenant` scope in global-rbac; use `organizationId` for
40
+ * permission checks.
41
+ */
42
+ tenantId?: string;
43
+ /**
44
+ * Current organization ID. This is the scope for organization-level
45
+ * permissions in global-rbac (e.g. `user:read` on the Users page).
46
+ */
47
+ organizationId?: string;
48
+ /**
49
+ * Current workspace ID (for workspace modules)
50
+ */
51
+ workspaceId?: string;
52
+ /**
53
+ * API Gateway URL
54
+ */
55
+ apiGatewayUrl?: string;
56
+ /**
57
+ * Authentication token
58
+ */
59
+ authToken?: string;
60
+ /**
61
+ * Product name for branding (e.g., 'Burdenoff Workspaces', 'FluidGrids')
62
+ * Falls back to 'Burdenoff Workspaces' if not provided
63
+ */
64
+ productName?: string;
65
+ /**
66
+ * Optional function to register navigation items with the shell
67
+ * Injected by the shell app
68
+ * @returns Cleanup function to unregister the items
69
+ */
70
+ registerNavItems?: (items: NavItem | NavItem[]) => () => void;
71
+ /**
72
+ * Optional function to register footer items with the shell
73
+ * Injected by the shell app
74
+ * @returns Cleanup function to unregister the items
75
+ */
76
+ registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
77
+ }
78
+ /**
79
+ * Navigation item for shell integration
80
+ */
81
+ export interface NavItem {
82
+ id: string;
83
+ label: string;
84
+ icon?: ReactNode;
85
+ path: string;
86
+ badge?: number;
87
+ order?: number;
88
+ group?: string;
89
+ visible?: boolean;
90
+ }
91
+ /**
92
+ * Footer item for shell integration
93
+ */
94
+ export interface FooterItem {
95
+ id: string;
96
+ label: string;
97
+ icon?: string;
98
+ onClick?: () => void;
99
+ type?: "status" | "action" | "info";
100
+ order?: number;
101
+ badge?: string;
102
+ section?: "left" | "center" | "right";
103
+ visible?: boolean;
104
+ }
105
+ /**
106
+ * Footer section type
107
+ */
108
+ export type FooterSection = "left" | "center" | "right";
@@ -0,0 +1,320 @@
1
+ /**
2
+ * English translation fallback for the auth microfrontend.
3
+ *
4
+ * This file is the single source of truth for English strings.
5
+ * All non-English translations are served by global-i18n-svc at runtime.
6
+ *
7
+ * Usage: t("auth.users.title", "Users")
8
+ * - First argument: dot-notation key
9
+ * - Second argument: inline English fallback (shown when both API and this
10
+ * file miss the key, or when the i18n service is unavailable)
11
+ */
12
+ export declare const en: {
13
+ auth: {
14
+ users: {
15
+ title: string;
16
+ subtitle: string;
17
+ authRequired: string;
18
+ notAllowed: string;
19
+ notAllowedDesc: string;
20
+ adminAccessRequired: string;
21
+ adminAccessDesc: string;
22
+ requiredRoles: string;
23
+ loadingPermissions: string;
24
+ loadingUsers: string;
25
+ searchPlaceholder: string;
26
+ allRoles: string;
27
+ allStatuses: string;
28
+ noUsersFound: string;
29
+ columnUser: string;
30
+ columnRole: string;
31
+ columnStatus: string;
32
+ columnVerified: string;
33
+ columnLastLogin: string;
34
+ columnActions: string;
35
+ verifiedYes: string;
36
+ verifiedNo: string;
37
+ lastLoginNever: string;
38
+ actionView: string;
39
+ actionEdit: string;
40
+ actionDelete: string;
41
+ showing: string;
42
+ to: string;
43
+ of: string;
44
+ paginationUsers: string;
45
+ previousPage: string;
46
+ nextPage: string;
47
+ backToUsers: string;
48
+ editUser: string;
49
+ editingUser: string;
50
+ fieldUsername: string;
51
+ fieldName: string;
52
+ fieldFirstName: string;
53
+ fieldLastName: string;
54
+ fieldPhoneNumber: string;
55
+ fieldRole: string;
56
+ fieldStatus: string;
57
+ fieldEmailVerified: string;
58
+ saveChanges: string;
59
+ saving: string;
60
+ cancel: string;
61
+ updateSuccess: string;
62
+ userDeactivated: string;
63
+ userPermanentlyDeleted: string;
64
+ deactivateTitle: string;
65
+ deactivateDesc: string;
66
+ deactivateConfirm: string;
67
+ hardDeleteTitle: string;
68
+ hardDeleteDesc: string;
69
+ hardDeleteConfirm: string;
70
+ deleteUser: string;
71
+ permanentlyDelete: string;
72
+ viewDetailsUsername: string;
73
+ viewDetailsEmail: string;
74
+ viewDetailsEmailVerified: string;
75
+ viewDetailsMfaEnabled: string;
76
+ viewDetailsPhoneNumber: string;
77
+ viewDetailsLastLogin: string;
78
+ viewDetailsCreated: string;
79
+ viewDetailsLastUpdated: string;
80
+ dismiss: string;
81
+ };
82
+ sessions: {
83
+ title: string;
84
+ authRequired: string;
85
+ signInToView: string;
86
+ loading: string;
87
+ noSessions: string;
88
+ revokeAll: string;
89
+ revoke: string;
90
+ thisDevice: string;
91
+ currentSession: string;
92
+ currentBrowser: string;
93
+ lastActive: string;
94
+ revokeSessionTitle: string;
95
+ revokeSessionDesc: string;
96
+ revokeSessionConfirm: string;
97
+ revokeAllTitle: string;
98
+ revokeAllDesc: string;
99
+ revokeAllConfirm: string;
100
+ revokeSuccess: string;
101
+ revokeAllSuccess: string;
102
+ dismiss: string;
103
+ export: string;
104
+ exporting: string;
105
+ exportAriaLabel: string;
106
+ sessionCount: string;
107
+ sessionsPlural: string;
108
+ sessionsSingular: string;
109
+ pageOf: string;
110
+ of: string;
111
+ prev: string;
112
+ next: string;
113
+ prevPage: string;
114
+ nextPage: string;
115
+ };
116
+ security: {
117
+ title: string;
118
+ subtitle: string;
119
+ securityStatus: string;
120
+ wellProtected: string;
121
+ enableMfaSuggestion: string;
122
+ mfaEnabled: string;
123
+ enableMfaNow: string;
124
+ accountInfo: string;
125
+ email: string;
126
+ verified: string;
127
+ username: string;
128
+ role: string;
129
+ memberSince: string;
130
+ securityAuth: string;
131
+ quickActions: string;
132
+ navProfile: string;
133
+ navProfileDesc: string;
134
+ navMfa: string;
135
+ navMfaDesc: string;
136
+ navUsers: string;
137
+ navUsersDesc: string;
138
+ navMagicLink: string;
139
+ navMagicLinkDesc: string;
140
+ navSso: string;
141
+ navSsoDesc: string;
142
+ password: string;
143
+ updatePassword: string;
144
+ lastChanged: string;
145
+ changePassword: string;
146
+ dangerZone: string;
147
+ dangerWarning: string;
148
+ deactivateAccount: string;
149
+ deleteAccount: string;
150
+ deactivateTitle: string;
151
+ deactivateDesc: string;
152
+ enterPasswordConfirm: string;
153
+ yourPassword: string;
154
+ cancel: string;
155
+ deactivateBtn: string;
156
+ deactivateFailed: string;
157
+ deleteTitle: string;
158
+ deleteDesc: string;
159
+ enterPasswordDelete: string;
160
+ type: string;
161
+ toConfirm: string;
162
+ deleteConfirmPlaceholder: string;
163
+ deleteConfirmMismatch: string;
164
+ deleteFailed: string;
165
+ deleteForever: string;
166
+ signedInAs: string;
167
+ switchAccount: string;
168
+ signOut: string;
169
+ signOutDialogTitle: string;
170
+ signOutDialogDescription: string;
171
+ signOutDialogConfirm: string;
172
+ };
173
+ profile: {
174
+ title: string;
175
+ subtitle: string;
176
+ myProfile: string;
177
+ viewAndManage: string;
178
+ authRequired: string;
179
+ signInToView: string;
180
+ signIn: string;
181
+ username: string;
182
+ usernamePlaceholder: string;
183
+ displayName: string;
184
+ displayNamePlaceholder: string;
185
+ firstName: string;
186
+ firstNamePlaceholder: string;
187
+ lastName: string;
188
+ lastNamePlaceholder: string;
189
+ phoneNumber: string;
190
+ phonePlaceholder: string;
191
+ email: string;
192
+ role: string;
193
+ member: string;
194
+ mfaStatus: string;
195
+ verified: string;
196
+ enabled: string;
197
+ notEnabled: string;
198
+ lastLogin: string;
199
+ never: string;
200
+ accountCreated: string;
201
+ editProfile: string;
202
+ securitySettings: string;
203
+ saveChanges: string;
204
+ saving: string;
205
+ cancel: string;
206
+ dismiss: string;
207
+ updateSuccess: string;
208
+ updateFailed: string;
209
+ twoFactorAuth: string;
210
+ manageMfa: string;
211
+ enableMfa: string;
212
+ apiKeys: string;
213
+ manageApiKeys: string;
214
+ };
215
+ mfaSetup: {
216
+ title: string;
217
+ subtitle: string;
218
+ authRequired: string;
219
+ signInToManage: string;
220
+ twoFactorOff: string;
221
+ notProtected: string;
222
+ twoFactorOn: string;
223
+ protected: string;
224
+ enableTwoFactor: string;
225
+ disableTwoFactor: string;
226
+ setupAuthApp: string;
227
+ scanQr: string;
228
+ cantScan: string;
229
+ saveBackupCodes: string;
230
+ storeCodesSafely: string;
231
+ copyBackupCodes: string;
232
+ copied: string;
233
+ enterCode: string;
234
+ enable2fa: string;
235
+ cancel: string;
236
+ dismiss: string;
237
+ enter6Digit: string;
238
+ verifying: string;
239
+ settingUp: string;
240
+ disabling: string;
241
+ whyEnable: string;
242
+ verificationOnSignIn: string;
243
+ disableTitle: string;
244
+ disableDesc: string;
245
+ disableConfirm: string;
246
+ enableSuccess: string;
247
+ disableSuccess: string;
248
+ };
249
+ passwordReset: {
250
+ errorTokenExpired: string;
251
+ errorInvalidToken: string;
252
+ errorGeneric: string;
253
+ };
254
+ auditLog: {
255
+ title: string;
256
+ loading: string;
257
+ error: string;
258
+ noEvents: string;
259
+ notAvailable: string;
260
+ notEnabled: string;
261
+ defaultDescription: string;
262
+ failed: string;
263
+ };
264
+ mfa: {
265
+ verifying: string;
266
+ settingUp: string;
267
+ disabling: string;
268
+ verificationCodeLabel: string;
269
+ verificationCodePlaceholder: string;
270
+ };
271
+ sso: {
272
+ backToSecurity: string;
273
+ importSuccessFromUrl: string;
274
+ oidcInfoBannerPkce: string;
275
+ samlInfoBanner: string;
276
+ redirecting: string;
277
+ continueWithOidc: string;
278
+ continueWithSaml: string;
279
+ };
280
+ ssoLogin: {
281
+ invalidEmailDomain: string;
282
+ ssoNotConfigured: string;
283
+ };
284
+ userDetails: {
285
+ authRequired: string;
286
+ signInToView: string;
287
+ notAllowed: string;
288
+ notAllowedDesc: string;
289
+ adminRequired: string;
290
+ adminRequiredDesc: string;
291
+ loading: string;
292
+ backToUsers: string;
293
+ userNotFound: string;
294
+ dismiss: string;
295
+ username: string;
296
+ email: string;
297
+ emailVerified: string;
298
+ mfaEnabled: string;
299
+ phoneNumber: string;
300
+ lastLogin: string;
301
+ created: string;
302
+ lastUpdated: string;
303
+ yes: string;
304
+ no: string;
305
+ never: string;
306
+ deactivateUser: string;
307
+ permanentlyDelete: string;
308
+ deactivateTitle: string;
309
+ deactivateDesc: string;
310
+ deactivateConfirm: string;
311
+ hardDeleteTitle: string;
312
+ hardDeleteDesc: string;
313
+ hardDeleteConfirm: string;
314
+ userDeactivated: string;
315
+ exportButton: string;
316
+ exporting: string;
317
+ exportAriaLabel: string;
318
+ };
319
+ };
320
+ };
@@ -0,0 +1,2 @@
1
+ export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
2
+ export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-auth",
3
- "version": "2026.718.3",
3
+ "version": "2026.725.1",
4
4
  "description": "Auth microfrontend for Burdenoff products",
5
5
  "type": "module",
6
6
  "imports": {
@@ -22,7 +22,9 @@
22
22
  ],
23
23
  "scripts": {
24
24
  "dev": "vite",
25
- "build": "tsc && vite build",
25
+ "build": "tsc && vite build && bun scripts/verify-dts.ts",
26
+ "build:fast": "MFE_DTS=0 vite build",
27
+ "verify:dts": "bun scripts/verify-dts.ts",
26
28
  "schema:pull": "graphql-codegen --project schema-global && graphql-codegen --project schema-wspace",
27
29
  "schema:pull:global": "graphql-codegen --project schema-global",
28
30
  "schema:pull:wspace": "graphql-codegen --project schema-wspace",
@@ -44,7 +46,7 @@
44
46
  },
45
47
  "dependencies": {
46
48
  "@apollo/client": "^4.0.9",
47
- "@burdenoff/fe-libs": "2026.718.1",
49
+ "@burdenoff/fe-libs": "2026.718.2",
48
50
  "@types/qrcode.react": "^3.0.0",
49
51
  "clsx": "^2.1.1",
50
52
  "graphql": "^16.12.0",