@yuntijs/arcadia-bff-sdk 1.2.36 → 1.2.38
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 +85 -0
- package/dist/cjs/sdk.d.ts +345 -3
- package/dist/cjs/sdk.js +129 -0
- package/dist/cjs/taro.d.ts +62 -0
- package/dist/esm/index.d.ts +85 -0
- package/dist/esm/sdk.d.ts +345 -3
- package/dist/esm/sdk.js +43 -1
- package/dist/esm/taro.d.ts +62 -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
|
@@ -174,6 +174,13 @@ export declare const sdk: {
|
|
|
174
174
|
name: string;
|
|
175
175
|
namespace: string;
|
|
176
176
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError>;
|
|
177
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
178
|
+
input: import("./sdk").ListCommonInput;
|
|
179
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError>;
|
|
180
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
181
|
+
name: string;
|
|
182
|
+
namespace: string;
|
|
183
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError>;
|
|
177
184
|
createAgent(variables: import("./sdk").Exact<{
|
|
178
185
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
179
186
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -476,6 +483,22 @@ export declare const sdk: {
|
|
|
476
483
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
477
484
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
478
485
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
486
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
487
|
+
input: import("./sdk").ListCommonInput;
|
|
488
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
489
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
490
|
+
name: string;
|
|
491
|
+
namespace: string;
|
|
492
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
493
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
494
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
495
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
496
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
497
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
498
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
499
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
500
|
+
input: import("./sdk").DeleteCommonInput;
|
|
501
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
479
502
|
};
|
|
480
503
|
/** 初始化 sdk 的配置项 */
|
|
481
504
|
export interface SdkBaseOptions {
|
|
@@ -803,6 +826,22 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
803
826
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
804
827
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
805
828
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
829
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
830
|
+
input: import("./sdk").ListCommonInput;
|
|
831
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
832
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
833
|
+
name: string;
|
|
834
|
+
namespace: string;
|
|
835
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
836
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
837
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
838
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
839
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
840
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
841
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
842
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
843
|
+
input: import("./sdk").DeleteCommonInput;
|
|
844
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
806
845
|
};
|
|
807
846
|
/**
|
|
808
847
|
* 初始化 sdk 实例 (包含 hooks)
|
|
@@ -973,6 +1012,13 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
973
1012
|
name: string;
|
|
974
1013
|
namespace: string;
|
|
975
1014
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError>;
|
|
1015
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
1016
|
+
input: import("./sdk").ListCommonInput;
|
|
1017
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError>;
|
|
1018
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
1019
|
+
name: string;
|
|
1020
|
+
namespace: string;
|
|
1021
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError>;
|
|
976
1022
|
createAgent(variables: import("./sdk").Exact<{
|
|
977
1023
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
978
1024
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -1275,6 +1321,22 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1275
1321
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
1276
1322
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
1277
1323
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
1324
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
1325
|
+
input: import("./sdk").ListCommonInput;
|
|
1326
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
1327
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
1328
|
+
name: string;
|
|
1329
|
+
namespace: string;
|
|
1330
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
1331
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
1332
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
1333
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
1334
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
1335
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
1336
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
1337
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1338
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1339
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1278
1340
|
};
|
|
1279
1341
|
/**
|
|
1280
1342
|
* hook 的方式获取 sdk 实例
|
|
@@ -1445,6 +1507,13 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1445
1507
|
name: string;
|
|
1446
1508
|
namespace: string;
|
|
1447
1509
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkerQuery, import("graphql-request/src/types").ClientError>;
|
|
1510
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
1511
|
+
input: import("./sdk").ListCommonInput;
|
|
1512
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListWorkflowsQuery, import("graphql-request/src/types").ClientError>;
|
|
1513
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
1514
|
+
name: string;
|
|
1515
|
+
namespace: string;
|
|
1516
|
+
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetWorkflowQuery, import("graphql-request/src/types").ClientError>;
|
|
1448
1517
|
createAgent(variables: import("./sdk").Exact<{
|
|
1449
1518
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
1450
1519
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -1747,4 +1816,20 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1747
1816
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
1748
1817
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
1749
1818
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
1819
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
1820
|
+
input: import("./sdk").ListCommonInput;
|
|
1821
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
1822
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
1823
|
+
name: string;
|
|
1824
|
+
namespace: string;
|
|
1825
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
1826
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
1827
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
1828
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
1829
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
1830
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
1831
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
1832
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1833
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1834
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1750
1835
|
};
|