@burdenoff/microfe-workspaces 2026.1130.2 → 2026.1201.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.
|
@@ -20,7 +20,8 @@ var _ = (l) => {
|
|
|
20
20
|
gateway: "workspace",
|
|
21
21
|
query: c,
|
|
22
22
|
variables: { input: n },
|
|
23
|
-
workspaceId: _ || void 0
|
|
23
|
+
workspaceId: _ || void 0,
|
|
24
|
+
suppressGlobalErrorEvent: !0
|
|
24
25
|
});
|
|
25
26
|
if (i.errors?.length) throw new a(i.errors[0]);
|
|
26
27
|
return i.data.createProject;
|
|
@@ -22,6 +22,12 @@ export interface PinnedFetchOptions {
|
|
|
22
22
|
* runs in. Defaults to the active workspace, as `graphqlFetch` does.
|
|
23
23
|
*/
|
|
24
24
|
workspaceId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Skip the shell's global backend-error toast for this call, for a caller
|
|
27
|
+
* that shows the failure itself (the Create Project dialog, BOFF-17412).
|
|
28
|
+
* The returned `errors` are unchanged.
|
|
29
|
+
*/
|
|
30
|
+
suppressGlobalErrorEvent?: boolean;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Record the acting user when an action starts. Call it synchronously at the
|
|
@@ -21,9 +21,9 @@ function f(e) {
|
|
|
21
21
|
return /^\s*mutation\b/.test(e);
|
|
22
22
|
}
|
|
23
23
|
async function p(e, n) {
|
|
24
|
-
let { gateway: c, query: l, variables: u, workspaceId: p } = n;
|
|
24
|
+
let { gateway: c, query: l, variables: u, workspaceId: p, suppressGlobalErrorEvent: m } = n;
|
|
25
25
|
d(e);
|
|
26
|
-
let
|
|
26
|
+
let h;
|
|
27
27
|
if (c === "workspace") {
|
|
28
28
|
let t = r(), n = p || t;
|
|
29
29
|
if (n && n === t) {
|
|
@@ -35,18 +35,19 @@ async function p(e, n) {
|
|
|
35
35
|
tenantId: s() ?? void 0,
|
|
36
36
|
currentQuery: l
|
|
37
37
|
});
|
|
38
|
-
t.assertCurrent(),
|
|
39
|
-
} else
|
|
38
|
+
t.assertCurrent(), h = t.workspaceToken;
|
|
39
|
+
} else h = !0;
|
|
40
40
|
}
|
|
41
41
|
d(e);
|
|
42
|
-
let
|
|
42
|
+
let g = await i({
|
|
43
43
|
gateway: c,
|
|
44
44
|
query: l,
|
|
45
45
|
variables: u,
|
|
46
46
|
authToken: e.authToken,
|
|
47
47
|
...p ? { workspaceId: p } : {},
|
|
48
|
-
...
|
|
48
|
+
...h === void 0 ? {} : { workspaceToken: h },
|
|
49
|
+
...m ? { suppressGlobalErrorEvent: !0 } : {}
|
|
49
50
|
});
|
|
50
|
-
return f(l) && !
|
|
51
|
+
return f(l) && !g.errors?.length && t(), g;
|
|
51
52
|
}
|
|
52
53
|
export { l as ACTOR_CHANGED_MESSAGE, c as SIGN_IN_REQUIRED_MESSAGE, u as captureRequestActor, p as pinnedFetch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-workspaces",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.1201.1",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/Algoshred/microfe-workspaces.git"
|
|
7
|
+
},
|
|
4
8
|
"description": "Workspaces microfrontend for Burdenoff products",
|
|
5
9
|
"type": "module",
|
|
6
10
|
"files": [
|