@yuntijs/arcadia-bff-sdk 1.2.28 → 1.2.29
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 +76 -19
- package/dist/cjs/sdk.js +39 -4
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +76 -19
- package/dist/esm/sdk.js +33 -22
- 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']>>>;
|
|
@@ -538,7 +538,7 @@ export type CreatePluginInput = {
|
|
|
538
538
|
* 目前只有BasicAuth和Bearer Token支持。
|
|
539
539
|
* auth的格式Basic xxxx, Bearer xxxx。
|
|
540
540
|
*/
|
|
541
|
-
|
|
541
|
+
auth?: InputMaybe<PluginAuthInput>;
|
|
542
542
|
/** 插件所属的分类 */
|
|
543
543
|
category: Scalars['String']['input'];
|
|
544
544
|
/** 描述信息 */
|
|
@@ -1874,12 +1874,8 @@ export type Plugin = {
|
|
|
1874
1874
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
1875
1875
|
/** 用户提供openapi格式的API文档 */
|
|
1876
1876
|
apiDoc: Scalars['String']['output'];
|
|
1877
|
-
/**
|
|
1878
|
-
|
|
1879
|
-
* 目前只有BasicAuth和Bearer Token支持。
|
|
1880
|
-
* auth的格式Basic xxxx, Bearer xxxx。
|
|
1881
|
-
*/
|
|
1882
|
-
authSecret?: Maybe<Scalars['String']['output']>;
|
|
1877
|
+
/** 如果需要认证,这个字段必须要填写。目前只有BasicAuth和Bearer Token支持。 */
|
|
1878
|
+
auth?: Maybe<PluginAuth>;
|
|
1883
1879
|
/** 插件所属的分类 */
|
|
1884
1880
|
category: Scalars['String']['output'];
|
|
1885
1881
|
/** 创建时间 */
|
|
@@ -1920,6 +1916,29 @@ export type Plugin = {
|
|
|
1920
1916
|
/** 更新时间 */
|
|
1921
1917
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
1922
1918
|
};
|
|
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
|
+
};
|
|
1923
1942
|
export type PluginMutation = {
|
|
1924
1943
|
__typename?: 'PluginMutation';
|
|
1925
1944
|
createPlugin: Plugin;
|
|
@@ -1938,6 +1957,7 @@ export type PluginMutationUpdatePluginArgs = {
|
|
|
1938
1957
|
export type PluginQuery = {
|
|
1939
1958
|
__typename?: 'PluginQuery';
|
|
1940
1959
|
getPlugin: Plugin;
|
|
1960
|
+
listPluginCategory: Array<Maybe<PluginCategory>>;
|
|
1941
1961
|
listPlugins: PaginatedResult;
|
|
1942
1962
|
};
|
|
1943
1963
|
export type PluginQueryGetPluginArgs = {
|
|
@@ -2588,12 +2608,8 @@ export type UpdatePluginInput = {
|
|
|
2588
2608
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2589
2609
|
/** 用户提供openapi格式的API文档 */
|
|
2590
2610
|
apiDoc?: InputMaybe<Scalars['String']['input']>;
|
|
2591
|
-
/**
|
|
2592
|
-
|
|
2593
|
-
* 目前只有BasicAuth和Bearer Token支持。
|
|
2594
|
-
* auth的格式Basic xxxx, Bearer xxxx。
|
|
2595
|
-
*/
|
|
2596
|
-
authSecret?: InputMaybe<Scalars['String']['input']>;
|
|
2611
|
+
/** 如果需要认证,这个字段必须要填写.目前只有BasicAuth和Bearer Token支持。 */
|
|
2612
|
+
auth?: InputMaybe<PluginAuthInput>;
|
|
2597
2613
|
/** 插件所属的分类 */
|
|
2598
2614
|
category?: InputMaybe<Scalars['String']['input']>;
|
|
2599
2615
|
/** 描述信息 */
|
|
@@ -5181,8 +5197,13 @@ export type ListPluginsQuery = {
|
|
|
5181
5197
|
updateTimestamp?: any | null;
|
|
5182
5198
|
category: string;
|
|
5183
5199
|
apiDoc: string;
|
|
5184
|
-
authSecret?: string | null;
|
|
5185
5200
|
enabled: boolean;
|
|
5201
|
+
auth?: {
|
|
5202
|
+
__typename?: 'PluginAuth';
|
|
5203
|
+
in: string;
|
|
5204
|
+
name: string;
|
|
5205
|
+
token: string;
|
|
5206
|
+
} | null;
|
|
5186
5207
|
} | {
|
|
5187
5208
|
__typename: 'RAG';
|
|
5188
5209
|
} | {
|
|
@@ -5195,6 +5216,21 @@ export type ListPluginsQuery = {
|
|
|
5195
5216
|
};
|
|
5196
5217
|
} | null;
|
|
5197
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
|
+
};
|
|
5198
5234
|
export type GetPluginQueryVariables = Exact<{
|
|
5199
5235
|
name: Scalars['String']['input'];
|
|
5200
5236
|
namespace: Scalars['String']['input'];
|
|
@@ -5221,8 +5257,13 @@ export type GetPluginQuery = {
|
|
|
5221
5257
|
updateTimestamp?: any | null;
|
|
5222
5258
|
category: string;
|
|
5223
5259
|
apiDoc: string;
|
|
5224
|
-
authSecret?: string | null;
|
|
5225
5260
|
enabled: boolean;
|
|
5261
|
+
auth?: {
|
|
5262
|
+
__typename?: 'PluginAuth';
|
|
5263
|
+
in: string;
|
|
5264
|
+
name: string;
|
|
5265
|
+
token: string;
|
|
5266
|
+
} | null;
|
|
5226
5267
|
};
|
|
5227
5268
|
} | null;
|
|
5228
5269
|
};
|
|
@@ -5251,8 +5292,13 @@ export type CreatePluginMutation = {
|
|
|
5251
5292
|
updateTimestamp?: any | null;
|
|
5252
5293
|
category: string;
|
|
5253
5294
|
apiDoc: string;
|
|
5254
|
-
authSecret?: string | null;
|
|
5255
5295
|
enabled: boolean;
|
|
5296
|
+
auth?: {
|
|
5297
|
+
__typename?: 'PluginAuth';
|
|
5298
|
+
in: string;
|
|
5299
|
+
name: string;
|
|
5300
|
+
token: string;
|
|
5301
|
+
} | null;
|
|
5256
5302
|
};
|
|
5257
5303
|
} | null;
|
|
5258
5304
|
};
|
|
@@ -5281,8 +5327,13 @@ export type UpdatePluginMutation = {
|
|
|
5281
5327
|
updateTimestamp?: any | null;
|
|
5282
5328
|
category: string;
|
|
5283
5329
|
apiDoc: string;
|
|
5284
|
-
authSecret?: string | null;
|
|
5285
5330
|
enabled: boolean;
|
|
5331
|
+
auth?: {
|
|
5332
|
+
__typename?: 'PluginAuth';
|
|
5333
|
+
in: string;
|
|
5334
|
+
name: string;
|
|
5335
|
+
token: string;
|
|
5336
|
+
} | null;
|
|
5286
5337
|
};
|
|
5287
5338
|
} | null;
|
|
5288
5339
|
};
|
|
@@ -6290,6 +6341,7 @@ export declare const ListModelServicesDocument: import("../node_modules/.pnpm/gr
|
|
|
6290
6341
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6291
6342
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6292
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;
|
|
6293
6345
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6294
6346
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6295
6347
|
export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6375,6 +6427,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6375
6427
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
6376
6428
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
6377
6429
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
6430
|
+
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
6378
6431
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
6379
6432
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
6380
6433
|
updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
|
|
@@ -6429,6 +6482,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6429
6482
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
6430
6483
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
6431
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>;
|
|
6432
6486
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
6433
6487
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
6434
6488
|
useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
|
|
@@ -6646,6 +6700,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6646
6700
|
listPlugins(variables: Exact<{
|
|
6647
6701
|
input: ListPluginInput;
|
|
6648
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>;
|
|
6649
6706
|
getPlugin(variables: Exact<{
|
|
6650
6707
|
name: string;
|
|
6651
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,
|
|
@@ -1606,7 +1607,11 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
1606
1607
|
updateTimestamp
|
|
1607
1608
|
category
|
|
1608
1609
|
apiDoc
|
|
1609
|
-
|
|
1610
|
+
auth {
|
|
1611
|
+
in
|
|
1612
|
+
name
|
|
1613
|
+
token
|
|
1614
|
+
}
|
|
1610
1615
|
enabled
|
|
1611
1616
|
}
|
|
1612
1617
|
}
|
|
@@ -1614,6 +1619,17 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
1614
1619
|
}
|
|
1615
1620
|
}
|
|
1616
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
|
+
`;
|
|
1617
1633
|
var GetPluginDocument = import_graphql_tag.default`
|
|
1618
1634
|
query getPlugin($name: String!, $namespace: String!) {
|
|
1619
1635
|
Plugin {
|
|
@@ -1634,7 +1650,11 @@ var GetPluginDocument = import_graphql_tag.default`
|
|
|
1634
1650
|
updateTimestamp
|
|
1635
1651
|
category
|
|
1636
1652
|
apiDoc
|
|
1637
|
-
|
|
1653
|
+
auth {
|
|
1654
|
+
in
|
|
1655
|
+
name
|
|
1656
|
+
token
|
|
1657
|
+
}
|
|
1638
1658
|
enabled
|
|
1639
1659
|
}
|
|
1640
1660
|
}
|
|
@@ -1660,7 +1680,11 @@ var CreatePluginDocument = import_graphql_tag.default`
|
|
|
1660
1680
|
updateTimestamp
|
|
1661
1681
|
category
|
|
1662
1682
|
apiDoc
|
|
1663
|
-
|
|
1683
|
+
auth {
|
|
1684
|
+
in
|
|
1685
|
+
name
|
|
1686
|
+
token
|
|
1687
|
+
}
|
|
1664
1688
|
enabled
|
|
1665
1689
|
}
|
|
1666
1690
|
}
|
|
@@ -1686,7 +1710,11 @@ var UpdatePluginDocument = import_graphql_tag.default`
|
|
|
1686
1710
|
updateTimestamp
|
|
1687
1711
|
category
|
|
1688
1712
|
apiDoc
|
|
1689
|
-
|
|
1713
|
+
auth {
|
|
1714
|
+
in
|
|
1715
|
+
name
|
|
1716
|
+
token
|
|
1717
|
+
}
|
|
1690
1718
|
enabled
|
|
1691
1719
|
}
|
|
1692
1720
|
}
|
|
@@ -2531,6 +2559,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2531
2559
|
listPlugins(variables, requestHeaders) {
|
|
2532
2560
|
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPlugins", "query", variables);
|
|
2533
2561
|
},
|
|
2562
|
+
listPluginCategory(variables, requestHeaders) {
|
|
2563
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPluginCategory", "query", variables);
|
|
2564
|
+
},
|
|
2534
2565
|
getPlugin(variables, requestHeaders) {
|
|
2535
2566
|
return withWrapper((wrappedRequestHeaders) => client.request(GetPluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getPlugin", "query", variables);
|
|
2536
2567
|
},
|
|
@@ -2691,6 +2722,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2691
2722
|
useListPlugins(variables, config) {
|
|
2692
2723
|
return (0, import_useSWR.default)(genKey("ListPlugins", variables), () => sdk.listPlugins(variables), config);
|
|
2693
2724
|
},
|
|
2725
|
+
useListPluginCategory(variables, config) {
|
|
2726
|
+
return (0, import_useSWR.default)(genKey("ListPluginCategory", variables), () => sdk.listPluginCategory(variables), config);
|
|
2727
|
+
},
|
|
2694
2728
|
useGetPlugin(variables, config) {
|
|
2695
2729
|
return (0, import_useSWR.default)(genKey("GetPlugin", variables), () => sdk.getPlugin(variables), config);
|
|
2696
2730
|
},
|
|
@@ -2779,6 +2813,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2779
2813
|
ListModelServicesDocument,
|
|
2780
2814
|
ListModelsDocument,
|
|
2781
2815
|
ListNodesDocument,
|
|
2816
|
+
ListPluginCategoryDocument,
|
|
2782
2817
|
ListPluginsDocument,
|
|
2783
2818
|
ListRagDocument,
|
|
2784
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;
|