@burdenoff/microfe-bigconsole 2026.1119.7 → 2026.1119.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/bigconsole/components/embed/widgets/ChartEmbed.js +70 -66
- package/dist/bigconsole/components/insights/GeneratedFormattingReview.d.ts +21 -0
- package/dist/bigconsole/components/insights/GeneratedFormattingReview.js +90 -44
- package/dist/bigconsole/components/widgets/chart/ChartWidget.js +1 -0
- package/dist/bigconsole/components/widgets/chart/ReferenceLinesEditor.js +5 -1
- package/dist/bigconsole/components/widgets/chart/charts/AreaChart.js +4 -1
- package/dist/bigconsole/components/widgets/chart/charts/BarChart.js +53 -45
- package/dist/bigconsole/components/widgets/chart/charts/ComboChart.js +5 -1
- package/dist/bigconsole/components/widgets/chart/charts/LineChart.js +4 -1
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.d.ts +13 -11
- package/dist/bigconsole/components/widgets/chart/charts/referenceElements.js +58 -29
- package/dist/bigconsole/components/widgets/chart/charts/types.d.ts +8 -1
- package/dist/bigconsole/components/widgets/chart/referenceLineDraft.js +26 -23
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.d.ts +41 -0
- package/dist/bigconsole/components/widgets/utils/conditionalFormat.js +80 -44
- package/dist/bigconsole/pages/InsightsPage.js +458 -451
- package/dist/bigconsole/types/index.d.ts +8 -0
- package/dist/bigconsole/utils/pipelineExecutionTimeline.d.ts +13 -1
- package/dist/bigconsole/utils/pipelineExecutionTimeline.js +26 -3
- package/dist/generated/global-operations.d.ts +45 -6
- package/dist/generated/global-types.d.ts +5839 -804
- package/dist/generated/wspace-operations.d.ts +30 -0
- package/dist/generated/wspace-operations.js +28 -0
- package/dist/generated/wspace-types.d.ts +1339 -6
- package/package.json +1 -1
|
@@ -20,6 +20,8 @@ export interface ChartReferenceLine {
|
|
|
20
20
|
color?: import('../components/widgets/utils/conditionalFormat').SemanticIntent;
|
|
21
21
|
/** Dashed stroke for lines. */
|
|
22
22
|
dashed?: boolean;
|
|
23
|
+
/** Per-category threshold `value` away from this row field (BOFF-10145). */
|
|
24
|
+
relativeTo?: import('../components/widgets/utils/conditionalFormat').ConditionalComparison;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
* Per-series descriptor for combo / dual-axis charts. Lets a single chart mix
|
|
@@ -1229,6 +1231,12 @@ export interface PipelineStageResult {
|
|
|
1229
1231
|
id: string;
|
|
1230
1232
|
stageId: string;
|
|
1231
1233
|
stageName: string | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* 0-based order the stage ran in within the execution (BOFF-10074). Absent
|
|
1236
|
+
* on results cached before the field existed; the timeline then falls back
|
|
1237
|
+
* to the pipeline's configured stage order.
|
|
1238
|
+
*/
|
|
1239
|
+
position?: number | null;
|
|
1232
1240
|
status: StageExecutionStatus;
|
|
1233
1241
|
executionTimeMs: number;
|
|
1234
1242
|
output: unknown | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PipelineExecution, PipelineExecutionStatus, PipelineStage, StageExecutionStatus } from '../types';
|
|
1
|
+
import { PipelineExecution, PipelineExecutionStatus, PipelineStage, PipelineStageResult, StageExecutionStatus } from '../types';
|
|
2
2
|
/** Visual tone shared by run and stage statuses. */
|
|
3
3
|
export type ExecutionTone = 'success' | 'danger' | 'warning' | 'info' | 'neutral';
|
|
4
4
|
export interface StageTimelineRow {
|
|
@@ -43,5 +43,17 @@ export declare function formatDurationMs(ms: number | null | undefined): string;
|
|
|
43
43
|
* viewer themselves so the caller can render a translated "You".
|
|
44
44
|
*/
|
|
45
45
|
export declare function triggeredByLabel(executedBy: string, currentActorId: string | null | undefined): string | null;
|
|
46
|
+
/**
|
|
47
|
+
* A run's stage results in the order the stages ran (BOFF-10074).
|
|
48
|
+
*
|
|
49
|
+
* The backend records each result's 0-based `position`; when every result has
|
|
50
|
+
* a distinct one, it decides the order. Otherwise (results from a backend or
|
|
51
|
+
* cache without the field, or legacy rows with tied positions) each result is
|
|
52
|
+
* placed by the configured position of its stage, matched by stage id or, when
|
|
53
|
+
* the stages were since replaced, by a unique stage name. Results that match no
|
|
54
|
+
* stage keep their relative order after the matched ones. The sort is stable,
|
|
55
|
+
* so equal keys keep the order the server returned.
|
|
56
|
+
*/
|
|
57
|
+
export declare function orderStageResults(results: readonly PipelineStageResult[], stages: readonly PipelineStage[] | null | undefined): PipelineStageResult[];
|
|
46
58
|
/** Build the waterfall rows for one run against the pipeline's current stages. */
|
|
47
59
|
export declare function buildStageTimeline(execution: PipelineExecution, stages: readonly PipelineStage[] | null | undefined): StageTimeline;
|
|
@@ -53,8 +53,31 @@ function u(e, t) {
|
|
|
53
53
|
function d(e, t, n) {
|
|
54
54
|
return e.stageName || t?.parserName || `Stage ${n}`;
|
|
55
55
|
}
|
|
56
|
-
function f(e
|
|
57
|
-
let
|
|
56
|
+
function f(e) {
|
|
57
|
+
let t = /* @__PURE__ */ new Set();
|
|
58
|
+
for (let n of e) {
|
|
59
|
+
let e = n.position;
|
|
60
|
+
if (e == null || !Number.isFinite(e) || t.has(e)) return !1;
|
|
61
|
+
t.add(e);
|
|
62
|
+
}
|
|
63
|
+
return !0;
|
|
64
|
+
}
|
|
65
|
+
function p(e, t) {
|
|
66
|
+
let n = e.map((e, t) => ({
|
|
67
|
+
result: e,
|
|
68
|
+
index: t
|
|
69
|
+
}));
|
|
70
|
+
if (f(e)) return n.sort((e, t) => (e.result.position ?? 0) - (t.result.position ?? 0) || e.index - t.index).map(({ result: e }) => e);
|
|
71
|
+
let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
72
|
+
for (let e of t ?? []) r.set(e.id, e.position), e.parserName && i.set(e.parserName, i.has(e.parserName) ? null : e.position);
|
|
73
|
+
let a = (e) => r.get(e.stageId) ?? (e.stageName ? i.get(e.stageName) : void 0) ?? Infinity;
|
|
74
|
+
return n.map((e) => ({
|
|
75
|
+
...e,
|
|
76
|
+
rank: a(e.result)
|
|
77
|
+
})).sort((e, t) => e.rank === t.rank ? e.index - t.index : e.rank < t.rank ? -1 : 1).map(({ result: e }) => e);
|
|
78
|
+
}
|
|
79
|
+
function m(e, t) {
|
|
80
|
+
let r = new Map((t ?? []).map((e) => [e.id, e])), a = p(e.stageResults ?? [], t), o = a.map((e) => e.executionTimeMs != null && Number.isFinite(e.executionTimeMs) && e.executionTimeMs > 0 ? e.executionTimeMs : 0), s = o.reduce((e, t) => e + t, 0), c = {
|
|
58
81
|
success: 0,
|
|
59
82
|
skipped: 0,
|
|
60
83
|
failed: 0,
|
|
@@ -83,4 +106,4 @@ function f(e, t) {
|
|
|
83
106
|
counts: c
|
|
84
107
|
};
|
|
85
108
|
}
|
|
86
|
-
export {
|
|
109
|
+
export { m as buildStageTimeline, l as formatDurationMs, o as orderExecutionsForPipeline, p as orderStageResults, s as pickSelectedExecution, c as runDurationMs, r as runStatusTone, i as stageStatusTone, u as triggeredByLabel };
|
|
@@ -27,7 +27,10 @@ export type CreateApplicationInput = {
|
|
|
27
27
|
appId?: string | number | null | undefined;
|
|
28
28
|
appType: AppType;
|
|
29
29
|
category?: string | null | undefined;
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Which products this item is compatible with (e.g. "fluidgrids", "workspaces").
|
|
32
|
+
* Stored in manifest.compatibility.products and extracted to the store on publish.
|
|
33
|
+
*/
|
|
31
34
|
compatibleProducts?: Array<string> | null | undefined;
|
|
32
35
|
description?: string | null | undefined;
|
|
33
36
|
developerOrganizationId?: string | number | null | undefined;
|
|
@@ -55,21 +58,41 @@ export type CreateApplicationVersionInput = {
|
|
|
55
58
|
manifest?: Record<string, unknown> | null | undefined;
|
|
56
59
|
maxPlatformVersion?: string | null | undefined;
|
|
57
60
|
minPlatformVersion?: string | null | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* wspace-files-svc File id of the uploaded package, captured with packageUrl
|
|
63
|
+
* at upload time. Fresh download URLs are minted by the canonical file owner
|
|
64
|
+
* from it (BOFF-5311). The File must be ACTIVE and uploaded by the caller; it
|
|
65
|
+
* is verified with files-svc, and derived from a files-bucket packageUrl when
|
|
66
|
+
* omitted (BOFF-11221).
|
|
67
|
+
*/
|
|
68
|
+
packageFileId?: string | null | undefined;
|
|
58
69
|
packageHash?: string | null | undefined;
|
|
59
70
|
packageSize?: string | null | undefined;
|
|
60
71
|
packageUrl?: string | null | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Workspace that owns the files-svc File referenced by packageFileId.
|
|
74
|
+
* Required together with packageFileId for the files-svc download-URL path.
|
|
75
|
+
*/
|
|
76
|
+
packageWorkspaceId?: string | null | undefined;
|
|
61
77
|
releaseNotes?: string | null | undefined;
|
|
62
78
|
requiredScopes?: Array<string> | null | undefined;
|
|
63
79
|
version: string;
|
|
64
80
|
};
|
|
65
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* DIGITAL orgs publish Applications to the store; PHYSICAL orgs list physical
|
|
83
|
+
* goods via the seller portal. Not user-selectable — fixed at creation by which
|
|
84
|
+
* flow provisioned the org. See BOFF-7285.
|
|
85
|
+
*/
|
|
66
86
|
export type DeveloperOrgKind = 'DIGITAL' | 'PHYSICAL';
|
|
67
87
|
export type DeveloperOrgRole = 'ADMIN' | 'DEVELOPER' | 'OWNER' | 'VIEWER';
|
|
68
88
|
export type PricingModel = 'FREE' | 'PAID_ONETIME' | 'SUBSCRIPTION';
|
|
69
89
|
export type ProductNature = 'DIGITAL' | 'PHYSICAL';
|
|
70
90
|
export type ProductStatus = 'ARCHIVED' | 'DEPRECATED' | 'DRAFT' | 'PENDING_REVIEW' | 'PUBLISHED' | 'REJECTED' | 'UNLISTED';
|
|
71
91
|
export type ProductType = 'ACCESSORY' | 'AGENT' | 'APP' | 'APPAREL' | 'BOOK' | 'BOTAPP' | 'COLLECTIBLE' | 'COMPONENT' | 'CONSOLE' | 'CONSUMABLE' | 'DASHBOARD' | 'DATASINK' | 'EQUIPMENT' | 'EXTENSION' | 'HARDWARE' | 'INTEGRATION' | 'MERCHANDISE' | 'NODE' | 'PARSER' | 'PLUGIN' | 'TEMPLATE' | 'THEME' | 'VIBEMODULE' | 'WIDGET' | 'WORKFLOW';
|
|
72
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Unified filter input for browsing/searching store products.
|
|
94
|
+
* All filters combine with AND logic - search is treated as a filter.
|
|
95
|
+
*/
|
|
73
96
|
export type StoreFilterInput = {
|
|
74
97
|
/** Filter by author name (partial match) */
|
|
75
98
|
authorName?: string | null | undefined;
|
|
@@ -79,7 +102,10 @@ export type StoreFilterInput = {
|
|
|
79
102
|
categories?: Array<string> | null | undefined;
|
|
80
103
|
/** Filter by exact category match (e.g., "Customer Support", "Notification") */
|
|
81
104
|
category?: string | null | undefined;
|
|
82
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Filter by compatible product (e.g., "workspaces", "fluidgrids", "bigconsole")
|
|
107
|
+
* Products must be compatible with this product.
|
|
108
|
+
*/
|
|
83
109
|
compatibleWith?: string | null | undefined;
|
|
84
110
|
/** Filter only featured products */
|
|
85
111
|
featured?: boolean | null | undefined;
|
|
@@ -109,11 +135,24 @@ export type StoreFilterInput = {
|
|
|
109
135
|
publisherId?: string | null | undefined;
|
|
110
136
|
/** Filter products that require shipping */
|
|
111
137
|
requiresShipping?: boolean | null | undefined;
|
|
112
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* Full-text search query. Searches across:
|
|
140
|
+
* - name (highest priority)
|
|
141
|
+
* - description
|
|
142
|
+
* - tags
|
|
143
|
+
* - authorName, category (lowest priority)
|
|
144
|
+
* Uses PostgreSQL tsvector with weighted ranking.
|
|
145
|
+
*/
|
|
113
146
|
search?: string | null | undefined;
|
|
114
147
|
/** Filter by product status (defaults to PUBLISHED for consumer queries) */
|
|
115
148
|
status?: ProductStatus | null | undefined;
|
|
116
|
-
/**
|
|
149
|
+
/**
|
|
150
|
+
* Filter by type-specific subtype.
|
|
151
|
+
* Examples:
|
|
152
|
+
* - For AGENT: "task_automation", "conversational", "research"
|
|
153
|
+
* - For NODE: "action", "trigger", "integration", "ai"
|
|
154
|
+
* - For WIDGET: "chart", "metric", "table", "map"
|
|
155
|
+
*/
|
|
117
156
|
subType?: string | null | undefined;
|
|
118
157
|
/** Filter by multiple subtypes (OR within this filter) */
|
|
119
158
|
subTypes?: Array<string> | null | undefined;
|