@ludeo/cloud-common 1.2.39 → 1.2.40
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.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/ludeo-allocation-failed.d.ts +0 -2
- package/dist/v4/events/ludeo-allocation-failed.js +0 -5
- package/dist/v4/events/ludeo-allocation-failed.js.map +1 -1
- package/dist/v4/events/ludeo-resource-allocation-failed.d.ts +0 -2
- package/dist/v4/events/ludeo-resource-allocation-failed.js +0 -5
- package/dist/v4/events/ludeo-resource-allocation-failed.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/ludeo-allocation-failed.ts +0 -4
- package/src/v4/events/ludeo-resource-allocation-failed.ts +0 -3
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { CloudSessionContext } from "../contexts";
|
|
3
|
-
import { AllocationRequestData } from "../types";
|
|
4
3
|
export declare class LudeoAllocationFailedPayload {
|
|
5
|
-
requestData: AllocationRequestData;
|
|
6
4
|
errorMessage: string;
|
|
7
5
|
}
|
|
8
6
|
export declare class LudeoAllocationFailed extends LudeoEvent {
|
|
@@ -13,15 +13,10 @@ exports.LudeoAllocationFailed = exports.LudeoAllocationFailedPayload = void 0;
|
|
|
13
13
|
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
14
14
|
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
15
15
|
const contexts_1 = require("../contexts");
|
|
16
|
-
const types_1 = require("../types");
|
|
17
16
|
const class_validator_1 = require("class-validator");
|
|
18
17
|
class LudeoAllocationFailedPayload {
|
|
19
18
|
}
|
|
20
19
|
exports.LudeoAllocationFailedPayload = LudeoAllocationFailedPayload;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => types_1.AllocationRequestData),
|
|
23
|
-
__metadata("design:type", types_1.AllocationRequestData)
|
|
24
|
-
], LudeoAllocationFailedPayload.prototype, "requestData", void 0);
|
|
25
20
|
__decorate([
|
|
26
21
|
(0, class_validator_1.IsString)(),
|
|
27
22
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ludeo-allocation-failed.js","sourceRoot":"","sources":["../../../src/v4/events/ludeo-allocation-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,oGAAqF;AACrF,0CAAkD;AAClD,
|
|
1
|
+
{"version":3,"file":"ludeo-allocation-failed.js","sourceRoot":"","sources":["../../../src/v4/events/ludeo-allocation-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,oGAAqF;AACrF,0CAAkD;AAClD,qDAA2C;AAE3C,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;kEACU;AAGvB,MAAa,qBAAsB,SAAQ,wBAAU;IAGnD,YACE,OAAqC,EACrC,OAA4B;QAE5B,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,sDAiBC;AAhBiB,gCAAU,GAAG,qCAAqC,CAAC;AAYnE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;sDAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC9C,4BAA4B;sDAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { CloudSessionContext } from "../contexts";
|
|
3
|
-
import { AllocationRequestData } from "../types";
|
|
4
3
|
export declare class LudeoResourceAllocationFailedPayload {
|
|
5
4
|
ludeoResourceId: string;
|
|
6
5
|
ludeoPoolId: string;
|
|
7
6
|
errorMessage: string;
|
|
8
|
-
requestData: AllocationRequestData;
|
|
9
7
|
}
|
|
10
8
|
export declare class LudeoResourceAllocationFailedResponse extends LudeoEvent {
|
|
11
9
|
static readonly EVENT_NAME = "cloud-resources.ludeo-resource-allocation-failed";
|
|
@@ -14,7 +14,6 @@ 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
16
|
const contexts_1 = require("../contexts");
|
|
17
|
-
const types_1 = require("../types");
|
|
18
17
|
class LudeoResourceAllocationFailedPayload {
|
|
19
18
|
}
|
|
20
19
|
exports.LudeoResourceAllocationFailedPayload = LudeoResourceAllocationFailedPayload;
|
|
@@ -30,10 +29,6 @@ __decorate([
|
|
|
30
29
|
(0, class_validator_1.IsString)(),
|
|
31
30
|
__metadata("design:type", String)
|
|
32
31
|
], LudeoResourceAllocationFailedPayload.prototype, "errorMessage", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => types_1.AllocationRequestData),
|
|
35
|
-
__metadata("design:type", types_1.AllocationRequestData)
|
|
36
|
-
], LudeoResourceAllocationFailedPayload.prototype, "requestData", void 0);
|
|
37
32
|
class LudeoResourceAllocationFailedResponse extends ludeo_event_1.LudeoEvent {
|
|
38
33
|
constructor(payload, context) {
|
|
39
34
|
super(LudeoResourceAllocationFailedResponse.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ludeo-resource-allocation-failed.js","sourceRoot":"","sources":["../../../src/v4/events/ludeo-resource-allocation-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,yDAAqD;AACrD,oGAAqF;AACrF,0CAAkD;
|
|
1
|
+
{"version":3,"file":"ludeo-resource-allocation-failed.js","sourceRoot":"","sources":["../../../src/v4/events/ludeo-resource-allocation-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,yDAAqD;AACrD,oGAAqF;AACrF,0CAAkD;AAGlD,MAAa,oCAAoC;CAShD;AATD,oFASC;AAPC;IADC,IAAA,wBAAM,GAAE;;6EACe;AAGxB;IADC,IAAA,wBAAM,GAAE;;yEACW;AAGpB;IADC,IAAA,0BAAQ,GAAE;;0EACU;AAGvB,MAAa,qCAAsC,SAAQ,wBAAU;IAInE,YACE,OAA6C,EAC7C,OAA4B;QAE5B,KAAK,CAAC,qCAAqC,CAAC,UAAU,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,sFAkBC;AAjBiB,gDAAU,GACxB,kDAAkD,CAAC;AAYrD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;sEAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;sEAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
3
3
|
import { CloudSessionContext } from "../contexts";
|
|
4
|
-
import { AllocationRequestData } from "../types";
|
|
5
4
|
import { IsString } from "class-validator";
|
|
6
5
|
|
|
7
6
|
export class LudeoAllocationFailedPayload {
|
|
8
|
-
@ValidateNestedType(() => AllocationRequestData)
|
|
9
|
-
requestData: AllocationRequestData;
|
|
10
|
-
|
|
11
7
|
@IsString()
|
|
12
8
|
errorMessage: string;
|
|
13
9
|
}
|
|
@@ -13,9 +13,6 @@ export class LudeoResourceAllocationFailedPayload {
|
|
|
13
13
|
|
|
14
14
|
@IsString()
|
|
15
15
|
errorMessage: string;
|
|
16
|
-
|
|
17
|
-
@ValidateNestedType(() => AllocationRequestData)
|
|
18
|
-
requestData: AllocationRequestData;
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
export class LudeoResourceAllocationFailedResponse extends LudeoEvent {
|