@ludeo/cloud-common 1.2.166-beta-yahil-5 → 1.2.166-beta-yahil-7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,14 @@
1
1
  import { CloudProvider } from "../types";
2
2
  import { BuildContext } from "../contexts/build-context";
3
3
  import { LudeoEvent } from "../../infra/ludeo-event";
4
- import { Artifacts, Distributions } from "../types/build";
4
+ import { BuildAssignmentProviderSettings, Artifacts, Distributions } from "../types/build";
5
5
  export declare class DeleteBuildJobPayload {
6
6
  cloudProvider: CloudProvider;
7
7
  buildId: string;
8
8
  envsIds: string[];
9
9
  artifacts?: Artifacts;
10
10
  distributions?: Distributions;
11
+ assignments?: BuildAssignmentProviderSettings[];
11
12
  }
12
13
  export declare class DeleteBuildJob extends LudeoEvent {
13
14
  static readonly EVENT_NAME = "cloud-builds.delete-build-job";
@@ -39,6 +39,10 @@ __decorate([
39
39
  (0, class_validator_1.IsOptional)(),
40
40
  __metadata("design:type", Object)
41
41
  ], DeleteBuildJobPayload.prototype, "distributions", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", Array)
45
+ ], DeleteBuildJobPayload.prototype, "assignments", void 0);
42
46
  class DeleteBuildJob extends ludeo_event_1.LudeoEvent {
43
47
  constructor(payload, context) {
44
48
  super(DeleteBuildJob.EVENT_NAME);
@@ -1 +1 @@
1
- {"version":3,"file":"delete-build-job.js","sourceRoot":"","sources":["../../../src/v4/events/delete-build-job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAChF,oCAAyC;AACzC,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AAQrD,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAdC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;4DACO;AAG7B;IADC,IAAA,wBAAM,GAAE;;sDACO;AAIhB;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,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OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wCAcC;AAbiB,yBAAU,GAAG,+BAA+B,CAAC;AAS7D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;+CAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.166-beta-yahil-5",
3
+ "version": "1.2.166-beta-yahil-7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -4,7 +4,6 @@ import { BuildContext } from "../contexts/build-context";
4
4
  import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
5
5
  import { LudeoEvent } from "../../infra/ludeo-event";
6
6
  import {
7
- BuildProviderSettings,
8
7
  BuildAssignmentProviderSettings,
9
8
  Artifacts,
10
9
  Distributions,
@@ -26,6 +25,9 @@ export class DeleteBuildJobPayload {
26
25
 
27
26
  @IsOptional()
28
27
  distributions?: Distributions;
28
+
29
+ @IsOptional()
30
+ assignments?: BuildAssignmentProviderSettings[];
29
31
  }
30
32
 
31
33
  export class DeleteBuildJob extends LudeoEvent {