@ludeo/cloud-common 1.2.76 → 1.2.77
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.
|
@@ -34,4 +34,9 @@ __decorate([
|
|
|
34
34
|
(0, decorators_1.ValidateNestedType)(() => attributes_1.GamePoolAttributes),
|
|
35
35
|
__metadata("design:type", attributes_1.GamePoolAttributes)
|
|
36
36
|
], GamePoolConfiguration.prototype, "attributes", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsNumber)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], GamePoolConfiguration.prototype, "markAvailableDelay", void 0);
|
|
37
42
|
//# sourceMappingURL=game.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/game.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"game.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/game.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,kCAAwC;AACxC,6CAAkD;AAClD,iCAAoD;AACpD,uDAA4D;AAE5D,MAAa,qBAAsB,SAAQ,iCAA0B;CAoBpE;AApBD,sDAoBC;AAlBC;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;mDACG;AAGzB;IADC,IAAA,wBAAM,GAAE;;qDACM;AAGf;IADC,IAAA,wBAAM,GAAE;;4DACa;AAGtB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAkB,CAAC;8BACjC,+BAAkB;yDAAC;AAQ/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACiB"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsEnum, IsUUID } from "class-validator";
|
|
1
|
+
import { IsEnum, IsNumber, IsOptional, IsUUID } from "class-validator";
|
|
2
2
|
|
|
3
3
|
import { CloudPoolType } from "../type";
|
|
4
4
|
import { GamePoolAttributes } from "./attributes";
|
|
@@ -17,4 +17,12 @@ export class GamePoolConfiguration extends BaseCloudPoolConfiguration {
|
|
|
17
17
|
|
|
18
18
|
@ValidateNestedType(() => GamePoolAttributes)
|
|
19
19
|
attributes: GamePoolAttributes;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Before loading the ludeo for the first time we need to wait for the game to start up.
|
|
23
|
+
* for more info see ticket 8218832706
|
|
24
|
+
*/
|
|
25
|
+
@IsOptional()
|
|
26
|
+
@IsNumber()
|
|
27
|
+
markAvailableDelay?: number;
|
|
20
28
|
}
|