@yuntijs/arcadia-bff-sdk 1.2.27 → 1.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.d.ts +0 -21
- package/dist/cjs/sdk.d.ts +19 -76
- package/dist/cjs/sdk.js +4 -39
- package/dist/cjs/taro.d.ts +0 -15
- package/dist/esm/index.d.ts +0 -21
- package/dist/esm/sdk.d.ts +19 -76
- package/dist/esm/sdk.js +22 -33
- package/dist/esm/taro.d.ts +0 -15
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -120,9 +120,6 @@ 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>;
|
|
126
123
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
127
124
|
name: string;
|
|
128
125
|
namespace: string;
|
|
@@ -362,9 +359,6 @@ export declare const sdk: {
|
|
|
362
359
|
listPlugins(variables: import("./sdk").Exact<{
|
|
363
360
|
input: import("./sdk").ListPluginInput;
|
|
364
361
|
}>, 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>;
|
|
368
362
|
getPlugin(variables: import("./sdk").Exact<{
|
|
369
363
|
name: string;
|
|
370
364
|
namespace: string;
|
|
@@ -665,9 +659,6 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
665
659
|
listPlugins(variables: import("./sdk").Exact<{
|
|
666
660
|
input: import("./sdk").ListPluginInput;
|
|
667
661
|
}>, 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>;
|
|
671
662
|
getPlugin(variables: import("./sdk").Exact<{
|
|
672
663
|
name: string;
|
|
673
664
|
namespace: string;
|
|
@@ -850,9 +841,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
850
841
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
851
842
|
input: import("./sdk").ListPluginInput;
|
|
852
843
|
}>, 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>;
|
|
856
844
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
857
845
|
name: string;
|
|
858
846
|
namespace: string;
|
|
@@ -1092,9 +1080,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1092
1080
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1093
1081
|
input: import("./sdk").ListPluginInput;
|
|
1094
1082
|
}>, 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>;
|
|
1098
1083
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1099
1084
|
name: string;
|
|
1100
1085
|
namespace: string;
|
|
@@ -1277,9 +1262,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1277
1262
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1278
1263
|
input: import("./sdk").ListPluginInput;
|
|
1279
1264
|
}>, 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>;
|
|
1283
1265
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
1284
1266
|
name: string;
|
|
1285
1267
|
namespace: string;
|
|
@@ -1519,9 +1501,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1519
1501
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1520
1502
|
input: import("./sdk").ListPluginInput;
|
|
1521
1503
|
}>, 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>;
|
|
1525
1504
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1526
1505
|
name: string;
|
|
1527
1506
|
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, 智能体对话背景,base64 格式图片 */
|
|
155
155
|
background?: Maybe<Scalars['String']['output']>;
|
|
156
156
|
/** category:所属分类 */
|
|
157
157
|
category?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
@@ -305,7 +305,7 @@ export type CountDataProcessItem = {
|
|
|
305
305
|
export type CreateApplicationMetadataInput = {
|
|
306
306
|
/** 添加一些辅助性记录信息 */
|
|
307
307
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
308
|
-
/** Background,
|
|
308
|
+
/** Background, 智能体对话背景,base64 格式图片 */
|
|
309
309
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
310
310
|
/** category:所属分类 */
|
|
311
311
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -538,7 +538,7 @@ export type CreatePluginInput = {
|
|
|
538
538
|
* 目前只有BasicAuth和Bearer Token支持。
|
|
539
539
|
* auth的格式Basic xxxx, Bearer xxxx。
|
|
540
540
|
*/
|
|
541
|
-
|
|
541
|
+
authSecret?: InputMaybe<Scalars['String']['input']>;
|
|
542
542
|
/** 插件所属的分类 */
|
|
543
543
|
category: Scalars['String']['input'];
|
|
544
544
|
/** 描述信息 */
|
|
@@ -1874,8 +1874,12 @@ export type Plugin = {
|
|
|
1874
1874
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
1875
1875
|
/** 用户提供openapi格式的API文档 */
|
|
1876
1876
|
apiDoc: Scalars['String']['output'];
|
|
1877
|
-
/**
|
|
1878
|
-
|
|
1877
|
+
/**
|
|
1878
|
+
* 如果不需要认证,这个字段必须要填写
|
|
1879
|
+
* 目前只有BasicAuth和Bearer Token支持。
|
|
1880
|
+
* auth的格式Basic xxxx, Bearer xxxx。
|
|
1881
|
+
*/
|
|
1882
|
+
authSecret?: Maybe<Scalars['String']['output']>;
|
|
1879
1883
|
/** 插件所属的分类 */
|
|
1880
1884
|
category: Scalars['String']['output'];
|
|
1881
1885
|
/** 创建时间 */
|
|
@@ -1916,29 +1920,6 @@ export type Plugin = {
|
|
|
1916
1920
|
/** 更新时间 */
|
|
1917
1921
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
1918
1922
|
};
|
|
1919
|
-
export type PluginAuth = {
|
|
1920
|
-
__typename?: 'PluginAuth';
|
|
1921
|
-
/** header or query. Use `header` by default */
|
|
1922
|
-
in: Scalars['String']['output'];
|
|
1923
|
-
/** auth's parameter name. Use Authorization by default */
|
|
1924
|
-
name: Scalars['String']['output'];
|
|
1925
|
-
/** auth's token */
|
|
1926
|
-
token: Scalars['String']['output'];
|
|
1927
|
-
};
|
|
1928
|
-
export type PluginAuthInput = {
|
|
1929
|
-
/** header or query. Use `header` by default */
|
|
1930
|
-
in: Scalars['String']['input'];
|
|
1931
|
-
/** auth's parameter name. Use Authorization by default */
|
|
1932
|
-
name: Scalars['String']['input'];
|
|
1933
|
-
/** auth's token */
|
|
1934
|
-
token: Scalars['String']['input'];
|
|
1935
|
-
};
|
|
1936
|
-
export type PluginCategory = {
|
|
1937
|
-
__typename?: 'PluginCategory';
|
|
1938
|
-
id: Scalars['String']['output'];
|
|
1939
|
-
name: Scalars['String']['output'];
|
|
1940
|
-
nameEn: Scalars['String']['output'];
|
|
1941
|
-
};
|
|
1942
1923
|
export type PluginMutation = {
|
|
1943
1924
|
__typename?: 'PluginMutation';
|
|
1944
1925
|
createPlugin: Plugin;
|
|
@@ -1957,7 +1938,6 @@ export type PluginMutationUpdatePluginArgs = {
|
|
|
1957
1938
|
export type PluginQuery = {
|
|
1958
1939
|
__typename?: 'PluginQuery';
|
|
1959
1940
|
getPlugin: Plugin;
|
|
1960
|
-
listPluginCategory: Array<Maybe<PluginCategory>>;
|
|
1961
1941
|
listPlugins: PaginatedResult;
|
|
1962
1942
|
};
|
|
1963
1943
|
export type PluginQueryGetPluginArgs = {
|
|
@@ -2608,8 +2588,12 @@ export type UpdatePluginInput = {
|
|
|
2608
2588
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2609
2589
|
/** 用户提供openapi格式的API文档 */
|
|
2610
2590
|
apiDoc?: InputMaybe<Scalars['String']['input']>;
|
|
2611
|
-
/**
|
|
2612
|
-
|
|
2591
|
+
/**
|
|
2592
|
+
* 如果不需要认证,这个字段必须要填写
|
|
2593
|
+
* 目前只有BasicAuth和Bearer Token支持。
|
|
2594
|
+
* auth的格式Basic xxxx, Bearer xxxx。
|
|
2595
|
+
*/
|
|
2596
|
+
authSecret?: InputMaybe<Scalars['String']['input']>;
|
|
2613
2597
|
/** 插件所属的分类 */
|
|
2614
2598
|
category?: InputMaybe<Scalars['String']['input']>;
|
|
2615
2599
|
/** 描述信息 */
|
|
@@ -5197,13 +5181,8 @@ export type ListPluginsQuery = {
|
|
|
5197
5181
|
updateTimestamp?: any | null;
|
|
5198
5182
|
category: string;
|
|
5199
5183
|
apiDoc: string;
|
|
5184
|
+
authSecret?: string | null;
|
|
5200
5185
|
enabled: boolean;
|
|
5201
|
-
auth?: {
|
|
5202
|
-
__typename?: 'PluginAuth';
|
|
5203
|
-
in: string;
|
|
5204
|
-
name: string;
|
|
5205
|
-
token: string;
|
|
5206
|
-
} | null;
|
|
5207
5186
|
} | {
|
|
5208
5187
|
__typename: 'RAG';
|
|
5209
5188
|
} | {
|
|
@@ -5216,21 +5195,6 @@ export type ListPluginsQuery = {
|
|
|
5216
5195
|
};
|
|
5217
5196
|
} | null;
|
|
5218
5197
|
};
|
|
5219
|
-
export type ListPluginCategoryQueryVariables = Exact<{
|
|
5220
|
-
[key: string]: never;
|
|
5221
|
-
}>;
|
|
5222
|
-
export type ListPluginCategoryQuery = {
|
|
5223
|
-
__typename?: 'Query';
|
|
5224
|
-
Plugin?: {
|
|
5225
|
-
__typename?: 'PluginQuery';
|
|
5226
|
-
listPluginCategory: Array<{
|
|
5227
|
-
__typename?: 'PluginCategory';
|
|
5228
|
-
id: string;
|
|
5229
|
-
name: string;
|
|
5230
|
-
nameEn: string;
|
|
5231
|
-
} | null>;
|
|
5232
|
-
} | null;
|
|
5233
|
-
};
|
|
5234
5198
|
export type GetPluginQueryVariables = Exact<{
|
|
5235
5199
|
name: Scalars['String']['input'];
|
|
5236
5200
|
namespace: Scalars['String']['input'];
|
|
@@ -5257,13 +5221,8 @@ export type GetPluginQuery = {
|
|
|
5257
5221
|
updateTimestamp?: any | null;
|
|
5258
5222
|
category: string;
|
|
5259
5223
|
apiDoc: string;
|
|
5224
|
+
authSecret?: string | null;
|
|
5260
5225
|
enabled: boolean;
|
|
5261
|
-
auth?: {
|
|
5262
|
-
__typename?: 'PluginAuth';
|
|
5263
|
-
in: string;
|
|
5264
|
-
name: string;
|
|
5265
|
-
token: string;
|
|
5266
|
-
} | null;
|
|
5267
5226
|
};
|
|
5268
5227
|
} | null;
|
|
5269
5228
|
};
|
|
@@ -5292,13 +5251,8 @@ export type CreatePluginMutation = {
|
|
|
5292
5251
|
updateTimestamp?: any | null;
|
|
5293
5252
|
category: string;
|
|
5294
5253
|
apiDoc: string;
|
|
5254
|
+
authSecret?: string | null;
|
|
5295
5255
|
enabled: boolean;
|
|
5296
|
-
auth?: {
|
|
5297
|
-
__typename?: 'PluginAuth';
|
|
5298
|
-
in: string;
|
|
5299
|
-
name: string;
|
|
5300
|
-
token: string;
|
|
5301
|
-
} | null;
|
|
5302
5256
|
};
|
|
5303
5257
|
} | null;
|
|
5304
5258
|
};
|
|
@@ -5327,13 +5281,8 @@ export type UpdatePluginMutation = {
|
|
|
5327
5281
|
updateTimestamp?: any | null;
|
|
5328
5282
|
category: string;
|
|
5329
5283
|
apiDoc: string;
|
|
5284
|
+
authSecret?: string | null;
|
|
5330
5285
|
enabled: boolean;
|
|
5331
|
-
auth?: {
|
|
5332
|
-
__typename?: 'PluginAuth';
|
|
5333
|
-
in: string;
|
|
5334
|
-
name: string;
|
|
5335
|
-
token: string;
|
|
5336
|
-
} | null;
|
|
5337
5286
|
};
|
|
5338
5287
|
} | null;
|
|
5339
5288
|
};
|
|
@@ -6341,7 +6290,6 @@ export declare const ListModelServicesDocument: import("../node_modules/.pnpm/gr
|
|
|
6341
6290
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6342
6291
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6343
6292
|
export declare const ListPluginsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6344
|
-
export declare const ListPluginCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6345
6293
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6346
6294
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6347
6295
|
export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6427,7 +6375,6 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6427
6375
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
6428
6376
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
6429
6377
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
6430
|
-
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
6431
6378
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
6432
6379
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
6433
6380
|
updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
|
|
@@ -6482,7 +6429,6 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6482
6429
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
6483
6430
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
6484
6431
|
useListPlugins(variables: ListPluginsQueryVariables, config?: SWRConfigInterface<ListPluginsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsQuery, ClientError>;
|
|
6485
|
-
useListPluginCategory(variables?: ListPluginCategoryQueryVariables, config?: SWRConfigInterface<ListPluginCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginCategoryQuery, ClientError>;
|
|
6486
6432
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
6487
6433
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
6488
6434
|
useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
|
|
@@ -6700,9 +6646,6 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6700
6646
|
listPlugins(variables: Exact<{
|
|
6701
6647
|
input: ListPluginInput;
|
|
6702
6648
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsQuery>;
|
|
6703
|
-
listPluginCategory(variables?: Exact<{
|
|
6704
|
-
[key: string]: never;
|
|
6705
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginCategoryQuery>;
|
|
6706
6649
|
getPlugin(variables: Exact<{
|
|
6707
6650
|
name: string;
|
|
6708
6651
|
namespace: string;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -89,7 +89,6 @@ __export(sdk_exports, {
|
|
|
89
89
|
ListModelServicesDocument: () => ListModelServicesDocument,
|
|
90
90
|
ListModelsDocument: () => ListModelsDocument,
|
|
91
91
|
ListNodesDocument: () => ListNodesDocument,
|
|
92
|
-
ListPluginCategoryDocument: () => ListPluginCategoryDocument,
|
|
93
92
|
ListPluginsDocument: () => ListPluginsDocument,
|
|
94
93
|
ListRagDocument: () => ListRagDocument,
|
|
95
94
|
ListRayClustersDocument: () => ListRayClustersDocument,
|
|
@@ -1607,11 +1606,7 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
1607
1606
|
updateTimestamp
|
|
1608
1607
|
category
|
|
1609
1608
|
apiDoc
|
|
1610
|
-
|
|
1611
|
-
in
|
|
1612
|
-
name
|
|
1613
|
-
token
|
|
1614
|
-
}
|
|
1609
|
+
authSecret
|
|
1615
1610
|
enabled
|
|
1616
1611
|
}
|
|
1617
1612
|
}
|
|
@@ -1619,17 +1614,6 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
1619
1614
|
}
|
|
1620
1615
|
}
|
|
1621
1616
|
`;
|
|
1622
|
-
var ListPluginCategoryDocument = import_graphql_tag.default`
|
|
1623
|
-
query listPluginCategory {
|
|
1624
|
-
Plugin {
|
|
1625
|
-
listPluginCategory {
|
|
1626
|
-
id
|
|
1627
|
-
name
|
|
1628
|
-
nameEn
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
`;
|
|
1633
1617
|
var GetPluginDocument = import_graphql_tag.default`
|
|
1634
1618
|
query getPlugin($name: String!, $namespace: String!) {
|
|
1635
1619
|
Plugin {
|
|
@@ -1650,11 +1634,7 @@ var GetPluginDocument = import_graphql_tag.default`
|
|
|
1650
1634
|
updateTimestamp
|
|
1651
1635
|
category
|
|
1652
1636
|
apiDoc
|
|
1653
|
-
|
|
1654
|
-
in
|
|
1655
|
-
name
|
|
1656
|
-
token
|
|
1657
|
-
}
|
|
1637
|
+
authSecret
|
|
1658
1638
|
enabled
|
|
1659
1639
|
}
|
|
1660
1640
|
}
|
|
@@ -1680,11 +1660,7 @@ var CreatePluginDocument = import_graphql_tag.default`
|
|
|
1680
1660
|
updateTimestamp
|
|
1681
1661
|
category
|
|
1682
1662
|
apiDoc
|
|
1683
|
-
|
|
1684
|
-
in
|
|
1685
|
-
name
|
|
1686
|
-
token
|
|
1687
|
-
}
|
|
1663
|
+
authSecret
|
|
1688
1664
|
enabled
|
|
1689
1665
|
}
|
|
1690
1666
|
}
|
|
@@ -1710,11 +1686,7 @@ var UpdatePluginDocument = import_graphql_tag.default`
|
|
|
1710
1686
|
updateTimestamp
|
|
1711
1687
|
category
|
|
1712
1688
|
apiDoc
|
|
1713
|
-
|
|
1714
|
-
in
|
|
1715
|
-
name
|
|
1716
|
-
token
|
|
1717
|
-
}
|
|
1689
|
+
authSecret
|
|
1718
1690
|
enabled
|
|
1719
1691
|
}
|
|
1720
1692
|
}
|
|
@@ -2559,9 +2531,6 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2559
2531
|
listPlugins(variables, requestHeaders) {
|
|
2560
2532
|
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPlugins", "query", variables);
|
|
2561
2533
|
},
|
|
2562
|
-
listPluginCategory(variables, requestHeaders) {
|
|
2563
|
-
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPluginCategory", "query", variables);
|
|
2564
|
-
},
|
|
2565
2534
|
getPlugin(variables, requestHeaders) {
|
|
2566
2535
|
return withWrapper((wrappedRequestHeaders) => client.request(GetPluginDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getPlugin", "query", variables);
|
|
2567
2536
|
},
|
|
@@ -2722,9 +2691,6 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2722
2691
|
useListPlugins(variables, config) {
|
|
2723
2692
|
return (0, import_useSWR.default)(genKey("ListPlugins", variables), () => sdk.listPlugins(variables), config);
|
|
2724
2693
|
},
|
|
2725
|
-
useListPluginCategory(variables, config) {
|
|
2726
|
-
return (0, import_useSWR.default)(genKey("ListPluginCategory", variables), () => sdk.listPluginCategory(variables), config);
|
|
2727
|
-
},
|
|
2728
2694
|
useGetPlugin(variables, config) {
|
|
2729
2695
|
return (0, import_useSWR.default)(genKey("GetPlugin", variables), () => sdk.getPlugin(variables), config);
|
|
2730
2696
|
},
|
|
@@ -2813,7 +2779,6 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
2813
2779
|
ListModelServicesDocument,
|
|
2814
2780
|
ListModelsDocument,
|
|
2815
2781
|
ListNodesDocument,
|
|
2816
|
-
ListPluginCategoryDocument,
|
|
2817
2782
|
ListPluginsDocument,
|
|
2818
2783
|
ListRagDocument,
|
|
2819
2784
|
ListRayClustersDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -241,9 +241,6 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
241
241
|
listPlugins(variables: import("./sdk").Exact<{
|
|
242
242
|
input: import("./sdk").ListPluginInput;
|
|
243
243
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
244
|
-
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
245
|
-
[key: string]: never;
|
|
246
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
247
244
|
getPlugin(variables: import("./sdk").Exact<{
|
|
248
245
|
name: string;
|
|
249
246
|
namespace: string;
|
|
@@ -426,9 +423,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
426
423
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
427
424
|
input: import("./sdk").ListPluginInput;
|
|
428
425
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError>;
|
|
429
|
-
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
430
|
-
[key: string]: never;
|
|
431
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
432
426
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
433
427
|
name: string;
|
|
434
428
|
namespace: string;
|
|
@@ -668,9 +662,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
668
662
|
listPlugins(variables: import("./sdk").Exact<{
|
|
669
663
|
input: import("./sdk").ListPluginInput;
|
|
670
664
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
671
|
-
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
672
|
-
[key: string]: never;
|
|
673
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
674
665
|
getPlugin(variables: import("./sdk").Exact<{
|
|
675
666
|
name: string;
|
|
676
667
|
namespace: string;
|
|
@@ -853,9 +844,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
853
844
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
854
845
|
input: import("./sdk").ListPluginInput;
|
|
855
846
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsQuery, import("graphql-request/src/types").ClientError>;
|
|
856
|
-
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
857
|
-
[key: string]: never;
|
|
858
|
-
}> | undefined, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginCategoryQuery, import("graphql-request/src/types").ClientError>;
|
|
859
847
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
860
848
|
name: string;
|
|
861
849
|
namespace: string;
|
|
@@ -1095,9 +1083,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1095
1083
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1096
1084
|
input: import("./sdk").ListPluginInput;
|
|
1097
1085
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1098
|
-
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1099
|
-
[key: string]: never;
|
|
1100
|
-
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
1101
1086
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1102
1087
|
name: string;
|
|
1103
1088
|
namespace: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -120,9 +120,6 @@ 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>;
|
|
126
123
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
127
124
|
name: string;
|
|
128
125
|
namespace: string;
|
|
@@ -362,9 +359,6 @@ export declare const sdk: {
|
|
|
362
359
|
listPlugins(variables: import("./sdk").Exact<{
|
|
363
360
|
input: import("./sdk").ListPluginInput;
|
|
364
361
|
}>, 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>;
|
|
368
362
|
getPlugin(variables: import("./sdk").Exact<{
|
|
369
363
|
name: string;
|
|
370
364
|
namespace: string;
|
|
@@ -665,9 +659,6 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
665
659
|
listPlugins(variables: import("./sdk").Exact<{
|
|
666
660
|
input: import("./sdk").ListPluginInput;
|
|
667
661
|
}>, 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>;
|
|
671
662
|
getPlugin(variables: import("./sdk").Exact<{
|
|
672
663
|
name: string;
|
|
673
664
|
namespace: string;
|
|
@@ -850,9 +841,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
850
841
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
851
842
|
input: import("./sdk").ListPluginInput;
|
|
852
843
|
}>, 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>;
|
|
856
844
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
857
845
|
name: string;
|
|
858
846
|
namespace: string;
|
|
@@ -1092,9 +1080,6 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1092
1080
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1093
1081
|
input: import("./sdk").ListPluginInput;
|
|
1094
1082
|
}>, 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>;
|
|
1098
1083
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1099
1084
|
name: string;
|
|
1100
1085
|
namespace: string;
|
|
@@ -1277,9 +1262,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1277
1262
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1278
1263
|
input: import("./sdk").ListPluginInput;
|
|
1279
1264
|
}>, 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>;
|
|
1283
1265
|
useGetPlugin(variables: import("./sdk").Exact<{
|
|
1284
1266
|
name: string;
|
|
1285
1267
|
namespace: string;
|
|
@@ -1519,9 +1501,6 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1519
1501
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1520
1502
|
input: import("./sdk").ListPluginInput;
|
|
1521
1503
|
}>, 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>;
|
|
1525
1504
|
getPlugin(variables: import("./sdk").Exact<{
|
|
1526
1505
|
name: string;
|
|
1527
1506
|
namespace: string;
|