@yuntijs/arcadia-bff-sdk 1.2.34 → 1.2.35
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 +102 -4
- package/dist/cjs/sdk.d.ts +375 -4
- package/dist/cjs/sdk.js +115 -2
- package/dist/cjs/taro.d.ts +73 -3
- package/dist/esm/index.d.ts +102 -4
- package/dist/esm/sdk.d.ts +375 -4
- package/dist/esm/sdk.js +108 -75
- package/dist/esm/taro.d.ts +73 -3
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/taro.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
44
44
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
45
45
|
name: string;
|
|
46
46
|
namespace: string;
|
|
47
|
-
|
|
47
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
48
48
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
49
49
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
50
50
|
namespacedname: string;
|
|
@@ -66,10 +66,24 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
66
66
|
namespacedname: string;
|
|
67
67
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
68
68
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
69
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
70
|
+
name: string;
|
|
71
|
+
namespace: string;
|
|
72
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
69
73
|
getAgent(variables: import("./sdk").Exact<{
|
|
70
74
|
name: string;
|
|
71
75
|
namespace: string;
|
|
72
76
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
77
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
78
|
+
name: string;
|
|
79
|
+
namespace: string;
|
|
80
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
81
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
82
|
+
name: string;
|
|
83
|
+
namespace: string;
|
|
84
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
85
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
86
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
73
87
|
listAgents(variables: import("./sdk").Exact<{
|
|
74
88
|
input: import("./sdk").ListCommonInput;
|
|
75
89
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -311,10 +325,24 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
311
325
|
* @param {SdkOptions} options 配置项
|
|
312
326
|
*/
|
|
313
327
|
export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
328
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
329
|
+
name: string;
|
|
330
|
+
namespace: string;
|
|
331
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
314
332
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
315
333
|
name: string;
|
|
316
334
|
namespace: string;
|
|
317
335
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
336
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
337
|
+
name: string;
|
|
338
|
+
namespace: string;
|
|
339
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
340
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
341
|
+
name: string;
|
|
342
|
+
namespace: string;
|
|
343
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
344
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
345
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
318
346
|
useListAgents(variables: import("./sdk").Exact<{
|
|
319
347
|
input: import("./sdk").ListCommonInput;
|
|
320
348
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -465,7 +493,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
465
493
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
466
494
|
name: string;
|
|
467
495
|
namespace: string;
|
|
468
|
-
|
|
496
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
469
497
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
470
498
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
471
499
|
namespacedname: string;
|
|
@@ -487,10 +515,24 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
487
515
|
namespacedname: string;
|
|
488
516
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
489
517
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
518
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
519
|
+
name: string;
|
|
520
|
+
namespace: string;
|
|
521
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
490
522
|
getAgent(variables: import("./sdk").Exact<{
|
|
491
523
|
name: string;
|
|
492
524
|
namespace: string;
|
|
493
525
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
526
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
527
|
+
name: string;
|
|
528
|
+
namespace: string;
|
|
529
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
530
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
531
|
+
name: string;
|
|
532
|
+
namespace: string;
|
|
533
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
534
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
535
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
494
536
|
listAgents(variables: import("./sdk").Exact<{
|
|
495
537
|
input: import("./sdk").ListCommonInput;
|
|
496
538
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
@@ -732,10 +774,24 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
732
774
|
* @param {SdkOptions} options 配置项
|
|
733
775
|
*/
|
|
734
776
|
export declare const useSdk: (options?: SdkOptions) => {
|
|
777
|
+
useGetAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
778
|
+
name: string;
|
|
779
|
+
namespace: string;
|
|
780
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseStatusQuery, import("graphql-request/src/types").ClientError>;
|
|
735
781
|
useGetAgent(variables: import("./sdk").Exact<{
|
|
736
782
|
name: string;
|
|
737
783
|
namespace: string;
|
|
738
784
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentQuery, import("graphql-request/src/types").ClientError>;
|
|
785
|
+
useGetAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
786
|
+
name: string;
|
|
787
|
+
namespace: string;
|
|
788
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery, import("graphql-request/src/types").ClientError>;
|
|
789
|
+
useGetAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
790
|
+
name: string;
|
|
791
|
+
namespace: string;
|
|
792
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
793
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
794
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
739
795
|
useListAgents(variables: import("./sdk").Exact<{
|
|
740
796
|
input: import("./sdk").ListCommonInput;
|
|
741
797
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
@@ -886,7 +942,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
886
942
|
releaseAgent(variables: import("./sdk").Exact<{
|
|
887
943
|
name: string;
|
|
888
944
|
namespace: string;
|
|
889
|
-
|
|
945
|
+
input: import("./sdk").ReleaseAgentInput;
|
|
890
946
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ReleaseAgentMutation>;
|
|
891
947
|
createOrUpdateAgentPrompt(variables: import("./sdk").Exact<{
|
|
892
948
|
namespacedname: string;
|
|
@@ -908,10 +964,24 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
908
964
|
namespacedname: string;
|
|
909
965
|
ids?: import("./sdk").InputMaybe<string | string[]> | undefined;
|
|
910
966
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteAgentPromptMutation>;
|
|
967
|
+
getAgentReleaseStatus(variables: import("./sdk").Exact<{
|
|
968
|
+
name: string;
|
|
969
|
+
namespace: string;
|
|
970
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseStatusQuery>;
|
|
911
971
|
getAgent(variables: import("./sdk").Exact<{
|
|
912
972
|
name: string;
|
|
913
973
|
namespace: string;
|
|
914
974
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentQuery>;
|
|
975
|
+
getAgentLatestReleaseInEachPlatform(variables: import("./sdk").Exact<{
|
|
976
|
+
name: string;
|
|
977
|
+
namespace: string;
|
|
978
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentLatestReleaseInEachPlatformQuery>;
|
|
979
|
+
getAgentReleaseHistory(variables: import("./sdk").Exact<{
|
|
980
|
+
name: string;
|
|
981
|
+
namespace: string;
|
|
982
|
+
page?: import("./sdk").InputMaybe<number> | undefined;
|
|
983
|
+
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
984
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
915
985
|
listAgents(variables: import("./sdk").Exact<{
|
|
916
986
|
input: import("./sdk").ListCommonInput;
|
|
917
987
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|