@burdenoff/microfe-bigconsole 2026.1029.3 → 2026.1029.4

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.
@@ -2,7 +2,7 @@ import "../../generated/global-operations.js";
2
2
  import { gql as e } from "@apollo/client";
3
3
  //#region src/bigconsole/graphql/storeTemplates.ts
4
4
  var t = e`
5
- mutation ImportDashboardTemplate($input: ImportDashboardTemplateInput!) {
5
+ mutation ImportDashboardTemplate($input: BigConsoleImportDashboardTemplateInput!) {
6
6
  importDashboardTemplate(input: $input) {
7
7
  success
8
8
  errorMessage
@@ -1,9 +1,10 @@
1
1
  import { GetLegacyWidgetTypesDocument as e, GetWidgetTypesDocument as t } from "../../generated/wspace-operations.js";
2
2
  //#region src/bigconsole/graphql/widgetCapabilities.ts
3
- function n(e) {
4
- return e instanceof Error && e.message.includes("Cannot query field \"federationType\" on type \"WidgetTypeInfo\"");
3
+ var n = /Cannot query field "federationType" on type "(?:BigConsole)?WidgetTypeInfo"/;
4
+ function r(e) {
5
+ return e instanceof Error && n.test(e.message);
5
6
  }
6
- async function r(r, i) {
7
+ async function i(n, i) {
7
8
  let a = {
8
9
  fetchPolicy: "no-cache",
9
10
  errorPolicy: "none",
@@ -14,15 +15,15 @@ async function r(r, i) {
14
15
  }
15
16
  };
16
17
  try {
17
- let e = await r.query({
18
+ let e = await n.query({
18
19
  query: t,
19
20
  ...a
20
21
  });
21
22
  if (!e.data) throw Error("Widget catalog response is missing.");
22
23
  return e.data;
23
24
  } catch (t) {
24
- if (!n(t)) throw t;
25
- let i = await r.query({
25
+ if (!r(t)) throw t;
26
+ let i = await n.query({
26
27
  query: e,
27
28
  ...a
28
29
  });
@@ -34,4 +35,4 @@ async function r(r, i) {
34
35
  }
35
36
  }
36
37
  //#endregion
37
- export { r as loadNativeWidgetCatalog };
38
+ export { i as loadNativeWidgetCatalog };
@@ -1,8 +1,8 @@
1
- import { DashboardEmbedTheme } from '../../generated/wspace-types';
1
+ import { BigConsoleDashboardEmbedTheme } from '../../generated/wspace-types';
2
2
  import { EmbedThemeMode } from '../components/embed/types';
3
3
  export type EmbedPolicyStatus = 'DRAFT' | 'ACTIVE' | 'NEEDS_REVIEW' | 'BROKEN' | 'REVOKED' | 'EXPIRED';
4
4
  /**
5
- * Owner-facing color mode (BOFF-5735); maps to the backend {@link DashboardEmbedTheme}
5
+ * Owner-facing color mode (BOFF-5735); maps to the backend {@link BigConsoleDashboardEmbedTheme}
6
6
  * enum. Same shape as the render-model's {@link EmbedThemeMode} — aliased to avoid a
7
7
  * duplicate union.
8
8
  */
@@ -28,7 +28,7 @@ export interface DashboardEmbedPolicy {
28
28
  expiresAt?: string | null;
29
29
  sessionTtlSeconds: number;
30
30
  contentReviewState: string;
31
- presentationTheme: DashboardEmbedTheme;
31
+ presentationTheme: BigConsoleDashboardEmbedTheme;
32
32
  showDashboardTitle: boolean;
33
33
  activePublicationId?: string | null;
34
34
  locatorPublicId?: string | null;
@@ -1,5 +1,5 @@
1
1
  import { CreateDashboardEmbedPolicyDocument as e, ListDashboardEmbedPoliciesDocument as t, PublishDashboardEmbedPolicyDocument as n, RevokeDashboardEmbedPolicyDocument as r, RotateDashboardEmbedPolicyDocument as i, UpdateDashboardEmbedPolicyDocument as a } from "../../generated/wspace-operations.js";
2
- import { DashboardEmbedTheme as o } from "../../generated/wspace-types.js";
2
+ import { BigConsoleDashboardEmbedTheme as o } from "../../generated/wspace-types.js";
3
3
  import { useCallback as s, useState as c } from "react";
4
4
  import { useApolloClient as l } from "@apollo/client/react";
5
5
  //#region src/bigconsole/hooks/useDashboardEmbedPolicy.ts
@@ -37,7 +37,7 @@ function c(c, l = {}) {
37
37
  let n = t?.refreshWidgetData;
38
38
  n && e.modify({
39
39
  id: e.identify({
40
- __typename: "Widget",
40
+ __typename: "BigConsoleWidget",
41
41
  id: c
42
42
  }),
43
43
  fields: {
@@ -75,7 +75,7 @@ var be = C`
75
75
  }
76
76
  }
77
77
  `, Se = C`
78
- mutation GenerateDashboardFromPrompt($input: GenerateDashboardFromPromptInput!) {
78
+ mutation GenerateDashboardFromPrompt($input: BigConsoleGenerateDashboardFromPromptInput!) {
79
79
  generateDashboardFromPrompt(input: $input) {
80
80
  id
81
81
  status
@@ -83,7 +83,7 @@ var be = C`
83
83
  }
84
84
  }
85
85
  `, Ce = C`
86
- mutation CreateDashboardFromGeneration($input: CreateDashboardFromGenerationInput!) {
86
+ mutation CreateDashboardFromGeneration($input: BigConsoleCreateDashboardFromGenerationInput!) {
87
87
  createDashboardFromGeneration(input: $input) {
88
88
  id
89
89
  }
@@ -100,7 +100,7 @@ var be = C`
100
100
  }
101
101
  }
102
102
  `, Ee = C`
103
- mutation RegenerateDashboard($input: RegenerateDashboardInput!) {
103
+ mutation RegenerateDashboard($input: BigConsoleRegenerateDashboardInput!) {
104
104
  regenerateDashboard(input: $input) {
105
105
  id
106
106
  status
@@ -108,7 +108,7 @@ var be = C`
108
108
  }
109
109
  }
110
110
  `, De = C`
111
- mutation RefineGeneratedDashboard($input: RefineGeneratedDashboardInput!) {
111
+ mutation RefineGeneratedDashboard($input: BigConsoleRefineGeneratedDashboardInput!) {
112
112
  refineGeneratedDashboard(input: $input) {
113
113
  id
114
114
  status