@ludeo/cloud-common 1.2.57-beta-yahil → 1.2.57

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,4 +1,4 @@
1
1
  import { GamePoolAttributes } from "./game";
2
2
  export declare class LudeoPoolAttributes extends GamePoolAttributes {
3
- ludeoId: string;
3
+ ludeoId?: string;
4
4
  }
@@ -16,6 +16,7 @@ class LudeoPoolAttributes extends game_1.GamePoolAttributes {
16
16
  }
17
17
  exports.LudeoPoolAttributes = LudeoPoolAttributes;
18
18
  __decorate([
19
+ (0, class_validator_1.IsOptional)(),
19
20
  (0, class_validator_1.IsString)(),
20
21
  __metadata("design:type", String)
21
22
  ], LudeoPoolAttributes.prototype, "ludeoId", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../../src/v4/types/pools/configuration/attributes/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAC3C,iCAA4C;AAE5C,MAAa,mBAAoB,SAAQ,yBAAkB;CAG1D;AAHD,kDAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;oDACK"}
1
+ {"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../../src/v4/types/pools/configuration/attributes/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,iCAA4C;AAE5C,MAAa,mBAAoB,SAAQ,yBAAkB;CAI1D;AAJD,kDAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM"}
@@ -3,7 +3,7 @@ import { LudeoPoolAttributes } from "./attributes";
3
3
  import { BaseCloudPoolConfiguration } from "./base";
4
4
  export declare class LudeoPoolConfiguration extends BaseCloudPoolConfiguration {
5
5
  type: CloudPoolType.LUDEO;
6
- ludeoId: string;
6
+ ludeoId?: string;
7
7
  gamePoolId: string;
8
8
  attributes: LudeoPoolAttributes;
9
9
  }
@@ -23,6 +23,7 @@ __decorate([
23
23
  __metadata("design:type", String)
24
24
  ], LudeoPoolConfiguration.prototype, "type", void 0);
25
25
  __decorate([
26
+ (0, class_validator_1.IsOptional)(),
26
27
  (0, class_validator_1.IsUUID)(),
27
28
  __metadata("design:type", String)
28
29
  ], LudeoPoolConfiguration.prototype, "ludeoId", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AAEjD,kCAAwC;AACxC,6CAAmD;AACnD,iCAAoD;AACpD,uDAA4D;AAE5D,MAAa,sBAAuB,SAAQ,iCAA0B;CAYrE;AAZD,wDAYC;AAVC;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;oDACI;AAG1B;IADC,IAAA,wBAAM,GAAE;;uDACO;AAGhB;IADC,IAAA,wBAAM,GAAE;;0DACU;AAGnB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;8BAClC,gCAAmB;0DAAC"}
1
+ {"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAE7D,kCAAwC;AACxC,6CAAmD;AACnD,iCAAoD;AACpD,uDAA4D;AAE5D,MAAa,sBAAuB,SAAQ,iCAA0B;CAarE;AAbD,wDAaC;AAXC;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;oDACI;AAI1B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;uDACQ;AAGjB;IADC,IAAA,wBAAM,GAAE;;0DACU;AAGnB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;8BAClC,gCAAmB;0DAAC"}
@@ -1,6 +1,6 @@
1
1
  import { BaseCloudResource } from "./base";
2
2
  export declare class LudeoResourceSettings {
3
- gameplayId: string;
3
+ gameplayId?: string;
4
4
  }
5
5
  export declare class LudeoCloudResource extends BaseCloudResource {
6
6
  gameResourceId?: string;
@@ -16,6 +16,7 @@ class LudeoResourceSettings {
16
16
  }
17
17
  exports.LudeoResourceSettings = LudeoResourceSettings;
18
18
  __decorate([
19
+ (0, class_validator_1.IsOptional)(),
19
20
  (0, class_validator_1.IsUUID)(),
20
21
  __metadata("design:type", String)
21
22
  ], LudeoResourceSettings.prototype, "gameplayId", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AAEzE,iCAA2C;AAE3C,MAAa,qBAAqB;CAGjC;AAHD,sDAGC;AADC;IADC,IAAA,wBAAM,GAAE;;yDACU;AAGrB,MAAa,kBAAmB,SAAQ,wBAAiB;CAexD;AAfD,gDAeC;AAZC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACO;AAGpB;IADC,IAAA,4BAAU,GAAE;8BACF,qBAAqB;oDAAC;AAIjC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACM"}
1
+ {"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AAEzE,iCAA2C;AAE3C,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;yDACW;AAGtB,MAAa,kBAAmB,SAAQ,wBAAiB;CAexD;AAfD,gDAeC;AAZC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW;AAIxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACO;AAGpB;IADC,IAAA,4BAAU,GAAE;8BACF,qBAAqB;oDAAC;AAIjC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qDACM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.57-beta-yahil",
3
+ "version": "1.2.57",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -1,7 +1,8 @@
1
- import { IsString } from "class-validator";
1
+ import { IsOptional, IsString } from "class-validator";
2
2
  import { GamePoolAttributes } from "./game";
3
3
 
4
4
  export class LudeoPoolAttributes extends GamePoolAttributes {
5
+ @IsOptional()
5
6
  @IsString()
6
- ludeoId: string;
7
+ ludeoId?: string;
7
8
  }
@@ -1,4 +1,4 @@
1
- import { IsEnum, IsUUID } from "class-validator";
1
+ import { IsEnum, IsOptional, IsUUID } from "class-validator";
2
2
 
3
3
  import { CloudPoolType } from "../type";
4
4
  import { LudeoPoolAttributes } from "./attributes";
@@ -9,8 +9,9 @@ export class LudeoPoolConfiguration extends BaseCloudPoolConfiguration {
9
9
  @IsEnum(CloudPoolType)
10
10
  type: CloudPoolType.LUDEO;
11
11
 
12
+ @IsOptional()
12
13
  @IsUUID()
13
- ludeoId: string;
14
+ ludeoId?: string;
14
15
 
15
16
  @IsUUID()
16
17
  gamePoolId: string;
@@ -3,8 +3,9 @@ import { IsNumber, IsOptional, IsString, IsUUID } from "class-validator";
3
3
  import { BaseCloudResource } from "./base";
4
4
 
5
5
  export class LudeoResourceSettings {
6
+ @IsOptional()
6
7
  @IsUUID()
7
- gameplayId: string;
8
+ gameplayId?: string;
8
9
  }
9
10
 
10
11
  export class LudeoCloudResource extends BaseCloudResource {