@cloudgaming/rpc
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -72,3 +72,7 @@ /// <reference types="node" /> | ||
/** server->agent */ | ||
Relay = "relay" | ||
Relay = "relay", | ||
/** server->agent */ | ||
RequestMountVolume = "mv", | ||
/** agent->server */ | ||
UnmountVolume = "rumv" | ||
} | ||
@@ -285,2 +289,9 @@ declare type RpcMethod<T extends keyof typeof FunctionName> = (arg: FunctionPayload[typeof FunctionName[T]]) => Promise<FunctionResult[typeof FunctionName[T]]>; | ||
}; | ||
[FunctionName.RequestMountVolume]: { | ||
serial: string; | ||
mountPoint: string; | ||
}; | ||
[FunctionName.UnmountVolume]: { | ||
serial: string; | ||
}; | ||
}; | ||
@@ -315,2 +326,7 @@ export declare type FunctionResult = { | ||
data: any; | ||
turn?: { | ||
url: string; | ||
user: string; | ||
password: string; | ||
}; | ||
}; | ||
@@ -379,2 +395,4 @@ [FunctionName.SetDisplayGrade]: { | ||
[FunctionName.Relay]: void; | ||
[FunctionName.RequestMountVolume]: void; | ||
[FunctionName.UnmountVolume]: void; | ||
}; | ||
@@ -381,0 +399,0 @@ export interface IFunctionRequest<T extends FunctionName = FunctionName> { |
@@ -76,3 +76,7 @@ "use strict"; | ||
FunctionName["Relay"] = "relay"; | ||
/** server->agent */ | ||
FunctionName["RequestMountVolume"] = "mv"; | ||
/** agent->server */ | ||
FunctionName["UnmountVolume"] = "rumv"; | ||
})(FunctionName = exports.FunctionName || (exports.FunctionName = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@cloudgaming/rpc", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53067
869