@ludeo/cloud-common 1.2.174-beta-yahil-7 → 1.2.176

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.
Files changed (81) hide show
  1. package/dist/tsconfig.tsbuildinfo +1 -1
  2. package/dist/v4/events/{site-controller/create-snapshot-request.event.d.ts → cloud-builds/create-snapshot-request.d.ts} +1 -1
  3. package/dist/v4/events/{site-controller/create-snapshot-request.event.js → cloud-builds/create-snapshot-request.js} +8 -8
  4. package/dist/v4/events/cloud-builds/create-snapshot-request.js.map +1 -0
  5. package/dist/v4/events/cloud-builds/index.d.ts +2 -0
  6. package/dist/v4/events/cloud-builds/index.js +19 -0
  7. package/dist/v4/events/cloud-builds/index.js.map +1 -0
  8. package/dist/v4/events/{site-controller/terminate-snapshot-request.event.d.ts → cloud-builds/terminate-snapshot-request.d.ts} +1 -1
  9. package/dist/v4/events/{site-controller/terminate-snapshot-request.event.js → cloud-builds/terminate-snapshot-request.js} +8 -8
  10. package/dist/v4/events/cloud-builds/terminate-snapshot-request.js.map +1 -0
  11. package/dist/v4/events/{site-controller/create-game-request.event.d.ts → cloud-resources/create-ludeocast-game-request.d.ts} +5 -5
  12. package/dist/v4/events/{site-controller/create-game-request.event.js → cloud-resources/create-ludeocast-game-request.js} +16 -16
  13. package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js.map +1 -0
  14. package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.d.ts +15 -0
  15. package/dist/v4/events/{site-controller/create-machine-request.event.js → cloud-resources/create-ludeocast-machine-request.js} +16 -16
  16. package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -0
  17. package/dist/v4/events/cloud-resources/index.d.ts +4 -0
  18. package/dist/v4/events/cloud-resources/index.js +21 -0
  19. package/dist/v4/events/cloud-resources/index.js.map +1 -0
  20. package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.d.ts +14 -0
  21. package/dist/v4/events/{site-controller/terminate-game-request.event.js → cloud-resources/terminate-ludeocast-game-request.js} +16 -16
  22. package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js.map +1 -0
  23. package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +13 -0
  24. package/dist/v4/events/{site-controller/terminate-machine-request.event.js → cloud-resources/terminate-ludeocast-machine-request.js} +15 -15
  25. package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -0
  26. package/dist/v4/events/index.d.ts +2 -0
  27. package/dist/v4/events/index.js +3 -1
  28. package/dist/v4/events/index.js.map +1 -1
  29. package/dist/v4/events/ludeocast-agent/resource-update.d.ts +1 -1
  30. package/dist/v4/events/ludeocast-agent/resource-update.js +1 -1
  31. package/dist/v4/events/ludeocast-agent/resource-update.js.map +1 -1
  32. package/dist/v4/events/site-controller/{game-creation-ended.event.d.ts → game-ludeocast-creation-ended.d.ts} +1 -1
  33. package/dist/v4/events/site-controller/{game-creation-ended.event.js → game-ludeocast-creation-ended.js} +8 -8
  34. package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js.map +1 -0
  35. package/dist/v4/events/site-controller/index.d.ts +5 -11
  36. package/dist/v4/events/site-controller/index.js +5 -11
  37. package/dist/v4/events/site-controller/index.js.map +1 -1
  38. package/dist/v4/events/site-controller/{machine-creation-ended.event.d.ts → machine-ludeocast-creation-ended.d.ts} +1 -1
  39. package/dist/v4/events/site-controller/{machine-creation-ended.event.js → machine-ludeocast-creation-ended.js} +8 -8
  40. package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js.map +1 -0
  41. package/dist/v4/events/site-controller/{resource-status-update.event.d.ts → resource-status-update.d.ts} +1 -1
  42. package/dist/v4/events/site-controller/{resource-status-update.event.js → resource-status-update.js} +8 -8
  43. package/dist/v4/events/site-controller/resource-status-update.js.map +1 -0
  44. package/dist/v4/events/site-controller/{snapshot-creation-ended.event.d.ts → snapshot-ludeocast-creation-ended.d.ts} +1 -1
  45. package/dist/v4/events/site-controller/{snapshot-creation-ended.event.js → snapshot-ludeocast-creation-ended.js} +8 -8
  46. package/dist/v4/events/site-controller/snapshot-ludeocast-creation-ended.js.map +1 -0
  47. package/dist/v4/events/site-controller/{snapshot-termination-ended.event.d.ts → snapshot-ludeocast-termination-ended.d.ts} +1 -1
  48. package/dist/v4/events/site-controller/{snapshot-termination-ended.event.js → snapshot-ludeocast-termination-ended.js} +8 -8
  49. package/dist/v4/events/site-controller/snapshot-ludeocast-termination-ended.js.map +1 -0
  50. package/package.json +1 -1
  51. package/src/v4/events/{site-controller/create-snapshot-request.event.ts → cloud-builds/create-snapshot-request.ts} +2 -2
  52. package/src/v4/events/cloud-builds/index.ts +2 -0
  53. package/src/v4/events/{site-controller/terminate-snapshot-request.event.ts → cloud-builds/terminate-snapshot-request.ts} +2 -2
  54. package/src/v4/events/{site-controller/create-game-request.event.ts → cloud-resources/create-ludeocast-game-request.ts} +7 -8
  55. package/src/v4/events/{site-controller/create-machine-request.event.ts → cloud-resources/create-ludeocast-machine-request.ts} +7 -7
  56. package/src/v4/events/cloud-resources/index.ts +4 -0
  57. package/src/v4/events/{site-controller/terminate-game-request.event.ts → cloud-resources/terminate-ludeocast-game-request.ts} +7 -7
  58. package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +32 -0
  59. package/src/v4/events/index.ts +2 -1
  60. package/src/v4/events/ludeocast-agent/resource-update.ts +1 -1
  61. package/src/v4/events/site-controller/{game-creation-ended.event.ts → game-ludeocast-creation-ended.ts} +2 -2
  62. package/src/v4/events/site-controller/index.ts +5 -12
  63. package/src/v4/events/site-controller/{machine-creation-ended.event.ts → machine-ludeocast-creation-ended.ts} +2 -2
  64. package/src/v4/events/site-controller/{resource-status-update.event.ts → resource-status-update.ts} +2 -2
  65. package/src/v4/events/site-controller/{snapshot-creation-ended.event.ts → snapshot-ludeocast-creation-ended.ts} +2 -2
  66. package/src/v4/events/site-controller/{snapshot-termination-ended.event.ts → snapshot-ludeocast-termination-ended.ts} +2 -2
  67. package/dist/v4/events/site-controller/create-game-request.event.js.map +0 -1
  68. package/dist/v4/events/site-controller/create-machine-request.event.d.ts +0 -15
  69. package/dist/v4/events/site-controller/create-machine-request.event.js.map +0 -1
  70. package/dist/v4/events/site-controller/create-snapshot-request.event.js.map +0 -1
  71. package/dist/v4/events/site-controller/game-creation-ended.event.js.map +0 -1
  72. package/dist/v4/events/site-controller/machine-creation-ended.event.js.map +0 -1
  73. package/dist/v4/events/site-controller/resource-status-update.event.js.map +0 -1
  74. package/dist/v4/events/site-controller/snapshot-creation-ended.event.js.map +0 -1
  75. package/dist/v4/events/site-controller/snapshot-termination-ended.event.js.map +0 -1
  76. package/dist/v4/events/site-controller/terminate-game-request.event.d.ts +0 -14
  77. package/dist/v4/events/site-controller/terminate-game-request.event.js.map +0 -1
  78. package/dist/v4/events/site-controller/terminate-machine-request.event.d.ts +0 -13
  79. package/dist/v4/events/site-controller/terminate-machine-request.event.js.map +0 -1
  80. package/dist/v4/events/site-controller/terminate-snapshot-request.event.js.map +0 -1
  81. package/src/v4/events/site-controller/terminate-machine-request.event.ts +0 -32
@@ -6,7 +6,7 @@ export declare class CreateSnapshotRequestPayload {
6
6
  site: string;
7
7
  region: string;
8
8
  }
9
- export declare class CreateSnapshotRequestEvent extends LudeoEvent {
9
+ export declare class CreateSnapshotRequest extends LudeoEvent {
10
10
  static readonly EVENT_NAME = "cloud-builds.create-snapshot-request";
11
11
  constructor(payload: CreateSnapshotRequestPayload, context: SiteControllerContext);
12
12
  payload: CreateSnapshotRequestPayload;
@@ -9,7 +9,7 @@ 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.CreateSnapshotRequestEvent = exports.CreateSnapshotRequestPayload = void 0;
12
+ exports.CreateSnapshotRequest = exports.CreateSnapshotRequestPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
@@ -33,21 +33,21 @@ __decorate([
33
33
  (0, class_validator_1.IsString)(),
34
34
  __metadata("design:type", String)
35
35
  ], CreateSnapshotRequestPayload.prototype, "region", void 0);
36
- class CreateSnapshotRequestEvent extends infra_1.LudeoEvent {
36
+ class CreateSnapshotRequest extends infra_1.LudeoEvent {
37
37
  constructor(payload, context) {
38
- super(CreateSnapshotRequestEvent.EVENT_NAME);
38
+ super(CreateSnapshotRequest.EVENT_NAME);
39
39
  this.payload = payload;
40
40
  this.context = context;
41
41
  }
42
42
  }
43
- exports.CreateSnapshotRequestEvent = CreateSnapshotRequestEvent;
44
- CreateSnapshotRequestEvent.EVENT_NAME = 'cloud-builds.create-snapshot-request';
43
+ exports.CreateSnapshotRequest = CreateSnapshotRequest;
44
+ CreateSnapshotRequest.EVENT_NAME = 'cloud-builds.create-snapshot-request';
45
45
  __decorate([
46
46
  (0, decorators_1.ValidateNestedType)(() => CreateSnapshotRequestPayload),
47
47
  __metadata("design:type", CreateSnapshotRequestPayload)
48
- ], CreateSnapshotRequestEvent.prototype, "payload", void 0);
48
+ ], CreateSnapshotRequest.prototype, "payload", void 0);
49
49
  __decorate([
50
50
  (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
51
51
  __metadata("design:type", contexts_1.SiteControllerContext)
52
- ], CreateSnapshotRequestEvent.prototype, "context", void 0);
53
- //# sourceMappingURL=create-snapshot-request.event.js.map
52
+ ], CreateSnapshotRequest.prototype, "context", void 0);
53
+ //# sourceMappingURL=create-snapshot-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-snapshot-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/create-snapshot-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA2C;AAC3C,6CAAuD;AAEvD,MAAa,4BAA4B;CAYxC;AAZD,oEAYC;AAVC;IADC,IAAA,0BAAQ,GAAE;;6DACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;iEACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;0DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;4DACI;AAGjB,MAAa,qBAAsB,SAAQ,kBAAU;IAGnD,YAAY,OAAqC,EAAE,OAA8B;QAC/E,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sDAcC;AAbiB,gCAAU,GAAG,sCAAsC,CAAC;AASpE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC9C,4BAA4B;sDAAC;AAGtC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;sDAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./create-snapshot-request";
2
+ export * from "./terminate-snapshot-request";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-snapshot-request"), exports);
18
+ __exportStar(require("./terminate-snapshot-request"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,+DAA6C"}
@@ -5,7 +5,7 @@ export declare class TerminateSnapshotRequestPayload {
5
5
  site: string;
6
6
  region: string;
7
7
  }
8
- export declare class TerminateSnapshotRequestEvent extends LudeoEvent {
8
+ export declare class TerminateSnapshotRequest extends LudeoEvent {
9
9
  static readonly EVENT_NAME = "cloud-builds.terminate-snapshot-request";
10
10
  constructor(payload: TerminateSnapshotRequestPayload, context: SiteControllerContext);
11
11
  payload: TerminateSnapshotRequestPayload;
@@ -9,7 +9,7 @@ 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.TerminateSnapshotRequestEvent = exports.TerminateSnapshotRequestPayload = void 0;
12
+ exports.TerminateSnapshotRequest = exports.TerminateSnapshotRequestPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
@@ -29,21 +29,21 @@ __decorate([
29
29
  (0, class_validator_1.IsString)(),
30
30
  __metadata("design:type", String)
31
31
  ], TerminateSnapshotRequestPayload.prototype, "region", void 0);
32
- class TerminateSnapshotRequestEvent extends infra_1.LudeoEvent {
32
+ class TerminateSnapshotRequest extends infra_1.LudeoEvent {
33
33
  constructor(payload, context) {
34
- super(TerminateSnapshotRequestEvent.EVENT_NAME);
34
+ super(TerminateSnapshotRequest.EVENT_NAME);
35
35
  this.payload = payload;
36
36
  this.context = context;
37
37
  }
38
38
  }
39
- exports.TerminateSnapshotRequestEvent = TerminateSnapshotRequestEvent;
40
- TerminateSnapshotRequestEvent.EVENT_NAME = 'cloud-builds.terminate-snapshot-request';
39
+ exports.TerminateSnapshotRequest = TerminateSnapshotRequest;
40
+ TerminateSnapshotRequest.EVENT_NAME = 'cloud-builds.terminate-snapshot-request';
41
41
  __decorate([
42
42
  (0, decorators_1.ValidateNestedType)(() => TerminateSnapshotRequestPayload),
43
43
  __metadata("design:type", TerminateSnapshotRequestPayload)
44
- ], TerminateSnapshotRequestEvent.prototype, "payload", void 0);
44
+ ], TerminateSnapshotRequest.prototype, "payload", void 0);
45
45
  __decorate([
46
46
  (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
47
47
  __metadata("design:type", contexts_1.SiteControllerContext)
48
- ], TerminateSnapshotRequestEvent.prototype, "context", void 0);
49
- //# sourceMappingURL=terminate-snapshot-request.event.js.map
48
+ ], TerminateSnapshotRequest.prototype, "context", void 0);
49
+ //# sourceMappingURL=terminate-snapshot-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-snapshot-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/terminate-snapshot-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA2C;AAC3C,6CAAuD;AAEvD,MAAa,+BAA+B;CAS3C;AATD,0EASC;AAPC;IADC,IAAA,0BAAQ,GAAE;;gEACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;6DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;+DACI;AAGjB,MAAa,wBAAyB,SAAQ,kBAAU;IAGtD,YAAY,OAAwC,EAAE,OAA8B;QAClF,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4DAcC;AAbiB,mCAAU,GAAG,yCAAyC,CAAC;AASvE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BACjD,+BAA+B;yDAAC;AAGzC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;yDAAC"}
@@ -1,16 +1,16 @@
1
1
  import { LudeoEvent } from '../../../infra';
2
2
  import { GameCreationPayload } from '../../types/site-controller';
3
3
  import { SiteControllerContext } from '../../contexts';
4
- export declare class CreateGameRequestPayload {
4
+ export declare class CreateLudeocastGameRequestPayload {
5
5
  machineResourceId: string;
6
6
  gameResourceId: string;
7
7
  gameCreationPayload: GameCreationPayload;
8
8
  site: string;
9
9
  region: string;
10
10
  }
11
- export declare class CreateGameRequestEvent extends LudeoEvent {
12
- static readonly EVENT_NAME = "site-controller.create-game-request";
13
- constructor(payload: CreateGameRequestPayload, context: SiteControllerContext);
14
- payload: CreateGameRequestPayload;
11
+ export declare class CreateLudeocastGameRequest extends LudeoEvent {
12
+ static readonly EVENT_NAME = "site-controller.create-ludeocast-game-request";
13
+ constructor(payload: CreateLudeocastGameRequestPayload, context: SiteControllerContext);
14
+ payload: CreateLudeocastGameRequestPayload;
15
15
  context: SiteControllerContext;
16
16
  }
@@ -9,45 +9,45 @@ 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.CreateGameRequestEvent = exports.CreateGameRequestPayload = void 0;
12
+ exports.CreateLudeocastGameRequest = exports.CreateLudeocastGameRequestPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const contexts_1 = require("../../contexts");
17
- class CreateGameRequestPayload {
17
+ class CreateLudeocastGameRequestPayload {
18
18
  }
19
- exports.CreateGameRequestPayload = CreateGameRequestPayload;
19
+ exports.CreateLudeocastGameRequestPayload = CreateLudeocastGameRequestPayload;
20
20
  __decorate([
21
21
  (0, class_validator_1.IsUUID)(),
22
22
  __metadata("design:type", String)
23
- ], CreateGameRequestPayload.prototype, "machineResourceId", void 0);
23
+ ], CreateLudeocastGameRequestPayload.prototype, "machineResourceId", void 0);
24
24
  __decorate([
25
25
  (0, class_validator_1.IsUUID)(),
26
26
  __metadata("design:type", String)
27
- ], CreateGameRequestPayload.prototype, "gameResourceId", void 0);
27
+ ], CreateLudeocastGameRequestPayload.prototype, "gameResourceId", void 0);
28
28
  __decorate([
29
29
  (0, class_validator_1.IsString)(),
30
30
  __metadata("design:type", String)
31
- ], CreateGameRequestPayload.prototype, "site", void 0);
31
+ ], CreateLudeocastGameRequestPayload.prototype, "site", void 0);
32
32
  __decorate([
33
33
  (0, class_validator_1.IsString)(),
34
34
  __metadata("design:type", String)
35
- ], CreateGameRequestPayload.prototype, "region", void 0);
36
- class CreateGameRequestEvent extends infra_1.LudeoEvent {
35
+ ], CreateLudeocastGameRequestPayload.prototype, "region", void 0);
36
+ class CreateLudeocastGameRequest extends infra_1.LudeoEvent {
37
37
  constructor(payload, context) {
38
- super(CreateGameRequestEvent.EVENT_NAME);
38
+ super(CreateLudeocastGameRequest.EVENT_NAME);
39
39
  this.payload = payload;
40
40
  this.context = context;
41
41
  }
42
42
  }
43
- exports.CreateGameRequestEvent = CreateGameRequestEvent;
44
- CreateGameRequestEvent.EVENT_NAME = 'site-controller.create-game-request';
43
+ exports.CreateLudeocastGameRequest = CreateLudeocastGameRequest;
44
+ CreateLudeocastGameRequest.EVENT_NAME = 'site-controller.create-ludeocast-game-request';
45
45
  __decorate([
46
- (0, decorators_1.ValidateNestedType)(() => CreateGameRequestPayload),
47
- __metadata("design:type", CreateGameRequestPayload)
48
- ], CreateGameRequestEvent.prototype, "payload", void 0);
46
+ (0, decorators_1.ValidateNestedType)(() => CreateLudeocastGameRequestPayload),
47
+ __metadata("design:type", CreateLudeocastGameRequestPayload)
48
+ ], CreateLudeocastGameRequest.prototype, "payload", void 0);
49
49
  __decorate([
50
50
  (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
51
51
  __metadata("design:type", contexts_1.SiteControllerContext)
52
- ], CreateGameRequestEvent.prototype, "context", void 0);
53
- //# sourceMappingURL=create-game-request.event.js.map
52
+ ], CreateLudeocastGameRequest.prototype, "context", void 0);
53
+ //# sourceMappingURL=create-ludeocast-game-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AAEnD,6CAAuD;AAEvD,MAAa,iCAAiC;CAc7C;AAdD,8EAcC;AAZC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAKvB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAGjB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA8B;QACpF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;2DAAC"}
@@ -0,0 +1,15 @@
1
+ import { LudeoEvent } from '../../../infra';
2
+ import { MachineMode } from '../../types/site-controller';
3
+ import { SiteControllerContext } from '../../contexts';
4
+ export declare class CreateLudeocastMachineRequestPayload {
5
+ machineResourceId: string;
6
+ mode: MachineMode;
7
+ site: string;
8
+ region: string;
9
+ }
10
+ export declare class CreateLudeocastMachineRequest extends LudeoEvent {
11
+ static readonly EVENT_NAME = "site-controller.create-ludeocast-machine-request";
12
+ constructor(payload: CreateLudeocastMachineRequestPayload, context: SiteControllerContext);
13
+ payload: CreateLudeocastMachineRequestPayload;
14
+ context: SiteControllerContext;
15
+ }
@@ -9,46 +9,46 @@ 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.CreateMachineRequestEvent = exports.CreateMachineRequestPayload = void 0;
12
+ exports.CreateLudeocastMachineRequest = exports.CreateLudeocastMachineRequestPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const site_controller_1 = require("../../types/site-controller");
17
17
  const contexts_1 = require("../../contexts");
18
- class CreateMachineRequestPayload {
18
+ class CreateLudeocastMachineRequestPayload {
19
19
  }
20
- exports.CreateMachineRequestPayload = CreateMachineRequestPayload;
20
+ exports.CreateLudeocastMachineRequestPayload = CreateLudeocastMachineRequestPayload;
21
21
  __decorate([
22
22
  (0, class_validator_1.IsUUID)(),
23
23
  __metadata("design:type", String)
24
- ], CreateMachineRequestPayload.prototype, "machineResourceId", void 0);
24
+ ], CreateLudeocastMachineRequestPayload.prototype, "machineResourceId", void 0);
25
25
  __decorate([
26
26
  (0, class_validator_1.IsEnum)(site_controller_1.MachineMode),
27
27
  __metadata("design:type", String)
28
- ], CreateMachineRequestPayload.prototype, "mode", void 0);
28
+ ], CreateLudeocastMachineRequestPayload.prototype, "mode", void 0);
29
29
  __decorate([
30
30
  (0, class_validator_1.IsString)(),
31
31
  __metadata("design:type", String)
32
- ], CreateMachineRequestPayload.prototype, "site", void 0);
32
+ ], CreateLudeocastMachineRequestPayload.prototype, "site", void 0);
33
33
  __decorate([
34
34
  (0, class_validator_1.IsString)(),
35
35
  __metadata("design:type", String)
36
- ], CreateMachineRequestPayload.prototype, "region", void 0);
37
- class CreateMachineRequestEvent extends infra_1.LudeoEvent {
36
+ ], CreateLudeocastMachineRequestPayload.prototype, "region", void 0);
37
+ class CreateLudeocastMachineRequest extends infra_1.LudeoEvent {
38
38
  constructor(payload, context) {
39
- super(CreateMachineRequestEvent.EVENT_NAME);
39
+ super(CreateLudeocastMachineRequest.EVENT_NAME);
40
40
  this.payload = payload;
41
41
  this.context = context;
42
42
  }
43
43
  }
44
- exports.CreateMachineRequestEvent = CreateMachineRequestEvent;
45
- CreateMachineRequestEvent.EVENT_NAME = 'site-controller.create-machine-request';
44
+ exports.CreateLudeocastMachineRequest = CreateLudeocastMachineRequest;
45
+ CreateLudeocastMachineRequest.EVENT_NAME = 'site-controller.create-ludeocast-machine-request';
46
46
  __decorate([
47
- (0, decorators_1.ValidateNestedType)(() => CreateMachineRequestPayload),
48
- __metadata("design:type", CreateMachineRequestPayload)
49
- ], CreateMachineRequestEvent.prototype, "payload", void 0);
47
+ (0, decorators_1.ValidateNestedType)(() => CreateLudeocastMachineRequestPayload),
48
+ __metadata("design:type", CreateLudeocastMachineRequestPayload)
49
+ ], CreateLudeocastMachineRequest.prototype, "payload", void 0);
50
50
  __decorate([
51
51
  (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
52
52
  __metadata("design:type", contexts_1.SiteControllerContext)
53
- ], CreateMachineRequestEvent.prototype, "context", void 0);
54
- //# sourceMappingURL=create-machine-request.event.js.map
53
+ ], CreateLudeocastMachineRequest.prototype, "context", void 0);
54
+ //# sourceMappingURL=create-ludeocast-machine-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA2D;AAC3D,iEAA0D;AAC1D,6CAAuD;AAEvD,MAAa,oCAAoC;CAYhD;AAZD,oFAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,6BAAW,CAAC;;kEACF;AAGlB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGjB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA8B;QACvF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;8DAAC"}
@@ -0,0 +1,4 @@
1
+ export * from "./create-ludeocast-game-request";
2
+ export * from "./create-ludeocast-machine-request";
3
+ export * from "./terminate-ludeocast-game-request";
4
+ export * from "./terminate-ludeocast-machine-request";
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./create-ludeocast-game-request"), exports);
18
+ __exportStar(require("./create-ludeocast-machine-request"), exports);
19
+ __exportStar(require("./terminate-ludeocast-game-request"), exports);
20
+ __exportStar(require("./terminate-ludeocast-machine-request"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAChD,qEAAmD;AACnD,qEAAmD;AACnD,wEAAsD"}
@@ -0,0 +1,14 @@
1
+ import { LudeoEvent } from '../../../infra';
2
+ import { SiteControllerContext } from '../../contexts';
3
+ export declare class TerminateLudeocastGameRequestPayload {
4
+ machineResourceId: string;
5
+ gameResourceId: string;
6
+ site: string;
7
+ region: string;
8
+ }
9
+ export declare class TerminateLudeocastGameRequest extends LudeoEvent {
10
+ static readonly EVENT_NAME = "site-controller.terminate-ludeocast-game-request";
11
+ constructor(payload: TerminateLudeocastGameRequestPayload, context: SiteControllerContext);
12
+ payload: TerminateLudeocastGameRequestPayload;
13
+ context: SiteControllerContext;
14
+ }
@@ -9,45 +9,45 @@ 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.TerminateGameRequestEvent = exports.TerminateGameRequestPayload = void 0;
12
+ exports.TerminateLudeocastGameRequest = exports.TerminateLudeocastGameRequestPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const contexts_1 = require("../../contexts");
17
- class TerminateGameRequestPayload {
17
+ class TerminateLudeocastGameRequestPayload {
18
18
  }
19
- exports.TerminateGameRequestPayload = TerminateGameRequestPayload;
19
+ exports.TerminateLudeocastGameRequestPayload = TerminateLudeocastGameRequestPayload;
20
20
  __decorate([
21
21
  (0, class_validator_1.IsUUID)(),
22
22
  __metadata("design:type", String)
23
- ], TerminateGameRequestPayload.prototype, "machineResourceId", void 0);
23
+ ], TerminateLudeocastGameRequestPayload.prototype, "machineResourceId", void 0);
24
24
  __decorate([
25
25
  (0, class_validator_1.IsUUID)(),
26
26
  __metadata("design:type", String)
27
- ], TerminateGameRequestPayload.prototype, "gameResourceId", void 0);
27
+ ], TerminateLudeocastGameRequestPayload.prototype, "gameResourceId", void 0);
28
28
  __decorate([
29
29
  (0, class_validator_1.IsString)(),
30
30
  __metadata("design:type", String)
31
- ], TerminateGameRequestPayload.prototype, "site", void 0);
31
+ ], TerminateLudeocastGameRequestPayload.prototype, "site", void 0);
32
32
  __decorate([
33
33
  (0, class_validator_1.IsString)(),
34
34
  __metadata("design:type", String)
35
- ], TerminateGameRequestPayload.prototype, "region", void 0);
36
- class TerminateGameRequestEvent extends infra_1.LudeoEvent {
35
+ ], TerminateLudeocastGameRequestPayload.prototype, "region", void 0);
36
+ class TerminateLudeocastGameRequest extends infra_1.LudeoEvent {
37
37
  constructor(payload, context) {
38
- super(TerminateGameRequestEvent.EVENT_NAME);
38
+ super(TerminateLudeocastGameRequest.EVENT_NAME);
39
39
  this.payload = payload;
40
40
  this.context = context;
41
41
  }
42
42
  }
43
- exports.TerminateGameRequestEvent = TerminateGameRequestEvent;
44
- TerminateGameRequestEvent.EVENT_NAME = 'site-controller.terminate-game-request';
43
+ exports.TerminateLudeocastGameRequest = TerminateLudeocastGameRequest;
44
+ TerminateLudeocastGameRequest.EVENT_NAME = 'site-controller.terminate-ludeocast-game-request';
45
45
  __decorate([
46
- (0, decorators_1.ValidateNestedType)(() => TerminateGameRequestPayload),
47
- __metadata("design:type", TerminateGameRequestPayload)
48
- ], TerminateGameRequestEvent.prototype, "payload", void 0);
46
+ (0, decorators_1.ValidateNestedType)(() => TerminateLudeocastGameRequestPayload),
47
+ __metadata("design:type", TerminateLudeocastGameRequestPayload)
48
+ ], TerminateLudeocastGameRequest.prototype, "payload", void 0);
49
49
  __decorate([
50
50
  (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
51
51
  __metadata("design:type", contexts_1.SiteControllerContext)
52
- ], TerminateGameRequestEvent.prototype, "context", void 0);
53
- //# sourceMappingURL=terminate-game-request.event.js.map
52
+ ], TerminateLudeocastGameRequest.prototype, "context", void 0);
53
+ //# sourceMappingURL=terminate-ludeocast-game-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAuD;AAEvD,MAAa,oCAAoC;CAYhD;AAZD,oFAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;4EACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGjB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA8B;QACvF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;8DAAC"}
@@ -0,0 +1,13 @@
1
+ import { LudeoEvent } from '../../../infra';
2
+ import { SiteControllerContext } from '../../contexts';
3
+ export declare class TerminateLudeocastMachineRequestPayload {
4
+ machineResourceId: string;
5
+ site: string;
6
+ region: string;
7
+ }
8
+ export declare class TerminateLudeocastMachineRequest extends LudeoEvent {
9
+ static readonly EVENT_NAME = "site-controller.terminate-ludeocast-machine-request";
10
+ constructor(payload: TerminateLudeocastMachineRequestPayload, context: SiteControllerContext);
11
+ payload: TerminateLudeocastMachineRequestPayload;
12
+ context: SiteControllerContext;
13
+ }
@@ -9,41 +9,41 @@ 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.TerminateMachineRequestEvent = exports.TerminateMachineRequestPayload = void 0;
12
+ exports.TerminateLudeocastMachineRequest = exports.TerminateLudeocastMachineRequestPayload = void 0;
13
13
  const infra_1 = require("../../../infra");
14
14
  const decorators_1 = require("../../../decorators");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const contexts_1 = require("../../contexts");
17
- class TerminateMachineRequestPayload {
17
+ class TerminateLudeocastMachineRequestPayload {
18
18
  }
19
- exports.TerminateMachineRequestPayload = TerminateMachineRequestPayload;
19
+ exports.TerminateLudeocastMachineRequestPayload = TerminateLudeocastMachineRequestPayload;
20
20
  __decorate([
21
21
  (0, class_validator_1.IsUUID)(),
22
22
  __metadata("design:type", String)
23
- ], TerminateMachineRequestPayload.prototype, "machineResourceId", void 0);
23
+ ], TerminateLudeocastMachineRequestPayload.prototype, "machineResourceId", void 0);
24
24
  __decorate([
25
25
  (0, class_validator_1.IsString)(),
26
26
  __metadata("design:type", String)
27
- ], TerminateMachineRequestPayload.prototype, "site", void 0);
27
+ ], TerminateLudeocastMachineRequestPayload.prototype, "site", void 0);
28
28
  __decorate([
29
29
  (0, class_validator_1.IsString)(),
30
30
  __metadata("design:type", String)
31
- ], TerminateMachineRequestPayload.prototype, "region", void 0);
32
- class TerminateMachineRequestEvent extends infra_1.LudeoEvent {
31
+ ], TerminateLudeocastMachineRequestPayload.prototype, "region", void 0);
32
+ class TerminateLudeocastMachineRequest extends infra_1.LudeoEvent {
33
33
  constructor(payload, context) {
34
- super(TerminateMachineRequestEvent.EVENT_NAME);
34
+ super(TerminateLudeocastMachineRequest.EVENT_NAME);
35
35
  this.payload = payload;
36
36
  this.context = context;
37
37
  }
38
38
  }
39
- exports.TerminateMachineRequestEvent = TerminateMachineRequestEvent;
40
- TerminateMachineRequestEvent.EVENT_NAME = 'site-controller.terminate-machine-request';
39
+ exports.TerminateLudeocastMachineRequest = TerminateLudeocastMachineRequest;
40
+ TerminateLudeocastMachineRequest.EVENT_NAME = 'site-controller.terminate-ludeocast-machine-request';
41
41
  __decorate([
42
- (0, decorators_1.ValidateNestedType)(() => TerminateMachineRequestPayload),
43
- __metadata("design:type", TerminateMachineRequestPayload)
44
- ], TerminateMachineRequestEvent.prototype, "payload", void 0);
42
+ (0, decorators_1.ValidateNestedType)(() => TerminateLudeocastMachineRequestPayload),
43
+ __metadata("design:type", TerminateLudeocastMachineRequestPayload)
44
+ ], TerminateLudeocastMachineRequest.prototype, "payload", void 0);
45
45
  __decorate([
46
46
  (0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
47
47
  __metadata("design:type", contexts_1.SiteControllerContext)
48
- ], TerminateMachineRequestEvent.prototype, "context", void 0);
49
- //# sourceMappingURL=terminate-machine-request.event.js.map
48
+ ], TerminateLudeocastMachineRequest.prototype, "context", void 0);
49
+ //# sourceMappingURL=terminate-ludeocast-machine-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAuD;AAEvD,MAAa,uCAAuC;CASnD;AATD,0FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAG1B;IADC,IAAA,0BAAQ,GAAE;;qEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;uEACI;AAGjB,MAAa,gCAAiC,SAAQ,kBAAU;IAG9D,YAAY,OAAgD,EAAE,OAA8B;QAC1F,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4EAcC;AAbiB,2CAAU,GAAG,qDAAqD,CAAC;AASnF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC;8BACzD,uCAAuC;iEAAC;AAGjD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;iEAAC"}
@@ -172,4 +172,6 @@ export * from "./pools-deletion-for-build-failed";
172
172
  export * from "./monitor-ludeocast-transfer-status-task";
173
173
  export * from "./ludeocast-machine-resource-error-timeout-task";
174
174
  export * as SiteController from "./site-controller";
175
+ export * as CloudResources from "./cloud-resources";
176
+ export * as CloudBuilds from "./cloud-builds";
175
177
  export * as LudeocastAgent from "./ludeocast-agent";
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.LudeocastAgent = exports.SiteController = void 0;
17
+ exports.LudeocastAgent = exports.CloudBuilds = exports.CloudResources = exports.SiteController = void 0;
18
18
  __exportStar(require("./allocate-game-request"), exports);
19
19
  __exportStar(require("./allocate-game-resource-request"), exports);
20
20
  __exportStar(require("./allocate-machine-request"), exports);
@@ -189,5 +189,7 @@ __exportStar(require("./pools-deletion-for-build-failed"), exports);
189
189
  __exportStar(require("./monitor-ludeocast-transfer-status-task"), exports);
190
190
  __exportStar(require("./ludeocast-machine-resource-error-timeout-task"), exports);
191
191
  exports.SiteController = require("./site-controller");
192
+ exports.CloudResources = require("./cloud-resources");
193
+ exports.CloudBuilds = require("./cloud-builds");
192
194
  exports.LudeocastAgent = require("./ludeocast-agent");
193
195
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,+DAA6C;AAC7C,oFAAkE;AAClE,uFAAqE;AACrE,sEAAoD;AACpD,8EAA4D;AAC5D,yEAAuD;AACvD,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,6CAA2B;AAC3B,oDAAkC;AAClC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,uEAAqD;AACrD,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,mEAAiD;AACjD,wDAAsC;AACtC,0DA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3C,qEAAmD;AACnD,mDAAiC;AACjC,oEAAkD;AAClD,kEAAgD;AAChD,4DAA0C;AAC1C,8EAA4D;AAC5D,wDAAsC;AACtC,iEAA+C;AAC/C,8EAA4D;AAC5D,iEAA+C;AAC/C,0EAAwD;AACxD,wEAAsD;AACtD,yDAAuC;AACvC,2DAAyC;AACzC,wDAAsC;AACtC,mDAAiC;AACjC,4EAA0D;AAC1D,+EAA6D;AAC7D,uDAAqC;AACrC,4DAA0C;AAC1C,iDAA+B;AAC/B,kDAAgC;AAChC,4DAA0C;AAC1C,sEAAoD;AACpD,oEAAkD;AAClD,+DAA6C;AAC7C,gEAA8C;AAC9C,iEAA+C;AAC/C,2DAAyC;AACzC,mEAAiD;AACjD,iDAA+B;AAC/B,qDAAmC;AACnC,4DAA0C;AAC1C,8DAA4C;AAC5C,kDAAgC;AAChC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,oEAAkD;AAClD,2EAAyD;AACzD,kFAAgE;AAGhE,sDAAoD;AACpD,sDAAoD;AACpD,gDAA8C;AAC9C,sDAAoD"}
@@ -11,4 +11,4 @@ export declare class ResourceUpdate extends BaseCommand<ResourceUpdatePayload> {
11
11
  constructor(machineResourceId: string, payload: ResourceUpdatePayload);
12
12
  getTopic(): string;
13
13
  }
14
- export declare const RESOURCE_UPDATE_SUBSCRIBE_PATTERN = "agent/resource-update/+";
14
+ export declare const RESOURCE_UPDATE_SUBSCRIBE_PATTERN = "$share/site-controller-group/agent/resource-update/+";
@@ -51,5 +51,5 @@ __decorate([
51
51
  (0, validate_nested_type_decorator_1.ValidateNestedType)(() => ResourceUpdatePayload),
52
52
  __metadata("design:type", ResourceUpdatePayload)
53
53
  ], ResourceUpdate.prototype, "payload", void 0);
54
- exports.RESOURCE_UPDATE_SUBSCRIBE_PATTERN = `${constants_1.AGENT_STRING}/${RESOURCE_UPDATE}/${constants_1.WILDCARD_MQTT_STRING}`;
54
+ exports.RESOURCE_UPDATE_SUBSCRIBE_PATTERN = `$share/site-controller-group/${constants_1.AGENT_STRING}/${RESOURCE_UPDATE}/${constants_1.WILDCARD_MQTT_STRING}`;
55
55
  //# sourceMappingURL=resource-update.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-update.js","sourceRoot":"","sources":["../../../../src/v4/events/ludeocast-agent/resource-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,uCAA+D;AAC/D,8DAAwE;AACxE,uGAAwF;AACxF,iDAAuE;AAGvE,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAa,qBAAsB,SAAQ,yBAAkB;CAc5D;AAdD,sDAcC;AAXC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACe;AAGxB;IADC,IAAA,wBAAM,EAAC,4BAAmB,CAAC;;qDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACK;AAGhB;IADC,IAAA,4BAAU,GAAE;;mDACc;AAG7B,MAAa,cAAe,SAAQ,kBAAkC;IAKpE,YAAY,iBAAyB,EAAE,OAA8B;QACnE,KAAK,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,QAAQ;QACN,OAAM,GAAG,wBAAY,IAAI,eAAe,IAAI,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAA;IAC9E,CAAC;CACF;AAbD,wCAaC;AAVC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC;AAYpB,QAAA,iCAAiC,GAAG,GAAG,wBAAY,IAAI,eAAe,IAAI,gCAAoB,EAAE,CAAC"}
1
+ {"version":3,"file":"resource-update.js","sourceRoot":"","sources":["../../../../src/v4/events/ludeocast-agent/resource-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,uCAA+D;AAC/D,8DAAwE;AACxE,uGAAwF;AACxF,iDAAuE;AAGvE,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAa,qBAAsB,SAAQ,yBAAkB;CAc5D;AAdD,sDAcC;AAXC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACe;AAGxB;IADC,IAAA,wBAAM,EAAC,4BAAmB,CAAC;;qDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACK;AAGhB;IADC,IAAA,4BAAU,GAAE;;mDACc;AAG7B,MAAa,cAAe,SAAQ,kBAAkC;IAKpE,YAAY,iBAAyB,EAAE,OAA8B;QACnE,KAAK,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,QAAQ;QACN,OAAM,GAAG,wBAAY,IAAI,eAAe,IAAI,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAA;IAC9E,CAAC;CACF;AAbD,wCAaC;AAVC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC;AAYpB,QAAA,iCAAiC,GAAG,gCAAgC,wBAAY,IAAI,eAAe,IAAI,gCAAoB,EAAE,CAAC"}
@@ -6,7 +6,7 @@ export declare class GameCreationEndedPayload {
6
6
  status: SiteOperationStatus;
7
7
  reason?: string;
8
8
  }
9
- export declare class GameCreationEndedEvent extends LudeoEvent {
9
+ export declare class GameCreationEnded extends LudeoEvent {
10
10
  static readonly EVENT_NAME = "site-controller.game-creation-ended";
11
11
  constructor(payload: GameCreationEndedPayload, context: SiteControllerContext);
12
12
  payload: GameCreationEndedPayload;