@burdenoff/fe-libs 2026.1023.7 → 2026.1023.8
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/shared/graphql/client.d.ts +9 -0
- package/dist/shared/graphql/client.js +241 -201
- package/dist/shared/graphql/fetch.js +135 -123
- package/dist/shared/graphql/index.d.ts +1 -0
- package/dist/shared/graphql/workspaceOperationGuard.d.ts +70 -0
- package/dist/shared/graphql/workspaceOperationGuard.js +62 -0
- package/dist/shared/providers/AppShellProvider.d.ts +16 -0
- package/dist/shared/providers/AppShellProvider.js +232 -226
- package/dist/shared/providers/shell/AuthProvider.d.ts +14 -1
- package/dist/shared/providers/shell/AuthProvider.js +105 -94
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +8 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.js +115 -119
- package/dist/shared/providers/shell/ProfileStorageManager.js +1 -1
- package/dist/shared/providers/shell/WorkspaceWriteRefusedToastListener.d.ts +4 -0
- package/dist/shared/providers/shell/WorkspaceWriteRefusedToastListener.js +23 -0
- package/dist/shared/providers/shell/authProvider/identityChange.d.ts +26 -0
- package/dist/shared/providers/shell/authProvider/identityChange.js +11 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.d.ts +4 -1
- package/dist/shared/providers/shell/authProvider/useAuthActions.js +105 -92
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.d.ts +27 -1
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.js +82 -62
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.d.ts +4 -1
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.js +16 -14
- package/dist/shared/providers/shell/authProvider/useStorageSync.d.ts +4 -1
- package/dist/shared/providers/shell/authProvider/useStorageSync.js +19 -14
- package/dist/shared/providers/shell/contextSwitchCache.d.ts +4 -0
- package/dist/shared/providers/shell/contextSwitchCache.js +17 -0
- package/dist/shared/providers/shell/identityQueryReset.d.ts +17 -0
- package/dist/shared/providers/shell/identityQueryReset.js +21 -0
- package/dist/shared/providers/shell/identityScopedQueryReset.d.ts +16 -0
- package/dist/shared/providers/shell/identityScopedQueryReset.js +30 -0
- package/dist/shared/providers/shell/index.d.ts +1 -1
- package/dist/shared-graphql.js +11 -10
- package/dist/shared.js +129 -128
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import { ApolloClient, InMemoryCache } from '@apollo/client/core';
|
|
|
2
2
|
import { RetryLink } from '@apollo/client/link/retry';
|
|
3
3
|
import { Gateway } from '../config';
|
|
4
4
|
import { RetryPolicyOperation } from './retryPolicy';
|
|
5
|
+
import { WorkspaceOperationGuardMode } from './workspaceOperationGuard';
|
|
5
6
|
/**
|
|
6
7
|
* Decide whether the transport may retry a failed operation. Pure so it can be
|
|
7
8
|
* unit-tested without a client. Mutations are never retried (an ambiguous
|
|
@@ -92,6 +93,14 @@ export interface CreateClientOptions {
|
|
|
92
93
|
batchInterval?: number;
|
|
93
94
|
/** Enable debug logging */
|
|
94
95
|
debug?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* BOFF-8106: what to do with an operation whose ContextInput names a
|
|
98
|
+
* workspace other than the active one (workspace gateway only). `'off'`
|
|
99
|
+
* (default) sends it as before; `'report'` sends it and dispatches
|
|
100
|
+
* `burdenoff:workspace-context-mismatch`; `'enforce'` does not send it and
|
|
101
|
+
* ends it with a `WorkspaceContextChangedError`. See workspaceOperationGuard.ts.
|
|
102
|
+
*/
|
|
103
|
+
workspaceOperationGuard?: WorkspaceOperationGuardMode;
|
|
95
104
|
}
|
|
96
105
|
export interface MutationSuccessEvent {
|
|
97
106
|
gateway: Gateway;
|