@ludeo/cloud-common 1.2.261 → 1.2.262-ygbeta1
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/contexts/cloud-session-context.d.ts +1 -0
- package/dist/v4/contexts/cloud-session-context.js +5 -0
- package/dist/v4/contexts/cloud-session-context.js.map +1 -1
- package/dist/v4/types/cloud/allocation-data.d.ts +1 -1
- package/dist/v4/types/cloud/allocation-data.js +2 -2
- package/dist/v4/types/cloud/allocation-data.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/contexts/cloud-session-context.ts +4 -0
- package/src/v4/types/cloud/allocation-data.ts +2 -2
|
@@ -138,4 +138,9 @@ __decorate([
|
|
|
138
138
|
(0, class_validator_1.IsString)(),
|
|
139
139
|
__metadata("design:type", String)
|
|
140
140
|
], CloudSessionContext.prototype, "machineClass", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, class_validator_1.IsOptional)(),
|
|
143
|
+
(0, class_validator_1.IsString)(),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], CloudSessionContext.prototype, "instanceType", void 0);
|
|
141
146
|
//# sourceMappingURL=cloud-session-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-session-context.js","sourceRoot":"","sources":["../../../src/v4/contexts/cloud-session-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,oCAAyC;AACzC,uDAAkD;AAClD,oGAAqF;AAErF,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"cloud-session-context.js","sourceRoot":"","sources":["../../../src/v4/contexts/cloud-session-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,oCAAyC;AACzC,uDAAkD;AAClD,oGAAqF;AAErF,MAAa,mBAAmB;CAoG/B;AApGD,kDAoGC;AAjGC;IAFC,IAAA,4BAAU,GAAE;IACZ,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DACW;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kDACM;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAa,CAAC;8BACxB,+BAAa;0DAAC;AAI9B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACU"}
|
|
@@ -4,4 +4,4 @@ import { MockAllocationData } from "./mock";
|
|
|
4
4
|
import { LudeoCastAllocationData } from "./ludeocast";
|
|
5
5
|
import { LudeoCastV2AllocationData } from "./ludeocast-v2/allocation-data";
|
|
6
6
|
export type CloudProviderAllocationData = AwsAllocationData | MockAllocationData | LudeoCastAllocationData | LudeoCastV2AllocationData;
|
|
7
|
-
export declare const getAllocationDataType: ({ object, property, }: TypeHelpOptions) => typeof AwsAllocationData | typeof MockAllocationData | typeof
|
|
7
|
+
export declare const getAllocationDataType: ({ object, property, }: TypeHelpOptions) => typeof AwsAllocationData | typeof MockAllocationData | typeof LudeoCastV2AllocationData;
|
|
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAllocationDataType = void 0;
|
|
4
4
|
const aws_1 = require("./aws");
|
|
5
5
|
const mock_1 = require("./mock");
|
|
6
|
-
const
|
|
6
|
+
const allocation_data_1 = require("./ludeocast-v2/allocation-data");
|
|
7
7
|
const getAllocationDataType = ({ object, property, }) => {
|
|
8
8
|
const allocationData = object[property];
|
|
9
9
|
if ("streamGroupId" in allocationData) {
|
|
10
10
|
return aws_1.AwsAllocationData;
|
|
11
11
|
}
|
|
12
12
|
if ("signalingURI" in allocationData) {
|
|
13
|
-
return
|
|
13
|
+
return allocation_data_1.LudeoCastV2AllocationData;
|
|
14
14
|
}
|
|
15
15
|
return mock_1.MockAllocationData;
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allocation-data.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/allocation-data.ts"],"names":[],"mappings":";;;AAEA,+BAA0C;AAC1C,iCAA4C;
|
|
1
|
+
{"version":3,"file":"allocation-data.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/allocation-data.ts"],"names":[],"mappings":";;;AAEA,+BAA0C;AAC1C,iCAA4C;AAE5C,oEAA2E;AAQpE,MAAM,qBAAqB,GAAG,CAAC,EACpC,MAAM,EACN,QAAQ,GACQ,EAAE,EAAE;IACpB,MAAM,cAAc,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;IACxC,IAAI,eAAe,IAAI,cAAc,EAAE,CAAC;QACtC,OAAO,uBAAiB,CAAC;IAC3B,CAAC;IAED,IAAI,cAAc,IAAI,cAAc,EAAE,CAAC;QACrC,OAAO,2CAAyB,CAAC;IACnC,CAAC;IAED,OAAO,yBAAkB,CAAC;AAC5B,CAAC,CAAC;AAdW,QAAA,qBAAqB,yBAchC"}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ export type CloudProviderAllocationData =
|
|
|
10
10
|
| MockAllocationData
|
|
11
11
|
| LudeoCastAllocationData
|
|
12
12
|
| LudeoCastV2AllocationData;
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
export const getAllocationDataType = ({
|
|
15
15
|
object,
|
|
16
16
|
property,
|
|
@@ -21,7 +21,7 @@ export const getAllocationDataType = ({
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
if ("signalingURI" in allocationData) {
|
|
24
|
-
return
|
|
24
|
+
return LudeoCastV2AllocationData;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
return MockAllocationData;
|