mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 08:34:07 -08:00
refactor(core): Mark finished
as deprecated (#11682)
This commit is contained in:
parent
41dea522fb
commit
4c41575098
|
@ -31,6 +31,11 @@ export class ExecutionEntity {
|
|||
@PrimaryColumn({ transformer: idStringifier })
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* Whether the execution finished sucessfully.
|
||||
*
|
||||
* @deprecated Use `status` instead
|
||||
*/
|
||||
@Column()
|
||||
finished: boolean;
|
||||
|
||||
|
|
|
@ -135,6 +135,10 @@ export interface IExecutionBase {
|
|||
startedAt: Date;
|
||||
stoppedAt?: Date; // empty value means execution is still running
|
||||
workflowId: string;
|
||||
|
||||
/**
|
||||
* @deprecated Use `status` instead
|
||||
*/
|
||||
finished: boolean;
|
||||
retryOf?: string; // If it is a retry, the id of the execution it is a retry of.
|
||||
retrySuccessId?: string; // If it failed and a retry did succeed. The id of the successful retry.
|
||||
|
|
|
@ -2080,6 +2080,9 @@ export type INodeTypeData = LoadedData<INodeType | IVersionedNodeType>;
|
|||
|
||||
export interface IRun {
|
||||
data: IRunExecutionData;
|
||||
/**
|
||||
* @deprecated Use status instead
|
||||
*/
|
||||
finished?: boolean;
|
||||
mode: WorkflowExecuteMode;
|
||||
waitTill?: Date | null;
|
||||
|
@ -2552,6 +2555,9 @@ export type AnnotationVote = 'up' | 'down';
|
|||
|
||||
export interface ExecutionSummary {
|
||||
id: string;
|
||||
/**
|
||||
* @deprecated Use status instead
|
||||
*/
|
||||
finished?: boolean;
|
||||
mode: WorkflowExecuteMode;
|
||||
retryOf?: string | null;
|
||||
|
@ -2701,6 +2707,9 @@ export interface ExecutionOptions {
|
|||
}
|
||||
|
||||
export interface ExecutionFilters {
|
||||
/**
|
||||
* @deprecated Use status instead
|
||||
*/
|
||||
finished?: boolean;
|
||||
mode?: WorkflowExecuteMode[];
|
||||
retryOf?: string;
|
||||
|
|
Loading…
Reference in a new issue