@yuntijs/arcadia-bff-sdk 1.2.126 → 1.2.127
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 +117 -0
- package/dist/cjs/sdk.js +48 -0
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +117 -0
- package/dist/esm/sdk.js +68 -57
- 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
|
@@ -169,6 +169,9 @@ export declare const sdk: {
|
|
|
169
169
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
170
170
|
input: import("./sdk").ListPluginInput;
|
|
171
171
|
}>, 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>;
|
|
172
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
173
|
+
input: import("./sdk").ListPluginInput;
|
|
174
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
172
175
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
173
176
|
[key: string]: never;
|
|
174
177
|
}> | 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>;
|
|
@@ -552,6 +555,9 @@ export declare const sdk: {
|
|
|
552
555
|
listPlugins(variables: import("./sdk").Exact<{
|
|
553
556
|
input: import("./sdk").ListPluginInput;
|
|
554
557
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
558
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
559
|
+
input: import("./sdk").ListPluginInput;
|
|
560
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
555
561
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
556
562
|
[key: string]: never;
|
|
557
563
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -1063,6 +1069,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
1063
1069
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1064
1070
|
input: import("./sdk").ListPluginInput;
|
|
1065
1071
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1072
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1073
|
+
input: import("./sdk").ListPluginInput;
|
|
1074
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
1066
1075
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1067
1076
|
[key: string]: never;
|
|
1068
1077
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -1415,6 +1424,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1415
1424
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1416
1425
|
input: import("./sdk").ListPluginInput;
|
|
1417
1426
|
}>, 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>;
|
|
1427
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1428
|
+
input: import("./sdk").ListPluginInput;
|
|
1429
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
1418
1430
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
1419
1431
|
[key: string]: never;
|
|
1420
1432
|
}> | 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>;
|
|
@@ -1798,6 +1810,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1798
1810
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1799
1811
|
input: import("./sdk").ListPluginInput;
|
|
1800
1812
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1813
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1814
|
+
input: import("./sdk").ListPluginInput;
|
|
1815
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
1801
1816
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1802
1817
|
[key: string]: never;
|
|
1803
1818
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -2150,6 +2165,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2150
2165
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
2151
2166
|
input: import("./sdk").ListPluginInput;
|
|
2152
2167
|
}>, 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>;
|
|
2168
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
2169
|
+
input: import("./sdk").ListPluginInput;
|
|
2170
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
2153
2171
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
2154
2172
|
[key: string]: never;
|
|
2155
2173
|
}> | 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>;
|
|
@@ -2533,6 +2551,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2533
2551
|
listPlugins(variables: import("./sdk").Exact<{
|
|
2534
2552
|
input: import("./sdk").ListPluginInput;
|
|
2535
2553
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
2554
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
2555
|
+
input: import("./sdk").ListPluginInput;
|
|
2556
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
2536
2557
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
2537
2558
|
[key: string]: never;
|
|
2538
2559
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -2602,6 +2602,8 @@ export type Plugin = {
|
|
|
2602
2602
|
status?: Maybe<Scalars['String']['output']>;
|
|
2603
2603
|
/** 是否为平台内置插件 */
|
|
2604
2604
|
systemPlugin?: Maybe<Scalars['Boolean']['output']>;
|
|
2605
|
+
/** 插件的API列表 */
|
|
2606
|
+
tools?: Maybe<Array<Maybe<PluginTool>>>;
|
|
2605
2607
|
/** 插件类型 */
|
|
2606
2608
|
type?: Maybe<Scalars['String']['output']>;
|
|
2607
2609
|
/** 更新时间 */
|
|
@@ -2658,6 +2660,13 @@ export type PluginQueryGetPluginArgs = {
|
|
|
2658
2660
|
export type PluginQueryListPluginsArgs = {
|
|
2659
2661
|
input: ListPluginInput;
|
|
2660
2662
|
};
|
|
2663
|
+
export type PluginTool = {
|
|
2664
|
+
__typename?: 'PluginTool';
|
|
2665
|
+
/** 插件的描述 */
|
|
2666
|
+
desc?: Maybe<Scalars['String']['output']>;
|
|
2667
|
+
/** 插件的api 的operatorid */
|
|
2668
|
+
name: Scalars['String']['output'];
|
|
2669
|
+
};
|
|
2661
2670
|
export type PrecisionTestingRecord = {
|
|
2662
2671
|
__typename?: 'PrecisionTestingRecord';
|
|
2663
2672
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
@@ -7740,6 +7749,108 @@ export type ListPluginsQuery = {
|
|
|
7740
7749
|
};
|
|
7741
7750
|
} | null;
|
|
7742
7751
|
};
|
|
7752
|
+
export type ListPluginsWithToolsQueryVariables = Exact<{
|
|
7753
|
+
input: ListPluginInput;
|
|
7754
|
+
}>;
|
|
7755
|
+
export type ListPluginsWithToolsQuery = {
|
|
7756
|
+
__typename?: 'Query';
|
|
7757
|
+
Plugin?: {
|
|
7758
|
+
__typename?: 'PluginQuery';
|
|
7759
|
+
listPlugins: {
|
|
7760
|
+
__typename?: 'PaginatedResult';
|
|
7761
|
+
totalCount: number;
|
|
7762
|
+
hasNextPage: boolean;
|
|
7763
|
+
nodes?: Array<{
|
|
7764
|
+
__typename: 'AgentInvocationLog';
|
|
7765
|
+
} | {
|
|
7766
|
+
__typename: 'AgentMetadata';
|
|
7767
|
+
} | {
|
|
7768
|
+
__typename: 'AgentPrompt';
|
|
7769
|
+
} | {
|
|
7770
|
+
__typename: 'AgentRelease';
|
|
7771
|
+
} | {
|
|
7772
|
+
__typename: 'AgentReleaseHistory';
|
|
7773
|
+
} | {
|
|
7774
|
+
__typename: 'Dataset';
|
|
7775
|
+
} | {
|
|
7776
|
+
__typename: 'Datasource';
|
|
7777
|
+
} | {
|
|
7778
|
+
__typename: 'Embedder';
|
|
7779
|
+
} | {
|
|
7780
|
+
__typename: 'F';
|
|
7781
|
+
} | {
|
|
7782
|
+
__typename: 'KnowledgeBase';
|
|
7783
|
+
} | {
|
|
7784
|
+
__typename: 'KnowledgeBaseFile';
|
|
7785
|
+
} | {
|
|
7786
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
7787
|
+
} | {
|
|
7788
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
7789
|
+
} | {
|
|
7790
|
+
__typename: 'LLM';
|
|
7791
|
+
} | {
|
|
7792
|
+
__typename: 'Model';
|
|
7793
|
+
} | {
|
|
7794
|
+
__typename: 'ModelService';
|
|
7795
|
+
} | {
|
|
7796
|
+
__typename: 'Node';
|
|
7797
|
+
} | {
|
|
7798
|
+
__typename: 'Plugin';
|
|
7799
|
+
id?: string | null;
|
|
7800
|
+
creationTimestamp?: any | null;
|
|
7801
|
+
name: string;
|
|
7802
|
+
namespace: string;
|
|
7803
|
+
systemPlugin?: boolean | null;
|
|
7804
|
+
labels?: any | null;
|
|
7805
|
+
annotations?: any | null;
|
|
7806
|
+
creator?: string | null;
|
|
7807
|
+
displayName?: string | null;
|
|
7808
|
+
description?: string | null;
|
|
7809
|
+
type?: string | null;
|
|
7810
|
+
icon?: string | null;
|
|
7811
|
+
status?: string | null;
|
|
7812
|
+
updateTimestamp?: any | null;
|
|
7813
|
+
category: string;
|
|
7814
|
+
enabled: boolean;
|
|
7815
|
+
auth?: {
|
|
7816
|
+
__typename?: 'PluginAuth';
|
|
7817
|
+
in: string;
|
|
7818
|
+
name: string;
|
|
7819
|
+
token: string;
|
|
7820
|
+
} | null;
|
|
7821
|
+
tools?: Array<{
|
|
7822
|
+
__typename?: 'PluginTool';
|
|
7823
|
+
name: string;
|
|
7824
|
+
desc?: string | null;
|
|
7825
|
+
} | null> | null;
|
|
7826
|
+
} | {
|
|
7827
|
+
__typename: 'PrecisionTestingRecord';
|
|
7828
|
+
} | {
|
|
7829
|
+
__typename: 'RAG';
|
|
7830
|
+
} | {
|
|
7831
|
+
__typename: 'RayCluster';
|
|
7832
|
+
} | {
|
|
7833
|
+
__typename: 'Reranker';
|
|
7834
|
+
} | {
|
|
7835
|
+
__typename: 'SFT';
|
|
7836
|
+
} | {
|
|
7837
|
+
__typename: 'TuningDataSet';
|
|
7838
|
+
} | {
|
|
7839
|
+
__typename: 'TuningVersionedDataset';
|
|
7840
|
+
} | {
|
|
7841
|
+
__typename: 'TuningVersionedDatasetContent';
|
|
7842
|
+
} | {
|
|
7843
|
+
__typename: 'TuningVersionedDatasetFiles';
|
|
7844
|
+
} | {
|
|
7845
|
+
__typename: 'VersionedDataset';
|
|
7846
|
+
} | {
|
|
7847
|
+
__typename: 'Worker';
|
|
7848
|
+
} | {
|
|
7849
|
+
__typename: 'Workflow';
|
|
7850
|
+
}> | null;
|
|
7851
|
+
};
|
|
7852
|
+
} | null;
|
|
7853
|
+
};
|
|
7743
7854
|
export type ListPluginCategoryQueryVariables = Exact<{
|
|
7744
7855
|
[key: string]: never;
|
|
7745
7856
|
}>;
|
|
@@ -10617,6 +10728,7 @@ export declare const ListModelServiceProvidersDocument: import("../node_modules/
|
|
|
10617
10728
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10618
10729
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10619
10730
|
export declare const ListPluginsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10731
|
+
export declare const ListPluginsWithToolsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10620
10732
|
export declare const ListPluginCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10621
10733
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10622
10734
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -10765,6 +10877,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
10765
10877
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
10766
10878
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
10767
10879
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
10880
|
+
listPluginsWithTools(variables: ListPluginsWithToolsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsWithToolsQuery>;
|
|
10768
10881
|
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
10769
10882
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
10770
10883
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
@@ -10869,6 +10982,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
10869
10982
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
10870
10983
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
10871
10984
|
useListPlugins(variables: ListPluginsQueryVariables, config?: SWRConfigInterface<ListPluginsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsQuery, ClientError>;
|
|
10985
|
+
useListPluginsWithTools(variables: ListPluginsWithToolsQueryVariables, config?: SWRConfigInterface<ListPluginsWithToolsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsWithToolsQuery, ClientError>;
|
|
10872
10986
|
useListPluginCategory(variables?: ListPluginCategoryQueryVariables, config?: SWRConfigInterface<ListPluginCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginCategoryQuery, ClientError>;
|
|
10873
10987
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
10874
10988
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
@@ -11191,6 +11305,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11191
11305
|
listPlugins(variables: Exact<{
|
|
11192
11306
|
input: ListPluginInput;
|
|
11193
11307
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsQuery>;
|
|
11308
|
+
listPluginsWithTools(variables: Exact<{
|
|
11309
|
+
input: ListPluginInput;
|
|
11310
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsWithToolsQuery>;
|
|
11194
11311
|
listPluginCategory(variables?: Exact<{
|
|
11195
11312
|
[key: string]: never;
|
|
11196
11313
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginCategoryQuery>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -137,6 +137,7 @@ __export(sdk_exports, {
|
|
|
137
137
|
ListNodesDocument: () => ListNodesDocument,
|
|
138
138
|
ListPluginCategoryDocument: () => ListPluginCategoryDocument,
|
|
139
139
|
ListPluginsDocument: () => ListPluginsDocument,
|
|
140
|
+
ListPluginsWithToolsDocument: () => ListPluginsWithToolsDocument,
|
|
140
141
|
ListRagDocument: () => ListRagDocument,
|
|
141
142
|
ListRayClustersDocument: () => ListRayClustersDocument,
|
|
142
143
|
ListRerankersDocument: () => ListRerankersDocument,
|
|
@@ -2111,6 +2112,46 @@ var ListPluginsDocument = import_graphql_tag.default`
|
|
|
2111
2112
|
}
|
|
2112
2113
|
}
|
|
2113
2114
|
`;
|
|
2115
|
+
var ListPluginsWithToolsDocument = import_graphql_tag.default`
|
|
2116
|
+
query listPluginsWithTools($input: ListPluginInput!) {
|
|
2117
|
+
Plugin {
|
|
2118
|
+
listPlugins(input: $input) {
|
|
2119
|
+
totalCount
|
|
2120
|
+
hasNextPage
|
|
2121
|
+
nodes {
|
|
2122
|
+
__typename
|
|
2123
|
+
... on Plugin {
|
|
2124
|
+
id
|
|
2125
|
+
creationTimestamp
|
|
2126
|
+
name
|
|
2127
|
+
namespace
|
|
2128
|
+
systemPlugin
|
|
2129
|
+
labels
|
|
2130
|
+
annotations
|
|
2131
|
+
creator
|
|
2132
|
+
displayName
|
|
2133
|
+
description
|
|
2134
|
+
type
|
|
2135
|
+
icon
|
|
2136
|
+
status
|
|
2137
|
+
updateTimestamp
|
|
2138
|
+
category
|
|
2139
|
+
auth {
|
|
2140
|
+
in
|
|
2141
|
+
name
|
|
2142
|
+
token
|
|
2143
|
+
}
|
|
2144
|
+
enabled
|
|
2145
|
+
tools {
|
|
2146
|
+
name
|
|
2147
|
+
desc
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
`;
|
|
2114
2155
|
var ListPluginCategoryDocument = import_graphql_tag.default`
|
|
2115
2156
|
query listPluginCategory {
|
|
2116
2157
|
Plugin {
|
|
@@ -4047,6 +4088,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
4047
4088
|
listPlugins(variables, requestHeaders) {
|
|
4048
4089
|
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPlugins", "query", variables);
|
|
4049
4090
|
},
|
|
4091
|
+
listPluginsWithTools(variables, requestHeaders) {
|
|
4092
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginsWithToolsDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPluginsWithTools", "query", variables);
|
|
4093
|
+
},
|
|
4050
4094
|
listPluginCategory(variables, requestHeaders) {
|
|
4051
4095
|
return withWrapper((wrappedRequestHeaders) => client.request(ListPluginCategoryDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listPluginCategory", "query", variables);
|
|
4052
4096
|
},
|
|
@@ -4357,6 +4401,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4357
4401
|
useListPlugins(variables, config) {
|
|
4358
4402
|
return (0, import_useSWR.default)(genKey("ListPlugins", variables), () => sdk.listPlugins(variables), config);
|
|
4359
4403
|
},
|
|
4404
|
+
useListPluginsWithTools(variables, config) {
|
|
4405
|
+
return (0, import_useSWR.default)(genKey("ListPluginsWithTools", variables), () => sdk.listPluginsWithTools(variables), config);
|
|
4406
|
+
},
|
|
4360
4407
|
useListPluginCategory(variables, config) {
|
|
4361
4408
|
return (0, import_useSWR.default)(genKey("ListPluginCategory", variables), () => sdk.listPluginCategory(variables), config);
|
|
4362
4409
|
},
|
|
@@ -4538,6 +4585,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
4538
4585
|
ListNodesDocument,
|
|
4539
4586
|
ListPluginCategoryDocument,
|
|
4540
4587
|
ListPluginsDocument,
|
|
4588
|
+
ListPluginsWithToolsDocument,
|
|
4541
4589
|
ListRagDocument,
|
|
4542
4590
|
ListRayClustersDocument,
|
|
4543
4591
|
ListRerankersDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -331,6 +331,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
331
331
|
listPlugins(variables: import("./sdk").Exact<{
|
|
332
332
|
input: import("./sdk").ListPluginInput;
|
|
333
333
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
334
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
335
|
+
input: import("./sdk").ListPluginInput;
|
|
336
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
334
337
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
335
338
|
[key: string]: never;
|
|
336
339
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -683,6 +686,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
683
686
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
684
687
|
input: import("./sdk").ListPluginInput;
|
|
685
688
|
}>, 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>;
|
|
689
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
690
|
+
input: import("./sdk").ListPluginInput;
|
|
691
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
686
692
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
687
693
|
[key: string]: never;
|
|
688
694
|
}> | 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>;
|
|
@@ -1066,6 +1072,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1066
1072
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1067
1073
|
input: import("./sdk").ListPluginInput;
|
|
1068
1074
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1075
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1076
|
+
input: import("./sdk").ListPluginInput;
|
|
1077
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
1069
1078
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1070
1079
|
[key: string]: never;
|
|
1071
1080
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -1418,6 +1427,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1418
1427
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1419
1428
|
input: import("./sdk").ListPluginInput;
|
|
1420
1429
|
}>, 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>;
|
|
1430
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1431
|
+
input: import("./sdk").ListPluginInput;
|
|
1432
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
1421
1433
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
1422
1434
|
[key: string]: never;
|
|
1423
1435
|
}> | 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>;
|
|
@@ -1801,6 +1813,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1801
1813
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1802
1814
|
input: import("./sdk").ListPluginInput;
|
|
1803
1815
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1816
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1817
|
+
input: import("./sdk").ListPluginInput;
|
|
1818
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
1804
1819
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1805
1820
|
[key: string]: never;
|
|
1806
1821
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -169,6 +169,9 @@ export declare const sdk: {
|
|
|
169
169
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
170
170
|
input: import("./sdk").ListPluginInput;
|
|
171
171
|
}>, 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>;
|
|
172
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
173
|
+
input: import("./sdk").ListPluginInput;
|
|
174
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
172
175
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
173
176
|
[key: string]: never;
|
|
174
177
|
}> | 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>;
|
|
@@ -552,6 +555,9 @@ export declare const sdk: {
|
|
|
552
555
|
listPlugins(variables: import("./sdk").Exact<{
|
|
553
556
|
input: import("./sdk").ListPluginInput;
|
|
554
557
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
558
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
559
|
+
input: import("./sdk").ListPluginInput;
|
|
560
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
555
561
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
556
562
|
[key: string]: never;
|
|
557
563
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -1063,6 +1069,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
1063
1069
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1064
1070
|
input: import("./sdk").ListPluginInput;
|
|
1065
1071
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1072
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1073
|
+
input: import("./sdk").ListPluginInput;
|
|
1074
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
1066
1075
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1067
1076
|
[key: string]: never;
|
|
1068
1077
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -1415,6 +1424,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1415
1424
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
1416
1425
|
input: import("./sdk").ListPluginInput;
|
|
1417
1426
|
}>, 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>;
|
|
1427
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1428
|
+
input: import("./sdk").ListPluginInput;
|
|
1429
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
1418
1430
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
1419
1431
|
[key: string]: never;
|
|
1420
1432
|
}> | 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>;
|
|
@@ -1798,6 +1810,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1798
1810
|
listPlugins(variables: import("./sdk").Exact<{
|
|
1799
1811
|
input: import("./sdk").ListPluginInput;
|
|
1800
1812
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
1813
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
1814
|
+
input: import("./sdk").ListPluginInput;
|
|
1815
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
1801
1816
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
1802
1817
|
[key: string]: never;
|
|
1803
1818
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
|
@@ -2150,6 +2165,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2150
2165
|
useListPlugins(variables: import("./sdk").Exact<{
|
|
2151
2166
|
input: import("./sdk").ListPluginInput;
|
|
2152
2167
|
}>, 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>;
|
|
2168
|
+
useListPluginsWithTools(variables: import("./sdk").Exact<{
|
|
2169
|
+
input: import("./sdk").ListPluginInput;
|
|
2170
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListPluginsWithToolsQuery, import("graphql-request/src/types").ClientError>;
|
|
2153
2171
|
useListPluginCategory(variables?: import("./sdk").Exact<{
|
|
2154
2172
|
[key: string]: never;
|
|
2155
2173
|
}> | 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>;
|
|
@@ -2533,6 +2551,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2533
2551
|
listPlugins(variables: import("./sdk").Exact<{
|
|
2534
2552
|
input: import("./sdk").ListPluginInput;
|
|
2535
2553
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsQuery>;
|
|
2554
|
+
listPluginsWithTools(variables: import("./sdk").Exact<{
|
|
2555
|
+
input: import("./sdk").ListPluginInput;
|
|
2556
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginsWithToolsQuery>;
|
|
2536
2557
|
listPluginCategory(variables?: import("./sdk").Exact<{
|
|
2537
2558
|
[key: string]: never;
|
|
2538
2559
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListPluginCategoryQuery>;
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -2602,6 +2602,8 @@ export type Plugin = {
|
|
|
2602
2602
|
status?: Maybe<Scalars['String']['output']>;
|
|
2603
2603
|
/** 是否为平台内置插件 */
|
|
2604
2604
|
systemPlugin?: Maybe<Scalars['Boolean']['output']>;
|
|
2605
|
+
/** 插件的API列表 */
|
|
2606
|
+
tools?: Maybe<Array<Maybe<PluginTool>>>;
|
|
2605
2607
|
/** 插件类型 */
|
|
2606
2608
|
type?: Maybe<Scalars['String']['output']>;
|
|
2607
2609
|
/** 更新时间 */
|
|
@@ -2658,6 +2660,13 @@ export type PluginQueryGetPluginArgs = {
|
|
|
2658
2660
|
export type PluginQueryListPluginsArgs = {
|
|
2659
2661
|
input: ListPluginInput;
|
|
2660
2662
|
};
|
|
2663
|
+
export type PluginTool = {
|
|
2664
|
+
__typename?: 'PluginTool';
|
|
2665
|
+
/** 插件的描述 */
|
|
2666
|
+
desc?: Maybe<Scalars['String']['output']>;
|
|
2667
|
+
/** 插件的api 的operatorid */
|
|
2668
|
+
name: Scalars['String']['output'];
|
|
2669
|
+
};
|
|
2661
2670
|
export type PrecisionTestingRecord = {
|
|
2662
2671
|
__typename?: 'PrecisionTestingRecord';
|
|
2663
2672
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
@@ -7740,6 +7749,108 @@ export type ListPluginsQuery = {
|
|
|
7740
7749
|
};
|
|
7741
7750
|
} | null;
|
|
7742
7751
|
};
|
|
7752
|
+
export type ListPluginsWithToolsQueryVariables = Exact<{
|
|
7753
|
+
input: ListPluginInput;
|
|
7754
|
+
}>;
|
|
7755
|
+
export type ListPluginsWithToolsQuery = {
|
|
7756
|
+
__typename?: 'Query';
|
|
7757
|
+
Plugin?: {
|
|
7758
|
+
__typename?: 'PluginQuery';
|
|
7759
|
+
listPlugins: {
|
|
7760
|
+
__typename?: 'PaginatedResult';
|
|
7761
|
+
totalCount: number;
|
|
7762
|
+
hasNextPage: boolean;
|
|
7763
|
+
nodes?: Array<{
|
|
7764
|
+
__typename: 'AgentInvocationLog';
|
|
7765
|
+
} | {
|
|
7766
|
+
__typename: 'AgentMetadata';
|
|
7767
|
+
} | {
|
|
7768
|
+
__typename: 'AgentPrompt';
|
|
7769
|
+
} | {
|
|
7770
|
+
__typename: 'AgentRelease';
|
|
7771
|
+
} | {
|
|
7772
|
+
__typename: 'AgentReleaseHistory';
|
|
7773
|
+
} | {
|
|
7774
|
+
__typename: 'Dataset';
|
|
7775
|
+
} | {
|
|
7776
|
+
__typename: 'Datasource';
|
|
7777
|
+
} | {
|
|
7778
|
+
__typename: 'Embedder';
|
|
7779
|
+
} | {
|
|
7780
|
+
__typename: 'F';
|
|
7781
|
+
} | {
|
|
7782
|
+
__typename: 'KnowledgeBase';
|
|
7783
|
+
} | {
|
|
7784
|
+
__typename: 'KnowledgeBaseFile';
|
|
7785
|
+
} | {
|
|
7786
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
7787
|
+
} | {
|
|
7788
|
+
__typename: 'KnowledgeBaseStructuredFileChunk';
|
|
7789
|
+
} | {
|
|
7790
|
+
__typename: 'LLM';
|
|
7791
|
+
} | {
|
|
7792
|
+
__typename: 'Model';
|
|
7793
|
+
} | {
|
|
7794
|
+
__typename: 'ModelService';
|
|
7795
|
+
} | {
|
|
7796
|
+
__typename: 'Node';
|
|
7797
|
+
} | {
|
|
7798
|
+
__typename: 'Plugin';
|
|
7799
|
+
id?: string | null;
|
|
7800
|
+
creationTimestamp?: any | null;
|
|
7801
|
+
name: string;
|
|
7802
|
+
namespace: string;
|
|
7803
|
+
systemPlugin?: boolean | null;
|
|
7804
|
+
labels?: any | null;
|
|
7805
|
+
annotations?: any | null;
|
|
7806
|
+
creator?: string | null;
|
|
7807
|
+
displayName?: string | null;
|
|
7808
|
+
description?: string | null;
|
|
7809
|
+
type?: string | null;
|
|
7810
|
+
icon?: string | null;
|
|
7811
|
+
status?: string | null;
|
|
7812
|
+
updateTimestamp?: any | null;
|
|
7813
|
+
category: string;
|
|
7814
|
+
enabled: boolean;
|
|
7815
|
+
auth?: {
|
|
7816
|
+
__typename?: 'PluginAuth';
|
|
7817
|
+
in: string;
|
|
7818
|
+
name: string;
|
|
7819
|
+
token: string;
|
|
7820
|
+
} | null;
|
|
7821
|
+
tools?: Array<{
|
|
7822
|
+
__typename?: 'PluginTool';
|
|
7823
|
+
name: string;
|
|
7824
|
+
desc?: string | null;
|
|
7825
|
+
} | null> | null;
|
|
7826
|
+
} | {
|
|
7827
|
+
__typename: 'PrecisionTestingRecord';
|
|
7828
|
+
} | {
|
|
7829
|
+
__typename: 'RAG';
|
|
7830
|
+
} | {
|
|
7831
|
+
__typename: 'RayCluster';
|
|
7832
|
+
} | {
|
|
7833
|
+
__typename: 'Reranker';
|
|
7834
|
+
} | {
|
|
7835
|
+
__typename: 'SFT';
|
|
7836
|
+
} | {
|
|
7837
|
+
__typename: 'TuningDataSet';
|
|
7838
|
+
} | {
|
|
7839
|
+
__typename: 'TuningVersionedDataset';
|
|
7840
|
+
} | {
|
|
7841
|
+
__typename: 'TuningVersionedDatasetContent';
|
|
7842
|
+
} | {
|
|
7843
|
+
__typename: 'TuningVersionedDatasetFiles';
|
|
7844
|
+
} | {
|
|
7845
|
+
__typename: 'VersionedDataset';
|
|
7846
|
+
} | {
|
|
7847
|
+
__typename: 'Worker';
|
|
7848
|
+
} | {
|
|
7849
|
+
__typename: 'Workflow';
|
|
7850
|
+
}> | null;
|
|
7851
|
+
};
|
|
7852
|
+
} | null;
|
|
7853
|
+
};
|
|
7743
7854
|
export type ListPluginCategoryQueryVariables = Exact<{
|
|
7744
7855
|
[key: string]: never;
|
|
7745
7856
|
}>;
|
|
@@ -10617,6 +10728,7 @@ export declare const ListModelServiceProvidersDocument: import("../node_modules/
|
|
|
10617
10728
|
export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10618
10729
|
export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10619
10730
|
export declare const ListPluginsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10731
|
+
export declare const ListPluginsWithToolsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10620
10732
|
export declare const ListPluginCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10621
10733
|
export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
10622
10734
|
export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -10765,6 +10877,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
10765
10877
|
checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
|
|
10766
10878
|
listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
|
|
10767
10879
|
listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
|
|
10880
|
+
listPluginsWithTools(variables: ListPluginsWithToolsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsWithToolsQuery>;
|
|
10768
10881
|
listPluginCategory(variables?: ListPluginCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginCategoryQuery>;
|
|
10769
10882
|
getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
|
|
10770
10883
|
createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
|
|
@@ -10869,6 +10982,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
10869
10982
|
useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
|
|
10870
10983
|
useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
|
|
10871
10984
|
useListPlugins(variables: ListPluginsQueryVariables, config?: SWRConfigInterface<ListPluginsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsQuery, ClientError>;
|
|
10985
|
+
useListPluginsWithTools(variables: ListPluginsWithToolsQueryVariables, config?: SWRConfigInterface<ListPluginsWithToolsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsWithToolsQuery, ClientError>;
|
|
10872
10986
|
useListPluginCategory(variables?: ListPluginCategoryQueryVariables, config?: SWRConfigInterface<ListPluginCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginCategoryQuery, ClientError>;
|
|
10873
10987
|
useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
|
|
10874
10988
|
useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
|
|
@@ -11191,6 +11305,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11191
11305
|
listPlugins(variables: Exact<{
|
|
11192
11306
|
input: ListPluginInput;
|
|
11193
11307
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsQuery>;
|
|
11308
|
+
listPluginsWithTools(variables: Exact<{
|
|
11309
|
+
input: ListPluginInput;
|
|
11310
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsWithToolsQuery>;
|
|
11194
11311
|
listPluginCategory(variables?: Exact<{
|
|
11195
11312
|
[key: string]: never;
|
|
11196
11313
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginCategoryQuery>;
|