@ludeo/cloud-common 1.2.90 → 1.2.91

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 PoolStatusEventBasePool<T extends BasePoolAttributes = Base
4
4
  attributes: T;
5
5
  statusMap: CloudResourcesStatusMap;
6
6
  poolId: string;
7
+ manualOverrideSize?: number;
7
8
  }
8
9
  export declare class PoolStatusEventLudeoPool extends PoolStatusEventBasePool<LudeoPoolAttributes> {
9
10
  gamePoolId: string;
@@ -26,6 +26,11 @@ __decorate([
26
26
  (0, class_validator_1.IsUUID)(),
27
27
  __metadata("design:type", String)
28
28
  ], PoolStatusEventBasePool.prototype, "poolId", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsOptional)(),
31
+ (0, class_validator_1.IsNumber)(),
32
+ __metadata("design:type", Number)
33
+ ], PoolStatusEventBasePool.prototype, "manualOverrideSize", void 0);
29
34
  class PoolStatusEventLudeoPool extends PoolStatusEventBasePool {
30
35
  }
31
36
  exports.PoolStatusEventLudeoPool = PoolStatusEventLudeoPool;
@@ -1 +1 @@
1
- {"version":3,"file":"pool-status.js","sourceRoot":"","sources":["../../../src/v4/events/pool-status.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AAErD,yDAAqD;AACrD,oCAQkB;AAClB,oGAAqF;AACrF,4FAA4E;AAE5E,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AANC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAAkB,CAAC;;2DAC/B;AAKd;IADC,IAAA,wBAAM,GAAE;;uDACM;AAGjB,MAAa,wBAAyB,SAAQ,uBAA4C;CAOzF;AAPD,4DAOC;AALC;IADC,IAAA,wBAAM,GAAE;;4DACU;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0CAAa,GAAE;;yDACC;AAGnB,MAAa,uBAAwB,SAAQ,uBAA2C;CAKvF;AALD,0DAKC;A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AAC,+BAAuB,CAAC;;oEACK;AAGnD,MAAa,sBAAsB;CAKlC;AALD,wDAKC;AADC;IADC,IAAA,wBAAM,GAAE;;yDACS;AAGpB,MAAa,eAAgB,SAAQ,wBAAU;IAG7C,YAAY,OAA+B;QACzC,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AANH,0CAUC;AATiB,0BAAU,GAAG,yBAAyB,CAAC;AAQvD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BACxC,sBAAsB;gDAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.90",
3
+ "version": "1.2.91",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -1,4 +1,4 @@
1
- import { IsOptional, IsUUID } from "class-validator";
1
+ import { IsNumber, IsOptional, IsUUID } from "class-validator";
2
2
 
3
3
  import { LudeoEvent } from "../../infra/ludeo-event";
4
4
  import {
@@ -14,7 +14,7 @@ import { ValidateNestedType } from "../../decorators/validate-nested-type.decora
14
14
  import { IsUUIDOrEmpty } from "../../decorators/is-uuid-or-empty.decorator";
15
15
 
16
16
  export class PoolStatusEventBasePool<
17
- T extends BasePoolAttributes = BasePoolAttributes
17
+ T extends BasePoolAttributes = BasePoolAttributes,
18
18
  > {
19
19
  @ValidateNestedType(() => BasePoolAttributes)
20
20
  attributes: T;
@@ -23,6 +23,10 @@ export class PoolStatusEventBasePool<
23
23
 
24
24
  @IsUUID()
25
25
  poolId: string;
26
+
27
+ @IsOptional()
28
+ @IsNumber()
29
+ manualOverrideSize?: number;
26
30
  }
27
31
 
28
32
  export class PoolStatusEventLudeoPool extends PoolStatusEventBasePool<LudeoPoolAttributes> {