@ludeo/cloud-common 1.2.52-ygarbage1 → 1.2.52-ygarbage2

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.
@@ -1,23 +1,17 @@
1
1
  import { LudeoEvent } from "../../infra/ludeo-event";
2
2
  export type SetPoolStateEventPoolContext = Record<string, any>;
3
- export declare class LudeoPoolAttributesWithQuantity {
3
+ export declare class BasePoolAttributesWithQuantity {
4
4
  [attribute: string]: any;
5
5
  quantity: number;
6
6
  poolId: string;
7
7
  context?: SetPoolStateEventPoolContext;
8
8
  }
9
- export declare class GamePoolAttributesWithQuantity {
10
- [attribute: string]: any;
11
- quantity: number;
12
- poolId: string;
13
- context?: SetPoolStateEventPoolContext;
9
+ export declare class LudeoPoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
10
+ }
11
+ export declare class GamePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
14
12
  ludeos: LudeoPoolAttributesWithQuantity[];
15
13
  }
16
- export declare class MachinePoolsAttributesWithQuantity {
17
- [attribute: string]: any;
18
- quantity: number;
19
- poolId: string;
20
- context?: SetPoolStateEventPoolContext;
14
+ export declare class MachinePoolsAttributesWithQuantity extends BasePoolAttributesWithQuantity {
21
15
  games: GamePoolAttributesWithQuantity[];
22
16
  }
23
17
  export declare class SetPoolsStateEventRequestId {
@@ -9,17 +9,20 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SetPoolsStateEvent = exports.SetPoolStateEventPayload = exports.SetPoolsStateEventRequestId = exports.MachinePoolsAttributesWithQuantity = exports.GamePoolAttributesWithQuantity = exports.LudeoPoolAttributesWithQuantity = void 0;
12
+ exports.SetPoolsStateEvent = exports.SetPoolStateEventPayload = exports.SetPoolsStateEventRequestId = exports.MachinePoolsAttributesWithQuantity = exports.GamePoolAttributesWithQuantity = exports.LudeoPoolAttributesWithQuantity = exports.BasePoolAttributesWithQuantity = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const ludeo_event_1 = require("../../infra/ludeo-event");
15
15
  const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
16
- class LudeoPoolAttributesWithQuantity {
16
+ class BasePoolAttributesWithQuantity {
17
+ }
18
+ exports.BasePoolAttributesWithQuantity = BasePoolAttributesWithQuantity;
19
+ class LudeoPoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
17
20
  }
18
21
  exports.LudeoPoolAttributesWithQuantity = LudeoPoolAttributesWithQuantity;
19
- class GamePoolAttributesWithQuantity {
22
+ class GamePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
20
23
  }
21
24
  exports.GamePoolAttributesWithQuantity = GamePoolAttributesWithQuantity;
22
- class MachinePoolsAttributesWithQuantity {
25
+ class MachinePoolsAttributesWithQuantity extends BasePoolAttributesWithQuantity {
23
26
  }
24
27
  exports.MachinePoolsAttributesWithQuantity = MachinePoolsAttributesWithQuantity;
25
28
  class SetPoolsStateEventRequestId {
@@ -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,+BAA+B;CAQ3C;AARD,0EAQC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,kCAAkC;CAU9C;AAVD,gFAUC;AAED,MAAa,2BAA2B;CAMvC;AAND,kEAMC;AAJC;IADC,IAAA,wBAAM,GAAE;;yEACoB;AAG7B;IADC,IAAA,wBAAM,GAAE;;4EACuB;AAGlC,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AALC;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,KAAyC,CAAC;;0DACrB;AAI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,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.52-ygarbage1",
3
+ "version": "1.2.52-ygarbage2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -5,7 +5,7 @@ import { ValidateNestedType } from "../../decorators/validate-nested-type.decora
5
5
 
6
6
  export type SetPoolStateEventPoolContext = Record<string, any>;
7
7
 
8
- export class LudeoPoolAttributesWithQuantity {
8
+ export class BasePoolAttributesWithQuantity {
9
9
  [attribute: string]: any;
10
10
 
11
11
  quantity: number;
@@ -15,27 +15,13 @@ export class LudeoPoolAttributesWithQuantity {
15
15
  context?: SetPoolStateEventPoolContext;
16
16
  }
17
17
 
18
- export class GamePoolAttributesWithQuantity {
19
- [attribute: string]: any;
20
-
21
- quantity: number;
22
-
23
- poolId: string;
24
-
25
- context?: SetPoolStateEventPoolContext;
18
+ export class LudeoPoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {}
26
19
 
20
+ export class GamePoolAttributesWithQuantity extends BasePoolAttributesWithQuantity {
27
21
  ludeos: LudeoPoolAttributesWithQuantity[];
28
22
  }
29
23
 
30
- export class MachinePoolsAttributesWithQuantity {
31
- [attribute: string]: any;
32
-
33
- quantity: number;
34
-
35
- poolId: string;
36
-
37
- context?: SetPoolStateEventPoolContext;
38
-
24
+ export class MachinePoolsAttributesWithQuantity extends BasePoolAttributesWithQuantity {
39
25
  games: GamePoolAttributesWithQuantity[];
40
26
  }
41
27