@yuntijs/arcadia-bff-sdk 1.2.26 → 1.2.27
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 +21 -0
- package/dist/cjs/sdk.d.ts +30 -2
- package/dist/cjs/sdk.js +19 -0
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +30 -2
- package/dist/esm/sdk.js +32 -21
- package/dist/esm/taro.d.ts +15 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -120,6 +120,9 @@ export declare const sdk: {
|
|
|
120
120
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
121
121
|
input: import("./sdk").ListPluginInput;
|
|
122
122
|
}>, 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>;
|
|
123
|
+
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
124
|
+
[key: string]: never;
|
|
125
|
+
}> | 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>;
|
|
123
126
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
124
127
|
name: string;
|
|
125
128
|
namespace: string;
|
|
@@ -359,6 +362,9 @@ export declare const sdk: {
|
|
|
359
362
|
listPlugins(variables: import("./sdk").Exact<{
|
|
360
363
|
input: import("./sdk").ListPluginInput;
|
|
361
364
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
365
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
366
|
+
[key: string]: never;
|
|
367
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
362
368
|
getPlugin(variables: import("./sdk").Exact<{
|
|
363
369
|
name: string;
|
|
364
370
|
namespace: string;
|
|
@@ -659,6 +665,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
659
665
|
listPlugins(variables: import("./sdk").Exact<{
|
|
660
666
|
input: import("./sdk").ListPluginInput;
|
|
661
667
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
668
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
669
|
+
[key: string]: never;
|
|
670
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
662
671
|
getPlugin(variables: import("./sdk").Exact<{
|
|
663
672
|
name: string;
|
|
664
673
|
namespace: string;
|
|
@@ -841,6 +850,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
841
850
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
842
851
|
input: import("./sdk").ListPluginInput;
|
|
843
852
|
}>, 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>;
|
|
853
|
+
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
854
|
+
[key: string]: never;
|
|
855
|
+
}> | 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>;
|
|
844
856
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
845
857
|
name: string;
|
|
846
858
|
namespace: string;
|
|
@@ -1080,6 +1092,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1080
1092
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1081
1093
|
input: import("./sdk").ListPluginInput;
|
|
1082
1094
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1095
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1096
|
+
[key: string]: never;
|
|
1097
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
1083
1098
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1084
1099
|
name: string;
|
|
1085
1100
|
namespace: string;
|
|
@@ -1262,6 +1277,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1262
1277
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1263
1278
|
input: import("./sdk").ListPluginInput;
|
|
1264
1279
|
}>, 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>;
|
|
1280
|
+
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
1281
|
+
[key: string]: never;
|
|
1282
|
+
}> | 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>;
|
|
1265
1283
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
1266
1284
|
name: string;
|
|
1267
1285
|
namespace: string;
|
|
@@ -1501,6 +1519,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1501
1519
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1502
1520
|
input: import("./sdk").ListPluginInput;
|
|
1503
1521
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1522
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1523
|
+
[key: string]: never;
|
|
1524
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
1504
1525
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1505
1526
|
name: string;
|
|
1506
1527
|
namespace: string;
|
package/dist/cjs/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, 智能体对话背景图片,存放于 minio 的路径地址 */
|
|
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, 智能体对话背景图片,存放于 minio 的路径地址 */
|
|
309
309
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
310
310
|
/** category:所属分类 */
|
|
311
311
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -1933,6 +1933,12 @@ export type PluginAuthInput = {
|
|
|
1933
1933
|
/** auth's token */
|
|
1934
1934
|
token: Scalars['String']['input'];
|
|
1935
1935
|
};
|
|
1936
|
+
export type PluginCategory = {
|
|
1937
|
+
__typename?: 'PluginCategory';
|
|
1938
|
+
id: Scalars['String']['output'];
|
|
1939
|
+
name: Scalars['String']['output'];
|
|
1940
|
+
nameEn: Scalars['String']['output'];
|
|
1941
|
+
};
|
|
1936
1942
|
export type PluginMutation = {
|
|
1937
1943
|
__typename?: 'PluginMutation';
|
|
1938
1944
|
createPlugin: Plugin;
|
|
@@ -1951,6 +1957,7 @@ export type PluginMutationUpdatePluginArgs = {
|
|
|
1951
1957
|
export type PluginQuery = {
|
|
1952
1958
|
__typename?: 'PluginQuery';
|
|
1953
1959
|
getPlugin: Plugin;
|
|
1960
|
+
listPluginCategory: Array<Maybe<PluginCategory>>;
|
|
1954
1961
|
listPlugins: PaginatedResult;
|
|
1955
1962
|
};
|
|
1956
1963
|
export type PluginQueryGetPluginArgs = {
|
|
@@ -5209,6 +5216,21 @@ export type ListPluginsQuery = {
|
|
|
5209
5216
|
};
|
|
5210
5217
|
} | null;
|
|
5211
5218
|
};
|
|
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
|
+
};
|
|
5212
5234
|
export type GetPluginQueryVariables = Exact<{
|
|
5213
5235
|
name: Scalars['String']['input'];
|
|
5214
5236
|
namespace: Scalars['String']['input'];
|
|
@@ -6319,6 +6341,7 @@ export declare const ListModelServicesDocument: import("../node_modules/.pnpm/gr
|
|
|
6319
6341
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6320
6342
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6321
6343
|
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;
|
|
6322
6345
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6323
6346
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6324
6347
|
export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6404,6 +6427,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6404
6427
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
6405
6428
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
6406
6429
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
6430
|
+
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
6407
6431
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
6408
6432
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
6409
6433
|
updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
|
|
@@ -6458,6 +6482,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6458
6482
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
6459
6483
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
6460
6484
|
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>;
|
|
6461
6486
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
6462
6487
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
6463
6488
|
useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
|
|
@@ -6675,6 +6700,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6675
6700
|
listPlugins(variables: Exact<{
|
|
6676
6701
|
input: ListPluginInput;
|
|
6677
6702
|
}>, 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>;
|
|
6678
6706
|
getPlugin(variables: Exact<{
|
|
6679
6707
|
name: string;
|
|
6680
6708
|
namespace: string;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -89,6 +89,7 @@ __export(sdk_exports, {
|
|
|
89
89
|
ListModelServicesDocument: () => ListModelServicesDocument,
|
|
90
90
|
ListModelsDocument: () => ListModelsDocument,
|
|
91
91
|
ListNodesDocument: () => ListNodesDocument,
|
|
92
|
+
ListPluginCategoryDocument: () => ListPluginCategoryDocument,
|
|
92
93
|
ListPluginsDocument: () => ListPluginsDocument,
|
|
93
94
|
ListRagDocument: () => ListRagDocument,
|
|
94
95
|
ListRayClustersDocument: () => ListRayClustersDocument,
|
|
@@ -1618,6 +1619,17 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
1618
1619
|
}
|
|
1619
1620
|
}
|
|
1620
1621
|
`;
|
|
1622
|
+
var ListPluginCategoryDocument = import_graphql_tag.default`
|
|
1623
|
+
query listPluginCategory {
|
|
1624
|
+
Plugin {
|
|
1625
|
+
listPluginCategory {
|
|
1626
|
+
id
|
|
1627
|
+
name
|
|
1628
|
+
nameEn
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
`;
|
|
1621
1633
|
var GetPluginDocument = import_graphql_tag.default`
|
|
1622
1634
|
query getPlugin($name: String!, $namespace: String!) {
|
|
1623
1635
|
Plugin {
|
|
@@ -2547,6 +2559,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2547
2559
|
listPlugins(variables, requestHeaders) {
|
|
2548
2560
|
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPlugins", "query", variables);
|
|
2549
2561
|
},
|
|
2562
|
+
listPluginCategory(variables, requestHeaders) {
|
|
2563
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPluginCategory", "query", variables);
|
|
2564
|
+
},
|
|
2550
2565
|
getPlugin(variables, requestHeaders) {
|
|
2551
2566
|
return withWrapper((wrappedRequestHeaders) => client.request(GetPluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getPlugin", "query", variables);
|
|
2552
2567
|
},
|
|
@@ -2707,6 +2722,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2707
2722
|
useListPlugins(variables, config) {
|
|
2708
2723
|
return (0, import_useSWR.default)(genKey("ListPlugins", variables), () => sdk.listPlugins(variables), config);
|
|
2709
2724
|
},
|
|
2725
|
+
useListPluginCategory(variables, config) {
|
|
2726
|
+
return (0, import_useSWR.default)(genKey("ListPluginCategory", variables), () => sdk.listPluginCategory(variables), config);
|
|
2727
|
+
},
|
|
2710
2728
|
useGetPlugin(variables, config) {
|
|
2711
2729
|
return (0, import_useSWR.default)(genKey("GetPlugin", variables), () => sdk.getPlugin(variables), config);
|
|
2712
2730
|
},
|
|
@@ -2795,6 +2813,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2795
2813
|
ListModelServicesDocument,
|
|
2796
2814
|
ListModelsDocument,
|
|
2797
2815
|
ListNodesDocument,
|
|
2816
|
+
ListPluginCategoryDocument,
|
|
2798
2817
|
ListPluginsDocument,
|
|
2799
2818
|
ListRagDocument,
|
|
2800
2819
|
ListRayClustersDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -241,6 +241,9 @@ 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>;
|
|
244
247
|
getPlugin(variables: import("./sdk").Exact<{
|
|
245
248
|
name: string;
|
|
246
249
|
namespace: string;
|
|
@@ -423,6 +426,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
423
426
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
424
427
|
input: import("./sdk").ListPluginInput;
|
|
425
428
|
}>, 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>;
|
|
426
432
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
427
433
|
name: string;
|
|
428
434
|
namespace: string;
|
|
@@ -662,6 +668,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
662
668
|
listPlugins(variables: import("./sdk").Exact<{
|
|
663
669
|
input: import("./sdk").ListPluginInput;
|
|
664
670
|
}>, 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>;
|
|
665
674
|
getPlugin(variables: import("./sdk").Exact<{
|
|
666
675
|
name: string;
|
|
667
676
|
namespace: string;
|
|
@@ -844,6 +853,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
844
853
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
845
854
|
input: import("./sdk").ListPluginInput;
|
|
846
855
|
}>, 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>;
|
|
847
859
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
848
860
|
name: string;
|
|
849
861
|
namespace: string;
|
|
@@ -1083,6 +1095,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1083
1095
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1084
1096
|
input: import("./sdk").ListPluginInput;
|
|
1085
1097
|
}>, 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>;
|
|
1086
1101
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1087
1102
|
name: string;
|
|
1088
1103
|
namespace: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -120,6 +120,9 @@ export declare const sdk: {
|
|
|
120
120
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
121
121
|
input: import("./sdk").ListPluginInput;
|
|
122
122
|
}>, 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>;
|
|
123
|
+
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
124
|
+
[key: string]: never;
|
|
125
|
+
}> | 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>;
|
|
123
126
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
124
127
|
name: string;
|
|
125
128
|
namespace: string;
|
|
@@ -359,6 +362,9 @@ export declare const sdk: {
|
|
|
359
362
|
listPlugins(variables: import("./sdk").Exact<{
|
|
360
363
|
input: import("./sdk").ListPluginInput;
|
|
361
364
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
365
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
366
|
+
[key: string]: never;
|
|
367
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
362
368
|
getPlugin(variables: import("./sdk").Exact<{
|
|
363
369
|
name: string;
|
|
364
370
|
namespace: string;
|
|
@@ -659,6 +665,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
659
665
|
listPlugins(variables: import("./sdk").Exact<{
|
|
660
666
|
input: import("./sdk").ListPluginInput;
|
|
661
667
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
668
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
669
|
+
[key: string]: never;
|
|
670
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
662
671
|
getPlugin(variables: import("./sdk").Exact<{
|
|
663
672
|
name: string;
|
|
664
673
|
namespace: string;
|
|
@@ -841,6 +850,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
841
850
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
842
851
|
input: import("./sdk").ListPluginInput;
|
|
843
852
|
}>, 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>;
|
|
853
|
+
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
854
|
+
[key: string]: never;
|
|
855
|
+
}> | 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>;
|
|
844
856
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
845
857
|
name: string;
|
|
846
858
|
namespace: string;
|
|
@@ -1080,6 +1092,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1080
1092
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1081
1093
|
input: import("./sdk").ListPluginInput;
|
|
1082
1094
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1095
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1096
|
+
[key: string]: never;
|
|
1097
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
1083
1098
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1084
1099
|
name: string;
|
|
1085
1100
|
namespace: string;
|
|
@@ -1262,6 +1277,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1262
1277
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1263
1278
|
input: import("./sdk").ListPluginInput;
|
|
1264
1279
|
}>, 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>;
|
|
1280
|
+
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
1281
|
+
[key: string]: never;
|
|
1282
|
+
}> | 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>;
|
|
1265
1283
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
1266
1284
|
name: string;
|
|
1267
1285
|
namespace: string;
|
|
@@ -1501,6 +1519,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1501
1519
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1502
1520
|
input: import("./sdk").ListPluginInput;
|
|
1503
1521
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1522
|
+
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1523
|
+
[key: string]: never;
|
|
1524
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
1504
1525
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1505
1526
|
name: string;
|
|
1506
1527
|
namespace: string;
|
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, 智能体对话背景图片,存放于 minio 的路径地址 */
|
|
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, 智能体对话背景图片,存放于 minio 的路径地址 */
|
|
309
309
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
310
310
|
/** category:所属分类 */
|
|
311
311
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -1933,6 +1933,12 @@ export type PluginAuthInput = {
|
|
|
1933
1933
|
/** auth's token */
|
|
1934
1934
|
token: Scalars['String']['input'];
|
|
1935
1935
|
};
|
|
1936
|
+
export type PluginCategory = {
|
|
1937
|
+
__typename?: 'PluginCategory';
|
|
1938
|
+
id: Scalars['String']['output'];
|
|
1939
|
+
name: Scalars['String']['output'];
|
|
1940
|
+
nameEn: Scalars['String']['output'];
|
|
1941
|
+
};
|
|
1936
1942
|
export type PluginMutation = {
|
|
1937
1943
|
__typename?: 'PluginMutation';
|
|
1938
1944
|
createPlugin: Plugin;
|
|
@@ -1951,6 +1957,7 @@ export type PluginMutationUpdatePluginArgs = {
|
|
|
1951
1957
|
export type PluginQuery = {
|
|
1952
1958
|
__typename?: 'PluginQuery';
|
|
1953
1959
|
getPlugin: Plugin;
|
|
1960
|
+
listPluginCategory: Array<Maybe<PluginCategory>>;
|
|
1954
1961
|
listPlugins: PaginatedResult;
|
|
1955
1962
|
};
|
|
1956
1963
|
export type PluginQueryGetPluginArgs = {
|
|
@@ -5209,6 +5216,21 @@ export type ListPluginsQuery = {
|
|
|
5209
5216
|
};
|
|
5210
5217
|
} | null;
|
|
5211
5218
|
};
|
|
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
|
+
};
|
|
5212
5234
|
export type GetPluginQueryVariables = Exact<{
|
|
5213
5235
|
name: Scalars['String']['input'];
|
|
5214
5236
|
namespace: Scalars['String']['input'];
|
|
@@ -6319,6 +6341,7 @@ export declare const ListModelServicesDocument: import("../node_modules/.pnpm/gr
|
|
|
6319
6341
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6320
6342
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6321
6343
|
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;
|
|
6322
6345
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6323
6346
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6324
6347
|
export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6404,6 +6427,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6404
6427
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
6405
6428
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
6406
6429
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
6430
|
+
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
6407
6431
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
6408
6432
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
6409
6433
|
updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
|
|
@@ -6458,6 +6482,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6458
6482
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
6459
6483
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
6460
6484
|
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>;
|
|
6461
6486
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
6462
6487
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
6463
6488
|
useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
|
|
@@ -6675,6 +6700,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6675
6700
|
listPlugins(variables: Exact<{
|
|
6676
6701
|
input: ListPluginInput;
|
|
6677
6702
|
}>, 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>;
|
|
6678
6706
|
getPlugin(variables: Exact<{
|
|
6679
6707
|
name: string;
|
|
6680
6708
|
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, _templateObject84;
|
|
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); }
|
|
@@ -227,26 +227,27 @@ export var ListModelServicesDocument = gql(_templateObject60 || (_templateObject
|
|
|
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
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 auth {\n in\n name\n token\n }\n enabled\n }\n }\n }\n }\n}\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
|
|
230
|
+
export var ListPluginCategoryDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query listPluginCategory {\n Plugin {\n listPluginCategory {\n id\n name\n nameEn\n }\n }\n}\n "])));
|
|
231
|
+
export var GetPluginDocument = gql(_templateObject65 || (_templateObject65 = _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 auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
|
|
232
|
+
export var CreatePluginDocument = gql(_templateObject66 || (_templateObject66 = _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 auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
|
|
233
|
+
export var UpdatePluginDocument = gql(_templateObject67 || (_templateObject67 = _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 auth {\n in\n name\n token\n }\n enabled\n }\n }\n}\n "])));
|
|
234
|
+
export var DeletePluginDocument = gql(_templateObject68 || (_templateObject68 = _taggedTemplateLiteral(["\n mutation deletePlugin($input: DeleteCommonInput!) {\n Plugin {\n deletePlugin(input: $input)\n }\n}\n "])));
|
|
235
|
+
export var ListRagDocument = gql(_templateObject69 || (_templateObject69 = _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 "])));
|
|
236
|
+
export var GetRagDocument = gql(_templateObject70 || (_templateObject70 = _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 "])));
|
|
237
|
+
export var CreateRagDocument = gql(_templateObject71 || (_templateObject71 = _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 "])));
|
|
238
|
+
export var UpdateRagDocument = gql(_templateObject72 || (_templateObject72 = _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 "])));
|
|
239
|
+
export var DeleteRagDocument = gql(_templateObject73 || (_templateObject73 = _taggedTemplateLiteral(["\n mutation deleteRAG($input: DeleteRAGInput!) {\n RAG {\n deleteRAG(input: $input)\n }\n}\n "])));
|
|
240
|
+
export var ListRayClustersDocument = gql(_templateObject74 || (_templateObject74 = _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 "])));
|
|
241
|
+
export var CreateVersionedDatasetDocument = gql(_templateObject75 || (_templateObject75 = _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 "])));
|
|
242
|
+
export var UpdateVersionedDatasetDocument = gql(_templateObject76 || (_templateObject76 = _taggedTemplateLiteral(["\n mutation updateVersionedDataset($input: UpdateVersionedDatasetInput!) {\n VersionedDataset {\n updateVersionedDataset(input: $input) {\n name\n displayName\n }\n }\n}\n "])));
|
|
243
|
+
export var DeleteVersionedDatasetsDocument = gql(_templateObject77 || (_templateObject77 = _taggedTemplateLiteral(["\n mutation deleteVersionedDatasets($input: DeleteVersionedDatasetInput!) {\n VersionedDataset {\n deleteVersionedDatasets(input: $input)\n }\n}\n "])));
|
|
244
|
+
export var GetVersionedDatasetDocument = gql(_templateObject78 || (_templateObject78 = _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 "])));
|
|
245
|
+
export var ListVersionedDatasetsDocument = gql(_templateObject79 || (_templateObject79 = _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 "])));
|
|
246
|
+
export var ListWorkersDocument = gql(_templateObject80 || (_templateObject80 = _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 "])));
|
|
247
|
+
export var GetWorkerDocument = gql(_templateObject81 || (_templateObject81 = _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 "])));
|
|
248
|
+
export var CreateWorkerDocument = gql(_templateObject82 || (_templateObject82 = _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 "])));
|
|
249
|
+
export var UpdateWorkerDocument = gql(_templateObject83 || (_templateObject83 = _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 "])));
|
|
250
|
+
export var DeleteWorkersDocument = gql(_templateObject84 || (_templateObject84 = _taggedTemplateLiteral(["\n mutation deleteWorkers($input: DeleteCommonInput) {\n Worker {\n deleteWorkers(input: $input)\n }\n}\n "])));
|
|
250
251
|
var defaultWrapper = function defaultWrapper(action, _operationName, _operationType, variables) {
|
|
251
252
|
return action();
|
|
252
253
|
};
|
|
@@ -568,6 +569,11 @@ export function getSdk(client) {
|
|
|
568
569
|
return client.request(ListPluginsDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
569
570
|
}, 'listPlugins', 'query', variables);
|
|
570
571
|
},
|
|
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
|
+
},
|
|
571
577
|
getPlugin: function getPlugin(variables, requestHeaders) {
|
|
572
578
|
return withWrapper(function (wrappedRequestHeaders) {
|
|
573
579
|
return client.request(GetPluginDocument, variables, _objectSpread(_objectSpread({}, requestHeaders), wrappedRequestHeaders));
|
|
@@ -835,6 +841,11 @@ export function getSdkWithHooks(client) {
|
|
|
835
841
|
return sdk.listPlugins(variables);
|
|
836
842
|
}, config);
|
|
837
843
|
},
|
|
844
|
+
useListPluginCategory: function useListPluginCategory(variables, config) {
|
|
845
|
+
return useSWR(genKey('ListPluginCategory', variables), function () {
|
|
846
|
+
return sdk.listPluginCategory(variables);
|
|
847
|
+
}, config);
|
|
848
|
+
},
|
|
838
849
|
useGetPlugin: function useGetPlugin(variables, config) {
|
|
839
850
|
return useSWR(genKey('GetPlugin', variables), function () {
|
|
840
851
|
return sdk.getPlugin(variables);
|