@ludeo/cloud-common 1.2.243 → 1.2.245

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.
@@ -4,6 +4,7 @@ export declare class ExportLudeocastLogsRequestPayload {
4
4
  machineResourceId: string;
5
5
  gameResourceId: string;
6
6
  logsUploadUrl: string;
7
+ site: string;
7
8
  sourceService?: string;
8
9
  }
9
10
  export declare class ExportLudeocastLogsRequest extends LudeoEvent {
@@ -29,6 +29,10 @@ __decorate([
29
29
  (0, class_validator_1.IsString)(),
30
30
  __metadata("design:type", String)
31
31
  ], ExportLudeocastLogsRequestPayload.prototype, "logsUploadUrl", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], ExportLudeocastLogsRequestPayload.prototype, "site", void 0);
32
36
  __decorate([
33
37
  (0, class_validator_1.IsOptional)(),
34
38
  (0, class_validator_1.IsString)(),
@@ -1 +1 @@
1
- {"version":3,"file":"export-ludeocast-logs-request.js","sourceRoot":"","sources":["../../../src/v4/events/export-ludeocast-logs-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAyC;AACzC,iDAAsD;AACtD,qDAA+D;AAC/D,0CAAmD;AAEnD,MAAa,iCAAiC;CAa7C;AAbD,8EAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;wEACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACY;AAGzB,MAAa,0BAA2B,SAAQ,kBAAU;IAIxD,YACE,OAA0C,EAC1C,OAA6B;QAE7B,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,gEAkBC;AAjBiB,qCAAU,GACxB,+CAA+C,CAAC;AAYlD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC"}
1
+ {"version":3,"file":"export-ludeocast-logs-request.js","sourceRoot":"","sources":["../../../src/v4/events/export-ludeocast-logs-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAyC;AACzC,iDAAsD;AACtD,qDAA+D;AAC/D,0CAAmD;AAEnD,MAAa,iCAAiC;CAgB7C;AAhBD,8EAgBC;AAdC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;wEACW;AAGtB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACY;AAGzB,MAAa,0BAA2B,SAAQ,kBAAU;IAIxD,YACE,OAA0C,EAC1C,OAA6B;QAE7B,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,gEAkBC;AAjBiB,qCAAU,GACxB,+CAA+C,CAAC;AAYlD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC"}
@@ -3,6 +3,7 @@ import { CloudResourceContext } from '../../contexts';
3
3
  export declare class MachineLudeocastPreemptedPayload {
4
4
  machineResourceId: string;
5
5
  machinePoolId?: string;
6
+ machineClass?: string;
6
7
  gameResourceIds?: string[];
7
8
  gracePeriodMs?: number;
8
9
  sourceService?: string;
@@ -26,6 +26,11 @@ __decorate([
26
26
  (0, class_validator_1.IsOptional)(),
27
27
  __metadata("design:type", String)
28
28
  ], MachineLudeocastPreemptedPayload.prototype, "machinePoolId", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsOptional)(),
31
+ (0, class_validator_1.IsString)(),
32
+ __metadata("design:type", String)
33
+ ], MachineLudeocastPreemptedPayload.prototype, "machineClass", void 0);
29
34
  __decorate([
30
35
  (0, class_validator_1.IsOptional)(),
31
36
  (0, class_validator_1.IsArray)(),
@@ -1 +1 @@
1
- {"version":3,"file":"machine-ludeocast-preempted.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-preempted.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAkF;AAClF,6CAAsD;AAEtD,MAAa,gCAAgC;CAmB5C;AAnBD,4EAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;2EACiB;AAI1B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;uEACU;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;yEACiB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uEACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uEACY;AAGzB,MAAa,yBAA0B,SAAQ,kBAAU;IAGvD,YAAY,OAAyC,EAAE,OAA6B;QAClF,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,8DAcC;AAbiB,oCAAU,GAAG,6CAA6C,CAAC;AAS3E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC;8BAClD,gCAAgC;0DAAC;AAG1C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;0DAAC"}
1
+ {"version":3,"file":"machine-ludeocast-preempted.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-preempted.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAkF;AAClF,6CAAsD;AAEtD,MAAa,gCAAgC;CAuB5C;AAvBD,4EAuBC;AArBC;IADC,IAAA,wBAAM,GAAE;;2EACiB;AAI1B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;uEACU;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sEACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;yEACiB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uEACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uEACY;AAGzB,MAAa,yBAA0B,SAAQ,kBAAU;IAGvD,YAAY,OAAyC,EAAE,OAA6B;QAClF,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,8DAcC;AAbiB,oCAAU,GAAG,6CAA6C,CAAC;AAS3E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC;8BAClD,gCAAgC;0DAAC;AAG1C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;0DAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.243",
3
+ "version": "1.2.245",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -13,6 +13,9 @@ export class ExportLudeocastLogsRequestPayload {
13
13
  @IsString()
14
14
  logsUploadUrl: string;
15
15
 
16
+ @IsString()
17
+ site: string;
18
+
16
19
  @IsOptional()
17
20
  @IsString()
18
21
  sourceService?: string;
@@ -10,6 +10,10 @@ export class MachineLudeocastPreemptedPayload {
10
10
  @IsUUID()
11
11
  @IsOptional()
12
12
  machinePoolId?: string;
13
+
14
+ @IsOptional()
15
+ @IsString()
16
+ machineClass?: string;
13
17
 
14
18
  @IsOptional()
15
19
  @IsArray()