@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/esm/taro.d.ts
CHANGED
|
@@ -334,6 +334,22 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
334
334
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
335
335
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
336
336
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
337
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
338
|
+
input: import("./sdk").ListCommonInput;
|
|
339
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
340
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
341
|
+
name: string;
|
|
342
|
+
namespace: string;
|
|
343
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
344
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
345
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
346
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
347
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
348
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
349
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
350
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
351
|
+
input: import("./sdk").DeleteCommonInput;
|
|
352
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
337
353
|
};
|
|
338
354
|
/**
|
|
339
355
|
* 初始化 sdk 实例 (包含 hooks)
|
|
@@ -504,6 +520,13 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
504
520
|
name: string;
|
|
505
521
|
namespace: string;
|
|
506
522
|
}>, 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>;
|
|
523
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
524
|
+
input: import("./sdk").ListCommonInput;
|
|
525
|
+
}>, 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>;
|
|
526
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
527
|
+
name: string;
|
|
528
|
+
namespace: string;
|
|
529
|
+
}>, 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>;
|
|
507
530
|
createAgent(variables: import("./sdk").Exact<{
|
|
508
531
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
509
532
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -806,6 +829,22 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
806
829
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
807
830
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
808
831
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
832
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
833
|
+
input: import("./sdk").ListCommonInput;
|
|
834
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
835
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
836
|
+
name: string;
|
|
837
|
+
namespace: string;
|
|
838
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
839
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
840
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
841
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
842
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
843
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
844
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
845
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
846
|
+
input: import("./sdk").DeleteCommonInput;
|
|
847
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
809
848
|
};
|
|
810
849
|
/**
|
|
811
850
|
* hook 的方式获取 sdk 实例
|
|
@@ -976,6 +1015,13 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
976
1015
|
name: string;
|
|
977
1016
|
namespace: string;
|
|
978
1017
|
}>, 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>;
|
|
1018
|
+
useListWorkflows(variables: import("./sdk").Exact<{
|
|
1019
|
+
input: import("./sdk").ListCommonInput;
|
|
1020
|
+
}>, 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>;
|
|
1021
|
+
useGetWorkflow(variables: import("./sdk").Exact<{
|
|
1022
|
+
name: string;
|
|
1023
|
+
namespace: string;
|
|
1024
|
+
}>, 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>;
|
|
979
1025
|
createAgent(variables: import("./sdk").Exact<{
|
|
980
1026
|
input: import("./sdk").CreateAgentMetadataInput;
|
|
981
1027
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateAgentMutation>;
|
|
@@ -1278,4 +1324,20 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1278
1324
|
deleteWorkers(variables?: import("./sdk").Exact<{
|
|
1279
1325
|
input?: import("./sdk").InputMaybe<import("./sdk").DeleteCommonInput> | undefined;
|
|
1280
1326
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkersMutation>;
|
|
1327
|
+
listWorkflows(variables: import("./sdk").Exact<{
|
|
1328
|
+
input: import("./sdk").ListCommonInput;
|
|
1329
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListWorkflowsQuery>;
|
|
1330
|
+
getWorkflow(variables: import("./sdk").Exact<{
|
|
1331
|
+
name: string;
|
|
1332
|
+
namespace: string;
|
|
1333
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetWorkflowQuery>;
|
|
1334
|
+
createWorkflow(variables: import("./sdk").Exact<{
|
|
1335
|
+
input: import("./sdk").CreateWorkflowInput;
|
|
1336
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").CreateWorkflowMutation>;
|
|
1337
|
+
updateWorkflow(variables: import("./sdk").Exact<{
|
|
1338
|
+
input: import("./sdk").UpdateWorkflowInput;
|
|
1339
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").UpdateWorkflowMutation>;
|
|
1340
|
+
deleteWorkflow(variables: import("./sdk").Exact<{
|
|
1341
|
+
input: import("./sdk").DeleteCommonInput;
|
|
1342
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").DeleteWorkflowMutation>;
|
|
1281
1343
|
};
|