@yuntijs/arcadia-bff-sdk 1.2.27 → 1.2.28
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/cjs/index.d.ts +0 -21
- package/dist/cjs/sdk.d.ts +19 -76
- package/dist/cjs/sdk.js +4 -39
- package/dist/cjs/taro.d.ts +0 -15
- package/dist/esm/index.d.ts +0 -21
- package/dist/esm/sdk.d.ts +19 -76
- package/dist/esm/sdk.js +22 -33
- package/dist/esm/taro.d.ts +0 -15
- 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.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ export type ApplicationMetadata = {
|
|
|
151
151
|
__typename?: 'ApplicationMetadata';
|
|
152
152
|
/** 添加一些辅助性记录信息 */
|
|
153
153
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
154
|
-
/** Background,
|
|
154
|
+
/** Background, 智能体对话背景,base64 格式图片 */
|
|
155
155
|
background?: Maybe<Scalars['String']['output']>;
|
|
156
156
|
/** category:所属分类 */
|
|
157
157
|
category?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -305,7 +305,7 @@ export type CountDataProcessItem = {
|
|
|
305
305
|
export type CreateApplicationMetadataInput = {
|
|
306
306
|
/** 添加一些辅助性记录信息 */
|
|
307
307
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
308
|
-
/** Background,
|
|
308
|
+
/** Background, 智能体对话背景,base64 格式图片 */
|
|
309
309
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
310
310
|
/** category:所属分类 */
|
|
311
311
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -538,7 +538,7 @@ export type CreatePluginInput = {
|
|
|
538
538
|
* 目前只有BasicAuth和Bearer Token支持。
|
|
539
539
|
* auth的格式Basic xxxx, Bearer xxxx。
|
|
540
540
|
*/
|
|
541
|
-
|
|
541
|
+
authSecret?: InputMaybe<Scalars['String']['input']>;
|
|
542
542
|
/** 插件所属的分类 */
|
|
543
543
|
category: Scalars['String']['input'];
|
|
544
544
|
/** 描述信息 */
|
|
@@ -1874,8 +1874,12 @@ export type Plugin = {
|
|
|
1874
1874
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
1875
1875
|
/** 用户提供openapi格式的API文档 */
|
|
1876
1876
|
apiDoc: Scalars['String']['output'];
|
|
1877
|
-
/**
|
|
1878
|
-
|
|
1877
|
+
/**
|
|
1878
|
+
* 如果不需要认证,这个字段必须要填写
|
|
1879
|
+
* 目前只有BasicAuth和Bearer Token支持。
|
|
1880
|
+
* auth的格式Basic xxxx, Bearer xxxx。
|
|
1881
|
+
*/
|
|
1882
|
+
authSecret?: Maybe<Scalars['String']['output']>;
|
|
1879
1883
|
/** 插件所属的分类 */
|
|
1880
1884
|
category: Scalars['String']['output'];
|
|
1881
1885
|
/** 创建时间 */
|
|
@@ -1916,29 +1920,6 @@ export type Plugin = {
|
|
|
1916
1920
|
/** 更新时间 */
|
|
1917
1921
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
1918
1922
|
};
|
|
1919
|
-
export type PluginAuth = {
|
|
1920
|
-
__typename?: 'PluginAuth';
|
|
1921
|
-
/** header or query. Use `header` by default */
|
|
1922
|
-
in: Scalars['String']['output'];
|
|
1923
|
-
/** auth's parameter name. Use Authorization by default */
|
|
1924
|
-
name: Scalars['String']['output'];
|
|
1925
|
-
/** auth's token */
|
|
1926
|
-
token: Scalars['String']['output'];
|
|
1927
|
-
};
|
|
1928
|
-
export type PluginAuthInput = {
|
|
1929
|
-
/** header or query. Use `header` by default */
|
|
1930
|
-
in: Scalars['String']['input'];
|
|
1931
|
-
/** auth's parameter name. Use Authorization by default */
|
|
1932
|
-
name: Scalars['String']['input'];
|
|
1933
|
-
/** auth's token */
|
|
1934
|
-
token: Scalars['String']['input'];
|
|
1935
|
-
};
|
|
1936
|
-
export type PluginCategory = {
|
|
1937
|
-
__typename?: 'PluginCategory';
|
|
1938
|
-
id: Scalars['String']['output'];
|
|
1939
|
-
name: Scalars['String']['output'];
|
|
1940
|
-
nameEn: Scalars['String']['output'];
|
|
1941
|
-
};
|
|
1942
1923
|
export type PluginMutation = {
|
|
1943
1924
|
__typename?: 'PluginMutation';
|
|
1944
1925
|
createPlugin: Plugin;
|
|
@@ -1957,7 +1938,6 @@ export type PluginMutationUpdatePluginArgs = {
|
|
|
1957
1938
|
export type PluginQuery = {
|
|
1958
1939
|
__typename?: 'PluginQuery';
|
|
1959
1940
|
getPlugin: Plugin;
|
|
1960
|
-
listPluginCategory: Array<Maybe<PluginCategory>>;
|
|
1961
1941
|
listPlugins: PaginatedResult;
|
|
1962
1942
|
};
|
|
1963
1943
|
export type PluginQueryGetPluginArgs = {
|
|
@@ -2608,8 +2588,12 @@ export type UpdatePluginInput = {
|
|
|
2608
2588
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2609
2589
|
/** 用户提供openapi格式的API文档 */
|
|
2610
2590
|
apiDoc?: InputMaybe<Scalars['String']['input']>;
|
|
2611
|
-
/**
|
|
2612
|
-
|
|
2591
|
+
/**
|
|
2592
|
+
* 如果不需要认证,这个字段必须要填写
|
|
2593
|
+
* 目前只有BasicAuth和Bearer Token支持。
|
|
2594
|
+
* auth的格式Basic xxxx, Bearer xxxx。
|
|
2595
|
+
*/
|
|
2596
|
+
authSecret?: InputMaybe<Scalars['String']['input']>;
|
|
2613
2597
|
/** 插件所属的分类 */
|
|
2614
2598
|
category?: InputMaybe<Scalars['String']['input']>;
|
|
2615
2599
|
/** 描述信息 */
|
|
@@ -5197,13 +5181,8 @@ export type ListPluginsQuery = {
|
|
|
5197
5181
|
updateTimestamp?: any | null;
|
|
5198
5182
|
category: string;
|
|
5199
5183
|
apiDoc: string;
|
|
5184
|
+
authSecret?: string | null;
|
|
5200
5185
|
enabled: boolean;
|
|
5201
|
-
auth?: {
|
|
5202
|
-
__typename?: 'PluginAuth';
|
|
5203
|
-
in: string;
|
|
5204
|
-
name: string;
|
|
5205
|
-
token: string;
|
|
5206
|
-
} | null;
|
|
5207
5186
|
} | {
|
|
5208
5187
|
__typename: 'RAG';
|
|
5209
5188
|
} | {
|
|
@@ -5216,21 +5195,6 @@ export type ListPluginsQuery = {
|
|
|
5216
5195
|
};
|
|
5217
5196
|
} | null;
|
|
5218
5197
|
};
|
|
5219
|
-
export type ListPluginCategoryQueryVariables = Exact<{
|
|
5220
|
-
[key: string]: never;
|
|
5221
|
-
}>;
|
|
5222
|
-
export type ListPluginCategoryQuery = {
|
|
5223
|
-
__typename?: 'Query';
|
|
5224
|
-
Plugin?: {
|
|
5225
|
-
__typename?: 'PluginQuery';
|
|
5226
|
-
listPluginCategory: Array<{
|
|
5227
|
-
__typename?: 'PluginCategory';
|
|
5228
|
-
id: string;
|
|
5229
|
-
name: string;
|
|
5230
|
-
nameEn: string;
|
|
5231
|
-
} | null>;
|
|
5232
|
-
} | null;
|
|
5233
|
-
};
|
|
5234
5198
|
export type GetPluginQueryVariables = Exact<{
|
|
5235
5199
|
name: Scalars['String']['input'];
|
|
5236
5200
|
namespace: Scalars['String']['input'];
|
|
@@ -5257,13 +5221,8 @@ export type GetPluginQuery = {
|
|
|
5257
5221
|
updateTimestamp?: any | null;
|
|
5258
5222
|
category: string;
|
|
5259
5223
|
apiDoc: string;
|
|
5224
|
+
authSecret?: string | null;
|
|
5260
5225
|
enabled: boolean;
|
|
5261
|
-
auth?: {
|
|
5262
|
-
__typename?: 'PluginAuth';
|
|
5263
|
-
in: string;
|
|
5264
|
-
name: string;
|
|
5265
|
-
token: string;
|
|
5266
|
-
} | null;
|
|
5267
5226
|
};
|
|
5268
5227
|
} | null;
|
|
5269
5228
|
};
|
|
@@ -5292,13 +5251,8 @@ export type CreatePluginMutation = {
|
|
|
5292
5251
|
updateTimestamp?: any | null;
|
|
5293
5252
|
category: string;
|
|
5294
5253
|
apiDoc: string;
|
|
5254
|
+
authSecret?: string | null;
|
|
5295
5255
|
enabled: boolean;
|
|
5296
|
-
auth?: {
|
|
5297
|
-
__typename?: 'PluginAuth';
|
|
5298
|
-
in: string;
|
|
5299
|
-
name: string;
|
|
5300
|
-
token: string;
|
|
5301
|
-
} | null;
|
|
5302
5256
|
};
|
|
5303
5257
|
} | null;
|
|
5304
5258
|
};
|
|
@@ -5327,13 +5281,8 @@ export type UpdatePluginMutation = {
|
|
|
5327
5281
|
updateTimestamp?: any | null;
|
|
5328
5282
|
category: string;
|
|
5329
5283
|
apiDoc: string;
|
|
5284
|
+
authSecret?: string | null;
|
|
5330
5285
|
enabled: boolean;
|
|
5331
|
-
auth?: {
|
|
5332
|
-
__typename?: 'PluginAuth';
|
|
5333
|
-
in: string;
|
|
5334
|
-
name: string;
|
|
5335
|
-
token: string;
|
|
5336
|
-
} | null;
|
|
5337
5286
|
};
|
|
5338
5287
|
} | null;
|
|
5339
5288
|
};
|
|
@@ -6341,7 +6290,6 @@ export declare const ListModelServicesDocument: import("../node_modules/.pnpm/gr
|
|
|
6341
6290
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6342
6291
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6343
6292
|
export declare const ListPluginsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6344
|
-
export declare const ListPluginCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6345
6293
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6346
6294
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6347
6295
|
export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6427,7 +6375,6 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6427
6375
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
6428
6376
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
6429
6377
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
6430
|
-
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
6431
6378
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
6432
6379
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
6433
6380
|
updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
|
|
@@ -6482,7 +6429,6 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6482
6429
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
6483
6430
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
6484
6431
|
useListPlugins(variables: ListPluginsQueryVariables, config?: SWRConfigInterface<ListPluginsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsQuery, ClientError>;
|
|
6485
|
-
useListPluginCategory(variables?: ListPluginCategoryQueryVariables, config?: SWRConfigInterface<ListPluginCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginCategoryQuery, ClientError>;
|
|
6486
6432
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
6487
6433
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
6488
6434
|
useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
|
|
@@ -6700,9 +6646,6 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6700
6646
|
listPlugins(variables: Exact<{
|
|
6701
6647
|
input: ListPluginInput;
|
|
6702
6648
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsQuery>;
|
|
6703
|
-
listPluginCategory(variables?: Exact<{
|
|
6704
|
-
[key: string]: never;
|
|
6705
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginCategoryQuery>;
|
|
6706
6649
|
getPlugin(variables: Exact<{
|
|
6707
6650
|
name: string;
|
|
6708
6651
|
namespace: string;
|
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, _templateObject51, _templateObject52, _templateObject53, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59, _templateObject60, _templateObject61, _templateObject62, _templateObject63, _templateObject64, _templateObject65, _templateObject66, _templateObject67, _templateObject68, _templateObject69, _templateObject70, _templateObject71, _templateObject72, _templateObject73, _templateObject74, _templateObject75, _templateObject76, _templateObject77, _templateObject78, _templateObject79, _templateObject80, _templateObject81, _templateObject82, _templateObject83
|
|
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, _templateObject54, _templateObject55, _templateObject56, _templateObject57, _templateObject58, _templateObject59, _templateObject60, _templateObject61, _templateObject62, _templateObject63, _templateObject64, _templateObject65, _templateObject66, _templateObject67, _templateObject68, _templateObject69, _templateObject70, _templateObject71, _templateObject72, _templateObject73, _templateObject74, _templateObject75, _templateObject76, _templateObject77, _templateObject78, _templateObject79, _templateObject80, _templateObject81, _templateObject82, _templateObject83;
|
|
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); }
|
|
@@ -226,28 +226,27 @@ export var GetModelServiceDocument = gql(_templateObject59 || (_templateObject59
|
|
|
226
226
|
export var ListModelServicesDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listModelServices($input: ListModelServiceInput) {\n ModelService {\n listModelServices(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on ModelService {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n types\n apiType\n llmModels\n embeddingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n }\n }\n}\n "])));
|
|
227
227
|
export var CheckModelServiceDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n query checkModelService($input: CreateModelServiceInput!) {\n ModelService {\n checkModelService(input: $input) {\n name\n namespace\n apiType\n description\n }\n }\n}\n "])));
|
|
228
228
|
export var ListNodesDocument = gql(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["\n query listNodes($input: ListNodeInput) {\n Node {\n listNodes(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Node {\n name\n labels\n }\n }\n }\n }\n}\n "])));
|
|
229
|
-
export var ListPluginsDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query listPlugins($input: ListPluginInput!) {\n Plugin {\n listPlugins(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Plugin {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n
|
|
230
|
-
export var
|
|
231
|
-
export var
|
|
232
|
-
export var
|
|
233
|
-
export var
|
|
234
|
-
export var
|
|
235
|
-
export var
|
|
236
|
-
export var
|
|
237
|
-
export var
|
|
238
|
-
export var
|
|
239
|
-
export var
|
|
240
|
-
export var
|
|
241
|
-
export var
|
|
242
|
-
export var
|
|
243
|
-
export var
|
|
244
|
-
export var
|
|
245
|
-
export var
|
|
246
|
-
export var
|
|
247
|
-
export var
|
|
248
|
-
export var
|
|
249
|
-
export var
|
|
250
|
-
export var DeleteWorkersDocument = gql(_templateObject84 || (_templateObject84 = _taggedTemplateLiteral(["\n mutation deleteWorkers($input: DeleteCommonInput) {\n Worker {\n deleteWorkers(input: $input)\n }\n}\n "])));
|
|
229
|
+
export var ListPluginsDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query listPlugins($input: ListPluginInput!) {\n Plugin {\n listPlugins(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Plugin {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n }\n }\n}\n "])));
|
|
230
|
+
export var GetPluginDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query getPlugin($name: String!, $namespace: String!) {\n Plugin {\n getPlugin(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n}\n "])));
|
|
231
|
+
export var CreatePluginDocument = gql(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["\n mutation createPlugin($input: CreatePluginInput!) {\n Plugin {\n createPlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n}\n "])));
|
|
232
|
+
export var UpdatePluginDocument = gql(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["\n mutation updatePlugin($input: UpdatePluginInput!) {\n Plugin {\n updatePlugin(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemPlugin\n labels\n annotations\n creator\n displayName\n description\n type\n icon\n status\n updateTimestamp\n category\n apiDoc\n authSecret\n enabled\n }\n }\n}\n "])));
|
|
233
|
+
export var DeletePluginDocument = gql(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["\n mutation deletePlugin($input: DeleteCommonInput!) {\n Plugin {\n deletePlugin(input: $input)\n }\n}\n "])));
|
|
234
|
+
export var ListRagDocument = gql(_templateObject68 || (_templateObject68 = _taggedTemplateLiteral(["\n query listRAG($input: ListRAGInput!) {\n RAG {\n listRAG(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on RAG {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n judgeLLM {\n name\n namespace\n baseUrl\n models\n provider\n type\n status\n message\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n }\n }\n}\n "])));
|
|
235
|
+
export var GetRagDocument = gql(_templateObject69 || (_templateObject69 = _taggedTemplateLiteral(["\n query getRAG($name: String!, $namespace: String!) {\n RAG {\n getRAG(name: $name, namespace: $namespace) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n application {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n datasets {\n source {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n files {\n path\n fileType\n }\n }\n judgeLLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n metrics {\n metricKind\n parameters {\n key\n value\n }\n toleranceThreshbold\n }\n }\n }\n}\n "])));
|
|
236
|
+
export var CreateRagDocument = gql(_templateObject70 || (_templateObject70 = _taggedTemplateLiteral(["\n mutation createRAG($input: CreateRAGInput!) {\n RAG {\n createRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
237
|
+
export var UpdateRagDocument = gql(_templateObject71 || (_templateObject71 = _taggedTemplateLiteral(["\n mutation updateRAG($input: UpdateRAGInput!) {\n RAG {\n updateRAG(input: $input) {\n name\n namespace\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n volumeName\n storageClassName\n volumeMode\n resources {\n limits\n requests\n }\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n }\n }\n}\n "])));
|
|
238
|
+
export var DeleteRagDocument = gql(_templateObject72 || (_templateObject72 = _taggedTemplateLiteral(["\n mutation deleteRAG($input: DeleteRAGInput!) {\n RAG {\n deleteRAG(input: $input)\n }\n}\n "])));
|
|
239
|
+
export var ListRayClustersDocument = gql(_templateObject73 || (_templateObject73 = _taggedTemplateLiteral(["\n query listRayClusters($input: ListCommonInput!) {\n RayCluster {\n listRayClusters(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on RayCluster {\n index\n name\n headAddress\n dashboardHost\n pythonVersion\n }\n }\n }\n }\n}\n "])));
|
|
240
|
+
export var CreateVersionedDatasetDocument = gql(_templateObject74 || (_templateObject74 = _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 "])));
|
|
241
|
+
export var UpdateVersionedDatasetDocument = gql(_templateObject75 || (_templateObject75 = _taggedTemplateLiteral(["\n mutation updateVersionedDataset($input: UpdateVersionedDatasetInput!) {\n VersionedDataset {\n updateVersionedDataset(input: $input) {\n name\n displayName\n }\n }\n}\n "])));
|
|
242
|
+
export var DeleteVersionedDatasetsDocument = gql(_templateObject76 || (_templateObject76 = _taggedTemplateLiteral(["\n mutation deleteVersionedDatasets($input: DeleteVersionedDatasetInput!) {\n VersionedDataset {\n deleteVersionedDatasets(input: $input)\n }\n}\n "])));
|
|
243
|
+
export var GetVersionedDatasetDocument = gql(_templateObject77 || (_templateObject77 = _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 syncMsg\n dataProcessStatus\n dataProcessMsg\n files(input: $fileInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n versions\n latestVersion\n creationTimestamp\n }\n }\n }\n }\n }\n}\n "])));
|
|
244
|
+
export var ListVersionedDatasetsDocument = gql(_templateObject78 || (_templateObject78 = _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 syncMsg\n dataProcessStatus\n dataProcessMsg\n files(input: $fileInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n versions\n latestVersion\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
245
|
+
export var ListWorkersDocument = gql(_templateObject79 || (_templateObject79 = _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 matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
246
|
+
export var GetWorkerDocument = gql(_templateObject80 || (_templateObject80 = _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 matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n storage {\n accessModes\n resources {\n limits\n requests\n }\n storageClassName\n }\n }\n }\n}\n "])));
|
|
247
|
+
export var CreateWorkerDocument = gql(_templateObject81 || (_templateObject81 = _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 matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n storage {\n accessModes\n resources {\n limits\n requests\n }\n storageClassName\n }\n }\n }\n}\n "])));
|
|
248
|
+
export var UpdateWorkerDocument = gql(_templateObject82 || (_templateObject82 = _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 matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
249
|
+
export var DeleteWorkersDocument = gql(_templateObject83 || (_templateObject83 = _taggedTemplateLiteral(["\n mutation deleteWorkers($input: DeleteCommonInput) {\n Worker {\n deleteWorkers(input: $input)\n }\n}\n "])));
|
|
251
250
|
var defaultWrapper = function defaultWrapper(action, _operationName, _operationType, variables) {
|
|
252
251
|
return action();
|
|
253
252
|
};
|
|
@@ -569,11 +568,6 @@ export function getSdk(client) {
|
|
|
569
568
|
return client.request(ListPluginsDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
570
569
|
}, 'listPlugins', 'query', variables);
|
|
571
570
|
},
|
|
572
|
-
listPluginCategory: function listPluginCategory(variables, requestHeaders) {
|
|
573
|
-
return withWrapper(function (wrappedRequestHeaders) {
|
|
574
|
-
return client.request(ListPluginCategoryDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
575
|
-
}, 'listPluginCategory', 'query', variables);
|
|
576
|
-
},
|
|
577
571
|
getPlugin: function getPlugin(variables, requestHeaders) {
|
|
578
572
|
return withWrapper(function (wrappedRequestHeaders) {
|
|
579
573
|
return client.request(GetPluginDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
@@ -841,11 +835,6 @@ export function getSdkWithHooks(client) {
|
|
|
841
835
|
return sdk.listPlugins(variables);
|
|
842
836
|
}, config);
|
|
843
837
|
},
|
|
844
|
-
useListPluginCategory: function useListPluginCategory(variables, config) {
|
|
845
|
-
return useSWR(genKey('ListPluginCategory', variables), function () {
|
|
846
|
-
return sdk.listPluginCategory(variables);
|
|
847
|
-
}, config);
|
|
848
|
-
},
|
|
849
838
|
useGetPlugin: function useGetPlugin(variables, config) {
|
|
850
839
|
return useSWR(genKey('GetPlugin', variables), function () {
|
|
851
840
|
return sdk.getPlugin(variables);
|
package/dist/esm/taro.d.ts
CHANGED
|
@@ -241,9 +241,6 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
241
241
|
listPlugins(variables: import("./sdk").Exact<{
|
|
242
242
|
input: import("./sdk").ListPluginInput;
|
|
243
243
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
244
|
-
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
245
|
-
[key: string]: never;
|
|
246
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
247
244
|
getPlugin(variables: import("./sdk").Exact<{
|
|
248
245
|
name: string;
|
|
249
246
|
namespace: string;
|
|
@@ -426,9 +423,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
426
423
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
427
424
|
input: import("./sdk").ListPluginInput;
|
|
428
425
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError>;
|
|
429
|
-
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
430
|
-
[key: string]: never;
|
|
431
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
432
426
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
433
427
|
name: string;
|
|
434
428
|
namespace: string;
|
|
@@ -668,9 +662,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
668
662
|
listPlugins(variables: import("./sdk").Exact<{
|
|
669
663
|
input: import("./sdk").ListPluginInput;
|
|
670
664
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
671
|
-
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
672
|
-
[key: string]: never;
|
|
673
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
674
665
|
getPlugin(variables: import("./sdk").Exact<{
|
|
675
666
|
name: string;
|
|
676
667
|
namespace: string;
|
|
@@ -853,9 +844,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
853
844
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
854
845
|
input: import("./sdk").ListPluginInput;
|
|
855
846
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError>;
|
|
856
|
-
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
857
|
-
[key: string]: never;
|
|
858
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
859
847
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
860
848
|
name: string;
|
|
861
849
|
namespace: string;
|
|
@@ -1095,9 +1083,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1095
1083
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1096
1084
|
input: import("./sdk").ListPluginInput;
|
|
1097
1085
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1098
|
-
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1099
|
-
[key: string]: never;
|
|
1100
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
1101
1086
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1102
1087
|
name: string;
|
|
1103
1088
|
namespace: string;
|