@yuntijs/arcadia-bff-sdk 1.0.71 → 1.0.73
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/README.md +3 -3
- package/dist/esm/sdk.d.ts +76 -1
- package/dist/esm/sdk.js +10 -6
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# bff-sdk-
|
|
1
|
+
# bff-sdk-generator
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
generator for bff sdk
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
# you should npm login first or run `npm set` command first, like: npm set //dev-npm.tenxcloud.net/:_authToken=xxxxx
|
|
@@ -10,4 +10,4 @@ docker build -t kubebb/gql-sdk-generator:latest -f Dockerfile --secret id=npmrc,
|
|
|
10
10
|
```bash
|
|
11
11
|
# you should npm login first or run `npm set` command first, like: npm set //registry.npmjs.org/:_authToken=xxxxx
|
|
12
12
|
docker run --rm --net=host --env GRAPH_API_ENDPOINT=http://0.0.0.0:8888/bff --env SDK_PACKAGE_NAME=@yuntijs/arcadia-bff-sdk --env SDK_YUNTI_NAME=ArcadiaBffSDK --env GRAPH_CLIENT_ENDPOINT=/kubeagi-apis/bff -v /graphql/to/path/schema:/schema -v ~/.npmrc:/root/.npmrc yuntijs/gql-sdk-generator:latest
|
|
13
|
-
```
|
|
13
|
+
```
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -120,6 +120,8 @@ export type Application = {
|
|
|
120
120
|
showRetrievalInfo?: Maybe<Scalars['Boolean']['output']>;
|
|
121
121
|
/** temperature 温度 */
|
|
122
122
|
temperature?: Maybe<Scalars['Float']['output']>;
|
|
123
|
+
/** tools 要使用的工具列表 */
|
|
124
|
+
tools?: Maybe<Array<Maybe<Tool>>>;
|
|
123
125
|
/** userPrompt 用户级别的 Prompt */
|
|
124
126
|
userPrompt?: Maybe<Scalars['String']['output']>;
|
|
125
127
|
};
|
|
@@ -284,6 +286,8 @@ export type CreateDatasourceInput = {
|
|
|
284
286
|
namespace: Scalars['String']['input'];
|
|
285
287
|
/** 数据源为对象存储类型时的输入 */
|
|
286
288
|
ossinput?: InputMaybe<OssInput>;
|
|
289
|
+
/** 数据源为Web数据时的输入 */
|
|
290
|
+
webinput?: InputMaybe<WebInput>;
|
|
287
291
|
};
|
|
288
292
|
export type CreateEmbedderInput = {
|
|
289
293
|
/** 模型服务资源注释 */
|
|
@@ -296,6 +300,8 @@ export type CreateEmbedderInput = {
|
|
|
296
300
|
endpointinput: EndpointInput;
|
|
297
301
|
/** 模型服务资源标签 */
|
|
298
302
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
303
|
+
/** 此Embedder支持调用的模型列表 */
|
|
304
|
+
models?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
299
305
|
/** 模型服务资源名称(不可同名) */
|
|
300
306
|
name: Scalars['String']['input'];
|
|
301
307
|
/** 模型服务创建命名空间 */
|
|
@@ -338,6 +344,8 @@ export type CreateLlmInput = {
|
|
|
338
344
|
endpointinput: EndpointInput;
|
|
339
345
|
/** 模型服务资源标签 */
|
|
340
346
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
347
|
+
/** 此LLM支持调用的模型列表 */
|
|
348
|
+
models?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
341
349
|
/** 模型服务资源名称(不可同名) */
|
|
342
350
|
name: Scalars['String']['input'];
|
|
343
351
|
/** 模型服务创建命名空间 */
|
|
@@ -786,8 +794,15 @@ export type Datasource = {
|
|
|
786
794
|
oss?: Maybe<Oss>;
|
|
787
795
|
/** 数据源连接状态 */
|
|
788
796
|
status?: Maybe<Scalars['String']['output']>;
|
|
797
|
+
/** 数据源类型 */
|
|
798
|
+
type: Scalars['String']['output'];
|
|
789
799
|
/** 更新时间, 这里更新指文件同步,或者数据处理完成后,做的更新操作的时间 */
|
|
790
800
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
801
|
+
/**
|
|
802
|
+
* Web数据访问信息
|
|
803
|
+
* 规则: 非空代表当前数据源为web在线数据
|
|
804
|
+
*/
|
|
805
|
+
web?: Maybe<Web>;
|
|
791
806
|
};
|
|
792
807
|
export type DatasourceMutation = {
|
|
793
808
|
__typename?: 'DatasourceMutation';
|
|
@@ -849,7 +864,7 @@ export type Embedder = {
|
|
|
849
864
|
id?: Maybe<Scalars['String']['output']>;
|
|
850
865
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
851
866
|
message?: Maybe<Scalars['String']['output']>;
|
|
852
|
-
/** 此
|
|
867
|
+
/** 此Embedder支持调用的模型列表 */
|
|
853
868
|
models?: Maybe<Array<Scalars['String']['output']>>;
|
|
854
869
|
name: Scalars['String']['output'];
|
|
855
870
|
namespace: Scalars['String']['output'];
|
|
@@ -1544,6 +1559,21 @@ export type ResourcesInput = {
|
|
|
1544
1559
|
/** gpu配置 */
|
|
1545
1560
|
nvidiaGPU?: InputMaybe<Scalars['String']['input']>;
|
|
1546
1561
|
};
|
|
1562
|
+
/** Tool 应用和Agent中用到的工具 */
|
|
1563
|
+
export type Tool = {
|
|
1564
|
+
__typename?: 'Tool';
|
|
1565
|
+
/** 名称,目前只有bing可选 */
|
|
1566
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
1567
|
+
/** params 参数 */
|
|
1568
|
+
params?: Maybe<Scalars['Map']['output']>;
|
|
1569
|
+
};
|
|
1570
|
+
/** ToolInput 应用和Agent中用到的工具 */
|
|
1571
|
+
export type ToolInput = {
|
|
1572
|
+
/** 名称(必填),目前只有bing可选 */
|
|
1573
|
+
name: Scalars['String']['input'];
|
|
1574
|
+
/** params 参数,可选 */
|
|
1575
|
+
params?: InputMaybe<Scalars['Map']['input']>;
|
|
1576
|
+
};
|
|
1547
1577
|
export type TypedObjectReference = {
|
|
1548
1578
|
__typename?: 'TypedObjectReference';
|
|
1549
1579
|
apiGroup?: Maybe<Scalars['String']['output']>;
|
|
@@ -1597,6 +1627,8 @@ export type UpdateApplicationConfigInput = {
|
|
|
1597
1627
|
showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1598
1628
|
/** temperature 温度 */
|
|
1599
1629
|
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
1630
|
+
/** tools 要使用的工具列表 */
|
|
1631
|
+
tools?: InputMaybe<Array<InputMaybe<ToolInput>>>;
|
|
1600
1632
|
/** userPrompt 用户级别的 Prompt */
|
|
1601
1633
|
userPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
1602
1634
|
};
|
|
@@ -1669,6 +1701,8 @@ export type UpdateDatasourceInput = {
|
|
|
1669
1701
|
namespace: Scalars['String']['input'];
|
|
1670
1702
|
/** 数据源为对象存储类型时的输入 */
|
|
1671
1703
|
ossinput?: InputMaybe<OssInput>;
|
|
1704
|
+
/** 数据源为Web数据时的输入 */
|
|
1705
|
+
webinput?: InputMaybe<WebInput>;
|
|
1672
1706
|
};
|
|
1673
1707
|
export type UpdateEmbedderInput = {
|
|
1674
1708
|
/** 模型服务资源注释 */
|
|
@@ -1681,6 +1715,8 @@ export type UpdateEmbedderInput = {
|
|
|
1681
1715
|
endpointinput?: InputMaybe<EndpointInput>;
|
|
1682
1716
|
/** 模型服务资源标签 */
|
|
1683
1717
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
1718
|
+
/** 此Embedder支持调用的模型列表 */
|
|
1719
|
+
models?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1684
1720
|
/** 待修改模型服务资源名称(必填) */
|
|
1685
1721
|
name: Scalars['String']['input'];
|
|
1686
1722
|
/** 待修改模型服务创建命名空间(必填) */
|
|
@@ -1719,6 +1755,8 @@ export type UpdateLlmInput = {
|
|
|
1719
1755
|
endpointinput?: InputMaybe<EndpointInput>;
|
|
1720
1756
|
/** 模型服务资源标签 */
|
|
1721
1757
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
1758
|
+
/** 此LLM支持调用的模型列表 */
|
|
1759
|
+
models?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1722
1760
|
/** 待修改模型服务资源名称(必填) */
|
|
1723
1761
|
name: Scalars['String']['input'];
|
|
1724
1762
|
/** 待修改模型服务创建命名空间(必填) */
|
|
@@ -1919,6 +1957,13 @@ export type VersionedDatasetQueryGetVersionedDatasetArgs = {
|
|
|
1919
1957
|
export type VersionedDatasetQueryListVersionedDatasetsArgs = {
|
|
1920
1958
|
input: ListVersionedDatasetInput;
|
|
1921
1959
|
};
|
|
1960
|
+
export type Web = {
|
|
1961
|
+
__typename?: 'Web';
|
|
1962
|
+
recommendIntervalTime?: Maybe<Scalars['Int']['output']>;
|
|
1963
|
+
};
|
|
1964
|
+
export type WebInput = {
|
|
1965
|
+
recommendIntervalTime: Scalars['Int']['input'];
|
|
1966
|
+
};
|
|
1922
1967
|
/** 本地模型服务节点 */
|
|
1923
1968
|
export type Worker = {
|
|
1924
1969
|
__typename?: 'Worker';
|
|
@@ -2173,6 +2218,11 @@ export type UpdateApplicationConfigMutation = {
|
|
|
2173
2218
|
isPublic?: boolean | null;
|
|
2174
2219
|
status?: string | null;
|
|
2175
2220
|
} | null;
|
|
2221
|
+
tools?: Array<{
|
|
2222
|
+
__typename?: 'Tool';
|
|
2223
|
+
name?: string | null;
|
|
2224
|
+
params?: any | null;
|
|
2225
|
+
} | null> | null;
|
|
2176
2226
|
};
|
|
2177
2227
|
} | null;
|
|
2178
2228
|
};
|
|
@@ -2217,6 +2267,11 @@ export type GetApplicationQuery = {
|
|
|
2217
2267
|
isPublic?: boolean | null;
|
|
2218
2268
|
status?: string | null;
|
|
2219
2269
|
} | null;
|
|
2270
|
+
tools?: Array<{
|
|
2271
|
+
__typename?: 'Tool';
|
|
2272
|
+
name?: string | null;
|
|
2273
|
+
params?: any | null;
|
|
2274
|
+
} | null> | null;
|
|
2220
2275
|
};
|
|
2221
2276
|
} | null;
|
|
2222
2277
|
};
|
|
@@ -2717,6 +2772,7 @@ export type CreateDatasourceMutation = {
|
|
|
2717
2772
|
creator?: string | null;
|
|
2718
2773
|
displayName?: string | null;
|
|
2719
2774
|
description?: string | null;
|
|
2775
|
+
type: string;
|
|
2720
2776
|
creationTimestamp?: any | null;
|
|
2721
2777
|
updateTimestamp?: any | null;
|
|
2722
2778
|
status?: string | null;
|
|
@@ -2736,6 +2792,10 @@ export type CreateDatasourceMutation = {
|
|
|
2736
2792
|
bucket?: string | null;
|
|
2737
2793
|
object?: string | null;
|
|
2738
2794
|
} | null;
|
|
2795
|
+
web?: {
|
|
2796
|
+
__typename?: 'Web';
|
|
2797
|
+
recommendIntervalTime?: number | null;
|
|
2798
|
+
} | null;
|
|
2739
2799
|
};
|
|
2740
2800
|
} | null;
|
|
2741
2801
|
};
|
|
@@ -2754,6 +2814,7 @@ export type UpdateDatasourceMutation = {
|
|
|
2754
2814
|
creator?: string | null;
|
|
2755
2815
|
displayName?: string | null;
|
|
2756
2816
|
description?: string | null;
|
|
2817
|
+
type: string;
|
|
2757
2818
|
creationTimestamp?: any | null;
|
|
2758
2819
|
updateTimestamp?: any | null;
|
|
2759
2820
|
status?: string | null;
|
|
@@ -2773,6 +2834,10 @@ export type UpdateDatasourceMutation = {
|
|
|
2773
2834
|
bucket?: string | null;
|
|
2774
2835
|
object?: string | null;
|
|
2775
2836
|
} | null;
|
|
2837
|
+
web?: {
|
|
2838
|
+
__typename?: 'Web';
|
|
2839
|
+
recommendIntervalTime?: number | null;
|
|
2840
|
+
} | null;
|
|
2776
2841
|
};
|
|
2777
2842
|
} | null;
|
|
2778
2843
|
};
|
|
@@ -2809,6 +2874,7 @@ export type ListDatasourcesQuery = {
|
|
|
2809
2874
|
creator?: string | null;
|
|
2810
2875
|
displayName?: string | null;
|
|
2811
2876
|
description?: string | null;
|
|
2877
|
+
type: string;
|
|
2812
2878
|
creationTimestamp?: any | null;
|
|
2813
2879
|
updateTimestamp?: any | null;
|
|
2814
2880
|
status?: string | null;
|
|
@@ -2828,6 +2894,10 @@ export type ListDatasourcesQuery = {
|
|
|
2828
2894
|
bucket?: string | null;
|
|
2829
2895
|
object?: string | null;
|
|
2830
2896
|
} | null;
|
|
2897
|
+
web?: {
|
|
2898
|
+
__typename?: 'Web';
|
|
2899
|
+
recommendIntervalTime?: number | null;
|
|
2900
|
+
} | null;
|
|
2831
2901
|
} | {
|
|
2832
2902
|
__typename: 'Embedder';
|
|
2833
2903
|
} | {
|
|
@@ -2866,6 +2936,7 @@ export type GetDatasourceQuery = {
|
|
|
2866
2936
|
creator?: string | null;
|
|
2867
2937
|
displayName?: string | null;
|
|
2868
2938
|
description?: string | null;
|
|
2939
|
+
type: string;
|
|
2869
2940
|
creationTimestamp?: any | null;
|
|
2870
2941
|
updateTimestamp?: any | null;
|
|
2871
2942
|
status?: string | null;
|
|
@@ -2885,6 +2956,10 @@ export type GetDatasourceQuery = {
|
|
|
2885
2956
|
bucket?: string | null;
|
|
2886
2957
|
object?: string | null;
|
|
2887
2958
|
} | null;
|
|
2959
|
+
web?: {
|
|
2960
|
+
__typename?: 'Web';
|
|
2961
|
+
recommendIntervalTime?: number | null;
|
|
2962
|
+
} | null;
|
|
2888
2963
|
};
|
|
2889
2964
|
} | null;
|
|
2890
2965
|
};
|
package/dist/esm/sdk.js
CHANGED
|
@@ -116,6 +116,10 @@ import useSWR from "./useSWR";
|
|
|
116
116
|
|
|
117
117
|
/** 资源配置的输入 */
|
|
118
118
|
|
|
119
|
+
/** Tool 应用和Agent中用到的工具 */
|
|
120
|
+
|
|
121
|
+
/** ToolInput 应用和Agent中用到的工具 */
|
|
122
|
+
|
|
119
123
|
/** 数据集更新的输入 */
|
|
120
124
|
|
|
121
125
|
/** 更新数据源的输入 */
|
|
@@ -161,8 +165,8 @@ import useSWR from "./useSWR";
|
|
|
161
165
|
export var CreateApplicationDocument = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n mutation createApplication($input: CreateApplicationMetadataInput!) {\n Application {\n createApplication(input: $input) {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n }\n }\n}\n "])));
|
|
162
166
|
export var UpdateApplicationDocument = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n mutation updateApplication($input: UpdateApplicationMetadataInput!) {\n Application {\n updateApplication(input: $input) {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n isPublic\n }\n }\n}\n "])));
|
|
163
167
|
export var DeleteApplicationDocument = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation deleteApplication($input: DeleteCommonInput!) {\n Application {\n deleteApplication(input: $input)\n }\n}\n "])));
|
|
164
|
-
export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n }\n}\n "])));
|
|
165
|
-
export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n }\n }\n}\n "])));
|
|
168
|
+
export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n }\n }\n}\n "])));
|
|
169
|
+
export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n }\n }\n}\n "])));
|
|
166
170
|
export var ListApplicationsDocument = gql(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n query listApplications($input: ListCommonInput!) {\n Application {\n listApplicationMetadata(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on ApplicationMetadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n }\n }\n }\n }\n}\n "])));
|
|
167
171
|
export var AllDataProcessListByPageDocument = gql(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {\n dataProcess {\n allDataProcessListByPage(input: $input) {\n status\n data {\n id\n name\n status\n pre_data_set_name\n pre_data_set_version\n post_data_set_name\n post_data_set_version\n start_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
|
|
168
172
|
export var AllDataProcessListByCountDocument = gql(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n query allDataProcessListByCount($input: AllDataProcessListByCountInput!) {\n dataProcess {\n allDataProcessListByCount(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
@@ -179,11 +183,11 @@ export var GetDatasetDocument = gql(_templateObject18 || (_templateObject18 = _t
|
|
|
179
183
|
export var CreateDatasetDocument = gql(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n mutation createDataset($input: CreateDatasetInput) {\n Dataset {\n createDataset(input: $input) {\n name\n displayName\n labels\n }\n }\n}\n "])));
|
|
180
184
|
export var UpdateDatasetDocument = gql(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n mutation updateDataset($input: UpdateDatasetInput) {\n Dataset {\n updateDataset(input: $input) {\n name\n displayName\n labels\n }\n }\n}\n "])));
|
|
181
185
|
export var DeleteDatasetsDocument = gql(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n mutation deleteDatasets($input: DeleteCommonInput) {\n Dataset {\n deleteDatasets(input: $input)\n }\n}\n "])));
|
|
182
|
-
export var CreateDatasourceDocument = gql(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n mutation createDatasource($input: CreateDatasourceInput!) {\n Datasource {\n createDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n oss {\n bucket\n object\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
183
|
-
export var UpdateDatasourceDocument = gql(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n mutation updateDatasource($input: UpdateDatasourceInput) {\n Datasource {\n updateDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n oss {\n bucket\n object\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
186
|
+
export var CreateDatasourceDocument = gql(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n mutation createDatasource($input: CreateDatasourceInput!) {\n Datasource {\n createDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
187
|
+
export var UpdateDatasourceDocument = gql(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n mutation updateDatasource($input: UpdateDatasourceInput) {\n Datasource {\n updateDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
184
188
|
export var DeleteDatasourcesDocument = gql(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n mutation deleteDatasources($input: DeleteCommonInput!) {\n Datasource {\n deleteDatasources(input: $input)\n }\n}\n "])));
|
|
185
|
-
export var ListDatasourcesDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n query listDatasources($input: ListCommonInput!) {\n Datasource {\n listDatasources(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Datasource {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n oss {\n bucket\n object\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
186
|
-
export var GetDatasourceDocument = gql(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n query getDatasource($name: String!, $namespace: String!) {\n Datasource {\n getDatasource(name: $name, namespace: $namespace) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n oss {\n bucket\n object\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
189
|
+
export var ListDatasourcesDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n query listDatasources($input: ListCommonInput!) {\n Datasource {\n listDatasources(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Datasource {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
190
|
+
export var GetDatasourceDocument = gql(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n query getDatasource($name: String!, $namespace: String!) {\n Datasource {\n getDatasource(name: $name, namespace: $namespace) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
187
191
|
export var CheckDatasourceDocument = gql(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n query checkDatasource($input: CreateDatasourceInput!) {\n Datasource {\n checkDatasource(input: $input) {\n name\n namespace\n status\n message\n }\n }\n}\n "])));
|
|
188
192
|
export var CreateEmbedderDocument = gql(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n mutation createEmbedder($input: CreateEmbedderInput!) {\n Embedder {\n createEmbedder(input: $input) {\n name\n namespace\n labels\n annotations\n displayName\n description\n type\n baseUrl\n models\n provider\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
189
193
|
export var UpdateEmbedderDocument = gql(_templateObject29 || (_templateObject29 = _taggedTemplateLiteral(["\n mutation updateEmbedder($input: UpdateEmbedderInput) {\n Embedder {\n updateEmbedder(input: $input) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|