@ludeo/cloud-common 1.2.288 → 1.2.290-beta-yahil-1
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/game-resource-status-changed.d.ts +1 -0
- package/dist/v4/events/game-resource-status-changed.js +5 -0
- package/dist/v4/events/game-resource-status-changed.js.map +1 -1
- package/dist/v4/types/site-controller/runtime-artifacts.dto.d.ts +1 -0
- package/dist/v4/types/site-controller/runtime-artifacts.dto.js +4 -0
- package/dist/v4/types/site-controller/runtime-artifacts.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/game-resource-status-changed.ts +4 -0
- package/src/v4/types/site-controller/runtime-artifacts.dto.ts +5 -1
|
@@ -4,6 +4,7 @@ import { CloudResourceProviderSettings, CloudResourceStatus } from "../types";
|
|
|
4
4
|
export declare class GameResourceStatusChangedEventPayload {
|
|
5
5
|
gameResourceId: string;
|
|
6
6
|
gamePoolId?: string;
|
|
7
|
+
cloudSessionId?: string;
|
|
7
8
|
providerSettings?: CloudResourceProviderSettings;
|
|
8
9
|
status: CloudResourceStatus;
|
|
9
10
|
previousStatus?: CloudResourceStatus;
|
|
@@ -27,6 +27,11 @@ __decorate([
|
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], GameResourceStatusChangedEventPayload.prototype, "gamePoolId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsUUID)(),
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], GameResourceStatusChangedEventPayload.prototype, "cloudSessionId", void 0);
|
|
30
35
|
__decorate([
|
|
31
36
|
(0, class_validator_1.IsOptional)(),
|
|
32
37
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(types_1.getResourceProviderSettingsType),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game-resource-status-changed.js","sourceRoot":"","sources":["../../../src/v4/events/game-resource-status-changed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,+EAA0E;AAC1E,oCAIkB;AAClB,oGAAqF;AAErF,MAAa,qCAAqC;
|
|
1
|
+
{"version":3,"file":"game-resource-status-changed.js","sourceRoot":"","sources":["../../../src/v4/events/game-resource-status-changed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,+EAA0E;AAC1E,oCAIkB;AAClB,oGAAqF;AAErF,MAAa,qCAAqC;CA0BjD;AA1BD,sFA0BC;AAxBC;IADC,IAAA,wBAAM,GAAE;;6EACc;AAIvB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;yEACO;AAIpB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;6EACW;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,uCAA+B,CAAC;;+EACH;AAGjD;IADC,IAAA,0BAAQ,GAAE;;qEACiB;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6EAC0B;AAIrC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACI;AAGjB,MAAa,8BAA+B,SAAQ,wBAAU;IAI5D,YACE,OAA8C,EAC9C,OAA6B;QAE7B,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,wEAkBC;AAjBiB,yCAAU,GACxB,qDAAqD,CAAC;AAYxD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6CAAoB,CAAC;8BACtC,6CAAoB;+DAAC;AAG9B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC;8BACvD,qCAAqC;+DAAC"}
|
|
@@ -40,6 +40,10 @@ __decorate([
|
|
|
40
40
|
(0, class_validator_1.IsString)(),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
42
|
], ObjectKeyUrlPair.prototype, "url", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsInt)(),
|
|
45
|
+
__metadata("design:type", Number)
|
|
46
|
+
], ObjectKeyUrlPair.prototype, "size", void 0);
|
|
43
47
|
class RuntimeArtifactPresignedUploadDto {
|
|
44
48
|
}
|
|
45
49
|
exports.RuntimeArtifactPresignedUploadDto = RuntimeArtifactPresignedUploadDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-artifacts.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/runtime-artifacts.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"runtime-artifacts.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/runtime-artifacts.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiF;AACjF,uGAAwF;AAMxF,MAAa,mCAAmC;CAa/C;AAbD,kFAaC;AAXC;IADC,IAAA,0BAAQ,GAAE;;gEACC;AAKZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACU;AAKrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACuB;AAIpC,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AARC;IADC,IAAA,0BAAQ,GAAE;;6CACC;AAGZ;IADC,IAAA,0BAAQ,GAAE;;6CACC;AAIZ;IADC,IAAA,uBAAK,GAAE;;8CACK;AAUf,MAAa,iCAAiC;CAoB7C;AApBD,8EAoBC;AAlBC;IADC,IAAA,0BAAQ,GAAE;;8DACC;AAGZ;IADC,IAAA,0BAAQ,GAAE;;8DACC;AAKZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACQ;AAKnB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sEACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACuB;AAGpC,MAAa,sCAAsC;CAOlD;AAPD,wFAOC;AAJC;IADC,IAAA,0BAAQ,GAAE;;8EACY;AAGvB;IADC,IAAA,0BAAQ,GAAE;;6EACW;AAGxB,MAAa,oCAAoC;CAIhD;AAJD,oFAIC;AADC;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;;qEACf;AAGjD,MAAa,uCAAuC;CAQnD;AARD,0FAQC;AALC;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC;;wEACf;AAI5B;IADC,IAAA,0BAAQ,GAAE;;+EACY;AAGzB,MAAa,kCAAkC;CAI9C;AAJD,gFAIC;AADC;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;;mEACf"}
|
package/package.json
CHANGED
|
@@ -16,6 +16,10 @@ export class GameResourceStatusChangedEventPayload {
|
|
|
16
16
|
@IsOptional()
|
|
17
17
|
gamePoolId?: string;
|
|
18
18
|
|
|
19
|
+
@IsUUID()
|
|
20
|
+
@IsOptional()
|
|
21
|
+
cloudSessionId?: string;
|
|
22
|
+
|
|
19
23
|
@IsOptional()
|
|
20
24
|
@ValidateNestedType(getResourceProviderSettingsType)
|
|
21
25
|
providerSettings?: CloudResourceProviderSettings;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsArray, IsObject, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsArray, IsInt, IsObject, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ValidateNestedType } from '../../../decorators/validate-nested-type.decorator';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -27,6 +27,10 @@ export class ObjectKeyUrlPair {
|
|
|
27
27
|
|
|
28
28
|
@IsString()
|
|
29
29
|
url: string;
|
|
30
|
+
|
|
31
|
+
/** Object size in bytes from the bucket listing; the agent uses it to split the file into parallel chunks. */
|
|
32
|
+
@IsInt()
|
|
33
|
+
size: number;
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
/**
|