@ludeo/cloud-common 1.2.230 → 1.2.231

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.
Files changed (20) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/v4/events/site-controller/ludeocast-build-distribution-creation-ended.d.ts +1 -0
  3. package/dist/v4/events/site-controller/ludeocast-build-distribution-creation-ended.js +4 -0
  4. package/dist/v4/events/site-controller/ludeocast-build-distribution-creation-ended.js.map +1 -1
  5. package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.d.ts +1 -0
  6. package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.js +4 -0
  7. package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.js.map +1 -1
  8. package/dist/v4/types/site-controller/create-distribution.dto.d.ts +1 -0
  9. package/dist/v4/types/site-controller/create-distribution.dto.js +4 -0
  10. package/dist/v4/types/site-controller/create-distribution.dto.js.map +1 -1
  11. package/dist/v4/types/site-controller/terminate-build-distribution.dto.d.ts +1 -0
  12. package/dist/v4/types/site-controller/terminate-build-distribution.dto.js +4 -0
  13. package/dist/v4/types/site-controller/terminate-build-distribution.dto.js.map +1 -1
  14. package/dist/v4/types/site-controller/types.d.ts +1 -0
  15. package/package.json +1 -1
  16. package/src/v4/events/site-controller/ludeocast-build-distribution-creation-ended.ts +3 -0
  17. package/src/v4/events/site-controller/ludeocast-build-distribution-termination-ended.ts +3 -0
  18. package/src/v4/types/site-controller/create-distribution.dto.ts +3 -0
  19. package/src/v4/types/site-controller/terminate-build-distribution.dto.ts +3 -0
  20. package/src/v4/types/site-controller/types.ts +1 -0
@@ -4,6 +4,7 @@ import { SiteOperationStatus } from '../../types/site-controller';
4
4
  import { LudeocastV2Distributions } from '../../types/build';
5
5
  export declare class LudeocastBuildDistributionCreationEndedPayload {
6
6
  buildId: string;
7
+ site: string;
7
8
  status: SiteOperationStatus;
8
9
  reason?: string;
9
10
  distributions?: LudeocastV2Distributions;
@@ -23,6 +23,10 @@ __decorate([
23
23
  (0, class_validator_1.IsString)(),
24
24
  __metadata("design:type", String)
25
25
  ], LudeocastBuildDistributionCreationEndedPayload.prototype, "buildId", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsString)(),
28
+ __metadata("design:type", String)
29
+ ], LudeocastBuildDistributionCreationEndedPayload.prototype, "site", void 0);
26
30
  __decorate([
27
31
  (0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
28
32
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"ludeocast-build-distribution-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAC/D,6CAA8C;AAC9C,iEAAkE;AAClE,6CAA6D;AAE7D,MAAa,8CAA8C;CAc1D;AAdD,wGAcC;AAZC;IADC,IAAA,0BAAQ,GAAE;;+EACK;AAGhB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;8EACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;qFAAC;AAG3C,MAAa,uCAAwC,SAAQ,kBAAU;IAGrE,YAAY,OAAuD,EAAE,OAAqB;QACxF,KAAK,CAAC,uCAAuC,CAAC,UAAU,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,0FAcC;AAbiB,kDAAU,GAAG,6DAA6D,CAAC;AAS3F;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;8BAChE,8CAA8C;wEAAC;AAGxD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;wEAAC"}
1
+ {"version":3,"file":"ludeocast-build-distribution-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAC/D,6CAA8C;AAC9C,iEAAkE;AAClE,6CAA6D;AAE7D,MAAa,8CAA8C;CAiB1D;AAjBD,wGAiBC;AAfC;IADC,IAAA,0BAAQ,GAAE;;+EACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;4EACE;AAGb;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;8EACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;qFAAC;AAG3C,MAAa,uCAAwC,SAAQ,kBAAU;IAGrE,YAAY,OAAuD,EAAE,OAAqB;QACxF,KAAK,CAAC,uCAAuC,CAAC,UAAU,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,0FAcC;AAbiB,kDAAU,GAAG,6DAA6D,CAAC;AAS3F;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;8BAChE,8CAA8C;wEAAC;AAGxD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;wEAAC"}
@@ -3,6 +3,7 @@ import { BuildContext } from '../../contexts';
3
3
  import { SiteOperationStatus, TerminationType } from '../../types/site-controller';
4
4
  export declare class LudeocastBuildDistributionTerminationEndedPayload {
5
5
  buildId: string;
6
+ site: string;
6
7
  status: SiteOperationStatus;
7
8
  reason?: string;
8
9
  envIds?: string[];
@@ -22,6 +22,10 @@ __decorate([
22
22
  (0, class_validator_1.IsString)(),
23
23
  __metadata("design:type", String)
24
24
  ], LudeocastBuildDistributionTerminationEndedPayload.prototype, "buildId", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ __metadata("design:type", String)
28
+ ], LudeocastBuildDistributionTerminationEndedPayload.prototype, "site", void 0);
25
29
  __decorate([
26
30
  (0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
27
31
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"ludeocast-build-distribution-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAwE;AACxE,6CAA8C;AAC9C,iEAAmF;AAEnF,MAAa,iDAAiD;CAmB7D;AAnBD,8GAmBC;AAjBC;IADC,IAAA,0BAAQ,GAAE;;kFACK;AAGhB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;iFACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFACK;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iFACP;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAe,CAAC;;0FACU;AAGpC,MAAa,0CAA2C,SAAQ,kBAAU;IAGxE,YAAY,OAA0D,EAAE,OAAqB;QAC3F,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC;QAC7D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gGAcC;AAbiB,qDAAU,GAAG,gEAAgE,CAAC;AAS9F;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iDAAiD,CAAC;8BACnE,iDAAiD;2EAAC;AAG3D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;2EAAC"}
1
+ {"version":3,"file":"ludeocast-build-distribution-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAwE;AACxE,6CAA8C;AAC9C,iEAAmF;AAEnF,MAAa,iDAAiD;CAsB7D;AAtBD,8GAsBC;AApBC;IADC,IAAA,0BAAQ,GAAE;;kFACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;+EACE;AAGb;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;iFACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFACK;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iFACP;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAe,CAAC;;0FACU;AAGpC,MAAa,0CAA2C,SAAQ,kBAAU;IAGxE,YAAY,OAA0D,EAAE,OAAqB;QAC3F,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC;QAC7D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gGAcC;AAbiB,qDAAU,GAAG,gEAAgE,CAAC;AAS9F;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iDAAiD,CAAC;8BACnE,iDAAiD;2EAAC;AAG3D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;2EAAC"}
@@ -3,6 +3,7 @@ export declare class CreateBuildDistributionRequestDto {
3
3
  downloadURL: string;
4
4
  sizeGB: number;
5
5
  buildId: string;
6
+ site: string;
6
7
  regions: string[];
7
8
  }
8
9
  export declare class CreateBuildDistributionResponseDto {
@@ -27,6 +27,10 @@ __decorate([
27
27
  (0, class_validator_1.IsString)(),
28
28
  __metadata("design:type", String)
29
29
  ], CreateBuildDistributionRequestDto.prototype, "buildId", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsString)(),
32
+ __metadata("design:type", String)
33
+ ], CreateBuildDistributionRequestDto.prototype, "site", void 0);
30
34
  __decorate([
31
35
  (0, class_validator_1.IsArray)(),
32
36
  (0, class_validator_1.IsString)({ each: true }),
@@ -1 +1 @@
1
- {"version":3,"file":"create-distribution.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/create-distribution.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,oCAAoD;AAEpD,MAAa,iCAAiC;CAa7C;AAbD,8EAaC;AAXC;IADC,IAAA,0BAAQ,GAAE;;sEACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;kEACK;AAIhB;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACP;AAGpB,MAAa,kCAAkC;CAS9C;AATD,gFASC;AAJC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACM;AAGjB;IADC,IAAA,4BAAU,GAAE;8BACG,gCAAwB;yEAAC"}
1
+ {"version":3,"file":"create-distribution.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/create-distribution.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAC1E,oCAAoD;AAEpD,MAAa,iCAAiC;CAgB7C;AAhBD,8EAgBC;AAdC;IADC,IAAA,0BAAQ,GAAE;;sEACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;kEACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAIb;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACP;AAGpB,MAAa,kCAAkC;CAS9C;AATD,gFASC;AAJC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACM;AAGjB;IADC,IAAA,4BAAU,GAAE;8BACG,gCAAwB;yEAAC"}
@@ -2,6 +2,7 @@ import { LudeocastV2Distributions } from '../build';
2
2
  import { TerminationType } from './types';
3
3
  export declare class TerminateBuildDistributionRequestDto {
4
4
  buildId: string;
5
+ site: string;
5
6
  distributions?: LudeocastV2Distributions;
6
7
  terminationType?: TerminationType;
7
8
  envIds?: string[];
@@ -21,6 +21,10 @@ __decorate([
21
21
  (0, class_validator_1.IsString)(),
22
22
  __metadata("design:type", String)
23
23
  ], TerminateBuildDistributionRequestDto.prototype, "buildId", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)(),
26
+ __metadata("design:type", String)
27
+ ], TerminateBuildDistributionRequestDto.prototype, "site", void 0);
24
28
  __decorate([
25
29
  (0, class_validator_1.IsOptional)(),
26
30
  (0, decorators_1.ValidateNestedType)(() => build_1.LudeocastV2Distributions),
@@ -1 +1 @@
1
- {"version":3,"file":"terminate-build-distribution.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/terminate-build-distribution.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,oDAAyD;AACzD,oCAAoD;AACpD,mCAA0C;AAE1C,MAAa,oCAAoC;CAgBhD;AAhBD,oFAgBC;AAdC;IADC,IAAA,0BAAQ,GAAE;;qEACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;2EAAC;AAIzC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,uBAAe,CAAC;;6EACU;AAKlC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oEACP"}
1
+ {"version":3,"file":"terminate-build-distribution.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/terminate-build-distribution.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,oDAAyD;AACzD,oCAAoD;AACpD,mCAA0C;AAE1C,MAAa,oCAAoC;CAmBhD;AAnBD,oFAmBC;AAjBC;IADC,IAAA,0BAAQ,GAAE;;qEACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;2EAAC;AAIzC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,uBAAe,CAAC;;6EACU;AAKlC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;oEACP"}
@@ -61,6 +61,7 @@ export interface GameSiteAdapterStatusPayload extends SiteAdapterStatusPayload {
61
61
  }
62
62
  export interface BuildDistributionAdapterStatusPayload extends SiteAdapterStatusPayload {
63
63
  buildId?: string;
64
+ site?: string;
64
65
  distributions?: LudeocastV2Distributions;
65
66
  envIds?: string[];
66
67
  terminationType?: TerminationType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.230",
3
+ "version": "1.2.231",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -9,6 +9,9 @@ export class LudeocastBuildDistributionCreationEndedPayload {
9
9
  @IsString()
10
10
  buildId: string;
11
11
 
12
+ @IsString()
13
+ site: string;
14
+
12
15
  @IsEnum(SiteOperationStatus)
13
16
  status: SiteOperationStatus;
14
17
 
@@ -8,6 +8,9 @@ export class LudeocastBuildDistributionTerminationEndedPayload {
8
8
  @IsString()
9
9
  buildId: string;
10
10
 
11
+ @IsString()
12
+ site: string;
13
+
11
14
  @IsEnum(SiteOperationStatus)
12
15
  status: SiteOperationStatus;
13
16
 
@@ -11,6 +11,9 @@ export class CreateBuildDistributionRequestDto {
11
11
  @IsString()
12
12
  buildId: string; // Build ID for distribution naming (e.g., 'build-{buildId}')
13
13
 
14
+ @IsString()
15
+ site: string;
16
+
14
17
  @IsArray()
15
18
  @IsString({ each: true })
16
19
  regions: string[];
@@ -7,6 +7,9 @@ export class TerminateBuildDistributionRequestDto {
7
7
  @IsString()
8
8
  buildId: string;
9
9
 
10
+ @IsString()
11
+ site: string;
12
+
10
13
  @IsOptional()
11
14
  @ValidateNestedType(() => LudeocastV2Distributions)
12
15
  distributions?: LudeocastV2Distributions;
@@ -93,6 +93,7 @@ export interface GameSiteAdapterStatusPayload extends SiteAdapterStatusPayload {
93
93
  export interface BuildDistributionAdapterStatusPayload
94
94
  extends SiteAdapterStatusPayload {
95
95
  buildId?: string;
96
+ site?: string;
96
97
  distributions?: LudeocastV2Distributions;
97
98
  envIds?: string[];
98
99
  terminationType?: TerminationType;