mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -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 })
|
@PrimaryColumn({ transformer: idStringifier })
|
||||||
id: string;
|
id: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the execution finished sucessfully.
|
||||||
|
*
|
||||||
|
* @deprecated Use `status` instead
|
||||||
|
*/
|
||||||
@Column()
|
@Column()
|
||||||
finished: boolean;
|
finished: boolean;
|
||||||
|
|
||||||
|
|
|
@ -135,6 +135,10 @@ export interface IExecutionBase {
|
||||||
startedAt: Date;
|
startedAt: Date;
|
||||||
stoppedAt?: Date; // empty value means execution is still running
|
stoppedAt?: Date; // empty value means execution is still running
|
||||||
workflowId: string;
|
workflowId: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use `status` instead
|
||||||
|
*/
|
||||||
finished: boolean;
|
finished: boolean;
|
||||||
retryOf?: string; // If it is a retry, the id of the execution it is a retry of.
|
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.
|
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 {
|
export interface IRun {
|
||||||
data: IRunExecutionData;
|
data: IRunExecutionData;
|
||||||
|
/**
|
||||||
|
* @deprecated Use status instead
|
||||||
|
*/
|
||||||
finished?: boolean;
|
finished?: boolean;
|
||||||
mode: WorkflowExecuteMode;
|
mode: WorkflowExecuteMode;
|
||||||
waitTill?: Date | null;
|
waitTill?: Date | null;
|
||||||
|
@ -2552,6 +2555,9 @@ export type AnnotationVote = 'up' | 'down';
|
||||||
|
|
||||||
export interface ExecutionSummary {
|
export interface ExecutionSummary {
|
||||||
id: string;
|
id: string;
|
||||||
|
/**
|
||||||
|
* @deprecated Use status instead
|
||||||
|
*/
|
||||||
finished?: boolean;
|
finished?: boolean;
|
||||||
mode: WorkflowExecuteMode;
|
mode: WorkflowExecuteMode;
|
||||||
retryOf?: string | null;
|
retryOf?: string | null;
|
||||||
|
@ -2701,6 +2707,9 @@ export interface ExecutionOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ExecutionFilters {
|
export interface ExecutionFilters {
|
||||||
|
/**
|
||||||
|
* @deprecated Use status instead
|
||||||
|
*/
|
||||||
finished?: boolean;
|
finished?: boolean;
|
||||||
mode?: WorkflowExecuteMode[];
|
mode?: WorkflowExecuteMode[];
|
||||||
retryOf?: string;
|
retryOf?: string;
|
||||||
|
|
Loading…
Reference in a new issue