@apteva/apteva-kit 0.1.90 → 0.1.92
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/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +129 -128
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -48
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -137,6 +137,7 @@ interface FlowStep {
|
|
|
137
137
|
description?: string;
|
|
138
138
|
type?: string;
|
|
139
139
|
status?: 'pending' | 'active' | 'completed' | 'error' | 'skipped';
|
|
140
|
+
color?: 'blue' | 'purple' | 'cyan' | 'amber' | 'emerald' | 'rose' | 'indigo' | 'orange';
|
|
140
141
|
}
|
|
141
142
|
interface FlowWidget extends Widget {
|
|
142
143
|
type: 'flow';
|
|
@@ -232,8 +233,8 @@ declare const WIDGET_DEFINITIONS: {
|
|
|
232
233
|
readonly example: "@ui:chart[{\"chartType\": \"bar\", \"data\": {\"labels\": [\"A\"], \"datasets\": [{\"label\": \"X\", \"data\": [10]}]}}]";
|
|
233
234
|
};
|
|
234
235
|
readonly flow: {
|
|
235
|
-
readonly schema: "title, subtitle?, icon?: research|schedule|analyze|deploy, steps: [{id, label, type?:
|
|
236
|
-
readonly example: "@ui:flow[{\"title\": \"Deploy
|
|
236
|
+
readonly schema: "title, subtitle?, icon?: research|schedule|analyze|deploy|recurring|automation|data, steps: [{id, label, type?, color?: blue|purple|cyan|amber|emerald|rose|indigo|orange, status?: pending|active|completed|error|skipped}] - Horizontal pipeline. Use @label for agents. Types auto-detected from label.";
|
|
237
|
+
readonly example: "@ui:flow[{\"title\": \"Deploy Pipeline\", \"icon\": \"deploy\", \"steps\": [{\"id\": \"1\", \"label\": \"Test\", \"color\": \"cyan\"}, {\"id\": \"2\", \"label\": \"Build\", \"color\": \"amber\"}, {\"id\": \"3\", \"label\": \"Deploy\", \"color\": \"rose\"}]}]";
|
|
237
238
|
};
|
|
238
239
|
};
|
|
239
240
|
type WidgetType = keyof typeof WIDGET_DEFINITIONS;
|
package/dist/index.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ interface FlowStep {
|
|
|
137
137
|
description?: string;
|
|
138
138
|
type?: string;
|
|
139
139
|
status?: 'pending' | 'active' | 'completed' | 'error' | 'skipped';
|
|
140
|
+
color?: 'blue' | 'purple' | 'cyan' | 'amber' | 'emerald' | 'rose' | 'indigo' | 'orange';
|
|
140
141
|
}
|
|
141
142
|
interface FlowWidget extends Widget {
|
|
142
143
|
type: 'flow';
|
|
@@ -232,8 +233,8 @@ declare const WIDGET_DEFINITIONS: {
|
|
|
232
233
|
readonly example: "@ui:chart[{\"chartType\": \"bar\", \"data\": {\"labels\": [\"A\"], \"datasets\": [{\"label\": \"X\", \"data\": [10]}]}}]";
|
|
233
234
|
};
|
|
234
235
|
readonly flow: {
|
|
235
|
-
readonly schema: "title, subtitle?, icon?: research|schedule|analyze|deploy, steps: [{id, label, type?:
|
|
236
|
-
readonly example: "@ui:flow[{\"title\": \"Deploy
|
|
236
|
+
readonly schema: "title, subtitle?, icon?: research|schedule|analyze|deploy|recurring|automation|data, steps: [{id, label, type?, color?: blue|purple|cyan|amber|emerald|rose|indigo|orange, status?: pending|active|completed|error|skipped}] - Horizontal pipeline. Use @label for agents. Types auto-detected from label.";
|
|
237
|
+
readonly example: "@ui:flow[{\"title\": \"Deploy Pipeline\", \"icon\": \"deploy\", \"steps\": [{\"id\": \"1\", \"label\": \"Test\", \"color\": \"cyan\"}, {\"id\": \"2\", \"label\": \"Build\", \"color\": \"amber\"}, {\"id\": \"3\", \"label\": \"Deploy\", \"color\": \"rose\"}]}]";
|
|
237
238
|
};
|
|
238
239
|
};
|
|
239
240
|
type WidgetType = keyof typeof WIDGET_DEFINITIONS;
|