@ludeo/cloud-common 1.2.179 → 1.2.180-beta-yahil-1

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.
@@ -7,6 +7,7 @@ export declare class CreateLudeocastGameRequestPayload {
7
7
  gameCreationPayload: GameCreationPayload;
8
8
  site: string;
9
9
  region: string;
10
+ buildId?: string;
10
11
  }
11
12
  export declare class CreateLudeocastGameRequest extends LudeoEvent {
12
13
  static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
@@ -33,6 +33,11 @@ __decorate([
33
33
  (0, class_validator_1.IsString)(),
34
34
  __metadata("design:type", String)
35
35
  ], CreateLudeocastGameRequestPayload.prototype, "region", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsOptional)(),
38
+ (0, class_validator_1.IsUUID)(),
39
+ __metadata("design:type", String)
40
+ ], CreateLudeocastGameRequestPayload.prototype, "buildId", void 0);
36
41
  class CreateLudeocastGameRequest extends infra_1.LudeoEvent {
37
42
  constructor(payload, context) {
38
43
  super(CreateLudeocastGameRequest.EVENT_NAME);
@@ -1 +1 @@
1
- {"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AAEnD,6CAAuD;AAEvD,MAAa,iCAAiC;CAc7C;AAdD,8EAcC;AAZC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAKvB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAGjB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA8B;QACpF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;2DAAC"}
1
+ {"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAE/D,6CAAuD;AAEvD,MAAa,iCAAiC;CAkB7C;AAlBD,8EAkBC;AAhBC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAKvB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kEACQ;AAGnB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA8B;QACpF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;2DAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.179",
3
+ "version": "1.2.180-beta-yahil-1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -1,6 +1,6 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
2
  import { ValidateNestedType } from '../../../decorators';
3
- import { IsString, IsUUID } from 'class-validator';
3
+ import { IsString, IsUUID, IsOptional } from 'class-validator';
4
4
  import { GameCreationPayload } from '../../types/site-controller';
5
5
  import { SiteControllerContext } from '../../contexts';
6
6
 
@@ -18,6 +18,10 @@ export class CreateLudeocastGameRequestPayload {
18
18
 
19
19
  @IsString()
20
20
  region: string;
21
+
22
+ @IsOptional()
23
+ @IsUUID()
24
+ buildId?: string;
21
25
  }
22
26
 
23
27
  export class CreateLudeocastGameRequest extends LudeoEvent {