@ludeo/cloud-common 1.2.92 → 1.2.93

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.
@@ -10,6 +10,7 @@ export declare class LudeoPoolAttributesWithQuantity extends BasePoolAttributesW
10
10
  }
11
11
  export declare class GamePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
12
12
  ludeos: LudeoPoolAttributesWithQuantity[];
13
+ postCreationDelay?: number;
13
14
  }
14
15
  export declare class MachinePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
15
16
  games: GamePoolAttributesWithQuantity[];
@@ -22,6 +22,11 @@ exports.LudeoPoolAttributesWithQuantity = LudeoPoolAttributesWithQuantity;
22
22
  class GamePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
23
23
  }
24
24
  exports.GamePoolAttributesWithQuantity = GamePoolAttributesWithQuantity;
25
+ __decorate([
26
+ (0, class_validator_1.IsOptional)(),
27
+ (0, class_validator_1.IsNumber)(),
28
+ __metadata("design:type", Number)
29
+ ], GamePoolAttributesWithQuantity.prototype, "postCreationDelay", void 0);
25
30
  class MachinePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
26
31
  }
27
32
  exports.MachinePoolAttributesWithQuantity = MachinePoolAttributesWithQuantity;
@@ -1 +1 @@
1
- {"version":3,"file":"set-pools-state.js","sourceRoot":"","sources":["../../../src/v4/events/set-pools-state.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAE9D,yDAAqD;AACrD,oGAAqF;AAIrF,MAAa,8BAA8B;CAQ1C;AARD,wEAQC;AAED,MAAa,+BAAgC,SAAQ,8BAA8B;CAAG;AAAtF,0EAAsF;AAEtF,MAAa,8BAA+B,SAAQ,8BAA8B;CAEjF;AAFD,wEAEC;AAED,MAAa,iCAAkC,SAAQ,8BAA8B;CAEpF;AAFD,8EAEC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAJC;IADC,IAAA,wBAAM,GAAE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AAG,EAAE,CAAC,KAAwC,CAAC;;0DACrB;AAI9C;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC1C,2BAA2B;2DAAC;AAG1C,MAAa,kBAAmB,SAAQ,wBAAU;IAGhD,YAAY,OAAiC;QAC3C,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AANH,gDAUC;AATiB,6BAAU,GAAG,2BAA2B,CAAC;AAQzD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC;8BAC1C,wBAAwB;mDAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -1,4 +1,4 @@
1
- import { IsArray, IsOptional, IsUUID } from "class-validator";
1
+ import { IsArray, IsNumber, IsOptional, IsUUID } from "class-validator";
2
2
 
3
3
  import { LudeoEvent } from "../../infra/ludeo-event";
4
4
  import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
@@ -19,6 +19,10 @@ export class LudeoPoolAttributesWithQuantity extends BasePoolAttributesWithQuant
19
19
 
20
20
  export class GamePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
21
21
  ludeos: LudeoPoolAttributesWithQuantity[];
22
+
23
+ @IsOptional()
24
+ @IsNumber()
25
+ postCreationDelay?: number;
22
26
  }
23
27
 
24
28
  export class MachinePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {