@burdenoff/microfe-bigconsole 2026.1118.4 → 2026.1118.6

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 (29) hide show
  1. package/dist/bigconsole/components/explore/CreateQueryWidget.d.ts +5 -0
  2. package/dist/bigconsole/components/explore/CreateQueryWidget.js +192 -0
  3. package/dist/bigconsole/components/explore/QueryResults.d.ts +4 -0
  4. package/dist/bigconsole/components/explore/QueryResults.js +42 -0
  5. package/dist/bigconsole/components/explore/SavedQueryWidget.d.ts +4 -0
  6. package/dist/bigconsole/components/explore/SavedQueryWidget.js +69 -0
  7. package/dist/bigconsole/components/explore/SqlDraftEditor.d.ts +3 -1
  8. package/dist/bigconsole/components/explore/SqlDraftEditor.js +336 -58
  9. package/dist/bigconsole/components/explore/SqlDraftEntry.js +11 -11
  10. package/dist/bigconsole/components/explore/VisualBuilder.d.ts +14 -0
  11. package/dist/bigconsole/components/explore/VisualBuilder.js +283 -0
  12. package/dist/bigconsole/components/explore/useExploreRun.d.ts +32 -0
  13. package/dist/bigconsole/components/explore/useExploreRun.js +104 -0
  14. package/dist/bigconsole/components/explore/visualSql.d.ts +49 -0
  15. package/dist/bigconsole/components/explore/visualSql.js +95 -0
  16. package/dist/bigconsole/components/insights/BoardLintPanel.d.ts +28 -0
  17. package/dist/bigconsole/components/insights/BoardLintPanel.js +171 -0
  18. package/dist/bigconsole/components/insights/DraftCheckDialog.d.ts +9 -3
  19. package/dist/bigconsole/components/insights/DraftCheckDialog.js +53 -146
  20. package/dist/bigconsole/components/widgets/WidgetWrapper.js +237 -228
  21. package/dist/bigconsole/hooks/useWidgetOperations.js +1 -0
  22. package/dist/bigconsole/pages/InsightsPage.js +305 -274
  23. package/dist/bigconsole/types/index.d.ts +1 -0
  24. package/dist/bigconsole/utils/boardLint.d.ts +5 -0
  25. package/dist/bigconsole/utils/boardLint.js +4 -1
  26. package/dist/generated/wspace-operations.d.ts +143 -0
  27. package/dist/generated/wspace-operations.js +1127 -73
  28. package/dist/generated/wspace-types.d.ts +93 -0
  29. package/package.json +1 -1
@@ -195,6 +195,7 @@ export interface Widget {
195
195
  template?: Record<string, unknown> | null;
196
196
  dataSourceId?: string | null;
197
197
  dataPath?: string | null;
198
+ savedQueryId?: string | null;
198
199
  dataSinkId?: string | null;
199
200
  datasetId?: string | null;
200
201
  parserId?: string | null;
@@ -85,3 +85,8 @@ export declare function applyLintFixPlan(board: LintableBoard, fix: LintFix): Li
85
85
  * (or that no longer apply) return the same board object unchanged.
86
86
  */
87
87
  export declare function applyLintFix(board: LintableBoard, finding: LintFinding): LintableBoard;
88
+ /**
89
+ * Overall tone for a findings list: calm green when clean, blue when everything is only a suggestion
90
+ * (for example a draft that is simply not connected to data yet), amber when anything needs attention.
91
+ */
92
+ export declare function lintTone(findings: readonly LintFinding[]): 'success' | 'info' | 'warning';
@@ -270,4 +270,7 @@ function C(e, t) {
270
270
  }
271
271
  return null;
272
272
  }
273
- export { y as lintBoard, C as planLintFix, i as resolveChartKind };
273
+ function w(e) {
274
+ return e.length === 0 ? "success" : e.some((e) => e.severity === "warning") ? "warning" : "info";
275
+ }
276
+ export { y as lintBoard, w as lintTone, C as planLintFix, i as resolveChartKind };
@@ -4808,6 +4808,128 @@ export type ListDataSinksQuery = {
4808
4808
  };
4809
4809
  };
4810
4810
  };
4811
+ export type ExploreSourcesQueryVariables = Exact<{
4812
+ [key: string]: never;
4813
+ }>;
4814
+ export type ExploreSourcesQuery = {
4815
+ bigconsoleExploreSources: Array<{
4816
+ id: string;
4817
+ name: string;
4818
+ revision: string;
4819
+ fields: Array<{
4820
+ id: string;
4821
+ name: string;
4822
+ type: string;
4823
+ nullable: boolean;
4824
+ masked: boolean;
4825
+ }>;
4826
+ }>;
4827
+ };
4828
+ export type ExploreHistoryQueryVariables = Exact<{
4829
+ [key: string]: never;
4830
+ }>;
4831
+ export type ExploreHistoryQuery = {
4832
+ bigconsoleExploreHistory: Array<{
4833
+ id: string;
4834
+ status: string;
4835
+ startedAt: string;
4836
+ durationMs: number | null;
4837
+ }>;
4838
+ };
4839
+ export type ExploreSavedQueriesQueryVariables = Exact<{
4840
+ [key: string]: never;
4841
+ }>;
4842
+ export type ExploreSavedQueriesQuery = {
4843
+ bigconsoleSavedQueries: Array<{
4844
+ id: string;
4845
+ name: string;
4846
+ }>;
4847
+ };
4848
+ export type ExploreSavedQueryQueryVariables = Exact<{
4849
+ id: string | number;
4850
+ }>;
4851
+ export type ExploreSavedQueryQuery = {
4852
+ bigconsoleSavedQuery: {
4853
+ id: string;
4854
+ name: string;
4855
+ sql: string;
4856
+ };
4857
+ };
4858
+ export type RunExploreMutationVariables = Exact<{
4859
+ requestId: string | number;
4860
+ sql?: string | null | undefined;
4861
+ savedQueryId?: string | number | null | undefined;
4862
+ widgetId?: string | number | null | undefined;
4863
+ }>;
4864
+ export type RunExploreMutation = {
4865
+ bigconsoleRunExplore: {
4866
+ columns: Array<string>;
4867
+ rows: Record<string, unknown>;
4868
+ truncated: boolean;
4869
+ };
4870
+ };
4871
+ export type CancelExploreMutationVariables = Exact<{
4872
+ requestId: string | number;
4873
+ }>;
4874
+ export type CancelExploreMutation = {
4875
+ bigconsoleCancelExplore: boolean;
4876
+ };
4877
+ export type SaveExploreMutationVariables = Exact<{
4878
+ name: string;
4879
+ sql: string;
4880
+ }>;
4881
+ export type SaveExploreMutation = {
4882
+ bigconsoleSaveExplore: {
4883
+ id: string;
4884
+ name: string;
4885
+ sql: string;
4886
+ };
4887
+ };
4888
+ export type CreateExploreWidgetMutationVariables = Exact<{
4889
+ savedQueryId: string | number;
4890
+ pageId: string | number;
4891
+ title: string;
4892
+ }>;
4893
+ export type CreateExploreWidgetMutation = {
4894
+ bigconsoleCreateExploreWidget: string;
4895
+ };
4896
+ export type ExploreDashboardsQueryVariables = Exact<{
4897
+ after?: string | null | undefined;
4898
+ }>;
4899
+ export type ExploreDashboardsQuery = {
4900
+ listDashboards: {
4901
+ edges: Array<{
4902
+ node: {
4903
+ id: string;
4904
+ name: string;
4905
+ };
4906
+ }>;
4907
+ pageInfo: {
4908
+ endCursor: string | null;
4909
+ hasNextPage: boolean;
4910
+ };
4911
+ };
4912
+ };
4913
+ export type ExplorePagesQueryVariables = Exact<{
4914
+ dashboardId: string | number;
4915
+ after?: string | null | undefined;
4916
+ }>;
4917
+ export type ExplorePagesQuery = {
4918
+ getDashboard: {
4919
+ pages: {
4920
+ edges: Array<{
4921
+ node: {
4922
+ id: string;
4923
+ name: string;
4924
+ };
4925
+ }>;
4926
+ pageInfo: {
4927
+ endCursor: string | null;
4928
+ hasNextPage: boolean;
4929
+ };
4930
+ };
4931
+ } | null;
4932
+ };
4811
4933
  export type FilterPresetFieldsFragment = {
4812
4934
  id: string;
4813
4935
  dashboardId: string;
@@ -6371,6 +6493,7 @@ export type WidgetCoreFieldsFragment = {
6371
6493
  renderer: Types.BigConsoleWidgetRenderer;
6372
6494
  template: Record<string, unknown> | null;
6373
6495
  dataSinkId: string | null;
6496
+ savedQueryId: string | null;
6374
6497
  datasetId: string | null;
6375
6498
  parserId: string | null;
6376
6499
  parserRules: string | null;
@@ -6422,6 +6545,7 @@ export type WidgetFullFieldsFragment = {
6422
6545
  renderer: Types.BigConsoleWidgetRenderer;
6423
6546
  template: Record<string, unknown> | null;
6424
6547
  dataSinkId: string | null;
6548
+ savedQueryId: string | null;
6425
6549
  datasetId: string | null;
6426
6550
  parserId: string | null;
6427
6551
  parserRules: string | null;
@@ -6502,6 +6626,7 @@ export type WidgetListFieldsFragment = {
6502
6626
  renderer: Types.BigConsoleWidgetRenderer;
6503
6627
  template: Record<string, unknown> | null;
6504
6628
  dataSinkId: string | null;
6629
+ savedQueryId: string | null;
6505
6630
  datasetId: string | null;
6506
6631
  parserId: string | null;
6507
6632
  parserRules: string | null;
@@ -6699,6 +6824,7 @@ export type CreateWidgetMutation = {
6699
6824
  renderer: Types.BigConsoleWidgetRenderer;
6700
6825
  template: Record<string, unknown> | null;
6701
6826
  dataSinkId: string | null;
6827
+ savedQueryId: string | null;
6702
6828
  datasetId: string | null;
6703
6829
  parserId: string | null;
6704
6830
  parserRules: string | null;
@@ -6862,6 +6988,7 @@ export type DuplicateWidgetMutation = {
6862
6988
  renderer: Types.BigConsoleWidgetRenderer;
6863
6989
  template: Record<string, unknown> | null;
6864
6990
  dataSinkId: string | null;
6991
+ savedQueryId: string | null;
6865
6992
  datasetId: string | null;
6866
6993
  parserId: string | null;
6867
6994
  parserRules: string | null;
@@ -6972,6 +7099,7 @@ export type MoveWidgetToPageMutation = {
6972
7099
  renderer: Types.BigConsoleWidgetRenderer;
6973
7100
  template: Record<string, unknown> | null;
6974
7101
  dataSinkId: string | null;
7102
+ savedQueryId: string | null;
6975
7103
  datasetId: string | null;
6976
7104
  parserId: string | null;
6977
7105
  parserRules: string | null;
@@ -7164,6 +7292,7 @@ export type UpdateWidgetMutation = {
7164
7292
  renderer: Types.BigConsoleWidgetRenderer;
7165
7293
  template: Record<string, unknown> | null;
7166
7294
  dataSinkId: string | null;
7295
+ savedQueryId: string | null;
7167
7296
  datasetId: string | null;
7168
7297
  parserId: string | null;
7169
7298
  parserRules: string | null;
@@ -7388,6 +7517,7 @@ export type GetWidgetQuery = {
7388
7517
  renderer: Types.BigConsoleWidgetRenderer;
7389
7518
  template: Record<string, unknown> | null;
7390
7519
  dataSinkId: string | null;
7520
+ savedQueryId: string | null;
7391
7521
  datasetId: string | null;
7392
7522
  parserId: string | null;
7393
7523
  parserRules: string | null;
@@ -7545,6 +7675,7 @@ export type GetWidgetWithDataQuery = {
7545
7675
  renderer: Types.BigConsoleWidgetRenderer;
7546
7676
  template: Record<string, unknown> | null;
7547
7677
  dataSinkId: string | null;
7678
+ savedQueryId: string | null;
7548
7679
  datasetId: string | null;
7549
7680
  parserId: string | null;
7550
7681
  parserRules: string | null;
@@ -7746,6 +7877,7 @@ export type ListWidgetsByDashboardQuery = {
7746
7877
  renderer: Types.BigConsoleWidgetRenderer;
7747
7878
  template: Record<string, unknown> | null;
7748
7879
  dataSinkId: string | null;
7880
+ savedQueryId: string | null;
7749
7881
  datasetId: string | null;
7750
7882
  parserId: string | null;
7751
7883
  parserRules: string | null;
@@ -7828,6 +7960,7 @@ export type ListWidgetsForPageQuery = {
7828
7960
  renderer: Types.BigConsoleWidgetRenderer;
7829
7961
  template: Record<string, unknown> | null;
7830
7962
  dataSinkId: string | null;
7963
+ savedQueryId: string | null;
7831
7964
  datasetId: string | null;
7832
7965
  parserId: string | null;
7833
7966
  parserRules: string | null;
@@ -8469,6 +8602,16 @@ export declare const GetDataSinkDataDocument: DocumentNode<GetDataSinkDataQuery,
8469
8602
  export declare const GetDataSinkForExportDocument: DocumentNode<GetDataSinkForExportQuery, GetDataSinkForExportQueryVariables>;
8470
8603
  export declare const GetDataSinkPayloadDocument: DocumentNode<GetDataSinkPayloadQuery, GetDataSinkPayloadQueryVariables>;
8471
8604
  export declare const ListDataSinksDocument: DocumentNode<ListDataSinksQuery, ListDataSinksQueryVariables>;
8605
+ export declare const ExploreSourcesDocument: DocumentNode<ExploreSourcesQuery, ExploreSourcesQueryVariables>;
8606
+ export declare const ExploreHistoryDocument: DocumentNode<ExploreHistoryQuery, ExploreHistoryQueryVariables>;
8607
+ export declare const ExploreSavedQueriesDocument: DocumentNode<ExploreSavedQueriesQuery, ExploreSavedQueriesQueryVariables>;
8608
+ export declare const ExploreSavedQueryDocument: DocumentNode<ExploreSavedQueryQuery, ExploreSavedQueryQueryVariables>;
8609
+ export declare const RunExploreDocument: DocumentNode<RunExploreMutation, RunExploreMutationVariables>;
8610
+ export declare const CancelExploreDocument: DocumentNode<CancelExploreMutation, CancelExploreMutationVariables>;
8611
+ export declare const SaveExploreDocument: DocumentNode<SaveExploreMutation, SaveExploreMutationVariables>;
8612
+ export declare const CreateExploreWidgetDocument: DocumentNode<CreateExploreWidgetMutation, CreateExploreWidgetMutationVariables>;
8613
+ export declare const ExploreDashboardsDocument: DocumentNode<ExploreDashboardsQuery, ExploreDashboardsQueryVariables>;
8614
+ export declare const ExplorePagesDocument: DocumentNode<ExplorePagesQuery, ExplorePagesQueryVariables>;
8472
8615
  export declare const CreateFilterPresetDocument: DocumentNode<CreateFilterPresetMutation, CreateFilterPresetMutationVariables>;
8473
8616
  export declare const DeleteFilterPresetDocument: DocumentNode<DeleteFilterPresetMutation, DeleteFilterPresetMutationVariables>;
8474
8617
  export declare const SetDefaultFilterPresetDocument: DocumentNode<SetDefaultFilterPresetMutation, SetDefaultFilterPresetMutationVariables>;