@longvansoftware/service-js-client 1.4.8 → 1.4.9
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.
@@ -223,8 +223,8 @@ exports.GET_COMPUTINGS = (0, graphql_tag_1.gql) `
|
|
223
223
|
}
|
224
224
|
`;
|
225
225
|
exports.GET_LAB_INSTANCE = (0, graphql_tag_1.gql) `
|
226
|
-
query GetLabInstance($labId: String!, $userId: String!) {
|
227
|
-
getLabInstance(labId: $labId, userId: $userId) {
|
226
|
+
query GetLabInstance($articleId: String!, $labId: String!, $userId: String!) {
|
227
|
+
getLabInstance(articleId: $articleId, labId: $labId, userId: $userId) {
|
228
228
|
id
|
229
229
|
name
|
230
230
|
username
|
@@ -33,7 +33,7 @@ export declare class ComputingService extends Service {
|
|
33
33
|
networkUsageStartTime(computingId: string, type: string, startTime: string): Promise<any>;
|
34
34
|
diskUsageStartTime(computingId: string, type: string, startTime: string): Promise<any>;
|
35
35
|
getComputings(userId: string): Promise<any>;
|
36
|
-
getLabInstance(labId: string, userId: string): Promise<any>;
|
36
|
+
getLabInstance(articleId: string, labId: string, userId: string): Promise<any>;
|
37
37
|
createCluster(ownerId: string, name: string): Promise<any>;
|
38
38
|
addComputingInCluster(clusterId: string, computingId: string, userId: string): Promise<any>;
|
39
39
|
removeComputingInCluster(clusterId: string, computingId: string, userId: string): Promise<any>;
|
@@ -431,10 +431,11 @@ class ComputingService extends serviceSDK_1.Service {
|
|
431
431
|
}
|
432
432
|
});
|
433
433
|
}
|
434
|
-
getLabInstance(labId, userId) {
|
434
|
+
getLabInstance(articleId, labId, userId) {
|
435
435
|
return __awaiter(this, void 0, void 0, function* () {
|
436
436
|
const query = queries_1.GET_LAB_INSTANCE;
|
437
437
|
const variables = {
|
438
|
+
articleId,
|
438
439
|
labId,
|
439
440
|
userId,
|
440
441
|
};
|