@prefecthq/prefect-ui-library
Version:
This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.
23 lines (22 loc) • 1.19 kB
TypeScript
export declare const prefectStateNames: readonly ["Scheduled", "Late", "Resuming", "AwaitingRetry", "AwaitingConcurrencySlot", "Pending", "Paused", "Suspended", "Running", "Retrying", "Completed", "Cached", "Cancelled", "Cancelling", "Crashed", "Failed", "TimedOut"];
export type PrefectStateNames = typeof prefectStateNames[number];
export declare const prefectStateNameTypes: {
readonly Scheduled: "scheduled";
readonly Late: "scheduled";
readonly Resuming: "scheduled";
readonly AwaitingRetry: "scheduled";
readonly AwaitingConcurrencySlot: "scheduled";
readonly Pending: "pending";
readonly Paused: "paused";
readonly Suspended: "paused";
readonly Running: "running";
readonly Retrying: "running";
readonly Completed: "completed";
readonly Cached: "completed";
readonly Cancelled: "cancelled";
readonly Cancelling: "cancelling";
readonly Crashed: "crashed";
readonly Failed: "failed";
readonly TimedOut: "failed";
};
export declare const prefectStateNamesWithoutScheduled: readonly ["Pending", "Paused", "Suspended", "Running", "Retrying", "Completed", "Cancelled", "Cancelling", "Crashed", "Failed", "TimedOut"];