refactor(core): Rename push sessionId to pushRef (#8905)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-04-03 13:43:14 +02:00
committed by GitHub
parent eaaefd76da
commit 072c3db97d
58 changed files with 248 additions and 257 deletions

View File

@@ -2102,7 +2102,7 @@ export type WorkflowActivateMode =
export interface IWorkflowHooksOptionalParameters {
retryOf?: string;
sessionId?: string;
pushRef?: string;
}
export namespace WorkflowSettings {

View File

@@ -12,7 +12,7 @@ export class WorkflowHooks {
executionId: string;
sessionId?: string;
pushRef?: string;
retryOf?: string;
@@ -32,7 +32,7 @@ export class WorkflowHooks {
this.mode = mode;
this.executionId = executionId;
this.workflowData = workflowData;
this.sessionId = optionalParameters.sessionId;
this.pushRef = optionalParameters.pushRef;
// retryOf might be `null` from TypeORM
this.retryOf = optionalParameters.retryOf ?? undefined;
}