@yuntijs/arcadia-bff-sdk 1.1.2 → 1.1.3

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/esm/sdk.d.ts CHANGED
@@ -426,7 +426,7 @@ export type CreateRagInput = {
426
426
  name?: InputMaybe<Scalars['String']['input']>;
427
427
  namespace: Scalars['String']['input'];
428
428
  serviceAccountName?: InputMaybe<Scalars['String']['input']>;
429
- storage: PersistentVolumeClaimSpecInput;
429
+ storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
430
430
  suspend?: InputMaybe<Scalars['Boolean']['input']>;
431
431
  };
432
432
  export type CreateVersionedDatasetInput = {
@@ -1610,7 +1610,7 @@ export type ParameterInput = {
1610
1610
  };
1611
1611
  export type PersistentVolumeClaimSpec = {
1612
1612
  __typename?: 'PersistentVolumeClaimSpec';
1613
- accessModes?: Maybe<Array<Scalars['String']['output']>>;
1613
+ accessModes: Array<Scalars['String']['output']>;
1614
1614
  dataSourceRef?: Maybe<TypedObjectReference>;
1615
1615
  datasource?: Maybe<TypedObjectReference>;
1616
1616
  resources?: Maybe<Resource>;
@@ -1620,14 +1620,14 @@ export type PersistentVolumeClaimSpec = {
1620
1620
  volumeName?: Maybe<Scalars['String']['output']>;
1621
1621
  };
1622
1622
  export type PersistentVolumeClaimSpecInput = {
1623
- accessModes?: InputMaybe<Array<Scalars['String']['input']>>;
1623
+ accessModes: Array<Scalars['String']['input']>;
1624
1624
  dataSourceRef?: InputMaybe<TypedObjectReferenceInput>;
1625
1625
  datasource?: InputMaybe<TypedObjectReferenceInput>;
1626
1626
  resources?: InputMaybe<ResourceInput>;
1627
1627
  selector?: InputMaybe<SelectorInput>;
1628
1628
  storageClassName?: InputMaybe<Scalars['String']['input']>;
1629
1629
  volumeMode?: InputMaybe<Scalars['String']['input']>;
1630
- volumeName: Scalars['String']['input'];
1630
+ volumeName?: InputMaybe<Scalars['String']['input']>;
1631
1631
  };
1632
1632
  export type Query = {
1633
1633
  __typename?: 'Query';
@@ -2099,7 +2099,7 @@ export type UpdateModelServiceInput = {
2099
2099
  };
2100
2100
  export type UpdateRagInput = {
2101
2101
  annotations?: InputMaybe<Scalars['Map']['input']>;
2102
- application: TypedObjectReferenceInput;
2102
+ application?: InputMaybe<TypedObjectReferenceInput>;
2103
2103
  datasets?: InputMaybe<Array<RagDatasetInput>>;
2104
2104
  description?: InputMaybe<Scalars['String']['input']>;
2105
2105
  displayName?: InputMaybe<Scalars['String']['input']>;
@@ -2432,6 +2432,12 @@ export type CreateApplicationMutation = {
2432
2432
  displayName?: string | null;
2433
2433
  description?: string | null;
2434
2434
  icon?: string | null;
2435
+ creator?: string | null;
2436
+ creationTimestamp?: any | null;
2437
+ updateTimestamp?: any | null;
2438
+ isPublic?: boolean | null;
2439
+ status?: string | null;
2440
+ category?: Array<string | null> | null;
2435
2441
  };
2436
2442
  } | null;
2437
2443
  };
@@ -2452,7 +2458,12 @@ export type UpdateApplicationMutation = {
2452
2458
  displayName?: string | null;
2453
2459
  description?: string | null;
2454
2460
  icon?: string | null;
2461
+ creator?: string | null;
2462
+ creationTimestamp?: any | null;
2463
+ updateTimestamp?: any | null;
2455
2464
  isPublic?: boolean | null;
2465
+ status?: string | null;
2466
+ category?: Array<string | null> | null;
2456
2467
  };
2457
2468
  } | null;
2458
2469
  };
@@ -2505,6 +2516,7 @@ export type UpdateApplicationConfigMutation = {
2505
2516
  updateTimestamp?: any | null;
2506
2517
  isPublic?: boolean | null;
2507
2518
  status?: string | null;
2519
+ category?: Array<string | null> | null;
2508
2520
  } | null;
2509
2521
  tools?: Array<{
2510
2522
  __typename?: 'Tool';
@@ -2554,6 +2566,7 @@ export type GetApplicationQuery = {
2554
2566
  updateTimestamp?: any | null;
2555
2567
  isPublic?: boolean | null;
2556
2568
  status?: string | null;
2569
+ category?: Array<string | null> | null;
2557
2570
  } | null;
2558
2571
  tools?: Array<{
2559
2572
  __typename?: 'Tool';
@@ -2591,6 +2604,7 @@ export type ListApplicationsQuery = {
2591
2604
  updateTimestamp?: any | null;
2592
2605
  isPublic?: boolean | null;
2593
2606
  status?: string | null;
2607
+ category?: Array<string | null> | null;
2594
2608
  } | {
2595
2609
  __typename?: 'Dataset';
2596
2610
  } | {
@@ -4297,7 +4311,7 @@ export type ListRagQuery = {
4297
4311
  phaseMessage?: string | null;
4298
4312
  storage: {
4299
4313
  __typename?: 'PersistentVolumeClaimSpec';
4300
- accessModes?: Array<string> | null;
4314
+ accessModes: Array<string>;
4301
4315
  volumeName?: string | null;
4302
4316
  storageClassName?: string | null;
4303
4317
  volumeMode?: string | null;
@@ -4390,7 +4404,7 @@ export type GetRagQuery = {
4390
4404
  phaseMessage?: string | null;
4391
4405
  storage: {
4392
4406
  __typename?: 'PersistentVolumeClaimSpec';
4393
- accessModes?: Array<string> | null;
4407
+ accessModes: Array<string>;
4394
4408
  volumeName?: string | null;
4395
4409
  storageClassName?: string | null;
4396
4410
  volumeMode?: string | null;
@@ -4528,7 +4542,7 @@ export type CreateRagMutation = {
4528
4542
  phaseMessage?: string | null;
4529
4543
  storage: {
4530
4544
  __typename?: 'PersistentVolumeClaimSpec';
4531
- accessModes?: Array<string> | null;
4545
+ accessModes: Array<string>;
4532
4546
  volumeName?: string | null;
4533
4547
  storageClassName?: string | null;
4534
4548
  volumeMode?: string | null;
@@ -4590,7 +4604,7 @@ export type UpdateRagMutation = {
4590
4604
  phaseMessage?: string | null;
4591
4605
  storage: {
4592
4606
  __typename?: 'PersistentVolumeClaimSpec';
4593
- accessModes?: Array<string> | null;
4607
+ accessModes: Array<string>;
4594
4608
  volumeName?: string | null;
4595
4609
  storageClassName?: string | null;
4596
4610
  volumeMode?: string | null;
package/dist/esm/sdk.js CHANGED
@@ -169,12 +169,12 @@ import useSWR from "./useSWR";
169
169
 
170
170
  /** 源文件输入 */
171
171
 
172
- 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 "])));
173
- 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 "])));
172
+ 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 creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n }\n}\n "])));
173
+ 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 creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n }\n}\n "])));
174
174
  export var DeleteApplicationDocument = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation deleteApplication($input: DeleteCommonInput!) {\n Application {\n deleteApplication(input: $input)\n }\n}\n "])));
175
- 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 "])));
176
- 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 "])));
177
- 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 "])));
175
+ 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 category\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 "])));
176
+ 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 category\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 "])));
177
+ 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 category\n }\n }\n }\n }\n}\n "])));
178
178
  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 "])));
179
179
  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 "])));
180
180
  export var DataProcessSupportTypeDocument = gql(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n query dataProcessSupportType {\n dataProcess {\n dataProcessSupportType {\n status\n data {\n name\n description\n children {\n name\n zh_name\n description\n enable\n }\n }\n message\n }\n }\n}\n "])));