@yuntijs/arcadia-bff-sdk 1.2.67 → 1.2.69
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/sdk.d.ts +24 -9
- package/dist/cjs/sdk.js +8 -1
- package/dist/esm/sdk.d.ts +24 -9
- package/dist/esm/sdk.js +5 -5
- 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
|
@@ -616,9 +616,14 @@ export type CreateTuningDataSetInput = {
|
|
|
616
616
|
/** 创建的时候带着版本 */
|
|
617
617
|
versions: Array<CreateTuningVersionedDataSetInput>;
|
|
618
618
|
};
|
|
619
|
+
export type CreateTuningDatasetOutput = {
|
|
620
|
+
__typename?: 'CreateTuningDatasetOutput';
|
|
621
|
+
datasetID: Scalars['String']['output'];
|
|
622
|
+
versionIDs: Array<Scalars['String']['output']>;
|
|
623
|
+
};
|
|
619
624
|
export type CreateTuningVersionedDataSetInput = {
|
|
620
625
|
/** 训练数据集版本的描述信息 */
|
|
621
|
-
description
|
|
626
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
622
627
|
/** 训练数据集版本的版本,每个训练数据的版本不可以重复 */
|
|
623
628
|
version: Scalars['String']['input'];
|
|
624
629
|
};
|
|
@@ -2563,6 +2568,8 @@ export type SftDataset = {
|
|
|
2563
2568
|
id: Scalars['String']['output'];
|
|
2564
2569
|
/** SFT 数据集来源名 */
|
|
2565
2570
|
source: Scalars['String']['output'];
|
|
2571
|
+
/** SFT 数据集 ID */
|
|
2572
|
+
sourceID: Scalars['String']['output'];
|
|
2566
2573
|
/** SFT 数据集版本 */
|
|
2567
2574
|
version: Scalars['String']['output'];
|
|
2568
2575
|
};
|
|
@@ -2659,8 +2666,8 @@ export type TuningDataSet = {
|
|
|
2659
2666
|
export type TuningDataSetMutation = {
|
|
2660
2667
|
__typename?: 'TuningDataSetMutation';
|
|
2661
2668
|
addContent?: Maybe<Scalars['Void']['output']>;
|
|
2662
|
-
addVersion
|
|
2663
|
-
createTuningDataSet
|
|
2669
|
+
addVersion: Scalars['String']['output'];
|
|
2670
|
+
createTuningDataSet: CreateTuningDatasetOutput;
|
|
2664
2671
|
deleteContent?: Maybe<Scalars['Void']['output']>;
|
|
2665
2672
|
deleteTuningDataSet?: Maybe<Scalars['Void']['output']>;
|
|
2666
2673
|
deleteVersionAllContent?: Maybe<Scalars['Void']['output']>;
|
|
@@ -2733,7 +2740,7 @@ export type TuningVersionedDataset = {
|
|
|
2733
2740
|
/** 创建人 */
|
|
2734
2741
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2735
2742
|
/** 训练数据集版本描述 */
|
|
2736
|
-
description
|
|
2743
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2737
2744
|
/** 训练数据使用的文件列表 */
|
|
2738
2745
|
files: PaginatedResult;
|
|
2739
2746
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -7152,7 +7159,7 @@ export type ListTuningDataSetQuery = {
|
|
|
7152
7159
|
} | {
|
|
7153
7160
|
__typename?: 'TuningVersionedDataset';
|
|
7154
7161
|
ID: string;
|
|
7155
|
-
description
|
|
7162
|
+
description?: string | null;
|
|
7156
7163
|
version: string;
|
|
7157
7164
|
creator?: string | null;
|
|
7158
7165
|
createdAt: any;
|
|
@@ -7250,7 +7257,7 @@ export type GetTuningDataSetQuery = {
|
|
|
7250
7257
|
} | {
|
|
7251
7258
|
__typename?: 'TuningVersionedDataset';
|
|
7252
7259
|
ID: string;
|
|
7253
|
-
description
|
|
7260
|
+
description?: string | null;
|
|
7254
7261
|
version: string;
|
|
7255
7262
|
creator?: string | null;
|
|
7256
7263
|
createdAt: any;
|
|
@@ -7281,7 +7288,7 @@ export type GetVersionQuery = {
|
|
|
7281
7288
|
getVersion: {
|
|
7282
7289
|
__typename?: 'TuningVersionedDataset';
|
|
7283
7290
|
ID: string;
|
|
7284
|
-
description
|
|
7291
|
+
description?: string | null;
|
|
7285
7292
|
version: string;
|
|
7286
7293
|
creator?: string | null;
|
|
7287
7294
|
createdAt: any;
|
|
@@ -7444,7 +7451,11 @@ export type CreateTuningDataSetMutation = {
|
|
|
7444
7451
|
__typename?: 'Mutation';
|
|
7445
7452
|
TuningDataSet?: {
|
|
7446
7453
|
__typename?: 'TuningDataSetMutation';
|
|
7447
|
-
createTuningDataSet
|
|
7454
|
+
createTuningDataSet: {
|
|
7455
|
+
__typename?: 'CreateTuningDatasetOutput';
|
|
7456
|
+
datasetID: string;
|
|
7457
|
+
versionIDs: Array<string>;
|
|
7458
|
+
};
|
|
7448
7459
|
} | null;
|
|
7449
7460
|
};
|
|
7450
7461
|
export type UpdateTuningDataSetMutationVariables = Exact<{
|
|
@@ -7475,7 +7486,7 @@ export type AddVersionMutation = {
|
|
|
7475
7486
|
__typename?: 'Mutation';
|
|
7476
7487
|
TuningDataSet?: {
|
|
7477
7488
|
__typename?: 'TuningDataSetMutation';
|
|
7478
|
-
addVersion
|
|
7489
|
+
addVersion: string;
|
|
7479
7490
|
} | null;
|
|
7480
7491
|
};
|
|
7481
7492
|
export type DeleteVersionsMutationVariables = Exact<{
|
|
@@ -7647,6 +7658,7 @@ export type ListSftQuery = {
|
|
|
7647
7658
|
datasets: Array<{
|
|
7648
7659
|
__typename?: 'SFTDataset';
|
|
7649
7660
|
source: string;
|
|
7661
|
+
sourceID: string;
|
|
7650
7662
|
version: string;
|
|
7651
7663
|
id: string;
|
|
7652
7664
|
}>;
|
|
@@ -7765,6 +7777,7 @@ export type GetSftQuery = {
|
|
|
7765
7777
|
datasets: Array<{
|
|
7766
7778
|
__typename?: 'SFTDataset';
|
|
7767
7779
|
source: string;
|
|
7780
|
+
sourceID: string;
|
|
7768
7781
|
version: string;
|
|
7769
7782
|
id: string;
|
|
7770
7783
|
}>;
|
|
@@ -7887,6 +7900,7 @@ export type CreateSftMutation = {
|
|
|
7887
7900
|
datasets: Array<{
|
|
7888
7901
|
__typename?: 'SFTDataset';
|
|
7889
7902
|
source: string;
|
|
7903
|
+
sourceID: string;
|
|
7890
7904
|
version: string;
|
|
7891
7905
|
id: string;
|
|
7892
7906
|
}>;
|
|
@@ -7989,6 +8003,7 @@ export type UpdateSftMutation = {
|
|
|
7989
8003
|
datasets: Array<{
|
|
7990
8004
|
__typename?: 'SFTDataset';
|
|
7991
8005
|
source: string;
|
|
8006
|
+
sourceID: string;
|
|
7992
8007
|
version: string;
|
|
7993
8008
|
id: string;
|
|
7994
8009
|
}>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -2327,7 +2327,10 @@ var GetVersionContentDocument = import_graphql_tag.default`
|
|
|
2327
2327
|
var CreateTuningDataSetDocument = import_graphql_tag.default`
|
|
2328
2328
|
mutation createTuningDataSet($input: CreateTuningDataSetInput!) {
|
|
2329
2329
|
TuningDataSet {
|
|
2330
|
-
createTuningDataSet(input: $input)
|
|
2330
|
+
createTuningDataSet(input: $input) {
|
|
2331
|
+
datasetID
|
|
2332
|
+
versionIDs
|
|
2333
|
+
}
|
|
2331
2334
|
}
|
|
2332
2335
|
}
|
|
2333
2336
|
`;
|
|
@@ -2447,6 +2450,7 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2447
2450
|
datasets {
|
|
2448
2451
|
... on SFTDataset {
|
|
2449
2452
|
source
|
|
2453
|
+
sourceID
|
|
2450
2454
|
version
|
|
2451
2455
|
id
|
|
2452
2456
|
}
|
|
@@ -2538,6 +2542,7 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2538
2542
|
datasets {
|
|
2539
2543
|
... on SFTDataset {
|
|
2540
2544
|
source
|
|
2545
|
+
sourceID
|
|
2541
2546
|
version
|
|
2542
2547
|
id
|
|
2543
2548
|
}
|
|
@@ -2645,6 +2650,7 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2645
2650
|
datasets {
|
|
2646
2651
|
... on SFTDataset {
|
|
2647
2652
|
source
|
|
2653
|
+
sourceID
|
|
2648
2654
|
version
|
|
2649
2655
|
id
|
|
2650
2656
|
}
|
|
@@ -2734,6 +2740,7 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2734
2740
|
datasets {
|
|
2735
2741
|
... on SFTDataset {
|
|
2736
2742
|
source
|
|
2743
|
+
sourceID
|
|
2737
2744
|
version
|
|
2738
2745
|
id
|
|
2739
2746
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -616,9 +616,14 @@ export type CreateTuningDataSetInput = {
|
|
|
616
616
|
/** 创建的时候带着版本 */
|
|
617
617
|
versions: Array<CreateTuningVersionedDataSetInput>;
|
|
618
618
|
};
|
|
619
|
+
export type CreateTuningDatasetOutput = {
|
|
620
|
+
__typename?: 'CreateTuningDatasetOutput';
|
|
621
|
+
datasetID: Scalars['String']['output'];
|
|
622
|
+
versionIDs: Array<Scalars['String']['output']>;
|
|
623
|
+
};
|
|
619
624
|
export type CreateTuningVersionedDataSetInput = {
|
|
620
625
|
/** 训练数据集版本的描述信息 */
|
|
621
|
-
description
|
|
626
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
622
627
|
/** 训练数据集版本的版本,每个训练数据的版本不可以重复 */
|
|
623
628
|
version: Scalars['String']['input'];
|
|
624
629
|
};
|
|
@@ -2563,6 +2568,8 @@ export type SftDataset = {
|
|
|
2563
2568
|
id: Scalars['String']['output'];
|
|
2564
2569
|
/** SFT 数据集来源名 */
|
|
2565
2570
|
source: Scalars['String']['output'];
|
|
2571
|
+
/** SFT 数据集 ID */
|
|
2572
|
+
sourceID: Scalars['String']['output'];
|
|
2566
2573
|
/** SFT 数据集版本 */
|
|
2567
2574
|
version: Scalars['String']['output'];
|
|
2568
2575
|
};
|
|
@@ -2659,8 +2666,8 @@ export type TuningDataSet = {
|
|
|
2659
2666
|
export type TuningDataSetMutation = {
|
|
2660
2667
|
__typename?: 'TuningDataSetMutation';
|
|
2661
2668
|
addContent?: Maybe<Scalars['Void']['output']>;
|
|
2662
|
-
addVersion
|
|
2663
|
-
createTuningDataSet
|
|
2669
|
+
addVersion: Scalars['String']['output'];
|
|
2670
|
+
createTuningDataSet: CreateTuningDatasetOutput;
|
|
2664
2671
|
deleteContent?: Maybe<Scalars['Void']['output']>;
|
|
2665
2672
|
deleteTuningDataSet?: Maybe<Scalars['Void']['output']>;
|
|
2666
2673
|
deleteVersionAllContent?: Maybe<Scalars['Void']['output']>;
|
|
@@ -2733,7 +2740,7 @@ export type TuningVersionedDataset = {
|
|
|
2733
2740
|
/** 创建人 */
|
|
2734
2741
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2735
2742
|
/** 训练数据集版本描述 */
|
|
2736
|
-
description
|
|
2743
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2737
2744
|
/** 训练数据使用的文件列表 */
|
|
2738
2745
|
files: PaginatedResult;
|
|
2739
2746
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -7152,7 +7159,7 @@ export type ListTuningDataSetQuery = {
|
|
|
7152
7159
|
} | {
|
|
7153
7160
|
__typename?: 'TuningVersionedDataset';
|
|
7154
7161
|
ID: string;
|
|
7155
|
-
description
|
|
7162
|
+
description?: string | null;
|
|
7156
7163
|
version: string;
|
|
7157
7164
|
creator?: string | null;
|
|
7158
7165
|
createdAt: any;
|
|
@@ -7250,7 +7257,7 @@ export type GetTuningDataSetQuery = {
|
|
|
7250
7257
|
} | {
|
|
7251
7258
|
__typename?: 'TuningVersionedDataset';
|
|
7252
7259
|
ID: string;
|
|
7253
|
-
description
|
|
7260
|
+
description?: string | null;
|
|
7254
7261
|
version: string;
|
|
7255
7262
|
creator?: string | null;
|
|
7256
7263
|
createdAt: any;
|
|
@@ -7281,7 +7288,7 @@ export type GetVersionQuery = {
|
|
|
7281
7288
|
getVersion: {
|
|
7282
7289
|
__typename?: 'TuningVersionedDataset';
|
|
7283
7290
|
ID: string;
|
|
7284
|
-
description
|
|
7291
|
+
description?: string | null;
|
|
7285
7292
|
version: string;
|
|
7286
7293
|
creator?: string | null;
|
|
7287
7294
|
createdAt: any;
|
|
@@ -7444,7 +7451,11 @@ export type CreateTuningDataSetMutation = {
|
|
|
7444
7451
|
__typename?: 'Mutation';
|
|
7445
7452
|
TuningDataSet?: {
|
|
7446
7453
|
__typename?: 'TuningDataSetMutation';
|
|
7447
|
-
createTuningDataSet
|
|
7454
|
+
createTuningDataSet: {
|
|
7455
|
+
__typename?: 'CreateTuningDatasetOutput';
|
|
7456
|
+
datasetID: string;
|
|
7457
|
+
versionIDs: Array<string>;
|
|
7458
|
+
};
|
|
7448
7459
|
} | null;
|
|
7449
7460
|
};
|
|
7450
7461
|
export type UpdateTuningDataSetMutationVariables = Exact<{
|
|
@@ -7475,7 +7486,7 @@ export type AddVersionMutation = {
|
|
|
7475
7486
|
__typename?: 'Mutation';
|
|
7476
7487
|
TuningDataSet?: {
|
|
7477
7488
|
__typename?: 'TuningDataSetMutation';
|
|
7478
|
-
addVersion
|
|
7489
|
+
addVersion: string;
|
|
7479
7490
|
} | null;
|
|
7480
7491
|
};
|
|
7481
7492
|
export type DeleteVersionsMutationVariables = Exact<{
|
|
@@ -7647,6 +7658,7 @@ export type ListSftQuery = {
|
|
|
7647
7658
|
datasets: Array<{
|
|
7648
7659
|
__typename?: 'SFTDataset';
|
|
7649
7660
|
source: string;
|
|
7661
|
+
sourceID: string;
|
|
7650
7662
|
version: string;
|
|
7651
7663
|
id: string;
|
|
7652
7664
|
}>;
|
|
@@ -7765,6 +7777,7 @@ export type GetSftQuery = {
|
|
|
7765
7777
|
datasets: Array<{
|
|
7766
7778
|
__typename?: 'SFTDataset';
|
|
7767
7779
|
source: string;
|
|
7780
|
+
sourceID: string;
|
|
7768
7781
|
version: string;
|
|
7769
7782
|
id: string;
|
|
7770
7783
|
}>;
|
|
@@ -7887,6 +7900,7 @@ export type CreateSftMutation = {
|
|
|
7887
7900
|
datasets: Array<{
|
|
7888
7901
|
__typename?: 'SFTDataset';
|
|
7889
7902
|
source: string;
|
|
7903
|
+
sourceID: string;
|
|
7890
7904
|
version: string;
|
|
7891
7905
|
id: string;
|
|
7892
7906
|
}>;
|
|
@@ -7989,6 +8003,7 @@ export type UpdateSftMutation = {
|
|
|
7989
8003
|
datasets: Array<{
|
|
7990
8004
|
__typename?: 'SFTDataset';
|
|
7991
8005
|
source: string;
|
|
8006
|
+
sourceID: string;
|
|
7992
8007
|
version: string;
|
|
7993
8008
|
id: string;
|
|
7994
8009
|
}>;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -243,7 +243,7 @@ export var ListTuningDataSetDocument = gql(_templateObject85 || (_templateObject
|
|
|
243
243
|
export var GetTuningDataSetDocument = gql(_templateObject86 || (_templateObject86 = _taggedTemplateLiteral(["\n query getTuningDataSet($id: String!) {\n TuningDataSet {\n getTuningDataSet(id: $id) {\n ID\n name\n namespace\n creator\n type\n createdAt\n updatedAt\n versions {\n totalCount\n nodes {\n ... on TuningVersionedDataset {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n }\n }\n }\n }\n }\n}\n "])));
|
|
244
244
|
export var GetVersionDocument = gql(_templateObject87 || (_templateObject87 = _taggedTemplateLiteral(["\n query getVersion($id: String!) {\n TuningDataSet {\n getVersion(id: $id) {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n files {\n totalCount\n nodes {\n ... on TuningVersionedDatasetFiles {\n ID\n fileName\n size\n count\n status\n createdAt\n updatedAt\n msg\n }\n }\n }\n }\n }\n}\n "])));
|
|
245
245
|
export var GetVersionContentDocument = gql(_templateObject88 || (_templateObject88 = _taggedTemplateLiteral(["\n query getVersionContent($id: String!, $input: ListCommonInput) {\n TuningDataSet {\n getVersionContent(id: $id, input: $input) {\n totalCount\n nodes {\n ... on TuningVersionedDatasetContent {\n ID\n data {\n instruction\n output\n input\n system\n history\n }\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n "])));
|
|
246
|
-
export var CreateTuningDataSetDocument = gql(_templateObject89 || (_templateObject89 = _taggedTemplateLiteral(["\n mutation createTuningDataSet($input: CreateTuningDataSetInput!) {\n TuningDataSet {\n createTuningDataSet(input: $input)\n }\n}\n "])));
|
|
246
|
+
export var CreateTuningDataSetDocument = gql(_templateObject89 || (_templateObject89 = _taggedTemplateLiteral(["\n mutation createTuningDataSet($input: CreateTuningDataSetInput!) {\n TuningDataSet {\n createTuningDataSet(input: $input) {\n datasetID\n versionIDs\n }\n }\n}\n "])));
|
|
247
247
|
export var UpdateTuningDataSetDocument = gql(_templateObject90 || (_templateObject90 = _taggedTemplateLiteral(["\n mutation updateTuningDataSet($id: String!, $newName: String!) {\n TuningDataSet {\n updateTuningDataSet(id: $id, newName: $newName)\n }\n}\n "])));
|
|
248
248
|
export var DeleteTuningDataSetDocument = gql(_templateObject91 || (_templateObject91 = _taggedTemplateLiteral(["\n mutation deleteTuningDataSet($id: [String!]) {\n TuningDataSet {\n deleteTuningDataSet(id: $id)\n }\n}\n "])));
|
|
249
249
|
export var AddVersionDocument = gql(_templateObject92 || (_templateObject92 = _taggedTemplateLiteral(["\n mutation addVersion($input: AddVersionInput!) {\n TuningDataSet {\n addVersion(input: $input)\n }\n}\n "])));
|
|
@@ -253,11 +253,11 @@ export var UpdateContentDocument = gql(_templateObject95 || (_templateObject95 =
|
|
|
253
253
|
export var DeleteContentDocument = gql(_templateObject96 || (_templateObject96 = _taggedTemplateLiteral(["\n mutation deleteContent($contentIDs: [String!]) {\n TuningDataSet {\n deleteContent(contentIDs: $contentIDs)\n }\n}\n "])));
|
|
254
254
|
export var DeleteVersionAllContentDocument = gql(_templateObject97 || (_templateObject97 = _taggedTemplateLiteral(["\n mutation deleteVersionAllContent($id: String!) {\n TuningDataSet {\n deleteVersionAllContent(id: $id)\n }\n}\n "])));
|
|
255
255
|
export var LoadVersionFilesDocument = gql(_templateObject98 || (_templateObject98 = _taggedTemplateLiteral(["\n mutation loadVersionFiles($id: String!, $files: [String!]) {\n TuningDataSet {\n loadVersionFiles(id: $id, files: $files)\n }\n}\n "])));
|
|
256
|
-
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
257
|
-
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
256
|
+
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
257
|
+
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
258
258
|
export var ListSftMetricDocument = gql(_templateObject101 || (_templateObject101 = _taggedTemplateLiteral(["\n query listSFTMetric($kind: String!) {\n SFT {\n listSFTMetric(kind: $kind) {\n ... on SFTMetric {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
259
|
-
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
260
|
-
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
259
|
+
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
260
|
+
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n }\n }\n}\n "])));
|
|
261
261
|
export var DeleteSftDocument = gql(_templateObject104 || (_templateObject104 = _taggedTemplateLiteral(["\n mutation deleteSFT($input: DeleteCommonInput!) {\n SFT {\n deleteSFT(input: $input)\n }\n}\n "])));
|
|
262
262
|
export var ExportSftDocument = gql(_templateObject105 || (_templateObject105 = _taggedTemplateLiteral(["\n mutation exportSFT($name: String!, $namespace: String!) {\n SFT {\n exportSFT(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
263
263
|
export var CreateVersionedDatasetDocument = gql(_templateObject106 || (_templateObject106 = _taggedTemplateLiteral(["\n mutation createVersionedDataset($input: CreateVersionedDatasetInput!) {\n VersionedDataset {\n createVersionedDataset(input: $input) {\n name\n displayName\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n }\n }\n}\n "])));
|