@yuntijs/arcadia-bff-sdk 1.0.48 → 1.0.49
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/esm/sdk.js +29 -11
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/sdk.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50;
|
|
2
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51, _templateObject52, _templateObject53;
|
|
3
3
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4
4
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
5
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -196,16 +196,19 @@ export var GetModelDocument = gql(_templateObject37 || (_templateObject37 = _tag
|
|
|
196
196
|
export var CreateModelDocument = gql(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n mutation createModel($input: CreateModelInput!) {\n Model {\n createModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n }\n }\n}\n "])));
|
|
197
197
|
export var UpdateModelDocument = gql(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["\n mutation updateModel($input: UpdateModelInput) {\n Model {\n updateModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n }\n }\n}\n "])));
|
|
198
198
|
export var DeleteModelsDocument = gql(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["\n mutation deleteModels($input: DeleteCommonInput) {\n Model {\n deleteModels(input: $input)\n }\n}\n "])));
|
|
199
|
-
export var
|
|
200
|
-
export var
|
|
201
|
-
export var
|
|
202
|
-
export var
|
|
203
|
-
export var
|
|
204
|
-
export var
|
|
205
|
-
export var
|
|
206
|
-
export var
|
|
207
|
-
export var
|
|
208
|
-
export var
|
|
199
|
+
export var CreateModelServiceDocument = gql(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral(["\n mutation createModelService($input: CreateModelServiceInput!) {\n ModelService {\n createModelService(input: $input) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n types\n apiType\n creationTimestamp\n updateTimestamp\n }\n }\n}\n "])));
|
|
200
|
+
export var UpdateModelServiceDocument = gql(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n mutation updateModelService($input: UpdateModelServiceInput) {\n ModelService {\n updateModelService(input: $input) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n types\n apiType\n creationTimestamp\n updateTimestamp\n }\n }\n}\n "])));
|
|
201
|
+
export var DeleteModelServicesDocument = gql(_templateObject43 || (_templateObject43 = _taggedTemplateLiteral(["\n mutation deleteModelServices($input: DeleteCommonInput) {\n ModelService {\n deleteModelService(input: $input)\n }\n}\n "])));
|
|
202
|
+
export var CreateVersionedDatasetDocument = gql(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["\n mutation createVersionedDataset($input: CreateVersionedDatasetInput!) {\n VersionedDataset {\n createVersionedDataset(input: $input) {\n name\n displayName\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n }\n }\n}\n "])));
|
|
203
|
+
export var UpdateVersionedDatasetDocument = gql(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["\n mutation updateVersionedDataset($input: UpdateVersionedDatasetInput!) {\n VersionedDataset {\n updateVersionedDataset(input: $input) {\n name\n displayName\n }\n }\n}\n "])));
|
|
204
|
+
export var DeleteVersionedDatasetsDocument = gql(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["\n mutation deleteVersionedDatasets($input: DeleteVersionedDatasetInput!) {\n VersionedDataset {\n deleteVersionedDatasets(input: $input)\n }\n}\n "])));
|
|
205
|
+
export var GetVersionedDatasetDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n query getVersionedDataset($name: String!, $namespace: String!, $fileInput: FileFilter) {\n VersionedDataset {\n getVersionedDataset(name: $name, namespace: $namespace) {\n id\n name\n displayName\n description\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n files(input: $fileInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n}\n "])));
|
|
206
|
+
export var ListVersionedDatasetsDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n query listVersionedDatasets($input: ListVersionedDatasetInput!, $fileInput: FileFilter) {\n VersionedDataset {\n listVersionedDatasets(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on VersionedDataset {\n id\n name\n displayName\n description\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n files(input: $fileInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
207
|
+
export var ListWorkersDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n query listWorkers($input: ListWorkerInput!) {\n Worker {\n listWorkers(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Worker {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n status\n message\n updateTimestamp\n type\n model {\n name\n namespace\n kind\n apiGroup\n }\n api\n modelTypes\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n }\n }\n}\n "])));
|
|
208
|
+
export var GetWorkerDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n query getWorker($name: String!, $namespace: String!) {\n Worker {\n getWorker(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n type\n status\n message\n updateTimestamp\n model {\n name\n namespace\n kind\n apiGroup\n }\n api\n modelTypes\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
209
|
+
export var CreateWorkerDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n mutation createWorker($input: CreateWorkerInput!) {\n Worker {\n createWorker(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n type\n status\n message\n updateTimestamp\n model {\n name\n namespace\n kind\n apiGroup\n }\n api\n modelTypes\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n }\n }\n}\n "])));
|
|
210
|
+
export var UpdateWorkerDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n mutation updateWorker($input: UpdateWorkerInput) {\n Worker {\n updateWorker(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n type\n status\n message\n updateTimestamp\n replicas\n resources {\n cpu\n memory\n nvidiaGPU\n }\n api\n model {\n name\n namespace\n kind\n apiGroup\n }\n modelTypes\n }\n }\n}\n "])));
|
|
211
|
+
export var DeleteWorkersDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n mutation deleteWorkers($input: DeleteCommonInput) {\n Worker {\n deleteWorkers(input: $input)\n }\n}\n "])));
|
|
209
212
|
var defaultWrapper = function defaultWrapper(action, _operationName, _operationType) {
|
|
210
213
|
return action();
|
|
211
214
|
};
|
|
@@ -412,6 +415,21 @@ export function getSdk(client) {
|
|
|
412
415
|
return client.request(DeleteModelsDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
413
416
|
}, 'deleteModels', 'mutation');
|
|
414
417
|
},
|
|
418
|
+
createModelService: function createModelService(variables, requestHeaders) {
|
|
419
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
420
|
+
return client.request(CreateModelServiceDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
421
|
+
}, 'createModelService', 'mutation');
|
|
422
|
+
},
|
|
423
|
+
updateModelService: function updateModelService(variables, requestHeaders) {
|
|
424
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
425
|
+
return client.request(UpdateModelServiceDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
426
|
+
}, 'updateModelService', 'mutation');
|
|
427
|
+
},
|
|
428
|
+
deleteModelServices: function deleteModelServices(variables, requestHeaders) {
|
|
429
|
+
return withWrapper(function (wrappedRequestHeaders) {
|
|
430
|
+
return client.request(DeleteModelServicesDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
431
|
+
}, 'deleteModelServices', 'mutation');
|
|
432
|
+
},
|
|
415
433
|
createVersionedDataset: function createVersionedDataset(variables, requestHeaders) {
|
|
416
434
|
return withWrapper(function (wrappedRequestHeaders) {
|
|
417
435
|
return client.request(CreateVersionedDatasetDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|