@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 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?: time|agent|email|slack|build|test|deploy, status?: pending|active|completed|error}], actions?: [{type, label}] - Horizontal pipeline with action button. Use @label for agents.";
236
- readonly example: "@ui:flow[{\"title\": \"Deploy to Production\", \"icon\": \"deploy\", \"steps\": [{\"id\": \"1\", \"label\": \"Test\"}, {\"id\": \"2\", \"label\": \"Build\"}, {\"id\": \"3\", \"label\": \"Deploy\"}], \"actions\": [{\"type\": \"run\", \"label\": \"Run\"}]}]";
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?: time|agent|email|slack|build|test|deploy, status?: pending|active|completed|error}], actions?: [{type, label}] - Horizontal pipeline with action button. Use @label for agents.";
236
- readonly example: "@ui:flow[{\"title\": \"Deploy to Production\", \"icon\": \"deploy\", \"steps\": [{\"id\": \"1\", \"label\": \"Test\"}, {\"id\": \"2\", \"label\": \"Build\"}, {\"id\": \"3\", \"label\": \"Deploy\"}], \"actions\": [{\"type\": \"run\", \"label\": \"Run\"}]}]";
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;