@yuntijs/arcadia-bff-sdk 1.2.21 → 1.2.22
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 +87 -0
- package/dist/cjs/sdk.d.ts +236 -11
- package/dist/cjs/sdk.js +97 -2
- package/dist/cjs/taro.d.ts +64 -0
- package/dist/esm/index.d.ts +87 -0
- package/dist/esm/sdk.d.ts +236 -11
- package/dist/esm/sdk.js +98 -69
- package/dist/esm/taro.d.ts +64 -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/sdk.d.ts
CHANGED
|
@@ -109,13 +109,8 @@ export type Application = {
|
|
|
109
109
|
enableRerank?: Maybe<Scalars['Boolean']['output']>;
|
|
110
110
|
/** enableUploadFile 是否开启对话上传文档功能 */
|
|
111
111
|
enableUploadFile?: Maybe<Scalars['Boolean']['output']>;
|
|
112
|
-
/**
|
|
113
|
-
* knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库
|
|
114
|
-
* @deprecated Use knowledgebases
|
|
115
|
-
*/
|
|
112
|
+
/** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
116
113
|
knowledgebase?: Maybe<Scalars['String']['output']>;
|
|
117
|
-
/** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,支持选择零个或一个或多个 */
|
|
118
|
-
knowledgebases?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
119
114
|
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
120
115
|
llm: Scalars['String']['output'];
|
|
121
116
|
/** maxLength 最大响应长度 */
|
|
@@ -208,26 +203,57 @@ export type ApplicationMetadata = {
|
|
|
208
203
|
export type ApplicationMutation = {
|
|
209
204
|
__typename?: 'ApplicationMutation';
|
|
210
205
|
createApplication: ApplicationMetadata;
|
|
206
|
+
createOrUpdateApplicationPrompt?: Maybe<Scalars['Void']['output']>;
|
|
211
207
|
deleteApplication?: Maybe<Scalars['Void']['output']>;
|
|
208
|
+
deleteApplicationPrompt?: Maybe<Scalars['Void']['output']>;
|
|
209
|
+
releaseApplication: ApplicationMetadata;
|
|
212
210
|
updateApplication: ApplicationMetadata;
|
|
213
211
|
updateApplicationConfig: Application;
|
|
214
212
|
};
|
|
215
213
|
export type ApplicationMutationCreateApplicationArgs = {
|
|
216
214
|
input: CreateApplicationMetadataInput;
|
|
217
215
|
};
|
|
216
|
+
export type ApplicationMutationCreateOrUpdateApplicationPromptArgs = {
|
|
217
|
+
input?: InputMaybe<Array<ApplicationPromptInput>>;
|
|
218
|
+
namespacedname: Scalars['String']['input'];
|
|
219
|
+
};
|
|
218
220
|
export type ApplicationMutationDeleteApplicationArgs = {
|
|
219
221
|
input: DeleteCommonInput;
|
|
220
222
|
};
|
|
223
|
+
export type ApplicationMutationDeleteApplicationPromptArgs = {
|
|
224
|
+
ids?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
225
|
+
namespacedname: Scalars['String']['input'];
|
|
226
|
+
};
|
|
227
|
+
export type ApplicationMutationReleaseApplicationArgs = {
|
|
228
|
+
isPublic: Scalars['Boolean']['input'];
|
|
229
|
+
name: Scalars['String']['input'];
|
|
230
|
+
namespace: Scalars['String']['input'];
|
|
231
|
+
};
|
|
221
232
|
export type ApplicationMutationUpdateApplicationArgs = {
|
|
222
233
|
input: UpdateApplicationMetadataInput;
|
|
223
234
|
};
|
|
224
235
|
export type ApplicationMutationUpdateApplicationConfigArgs = {
|
|
225
236
|
input: UpdateApplicationConfigInput;
|
|
226
237
|
};
|
|
238
|
+
export type ApplicationPrompt = {
|
|
239
|
+
__typename?: 'ApplicationPrompt';
|
|
240
|
+
content: Scalars['String']['output'];
|
|
241
|
+
createdAt: Scalars['Time']['output'];
|
|
242
|
+
id: Scalars['String']['output'];
|
|
243
|
+
namespacedname: Scalars['String']['output'];
|
|
244
|
+
updatedAt: Scalars['Time']['output'];
|
|
245
|
+
};
|
|
246
|
+
export type ApplicationPromptInput = {
|
|
247
|
+
/** prompt的内容,更新或者创建的时候必须填写 */
|
|
248
|
+
content: Scalars['String']['input'];
|
|
249
|
+
/** 记录的ID,创建的时候可以不用填写,更新必须填写 */
|
|
250
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
251
|
+
};
|
|
227
252
|
export type ApplicationQuery = {
|
|
228
253
|
__typename?: 'ApplicationQuery';
|
|
229
254
|
getApplication: Application;
|
|
230
255
|
listApplicationMetadata: PaginatedResult;
|
|
256
|
+
listApplicationPrompt: PaginatedResult;
|
|
231
257
|
};
|
|
232
258
|
export type ApplicationQueryGetApplicationArgs = {
|
|
233
259
|
name: Scalars['String']['input'];
|
|
@@ -236,6 +262,11 @@ export type ApplicationQueryGetApplicationArgs = {
|
|
|
236
262
|
export type ApplicationQueryListApplicationMetadataArgs = {
|
|
237
263
|
input: ListCommonInput;
|
|
238
264
|
};
|
|
265
|
+
export type ApplicationQueryListApplicationPromptArgs = {
|
|
266
|
+
namespacedname: Scalars['String']['input'];
|
|
267
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
268
|
+
size?: InputMaybe<Scalars['Int']['input']>;
|
|
269
|
+
};
|
|
239
270
|
export type CheckDataProcessTaskNameInput = {
|
|
240
271
|
name: Scalars['String']['input'];
|
|
241
272
|
namespace: Scalars['String']['input'];
|
|
@@ -537,6 +568,8 @@ export type CreateWorkerInput = {
|
|
|
537
568
|
* 规则: 必填
|
|
538
569
|
*/
|
|
539
570
|
resources: ResourcesInput;
|
|
571
|
+
/** PVC 配置信息 */
|
|
572
|
+
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
540
573
|
/**
|
|
541
574
|
* Worker类型
|
|
542
575
|
* 支持两种类型:
|
|
@@ -1767,7 +1800,7 @@ export type OssInput = {
|
|
|
1767
1800
|
bucket: Scalars['String']['input'];
|
|
1768
1801
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1769
1802
|
};
|
|
1770
|
-
export type PageNode = ApplicationMetadata | Dataset | Datasource | Embedder | F | Gpt | KnowledgeBase | Llm | Model | ModelService | Node | Rag | RayCluster | VersionedDataset | Worker;
|
|
1803
|
+
export type PageNode = ApplicationMetadata | ApplicationPrompt | Dataset | Datasource | Embedder | F | Gpt | KnowledgeBase | Llm | Model | ModelService | Node | Rag | RayCluster | VersionedDataset | Worker;
|
|
1771
1804
|
export type PaginatedDataProcessItem = {
|
|
1772
1805
|
__typename?: 'PaginatedDataProcessItem';
|
|
1773
1806
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -2132,8 +2165,6 @@ export type UpdateApplicationConfigInput = {
|
|
|
2132
2165
|
enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2133
2166
|
/** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
2134
2167
|
knowledgebase?: InputMaybe<Scalars['String']['input']>;
|
|
2135
|
-
/** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,支持选择零个或一个或多个 */
|
|
2136
|
-
knowledgebases?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
2137
2168
|
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
2138
2169
|
llm: Scalars['String']['input'];
|
|
2139
2170
|
/** maxLength 最大响应长度 */
|
|
@@ -2612,6 +2643,8 @@ export type Worker = {
|
|
|
2612
2643
|
* - Error: 异常
|
|
2613
2644
|
*/
|
|
2614
2645
|
status?: Maybe<Scalars['String']['output']>;
|
|
2646
|
+
/** PVC 配置信息 */
|
|
2647
|
+
storage?: Maybe<PersistentVolumeClaimSpec>;
|
|
2615
2648
|
/**
|
|
2616
2649
|
* Worker类型
|
|
2617
2650
|
* 支持两种类型:
|
|
@@ -2799,7 +2832,6 @@ export type UpdateApplicationConfigMutation = {
|
|
|
2799
2832
|
maxTokens?: number | null;
|
|
2800
2833
|
conversionWindowSize?: number | null;
|
|
2801
2834
|
knowledgebase?: string | null;
|
|
2802
|
-
knowledgebases?: Array<string | null> | null;
|
|
2803
2835
|
scoreThreshold?: number | null;
|
|
2804
2836
|
numDocuments?: number | null;
|
|
2805
2837
|
docNullReturn?: string | null;
|
|
@@ -2843,6 +2875,58 @@ export type UpdateApplicationConfigMutation = {
|
|
|
2843
2875
|
};
|
|
2844
2876
|
} | null;
|
|
2845
2877
|
};
|
|
2878
|
+
export type ReleaseApplicationMutationVariables = Exact<{
|
|
2879
|
+
name: Scalars['String']['input'];
|
|
2880
|
+
namespace: Scalars['String']['input'];
|
|
2881
|
+
isPublic: Scalars['Boolean']['input'];
|
|
2882
|
+
}>;
|
|
2883
|
+
export type ReleaseApplicationMutation = {
|
|
2884
|
+
__typename?: 'Mutation';
|
|
2885
|
+
Application?: {
|
|
2886
|
+
__typename?: 'ApplicationMutation';
|
|
2887
|
+
releaseApplication: {
|
|
2888
|
+
__typename?: 'ApplicationMetadata';
|
|
2889
|
+
name: string;
|
|
2890
|
+
namespace: string;
|
|
2891
|
+
id?: string | null;
|
|
2892
|
+
labels?: any | null;
|
|
2893
|
+
annotations?: any | null;
|
|
2894
|
+
displayName?: string | null;
|
|
2895
|
+
description?: string | null;
|
|
2896
|
+
icon?: string | null;
|
|
2897
|
+
creator?: string | null;
|
|
2898
|
+
creationTimestamp?: any | null;
|
|
2899
|
+
updateTimestamp?: any | null;
|
|
2900
|
+
isPublic?: boolean | null;
|
|
2901
|
+
isRecommended?: boolean | null;
|
|
2902
|
+
status?: string | null;
|
|
2903
|
+
category?: Array<string | null> | null;
|
|
2904
|
+
notReadyReasonCode?: string | null;
|
|
2905
|
+
};
|
|
2906
|
+
} | null;
|
|
2907
|
+
};
|
|
2908
|
+
export type CreateOrUpdateApplicationPromptMutationVariables = Exact<{
|
|
2909
|
+
namespacedname: Scalars['String']['input'];
|
|
2910
|
+
input?: InputMaybe<Array<ApplicationPromptInput> | ApplicationPromptInput>;
|
|
2911
|
+
}>;
|
|
2912
|
+
export type CreateOrUpdateApplicationPromptMutation = {
|
|
2913
|
+
__typename?: 'Mutation';
|
|
2914
|
+
Application?: {
|
|
2915
|
+
__typename?: 'ApplicationMutation';
|
|
2916
|
+
createOrUpdateApplicationPrompt?: any | null;
|
|
2917
|
+
} | null;
|
|
2918
|
+
};
|
|
2919
|
+
export type DeleteApplicationPromptMutationVariables = Exact<{
|
|
2920
|
+
namespacedname: Scalars['String']['input'];
|
|
2921
|
+
ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
2922
|
+
}>;
|
|
2923
|
+
export type DeleteApplicationPromptMutation = {
|
|
2924
|
+
__typename?: 'Mutation';
|
|
2925
|
+
Application?: {
|
|
2926
|
+
__typename?: 'ApplicationMutation';
|
|
2927
|
+
deleteApplicationPrompt?: any | null;
|
|
2928
|
+
} | null;
|
|
2929
|
+
};
|
|
2846
2930
|
export type GetApplicationQueryVariables = Exact<{
|
|
2847
2931
|
name: Scalars['String']['input'];
|
|
2848
2932
|
namespace: Scalars['String']['input'];
|
|
@@ -2861,7 +2945,6 @@ export type GetApplicationQuery = {
|
|
|
2861
2945
|
maxTokens?: number | null;
|
|
2862
2946
|
conversionWindowSize?: number | null;
|
|
2863
2947
|
knowledgebase?: string | null;
|
|
2864
|
-
knowledgebases?: Array<string | null> | null;
|
|
2865
2948
|
scoreThreshold?: number | null;
|
|
2866
2949
|
numDocuments?: number | null;
|
|
2867
2950
|
docNullReturn?: string | null;
|
|
@@ -2936,6 +3019,63 @@ export type ListApplicationsQuery = {
|
|
|
2936
3019
|
status?: string | null;
|
|
2937
3020
|
category?: Array<string | null> | null;
|
|
2938
3021
|
notReadyReasonCode?: string | null;
|
|
3022
|
+
} | {
|
|
3023
|
+
__typename?: 'ApplicationPrompt';
|
|
3024
|
+
} | {
|
|
3025
|
+
__typename?: 'Dataset';
|
|
3026
|
+
} | {
|
|
3027
|
+
__typename?: 'Datasource';
|
|
3028
|
+
} | {
|
|
3029
|
+
__typename?: 'Embedder';
|
|
3030
|
+
} | {
|
|
3031
|
+
__typename?: 'F';
|
|
3032
|
+
} | {
|
|
3033
|
+
__typename?: 'GPT';
|
|
3034
|
+
} | {
|
|
3035
|
+
__typename?: 'KnowledgeBase';
|
|
3036
|
+
} | {
|
|
3037
|
+
__typename?: 'LLM';
|
|
3038
|
+
} | {
|
|
3039
|
+
__typename?: 'Model';
|
|
3040
|
+
} | {
|
|
3041
|
+
__typename?: 'ModelService';
|
|
3042
|
+
} | {
|
|
3043
|
+
__typename?: 'Node';
|
|
3044
|
+
} | {
|
|
3045
|
+
__typename?: 'RAG';
|
|
3046
|
+
} | {
|
|
3047
|
+
__typename?: 'RayCluster';
|
|
3048
|
+
} | {
|
|
3049
|
+
__typename?: 'VersionedDataset';
|
|
3050
|
+
} | {
|
|
3051
|
+
__typename?: 'Worker';
|
|
3052
|
+
}> | null;
|
|
3053
|
+
};
|
|
3054
|
+
} | null;
|
|
3055
|
+
};
|
|
3056
|
+
export type ListApplicationPromptQueryVariables = Exact<{
|
|
3057
|
+
namespacedname: Scalars['String']['input'];
|
|
3058
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3059
|
+
size?: InputMaybe<Scalars['Int']['input']>;
|
|
3060
|
+
}>;
|
|
3061
|
+
export type ListApplicationPromptQuery = {
|
|
3062
|
+
__typename?: 'Query';
|
|
3063
|
+
Application?: {
|
|
3064
|
+
__typename?: 'ApplicationQuery';
|
|
3065
|
+
listApplicationPrompt: {
|
|
3066
|
+
__typename?: 'PaginatedResult';
|
|
3067
|
+
totalCount: number;
|
|
3068
|
+
page?: number | null;
|
|
3069
|
+
pageSize?: number | null;
|
|
3070
|
+
nodes?: Array<{
|
|
3071
|
+
__typename?: 'ApplicationMetadata';
|
|
3072
|
+
} | {
|
|
3073
|
+
__typename?: 'ApplicationPrompt';
|
|
3074
|
+
id: string;
|
|
3075
|
+
namespacedname: string;
|
|
3076
|
+
content: string;
|
|
3077
|
+
createdAt: any;
|
|
3078
|
+
updatedAt: any;
|
|
2939
3079
|
} | {
|
|
2940
3080
|
__typename?: 'Dataset';
|
|
2941
3081
|
} | {
|
|
@@ -3247,6 +3387,8 @@ export type ListDatasetsQuery = {
|
|
|
3247
3387
|
hasNextPage: boolean;
|
|
3248
3388
|
nodes?: Array<{
|
|
3249
3389
|
__typename?: 'ApplicationMetadata';
|
|
3390
|
+
} | {
|
|
3391
|
+
__typename?: 'ApplicationPrompt';
|
|
3250
3392
|
} | {
|
|
3251
3393
|
__typename?: 'Dataset';
|
|
3252
3394
|
name: string;
|
|
@@ -3263,6 +3405,8 @@ export type ListDatasetsQuery = {
|
|
|
3263
3405
|
hasNextPage: boolean;
|
|
3264
3406
|
nodes?: Array<{
|
|
3265
3407
|
__typename?: 'ApplicationMetadata';
|
|
3408
|
+
} | {
|
|
3409
|
+
__typename?: 'ApplicationPrompt';
|
|
3266
3410
|
} | {
|
|
3267
3411
|
__typename?: 'Dataset';
|
|
3268
3412
|
} | {
|
|
@@ -3362,6 +3506,8 @@ export type GetDatasetQuery = {
|
|
|
3362
3506
|
hasNextPage: boolean;
|
|
3363
3507
|
nodes?: Array<{
|
|
3364
3508
|
__typename?: 'ApplicationMetadata';
|
|
3509
|
+
} | {
|
|
3510
|
+
__typename?: 'ApplicationPrompt';
|
|
3365
3511
|
} | {
|
|
3366
3512
|
__typename?: 'Dataset';
|
|
3367
3513
|
} | {
|
|
@@ -3563,6 +3709,8 @@ export type ListDatasourcesQuery = {
|
|
|
3563
3709
|
hasNextPage: boolean;
|
|
3564
3710
|
nodes?: Array<{
|
|
3565
3711
|
__typename: 'ApplicationMetadata';
|
|
3712
|
+
} | {
|
|
3713
|
+
__typename: 'ApplicationPrompt';
|
|
3566
3714
|
} | {
|
|
3567
3715
|
__typename: 'Dataset';
|
|
3568
3716
|
} | {
|
|
@@ -3765,6 +3913,8 @@ export type ListEmbeddersQuery = {
|
|
|
3765
3913
|
hasNextPage: boolean;
|
|
3766
3914
|
nodes?: Array<{
|
|
3767
3915
|
__typename?: 'ApplicationMetadata';
|
|
3916
|
+
} | {
|
|
3917
|
+
__typename?: 'ApplicationPrompt';
|
|
3768
3918
|
} | {
|
|
3769
3919
|
__typename?: 'Dataset';
|
|
3770
3920
|
} | {
|
|
@@ -3875,6 +4025,8 @@ export type ListGpTsQuery = {
|
|
|
3875
4025
|
hasNextPage: boolean;
|
|
3876
4026
|
nodes?: Array<{
|
|
3877
4027
|
__typename?: 'ApplicationMetadata';
|
|
4028
|
+
} | {
|
|
4029
|
+
__typename?: 'ApplicationPrompt';
|
|
3878
4030
|
} | {
|
|
3879
4031
|
__typename?: 'Dataset';
|
|
3880
4032
|
} | {
|
|
@@ -3963,6 +4115,8 @@ export type ListKnowledgeBasesQuery = {
|
|
|
3963
4115
|
hasNextPage: boolean;
|
|
3964
4116
|
nodes?: Array<{
|
|
3965
4117
|
__typename?: 'ApplicationMetadata';
|
|
4118
|
+
} | {
|
|
4119
|
+
__typename?: 'ApplicationPrompt';
|
|
3966
4120
|
} | {
|
|
3967
4121
|
__typename?: 'Dataset';
|
|
3968
4122
|
} | {
|
|
@@ -4251,6 +4405,8 @@ export type ListLlMsQuery = {
|
|
|
4251
4405
|
hasNextPage: boolean;
|
|
4252
4406
|
nodes?: Array<{
|
|
4253
4407
|
__typename?: 'ApplicationMetadata';
|
|
4408
|
+
} | {
|
|
4409
|
+
__typename?: 'ApplicationPrompt';
|
|
4254
4410
|
} | {
|
|
4255
4411
|
__typename?: 'Dataset';
|
|
4256
4412
|
} | {
|
|
@@ -4336,6 +4492,8 @@ export type ListModelsQuery = {
|
|
|
4336
4492
|
hasNextPage: boolean;
|
|
4337
4493
|
nodes?: Array<{
|
|
4338
4494
|
__typename: 'ApplicationMetadata';
|
|
4495
|
+
} | {
|
|
4496
|
+
__typename: 'ApplicationPrompt';
|
|
4339
4497
|
} | {
|
|
4340
4498
|
__typename: 'Dataset';
|
|
4341
4499
|
} | {
|
|
@@ -4376,6 +4534,8 @@ export type ListModelsQuery = {
|
|
|
4376
4534
|
hasNextPage: boolean;
|
|
4377
4535
|
nodes?: Array<{
|
|
4378
4536
|
__typename?: 'ApplicationMetadata';
|
|
4537
|
+
} | {
|
|
4538
|
+
__typename?: 'ApplicationPrompt';
|
|
4379
4539
|
} | {
|
|
4380
4540
|
__typename?: 'Dataset';
|
|
4381
4541
|
} | {
|
|
@@ -4463,6 +4623,8 @@ export type GetModelQuery = {
|
|
|
4463
4623
|
hasNextPage: boolean;
|
|
4464
4624
|
nodes?: Array<{
|
|
4465
4625
|
__typename?: 'ApplicationMetadata';
|
|
4626
|
+
} | {
|
|
4627
|
+
__typename?: 'ApplicationPrompt';
|
|
4466
4628
|
} | {
|
|
4467
4629
|
__typename?: 'Dataset';
|
|
4468
4630
|
} | {
|
|
@@ -4686,6 +4848,8 @@ export type ListModelServicesQuery = {
|
|
|
4686
4848
|
hasNextPage: boolean;
|
|
4687
4849
|
nodes?: Array<{
|
|
4688
4850
|
__typename: 'ApplicationMetadata';
|
|
4851
|
+
} | {
|
|
4852
|
+
__typename: 'ApplicationPrompt';
|
|
4689
4853
|
} | {
|
|
4690
4854
|
__typename: 'Dataset';
|
|
4691
4855
|
} | {
|
|
@@ -4765,6 +4929,8 @@ export type ListNodesQuery = {
|
|
|
4765
4929
|
hasNextPage: boolean;
|
|
4766
4930
|
nodes?: Array<{
|
|
4767
4931
|
__typename: 'ApplicationMetadata';
|
|
4932
|
+
} | {
|
|
4933
|
+
__typename: 'ApplicationPrompt';
|
|
4768
4934
|
} | {
|
|
4769
4935
|
__typename: 'Dataset';
|
|
4770
4936
|
} | {
|
|
@@ -4812,6 +4978,8 @@ export type ListRagQuery = {
|
|
|
4812
4978
|
hasNextPage: boolean;
|
|
4813
4979
|
nodes?: Array<{
|
|
4814
4980
|
__typename?: 'ApplicationMetadata';
|
|
4981
|
+
} | {
|
|
4982
|
+
__typename?: 'ApplicationPrompt';
|
|
4815
4983
|
} | {
|
|
4816
4984
|
__typename?: 'Dataset';
|
|
4817
4985
|
} | {
|
|
@@ -5203,6 +5371,8 @@ export type ListRayClustersQuery = {
|
|
|
5203
5371
|
hasNextPage: boolean;
|
|
5204
5372
|
nodes?: Array<{
|
|
5205
5373
|
__typename: 'ApplicationMetadata';
|
|
5374
|
+
} | {
|
|
5375
|
+
__typename: 'ApplicationPrompt';
|
|
5206
5376
|
} | {
|
|
5207
5377
|
__typename: 'Dataset';
|
|
5208
5378
|
} | {
|
|
@@ -5317,6 +5487,8 @@ export type GetVersionedDatasetQuery = {
|
|
|
5317
5487
|
hasNextPage: boolean;
|
|
5318
5488
|
nodes?: Array<{
|
|
5319
5489
|
__typename?: 'ApplicationMetadata';
|
|
5490
|
+
} | {
|
|
5491
|
+
__typename?: 'ApplicationPrompt';
|
|
5320
5492
|
} | {
|
|
5321
5493
|
__typename?: 'Dataset';
|
|
5322
5494
|
} | {
|
|
@@ -5372,6 +5544,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
5372
5544
|
hasNextPage: boolean;
|
|
5373
5545
|
nodes?: Array<{
|
|
5374
5546
|
__typename?: 'ApplicationMetadata';
|
|
5547
|
+
} | {
|
|
5548
|
+
__typename?: 'ApplicationPrompt';
|
|
5375
5549
|
} | {
|
|
5376
5550
|
__typename?: 'Dataset';
|
|
5377
5551
|
} | {
|
|
@@ -5418,6 +5592,8 @@ export type ListVersionedDatasetsQuery = {
|
|
|
5418
5592
|
hasNextPage: boolean;
|
|
5419
5593
|
nodes?: Array<{
|
|
5420
5594
|
__typename?: 'ApplicationMetadata';
|
|
5595
|
+
} | {
|
|
5596
|
+
__typename?: 'ApplicationPrompt';
|
|
5421
5597
|
} | {
|
|
5422
5598
|
__typename?: 'Dataset';
|
|
5423
5599
|
} | {
|
|
@@ -5475,6 +5651,8 @@ export type ListWorkersQuery = {
|
|
|
5475
5651
|
hasNextPage: boolean;
|
|
5476
5652
|
nodes?: Array<{
|
|
5477
5653
|
__typename: 'ApplicationMetadata';
|
|
5654
|
+
} | {
|
|
5655
|
+
__typename: 'ApplicationPrompt';
|
|
5478
5656
|
} | {
|
|
5479
5657
|
__typename: 'Dataset';
|
|
5480
5658
|
} | {
|
|
@@ -5589,6 +5767,16 @@ export type GetWorkerQuery = {
|
|
|
5589
5767
|
operator: string;
|
|
5590
5768
|
values: Array<string>;
|
|
5591
5769
|
} | null> | null;
|
|
5770
|
+
storage?: {
|
|
5771
|
+
__typename?: 'PersistentVolumeClaimSpec';
|
|
5772
|
+
accessModes: Array<string>;
|
|
5773
|
+
storageClassName?: string | null;
|
|
5774
|
+
resources?: {
|
|
5775
|
+
__typename?: 'Resource';
|
|
5776
|
+
limits?: any | null;
|
|
5777
|
+
requests?: any | null;
|
|
5778
|
+
} | null;
|
|
5779
|
+
} | null;
|
|
5592
5780
|
};
|
|
5593
5781
|
} | null;
|
|
5594
5782
|
};
|
|
@@ -5637,6 +5825,16 @@ export type CreateWorkerMutation = {
|
|
|
5637
5825
|
operator: string;
|
|
5638
5826
|
values: Array<string>;
|
|
5639
5827
|
} | null> | null;
|
|
5828
|
+
storage?: {
|
|
5829
|
+
__typename?: 'PersistentVolumeClaimSpec';
|
|
5830
|
+
accessModes: Array<string>;
|
|
5831
|
+
storageClassName?: string | null;
|
|
5832
|
+
resources?: {
|
|
5833
|
+
__typename?: 'Resource';
|
|
5834
|
+
limits?: any | null;
|
|
5835
|
+
requests?: any | null;
|
|
5836
|
+
} | null;
|
|
5837
|
+
} | null;
|
|
5640
5838
|
};
|
|
5641
5839
|
} | null;
|
|
5642
5840
|
};
|
|
@@ -5702,8 +5900,12 @@ export declare const CreateApplicationDocument: import("../node_modules/.pnpm/gr
|
|
|
5702
5900
|
export declare const UpdateApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5703
5901
|
export declare const DeleteApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5704
5902
|
export declare const UpdateApplicationConfigDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5903
|
+
export declare const ReleaseApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5904
|
+
export declare const CreateOrUpdateApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5905
|
+
export declare const DeleteApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5705
5906
|
export declare const GetApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5706
5907
|
export declare const ListApplicationsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5908
|
+
export declare const ListApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5707
5909
|
export declare const AllDataProcessListByPageDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5708
5910
|
export declare const AllDataProcessListByCountDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
5709
5911
|
export declare const DataProcessSupportTypeDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -5775,8 +5977,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
5775
5977
|
updateApplication(variables: UpdateApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationMutation>;
|
|
5776
5978
|
deleteApplication(variables: DeleteApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationMutation>;
|
|
5777
5979
|
updateApplicationConfig(variables: UpdateApplicationConfigMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationConfigMutation>;
|
|
5980
|
+
releaseApplication(variables: ReleaseApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseApplicationMutation>;
|
|
5981
|
+
createOrUpdateApplicationPrompt(variables: CreateOrUpdateApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateOrUpdateApplicationPromptMutation>;
|
|
5982
|
+
deleteApplicationPrompt(variables: DeleteApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationPromptMutation>;
|
|
5778
5983
|
getApplication(variables: GetApplicationQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetApplicationQuery>;
|
|
5779
5984
|
listApplications(variables: ListApplicationsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationsQuery>;
|
|
5985
|
+
listApplicationPrompt(variables: ListApplicationPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationPromptQuery>;
|
|
5780
5986
|
allDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByPageQuery>;
|
|
5781
5987
|
allDataProcessListByCount(variables: AllDataProcessListByCountQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByCountQuery>;
|
|
5782
5988
|
dataProcessSupportType(variables?: DataProcessSupportTypeQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<DataProcessSupportTypeQuery>;
|
|
@@ -5847,6 +6053,7 @@ export type Sdk = ReturnType<typeof getSdk>;
|
|
|
5847
6053
|
export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
5848
6054
|
useGetApplication(variables: GetApplicationQueryVariables, config?: SWRConfigInterface<GetApplicationQuery, ClientError>): import("./useSWR").SWRResponsePro<GetApplicationQuery, ClientError>;
|
|
5849
6055
|
useListApplications(variables: ListApplicationsQueryVariables, config?: SWRConfigInterface<ListApplicationsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListApplicationsQuery, ClientError>;
|
|
6056
|
+
useListApplicationPrompt(variables: ListApplicationPromptQueryVariables, config?: SWRConfigInterface<ListApplicationPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListApplicationPromptQuery, ClientError>;
|
|
5850
6057
|
useAllDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, config?: SWRConfigInterface<AllDataProcessListByPageQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByPageQuery, ClientError>;
|
|
5851
6058
|
useAllDataProcessListByCount(variables: AllDataProcessListByCountQueryVariables, config?: SWRConfigInterface<AllDataProcessListByCountQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByCountQuery, ClientError>;
|
|
5852
6059
|
useDataProcessSupportType(variables?: DataProcessSupportTypeQueryVariables, config?: SWRConfigInterface<DataProcessSupportTypeQuery, ClientError>): import("./useSWR").SWRResponsePro<DataProcessSupportTypeQuery, ClientError>;
|
|
@@ -5895,6 +6102,19 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
5895
6102
|
updateApplicationConfig(variables: Exact<{
|
|
5896
6103
|
input: UpdateApplicationConfigInput;
|
|
5897
6104
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationConfigMutation>;
|
|
6105
|
+
releaseApplication(variables: Exact<{
|
|
6106
|
+
name: string;
|
|
6107
|
+
namespace: string;
|
|
6108
|
+
isPublic: boolean;
|
|
6109
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseApplicationMutation>;
|
|
6110
|
+
createOrUpdateApplicationPrompt(variables: Exact<{
|
|
6111
|
+
namespacedname: string;
|
|
6112
|
+
input?: InputMaybe<ApplicationPromptInput | ApplicationPromptInput[]> | undefined;
|
|
6113
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateOrUpdateApplicationPromptMutation>;
|
|
6114
|
+
deleteApplicationPrompt(variables: Exact<{
|
|
6115
|
+
namespacedname: string;
|
|
6116
|
+
ids?: InputMaybe<string | string[]> | undefined;
|
|
6117
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteApplicationPromptMutation>;
|
|
5898
6118
|
getApplication(variables: Exact<{
|
|
5899
6119
|
name: string;
|
|
5900
6120
|
namespace: string;
|
|
@@ -5902,6 +6122,11 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
5902
6122
|
listApplications(variables: Exact<{
|
|
5903
6123
|
input: ListCommonInput;
|
|
5904
6124
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListApplicationsQuery>;
|
|
6125
|
+
listApplicationPrompt(variables: Exact<{
|
|
6126
|
+
namespacedname: string;
|
|
6127
|
+
page?: InputMaybe<number> | undefined;
|
|
6128
|
+
size?: InputMaybe<number> | undefined;
|
|
6129
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListApplicationPromptQuery>;
|
|
5905
6130
|
allDataProcessListByPage(variables: Exact<{
|
|
5906
6131
|
input: AllDataProcessListByPageInput;
|
|
5907
6132
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<AllDataProcessListByPageQuery>;
|