mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
Represent command termination explicitly across sandbox results, events, run projections, API types, and the run stage UI. This removes the fake -1 exit code path for timeout/cancel and lets consumers tell cancelled commands apart from timed-out commands.
43 lines
1.2 KiB
TypeScript
43 lines
1.2 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Fabro Run API
|
|
* HTTP API for managing Fabro workflow run executions.
|
|
*
|
|
* The version of the OpenAPI document: 0.1.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
// May contain unused imports in some cases
|
|
// @ts-ignore
|
|
import type { ForkSourceRef } from './fork-source-ref';
|
|
// May contain unused imports in some cases
|
|
// @ts-ignore
|
|
import type { GitContext } from './git-context';
|
|
// May contain unused imports in some cases
|
|
// @ts-ignore
|
|
import type { WorkflowSettings } from './workflow-settings';
|
|
|
|
/**
|
|
* Durable workflow run specification reconstructed from run.created events.
|
|
*/
|
|
export interface RunSpec {
|
|
'run_id': string;
|
|
'settings': WorkflowSettings;
|
|
'graph': { [key: string]: any; };
|
|
'workflow_slug'?: string | null;
|
|
'source_directory'?: string | null;
|
|
'labels'?: { [key: string]: string; };
|
|
'provenance'?: { [key: string]: any; } | null;
|
|
'manifest_blob'?: string | null;
|
|
'definition_blob'?: string | null;
|
|
'git'?: GitContext | null;
|
|
'fork_source_ref'?: ForkSourceRef | null;
|
|
'in_place': boolean;
|
|
}
|
|
|