@kb-labs/studio-data-client 2.118.2 → 2.119.0-canary.0c078654e

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.ts CHANGED
@@ -2,6 +2,7 @@ import { AxiosRequestConfig } from 'axios';
2
2
  import * as _kb_labs_rest_api_contracts from '@kb-labs/rest-api-contracts';
3
3
  import { ErrorEnvelope, ReadyResponse, NotReadyResponse, SystemInfoPayload, SystemCapabilitiesPayload, SystemConfigPayload, PlatformConfigPayload } from '@kb-labs/rest-api-contracts';
4
4
  import { ServiceObservabilityHealth } from '@kb-labs/core-contracts';
5
+ import { RunState, JobState, StepState } from '@kb-labs/workflow-constants';
5
6
  import * as _kb_labs_core_platform_adapters from '@kb-labs/core-platform/adapters';
6
7
  import { EventsQuery, EventsResponse, EventsStats, BufferStatus, DlqStatus } from '@kb-labs/core-platform/adapters';
7
8
  export { AnalyticsEvent, BufferStatus, DlqStatus, EventsQuery, EventsResponse, EventsStats } from '@kb-labs/core-platform/adapters';
@@ -120,7 +121,7 @@ interface HealthStatus {
120
121
  snapshot?: ServiceObservabilityHealth;
121
122
  }
122
123
 
123
- type WorkflowStatus = 'queued' | 'running' | 'success' | 'failed' | 'cancelled' | 'skipped' | 'waiting_approval';
124
+ type WorkflowStatus = RunState | JobState | StepState;
124
125
  interface StepRun {
125
126
  id: string;
126
127
  jobId: string;