@ludeo/cloud-common 1.2.180-beta-yahil-2 → 1.2.180-beta-yahil-3
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.
|
@@ -19,3 +19,27 @@ export declare enum SiteOperationStatus {
|
|
|
19
19
|
Success = "success",
|
|
20
20
|
Error = "error"
|
|
21
21
|
}
|
|
22
|
+
export declare enum MachineStatusReason {
|
|
23
|
+
VMReady = "VMReady",
|
|
24
|
+
AgentReady = "AgentReady"
|
|
25
|
+
}
|
|
26
|
+
export declare enum GameStatusReason {
|
|
27
|
+
DiskAttached = "DiskAttached",
|
|
28
|
+
GameLaunched = "GameLaunched"
|
|
29
|
+
}
|
|
30
|
+
export interface MachineStatusPayload {
|
|
31
|
+
status: 'success' | 'error';
|
|
32
|
+
message?: string;
|
|
33
|
+
reason?: string;
|
|
34
|
+
instanceName?: string;
|
|
35
|
+
selfLink?: string;
|
|
36
|
+
zone?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface GameStatusPayload {
|
|
39
|
+
status: 'success' | 'error';
|
|
40
|
+
message?: string;
|
|
41
|
+
reason?: string;
|
|
42
|
+
machineResourceId?: string;
|
|
43
|
+
instanceName?: string;
|
|
44
|
+
diskName?: string;
|
|
45
|
+
}
|
|
@@ -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.SiteOperationStatus = exports.AndroidGameCreationPayload = exports.ProtonGameCreationPayload = exports.MachineMode = void 0;
|
|
12
|
+
exports.GameStatusReason = exports.MachineStatusReason = exports.SiteOperationStatus = exports.AndroidGameCreationPayload = exports.ProtonGameCreationPayload = exports.MachineMode = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
var MachineMode;
|
|
15
15
|
(function (MachineMode) {
|
|
@@ -63,4 +63,14 @@ var SiteOperationStatus;
|
|
|
63
63
|
SiteOperationStatus["Success"] = "success";
|
|
64
64
|
SiteOperationStatus["Error"] = "error";
|
|
65
65
|
})(SiteOperationStatus || (exports.SiteOperationStatus = SiteOperationStatus = {}));
|
|
66
|
+
var MachineStatusReason;
|
|
67
|
+
(function (MachineStatusReason) {
|
|
68
|
+
MachineStatusReason["VMReady"] = "VMReady";
|
|
69
|
+
MachineStatusReason["AgentReady"] = "AgentReady";
|
|
70
|
+
})(MachineStatusReason || (exports.MachineStatusReason = MachineStatusReason = {}));
|
|
71
|
+
var GameStatusReason;
|
|
72
|
+
(function (GameStatusReason) {
|
|
73
|
+
GameStatusReason["DiskAttached"] = "DiskAttached";
|
|
74
|
+
GameStatusReason["GameLaunched"] = "GameLaunched";
|
|
75
|
+
})(GameStatusReason || (exports.GameStatusReason = GameStatusReason = {}));
|
|
66
76
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/types.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyE;AAEzE,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;AACrB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAZC;IADC,IAAA,0BAAQ,GAAE;;kEACa;AAGxB;IADC,IAAA,wBAAM,GAAE;;oEACiB;AAI1B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;iEACe;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFAC6C;AAG1D,MAAa,0BAA0B;CActC;AAdD,gEAcC;AAZC;IADC,IAAA,0BAAQ,GAAE;;6DACO;AAGlB;IADC,IAAA,wBAAM,GAAE;;qEACiB;AAI1B;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AmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;AAC/B,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
package/package.json
CHANGED
|
@@ -43,4 +43,32 @@ export type GameCreationPayload = ProtonGameCreationPayload | AndroidGameCreatio
|
|
|
43
43
|
export enum SiteOperationStatus {
|
|
44
44
|
Success = 'success',
|
|
45
45
|
Error = 'error',
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export enum MachineStatusReason {
|
|
49
|
+
VMReady = 'VMReady',
|
|
50
|
+
AgentReady = 'AgentReady',
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export enum GameStatusReason {
|
|
54
|
+
DiskAttached = 'DiskAttached',
|
|
55
|
+
GameLaunched = 'GameLaunched',
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface MachineStatusPayload {
|
|
59
|
+
status: 'success' | 'error';
|
|
60
|
+
message?: string;
|
|
61
|
+
reason?: string;
|
|
62
|
+
instanceName?: string;
|
|
63
|
+
selfLink?: string;
|
|
64
|
+
zone?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface GameStatusPayload {
|
|
68
|
+
status: 'success' | 'error';
|
|
69
|
+
message?: string;
|
|
70
|
+
reason?: string;
|
|
71
|
+
machineResourceId?: string;
|
|
72
|
+
instanceName?: string;
|
|
73
|
+
diskName?: string;
|
|
46
74
|
}
|