@yuntijs/arcadia-bff-sdk 1.2.60 → 1.2.62
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 +98 -11
- package/dist/cjs/sdk.js +77 -3
- package/dist/cjs/taro.d.ts +15 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/sdk.d.ts +98 -11
- package/dist/esm/sdk.js +36 -25
- 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
|
@@ -188,6 +188,9 @@ export declare const sdk: {
|
|
|
188
188
|
name: string;
|
|
189
189
|
namespace: string;
|
|
190
190
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
191
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
192
|
+
kind: string;
|
|
193
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
191
194
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
192
195
|
name: string;
|
|
193
196
|
namespace: string;
|
|
@@ -541,6 +544,9 @@ export declare const sdk: {
|
|
|
541
544
|
name: string;
|
|
542
545
|
namespace: string;
|
|
543
546
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
547
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
548
|
+
kind: string;
|
|
549
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
544
550
|
createSFT(variables: import("./sdk").Exact<{
|
|
545
551
|
input: import("./sdk").CreateSftInput;
|
|
546
552
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -962,6 +968,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
962
968
|
name: string;
|
|
963
969
|
namespace: string;
|
|
964
970
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
971
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
972
|
+
kind: string;
|
|
973
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
965
974
|
createSFT(variables: import("./sdk").Exact<{
|
|
966
975
|
input: import("./sdk").CreateSftInput;
|
|
967
976
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1212,6 +1221,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1212
1221
|
name: string;
|
|
1213
1222
|
namespace: string;
|
|
1214
1223
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
1224
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1225
|
+
kind: string;
|
|
1226
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1215
1227
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1216
1228
|
name: string;
|
|
1217
1229
|
namespace: string;
|
|
@@ -1565,6 +1577,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1565
1577
|
name: string;
|
|
1566
1578
|
namespace: string;
|
|
1567
1579
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
1580
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1581
|
+
kind: string;
|
|
1582
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1568
1583
|
createSFT(variables: import("./sdk").Exact<{
|
|
1569
1584
|
input: import("./sdk").CreateSftInput;
|
|
1570
1585
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1815,6 +1830,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1815
1830
|
name: string;
|
|
1816
1831
|
namespace: string;
|
|
1817
1832
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
1833
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1834
|
+
kind: string;
|
|
1835
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1818
1836
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1819
1837
|
name: string;
|
|
1820
1838
|
namespace: string;
|
|
@@ -2168,6 +2186,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2168
2186
|
name: string;
|
|
2169
2187
|
namespace: string;
|
|
2170
2188
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
2189
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
2190
|
+
kind: string;
|
|
2191
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
2171
2192
|
createSFT(variables: import("./sdk").Exact<{
|
|
2172
2193
|
input: import("./sdk").CreateSftInput;
|
|
2173
2194
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -2446,7 +2446,6 @@ export type ResourcesInput = {
|
|
|
2446
2446
|
};
|
|
2447
2447
|
export type Sft = {
|
|
2448
2448
|
__typename?: 'SFT';
|
|
2449
|
-
ID: Scalars['ID']['output'];
|
|
2450
2449
|
/** 添加一些辅助性记录信息 */
|
|
2451
2450
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
2452
2451
|
/**
|
|
@@ -2517,8 +2516,6 @@ export type Sft = {
|
|
|
2517
2516
|
storage: PersistentVolumeClaimSpec;
|
|
2518
2517
|
/** SFT 微调过程是否暂停,true 表示已经暂停,false 表示没有暂停 */
|
|
2519
2518
|
suspend: Scalars['Boolean']['output'];
|
|
2520
|
-
/** 更新时间 */
|
|
2521
|
-
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2522
2519
|
};
|
|
2523
2520
|
export type SftDataset = {
|
|
2524
2521
|
__typename?: 'SFTDataset';
|
|
@@ -2527,14 +2524,19 @@ export type SftDataset = {
|
|
|
2527
2524
|
};
|
|
2528
2525
|
export type SftMetric = {
|
|
2529
2526
|
__typename?: 'SFTMetric';
|
|
2530
|
-
|
|
2531
|
-
|
|
2527
|
+
metricDefaultValue?: Maybe<Scalars['String']['output']>;
|
|
2528
|
+
metricDescription: Scalars['String']['output'];
|
|
2529
|
+
metricKind: Scalars['String']['output'];
|
|
2530
|
+
metricName: Scalars['String']['output'];
|
|
2531
|
+
metricNameZH: Scalars['String']['output'];
|
|
2532
|
+
metricType: Scalars['String']['output'];
|
|
2533
|
+
metricValidValues?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
2532
2534
|
metricValue?: Maybe<Scalars['String']['output']>;
|
|
2533
2535
|
};
|
|
2534
2536
|
export type SftMetricInput = {
|
|
2535
|
-
metricKind
|
|
2536
|
-
metricName
|
|
2537
|
-
metricValue
|
|
2537
|
+
metricKind: Scalars['String']['input'];
|
|
2538
|
+
metricName: Scalars['String']['input'];
|
|
2539
|
+
metricValue: Scalars['String']['input'];
|
|
2538
2540
|
};
|
|
2539
2541
|
export type SftMutation = {
|
|
2540
2542
|
__typename?: 'SFTMutation';
|
|
@@ -2560,6 +2562,7 @@ export type SftQuery = {
|
|
|
2560
2562
|
__typename?: 'SFTQuery';
|
|
2561
2563
|
getSFT: Sft;
|
|
2562
2564
|
listSFT: PaginatedResult;
|
|
2565
|
+
listSFTMetric: Array<Maybe<SftMetric>>;
|
|
2563
2566
|
};
|
|
2564
2567
|
export type SftQueryGetSftArgs = {
|
|
2565
2568
|
name: Scalars['String']['input'];
|
|
@@ -2568,6 +2571,9 @@ export type SftQueryGetSftArgs = {
|
|
|
2568
2571
|
export type SftQueryListSftArgs = {
|
|
2569
2572
|
input: ListCommonInput;
|
|
2570
2573
|
};
|
|
2574
|
+
export type SftQueryListSftMetricArgs = {
|
|
2575
|
+
kind: Scalars['String']['input'];
|
|
2576
|
+
};
|
|
2571
2577
|
export declare enum SelectCond {
|
|
2572
2578
|
/** 提供包括该 ns 及官方资源在内的所有资源 */
|
|
2573
2579
|
All = "ALL",
|
|
@@ -2691,8 +2697,10 @@ export type TuningVersionedDatasetContent = {
|
|
|
2691
2697
|
__typename?: 'TuningVersionedDatasetContent';
|
|
2692
2698
|
/** 训练数据集版本内容的ID */
|
|
2693
2699
|
ID: Scalars['ID']['output'];
|
|
2700
|
+
createdAt: Scalars['Time']['output'];
|
|
2694
2701
|
/** 训练数据集版本的具体数据 */
|
|
2695
2702
|
data: ContentTemplate;
|
|
2703
|
+
updatedAt: Scalars['Time']['output'];
|
|
2696
2704
|
};
|
|
2697
2705
|
export type TuningVersionedDatasetFiles = {
|
|
2698
2706
|
__typename?: 'TuningVersionedDatasetFiles';
|
|
@@ -2708,6 +2716,7 @@ export type TuningVersionedDatasetFiles = {
|
|
|
2708
2716
|
size?: Maybe<Scalars['Int']['output']>;
|
|
2709
2717
|
/** 文件导入状态 */
|
|
2710
2718
|
status?: Maybe<Scalars['Int']['output']>;
|
|
2719
|
+
updatedAt: Scalars['Time']['output'];
|
|
2711
2720
|
};
|
|
2712
2721
|
export type TypedObjectReference = {
|
|
2713
2722
|
__typename?: 'TypedObjectReference';
|
|
@@ -7248,6 +7257,7 @@ export type GetVersionQuery = {
|
|
|
7248
7257
|
count?: number | null;
|
|
7249
7258
|
status?: number | null;
|
|
7250
7259
|
createdAt: any;
|
|
7260
|
+
updatedAt: any;
|
|
7251
7261
|
msg?: string | null;
|
|
7252
7262
|
} | {
|
|
7253
7263
|
__typename?: 'VersionedDataset';
|
|
@@ -7318,6 +7328,8 @@ export type GetVersionContentQuery = {
|
|
|
7318
7328
|
} | {
|
|
7319
7329
|
__typename?: 'TuningVersionedDatasetContent';
|
|
7320
7330
|
ID: string;
|
|
7331
|
+
createdAt: any;
|
|
7332
|
+
updatedAt: any;
|
|
7321
7333
|
data: {
|
|
7322
7334
|
__typename?: 'ContentTemplate';
|
|
7323
7335
|
instruction: string;
|
|
@@ -7493,11 +7505,12 @@ export type ListSftQuery = {
|
|
|
7493
7505
|
__typename?: 'SFT';
|
|
7494
7506
|
name: string;
|
|
7495
7507
|
namespace: string;
|
|
7508
|
+
labels?: any | null;
|
|
7509
|
+
annotations?: any | null;
|
|
7496
7510
|
creator?: string | null;
|
|
7497
7511
|
displayName?: string | null;
|
|
7498
7512
|
description?: string | null;
|
|
7499
7513
|
creationTimestamp?: any | null;
|
|
7500
|
-
updateTimestamp?: any | null;
|
|
7501
7514
|
completeTimestamp?: any | null;
|
|
7502
7515
|
datasets: Array<string>;
|
|
7503
7516
|
serviceAccountName: string;
|
|
@@ -7550,6 +7563,17 @@ export type ListSftQuery = {
|
|
|
7550
7563
|
namespace?: string | null;
|
|
7551
7564
|
displayName?: string | null;
|
|
7552
7565
|
};
|
|
7566
|
+
metrics: Array<{
|
|
7567
|
+
__typename?: 'SFTMetric';
|
|
7568
|
+
metricKind: string;
|
|
7569
|
+
metricName: string;
|
|
7570
|
+
metricNameZH: string;
|
|
7571
|
+
metricValue?: string | null;
|
|
7572
|
+
metricDefaultValue?: string | null;
|
|
7573
|
+
metricType: string;
|
|
7574
|
+
metricValidValues?: Array<string | null> | null;
|
|
7575
|
+
metricDescription: string;
|
|
7576
|
+
}>;
|
|
7553
7577
|
} | {
|
|
7554
7578
|
__typename?: 'TuningDataSet';
|
|
7555
7579
|
} | {
|
|
@@ -7580,11 +7604,12 @@ export type GetSftQuery = {
|
|
|
7580
7604
|
__typename?: 'SFT';
|
|
7581
7605
|
name: string;
|
|
7582
7606
|
namespace: string;
|
|
7607
|
+
labels?: any | null;
|
|
7608
|
+
annotations?: any | null;
|
|
7583
7609
|
creator?: string | null;
|
|
7584
7610
|
displayName?: string | null;
|
|
7585
7611
|
description?: string | null;
|
|
7586
7612
|
creationTimestamp?: any | null;
|
|
7587
|
-
updateTimestamp?: any | null;
|
|
7588
7613
|
completeTimestamp?: any | null;
|
|
7589
7614
|
datasets: Array<string>;
|
|
7590
7615
|
serviceAccountName: string;
|
|
@@ -7637,9 +7662,40 @@ export type GetSftQuery = {
|
|
|
7637
7662
|
namespace?: string | null;
|
|
7638
7663
|
displayName?: string | null;
|
|
7639
7664
|
};
|
|
7665
|
+
metrics: Array<{
|
|
7666
|
+
__typename?: 'SFTMetric';
|
|
7667
|
+
metricKind: string;
|
|
7668
|
+
metricName: string;
|
|
7669
|
+
metricNameZH: string;
|
|
7670
|
+
metricValue?: string | null;
|
|
7671
|
+
metricDefaultValue?: string | null;
|
|
7672
|
+
metricType: string;
|
|
7673
|
+
metricValidValues?: Array<string | null> | null;
|
|
7674
|
+
metricDescription: string;
|
|
7675
|
+
}>;
|
|
7640
7676
|
};
|
|
7641
7677
|
} | null;
|
|
7642
7678
|
};
|
|
7679
|
+
export type ListSftMetricQueryVariables = Exact<{
|
|
7680
|
+
kind: Scalars['String']['input'];
|
|
7681
|
+
}>;
|
|
7682
|
+
export type ListSftMetricQuery = {
|
|
7683
|
+
__typename?: 'Query';
|
|
7684
|
+
SFT?: {
|
|
7685
|
+
__typename?: 'SFTQuery';
|
|
7686
|
+
listSFTMetric: Array<{
|
|
7687
|
+
__typename?: 'SFTMetric';
|
|
7688
|
+
metricKind: string;
|
|
7689
|
+
metricName: string;
|
|
7690
|
+
metricNameZH: string;
|
|
7691
|
+
metricValue?: string | null;
|
|
7692
|
+
metricDefaultValue?: string | null;
|
|
7693
|
+
metricType: string;
|
|
7694
|
+
metricValidValues?: Array<string | null> | null;
|
|
7695
|
+
metricDescription: string;
|
|
7696
|
+
} | null>;
|
|
7697
|
+
} | null;
|
|
7698
|
+
};
|
|
7643
7699
|
export type CreateSftMutationVariables = Exact<{
|
|
7644
7700
|
input: CreateSftInput;
|
|
7645
7701
|
}>;
|
|
@@ -7651,6 +7707,8 @@ export type CreateSftMutation = {
|
|
|
7651
7707
|
__typename?: 'SFT';
|
|
7652
7708
|
name: string;
|
|
7653
7709
|
namespace: string;
|
|
7710
|
+
labels?: any | null;
|
|
7711
|
+
annotations?: any | null;
|
|
7654
7712
|
creator?: string | null;
|
|
7655
7713
|
displayName?: string | null;
|
|
7656
7714
|
description?: string | null;
|
|
@@ -7707,6 +7765,17 @@ export type CreateSftMutation = {
|
|
|
7707
7765
|
namespace?: string | null;
|
|
7708
7766
|
displayName?: string | null;
|
|
7709
7767
|
};
|
|
7768
|
+
metrics: Array<{
|
|
7769
|
+
__typename?: 'SFTMetric';
|
|
7770
|
+
metricKind: string;
|
|
7771
|
+
metricName: string;
|
|
7772
|
+
metricNameZH: string;
|
|
7773
|
+
metricValue?: string | null;
|
|
7774
|
+
metricDefaultValue?: string | null;
|
|
7775
|
+
metricType: string;
|
|
7776
|
+
metricValidValues?: Array<string | null> | null;
|
|
7777
|
+
metricDescription: string;
|
|
7778
|
+
}>;
|
|
7710
7779
|
};
|
|
7711
7780
|
} | null;
|
|
7712
7781
|
};
|
|
@@ -7721,11 +7790,12 @@ export type UpdateSftMutation = {
|
|
|
7721
7790
|
__typename?: 'SFT';
|
|
7722
7791
|
name: string;
|
|
7723
7792
|
namespace: string;
|
|
7793
|
+
labels?: any | null;
|
|
7794
|
+
annotations?: any | null;
|
|
7724
7795
|
creator?: string | null;
|
|
7725
7796
|
displayName?: string | null;
|
|
7726
7797
|
description?: string | null;
|
|
7727
7798
|
creationTimestamp?: any | null;
|
|
7728
|
-
updateTimestamp?: any | null;
|
|
7729
7799
|
completeTimestamp?: any | null;
|
|
7730
7800
|
datasets: Array<string>;
|
|
7731
7801
|
serviceAccountName: string;
|
|
@@ -7778,6 +7848,17 @@ export type UpdateSftMutation = {
|
|
|
7778
7848
|
namespace?: string | null;
|
|
7779
7849
|
displayName?: string | null;
|
|
7780
7850
|
};
|
|
7851
|
+
metrics: Array<{
|
|
7852
|
+
__typename?: 'SFTMetric';
|
|
7853
|
+
metricKind: string;
|
|
7854
|
+
metricName: string;
|
|
7855
|
+
metricNameZH: string;
|
|
7856
|
+
metricValue?: string | null;
|
|
7857
|
+
metricDefaultValue?: string | null;
|
|
7858
|
+
metricType: string;
|
|
7859
|
+
metricValidValues?: Array<string | null> | null;
|
|
7860
|
+
metricDescription: string;
|
|
7861
|
+
}>;
|
|
7781
7862
|
};
|
|
7782
7863
|
} | null;
|
|
7783
7864
|
};
|
|
@@ -8672,6 +8753,7 @@ export declare const DeleteVersionAllContentDocument: import("../node_modules/.p
|
|
|
8672
8753
|
export declare const LoadVersionFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8673
8754
|
export declare const ListSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8674
8755
|
export declare const GetSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8756
|
+
export declare const ListSftMetricDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8675
8757
|
export declare const CreateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8676
8758
|
export declare const UpdateSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8677
8759
|
export declare const DeleteSftDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -8793,6 +8875,7 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
8793
8875
|
loadVersionFiles(variables: LoadVersionFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<LoadVersionFilesMutation>;
|
|
8794
8876
|
listSFT(variables: ListSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftQuery>;
|
|
8795
8877
|
getSFT(variables: GetSftQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetSftQuery>;
|
|
8878
|
+
listSFTMetric(variables: ListSftMetricQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListSftMetricQuery>;
|
|
8796
8879
|
createSFT(variables: CreateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateSftMutation>;
|
|
8797
8880
|
updateSFT(variables: UpdateSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateSftMutation>;
|
|
8798
8881
|
deleteSFT(variables: DeleteSftMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteSftMutation>;
|
|
@@ -8866,6 +8949,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
8866
8949
|
useGetVersionContent(variables: GetVersionContentQueryVariables, config?: SWRConfigInterface<GetVersionContentQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionContentQuery, ClientError>;
|
|
8867
8950
|
useListSft(variables: ListSftQueryVariables, config?: SWRConfigInterface<ListSftQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftQuery, ClientError>;
|
|
8868
8951
|
useGetSft(variables: GetSftQueryVariables, config?: SWRConfigInterface<GetSftQuery, ClientError>): import("./useSWR").SWRResponsePro<GetSftQuery, ClientError>;
|
|
8952
|
+
useListSftMetric(variables: ListSftMetricQueryVariables, config?: SWRConfigInterface<ListSftMetricQuery, ClientError>): import("./useSWR").SWRResponsePro<ListSftMetricQuery, ClientError>;
|
|
8869
8953
|
useGetVersionedDataset(variables: GetVersionedDatasetQueryVariables, config?: SWRConfigInterface<GetVersionedDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionedDatasetQuery, ClientError>;
|
|
8870
8954
|
useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
|
|
8871
8955
|
useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
|
|
@@ -9202,6 +9286,9 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
9202
9286
|
name: string;
|
|
9203
9287
|
namespace: string;
|
|
9204
9288
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetSftQuery>;
|
|
9289
|
+
listSFTMetric(variables: Exact<{
|
|
9290
|
+
kind: string;
|
|
9291
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListSftMetricQuery>;
|
|
9205
9292
|
createSFT(variables: Exact<{
|
|
9206
9293
|
input: CreateSftInput;
|
|
9207
9294
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateSftMutation>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -121,6 +121,7 @@ __export(sdk_exports, {
|
|
|
121
121
|
ListRayClustersDocument: () => ListRayClustersDocument,
|
|
122
122
|
ListRerankersDocument: () => ListRerankersDocument,
|
|
123
123
|
ListSftDocument: () => ListSftDocument,
|
|
124
|
+
ListSftMetricDocument: () => ListSftMetricDocument,
|
|
124
125
|
ListTuningDataSetDocument: () => ListTuningDataSetDocument,
|
|
125
126
|
ListVersionedDatasetsDocument: () => ListVersionedDatasetsDocument,
|
|
126
127
|
ListWorkersDocument: () => ListWorkersDocument,
|
|
@@ -2261,6 +2262,7 @@ var GetVersionDocument = import_graphql_tag.default`
|
|
|
2261
2262
|
count
|
|
2262
2263
|
status
|
|
2263
2264
|
createdAt
|
|
2265
|
+
updatedAt
|
|
2264
2266
|
msg
|
|
2265
2267
|
}
|
|
2266
2268
|
}
|
|
@@ -2284,6 +2286,8 @@ var GetVersionContentDocument = import_graphql_tag.default`
|
|
|
2284
2286
|
system
|
|
2285
2287
|
history
|
|
2286
2288
|
}
|
|
2289
|
+
createdAt
|
|
2290
|
+
updatedAt
|
|
2287
2291
|
}
|
|
2288
2292
|
}
|
|
2289
2293
|
}
|
|
@@ -2370,11 +2374,12 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2370
2374
|
... on SFT {
|
|
2371
2375
|
name
|
|
2372
2376
|
namespace
|
|
2377
|
+
labels
|
|
2378
|
+
annotations
|
|
2373
2379
|
creator
|
|
2374
2380
|
displayName
|
|
2375
2381
|
description
|
|
2376
2382
|
creationTimestamp
|
|
2377
|
-
updateTimestamp
|
|
2378
2383
|
completeTimestamp
|
|
2379
2384
|
storage {
|
|
2380
2385
|
accessModes
|
|
@@ -2420,6 +2425,16 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2420
2425
|
status
|
|
2421
2426
|
phase
|
|
2422
2427
|
phaseMessage
|
|
2428
|
+
metrics {
|
|
2429
|
+
metricKind
|
|
2430
|
+
metricName
|
|
2431
|
+
metricNameZH
|
|
2432
|
+
metricValue
|
|
2433
|
+
metricDefaultValue
|
|
2434
|
+
metricType
|
|
2435
|
+
metricValidValues
|
|
2436
|
+
metricDescription
|
|
2437
|
+
}
|
|
2423
2438
|
}
|
|
2424
2439
|
}
|
|
2425
2440
|
}
|
|
@@ -2432,11 +2447,12 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2432
2447
|
getSFT(name: $name, namespace: $namespace) {
|
|
2433
2448
|
name
|
|
2434
2449
|
namespace
|
|
2450
|
+
labels
|
|
2451
|
+
annotations
|
|
2435
2452
|
creator
|
|
2436
2453
|
displayName
|
|
2437
2454
|
description
|
|
2438
2455
|
creationTimestamp
|
|
2439
|
-
updateTimestamp
|
|
2440
2456
|
completeTimestamp
|
|
2441
2457
|
storage {
|
|
2442
2458
|
accessModes
|
|
@@ -2482,6 +2498,34 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2482
2498
|
status
|
|
2483
2499
|
phase
|
|
2484
2500
|
phaseMessage
|
|
2501
|
+
metrics {
|
|
2502
|
+
metricKind
|
|
2503
|
+
metricName
|
|
2504
|
+
metricNameZH
|
|
2505
|
+
metricValue
|
|
2506
|
+
metricDefaultValue
|
|
2507
|
+
metricType
|
|
2508
|
+
metricValidValues
|
|
2509
|
+
metricDescription
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
`;
|
|
2515
|
+
var ListSftMetricDocument = import_graphql_tag.default`
|
|
2516
|
+
query listSFTMetric($kind: String!) {
|
|
2517
|
+
SFT {
|
|
2518
|
+
listSFTMetric(kind: $kind) {
|
|
2519
|
+
... on SFTMetric {
|
|
2520
|
+
metricKind
|
|
2521
|
+
metricName
|
|
2522
|
+
metricNameZH
|
|
2523
|
+
metricValue
|
|
2524
|
+
metricDefaultValue
|
|
2525
|
+
metricType
|
|
2526
|
+
metricValidValues
|
|
2527
|
+
metricDescription
|
|
2528
|
+
}
|
|
2485
2529
|
}
|
|
2486
2530
|
}
|
|
2487
2531
|
}
|
|
@@ -2492,6 +2536,8 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2492
2536
|
createSFT(input: $input) {
|
|
2493
2537
|
name
|
|
2494
2538
|
namespace
|
|
2539
|
+
labels
|
|
2540
|
+
annotations
|
|
2495
2541
|
creator
|
|
2496
2542
|
displayName
|
|
2497
2543
|
description
|
|
@@ -2541,6 +2587,16 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2541
2587
|
status
|
|
2542
2588
|
phase
|
|
2543
2589
|
phaseMessage
|
|
2590
|
+
metrics {
|
|
2591
|
+
metricKind
|
|
2592
|
+
metricName
|
|
2593
|
+
metricNameZH
|
|
2594
|
+
metricValue
|
|
2595
|
+
metricDefaultValue
|
|
2596
|
+
metricType
|
|
2597
|
+
metricValidValues
|
|
2598
|
+
metricDescription
|
|
2599
|
+
}
|
|
2544
2600
|
}
|
|
2545
2601
|
}
|
|
2546
2602
|
}
|
|
@@ -2551,11 +2607,12 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2551
2607
|
updateSFT(input: $input) {
|
|
2552
2608
|
name
|
|
2553
2609
|
namespace
|
|
2610
|
+
labels
|
|
2611
|
+
annotations
|
|
2554
2612
|
creator
|
|
2555
2613
|
displayName
|
|
2556
2614
|
description
|
|
2557
2615
|
creationTimestamp
|
|
2558
|
-
updateTimestamp
|
|
2559
2616
|
completeTimestamp
|
|
2560
2617
|
storage {
|
|
2561
2618
|
accessModes
|
|
@@ -2601,6 +2658,16 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2601
2658
|
status
|
|
2602
2659
|
phase
|
|
2603
2660
|
phaseMessage
|
|
2661
|
+
metrics {
|
|
2662
|
+
metricKind
|
|
2663
|
+
metricName
|
|
2664
|
+
metricNameZH
|
|
2665
|
+
metricValue
|
|
2666
|
+
metricDefaultValue
|
|
2667
|
+
metricType
|
|
2668
|
+
metricValidValues
|
|
2669
|
+
metricDescription
|
|
2670
|
+
}
|
|
2604
2671
|
}
|
|
2605
2672
|
}
|
|
2606
2673
|
}
|
|
@@ -3354,6 +3421,9 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3354
3421
|
getSFT(variables, requestHeaders) {
|
|
3355
3422
|
return withWrapper((wrappedRequestHeaders) => client.request(GetSftDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "getSFT", "query", variables);
|
|
3356
3423
|
},
|
|
3424
|
+
listSFTMetric(variables, requestHeaders) {
|
|
3425
|
+
return withWrapper((wrappedRequestHeaders) => client.request(ListSftMetricDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "listSFTMetric", "query", variables);
|
|
3426
|
+
},
|
|
3357
3427
|
createSFT(variables, requestHeaders) {
|
|
3358
3428
|
return withWrapper((wrappedRequestHeaders) => client.request(CreateSftDocument, variables, { ...requestHeaders, ...wrappedRequestHeaders }), "createSFT", "mutation", variables);
|
|
3359
3429
|
},
|
|
@@ -3571,6 +3641,9 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3571
3641
|
useGetSft(variables, config) {
|
|
3572
3642
|
return (0, import_useSWR.default)(genKey("GetSft", variables), () => sdk.getSFT(variables), config);
|
|
3573
3643
|
},
|
|
3644
|
+
useListSftMetric(variables, config) {
|
|
3645
|
+
return (0, import_useSWR.default)(genKey("ListSftMetric", variables), () => sdk.listSFTMetric(variables), config);
|
|
3646
|
+
},
|
|
3574
3647
|
useGetVersionedDataset(variables, config) {
|
|
3575
3648
|
return (0, import_useSWR.default)(genKey("GetVersionedDataset", variables), () => sdk.getVersionedDataset(variables), config);
|
|
3576
3649
|
},
|
|
@@ -3685,6 +3758,7 @@ function getSdkWithHooks(client, withWrapper = defaultWrapper) {
|
|
|
3685
3758
|
ListRayClustersDocument,
|
|
3686
3759
|
ListRerankersDocument,
|
|
3687
3760
|
ListSftDocument,
|
|
3761
|
+
ListSftMetricDocument,
|
|
3688
3762
|
ListTuningDataSetDocument,
|
|
3689
3763
|
ListVersionedDatasetsDocument,
|
|
3690
3764
|
ListWorkersDocument,
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -362,6 +362,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
362
362
|
name: string;
|
|
363
363
|
namespace: string;
|
|
364
364
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
365
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
366
|
+
kind: string;
|
|
367
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
365
368
|
createSFT(variables: import("./sdk").Exact<{
|
|
366
369
|
input: import("./sdk").CreateSftInput;
|
|
367
370
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -612,6 +615,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
612
615
|
name: string;
|
|
613
616
|
namespace: string;
|
|
614
617
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
618
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
619
|
+
kind: string;
|
|
620
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
615
621
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
616
622
|
name: string;
|
|
617
623
|
namespace: string;
|
|
@@ -965,6 +971,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
965
971
|
name: string;
|
|
966
972
|
namespace: string;
|
|
967
973
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
974
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
975
|
+
kind: string;
|
|
976
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
968
977
|
createSFT(variables: import("./sdk").Exact<{
|
|
969
978
|
input: import("./sdk").CreateSftInput;
|
|
970
979
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1215,6 +1224,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1215
1224
|
name: string;
|
|
1216
1225
|
namespace: string;
|
|
1217
1226
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
1227
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1228
|
+
kind: string;
|
|
1229
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1218
1230
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1219
1231
|
name: string;
|
|
1220
1232
|
namespace: string;
|
|
@@ -1568,6 +1580,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1568
1580
|
name: string;
|
|
1569
1581
|
namespace: string;
|
|
1570
1582
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
1583
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1584
|
+
kind: string;
|
|
1585
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1571
1586
|
createSFT(variables: import("./sdk").Exact<{
|
|
1572
1587
|
input: import("./sdk").CreateSftInput;
|
|
1573
1588
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -188,6 +188,9 @@ export declare const sdk: {
|
|
|
188
188
|
name: string;
|
|
189
189
|
namespace: string;
|
|
190
190
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
191
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
192
|
+
kind: string;
|
|
193
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
191
194
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
192
195
|
name: string;
|
|
193
196
|
namespace: string;
|
|
@@ -541,6 +544,9 @@ export declare const sdk: {
|
|
|
541
544
|
name: string;
|
|
542
545
|
namespace: string;
|
|
543
546
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
547
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
548
|
+
kind: string;
|
|
549
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
544
550
|
createSFT(variables: import("./sdk").Exact<{
|
|
545
551
|
input: import("./sdk").CreateSftInput;
|
|
546
552
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -962,6 +968,9 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
962
968
|
name: string;
|
|
963
969
|
namespace: string;
|
|
964
970
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
971
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
972
|
+
kind: string;
|
|
973
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
965
974
|
createSFT(variables: import("./sdk").Exact<{
|
|
966
975
|
input: import("./sdk").CreateSftInput;
|
|
967
976
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1212,6 +1221,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1212
1221
|
name: string;
|
|
1213
1222
|
namespace: string;
|
|
1214
1223
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
1224
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1225
|
+
kind: string;
|
|
1226
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1215
1227
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1216
1228
|
name: string;
|
|
1217
1229
|
namespace: string;
|
|
@@ -1565,6 +1577,9 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1565
1577
|
name: string;
|
|
1566
1578
|
namespace: string;
|
|
1567
1579
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
1580
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
1581
|
+
kind: string;
|
|
1582
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
1568
1583
|
createSFT(variables: import("./sdk").Exact<{
|
|
1569
1584
|
input: import("./sdk").CreateSftInput;
|
|
1570
1585
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|
|
@@ -1815,6 +1830,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1815
1830
|
name: string;
|
|
1816
1831
|
namespace: string;
|
|
1817
1832
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetSftQuery, import("graphql-request/src/types").ClientError>;
|
|
1833
|
+
useListSftMetric(variables: import("./sdk").Exact<{
|
|
1834
|
+
kind: string;
|
|
1835
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListSftMetricQuery, import("graphql-request/src/types").ClientError>;
|
|
1818
1836
|
useGetVersionedDataset(variables: import("./sdk").Exact<{
|
|
1819
1837
|
name: string;
|
|
1820
1838
|
namespace: string;
|
|
@@ -2168,6 +2186,9 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2168
2186
|
name: string;
|
|
2169
2187
|
namespace: string;
|
|
2170
2188
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetSftQuery>;
|
|
2189
|
+
listSFTMetric(variables: import("./sdk").Exact<{
|
|
2190
|
+
kind: string;
|
|
2191
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListSftMetricQuery>;
|
|
2171
2192
|
createSFT(variables: import("./sdk").Exact<{
|
|
2172
2193
|
input: import("./sdk").CreateSftInput;
|
|
2173
2194
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateSftMutation>;
|