@hautechai/sdk 0.3.36 → 0.3.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/sdk/index.d.ts
CHANGED
|
@@ -589,7 +589,7 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
589
589
|
__taskOutput__?: never;
|
|
590
590
|
}) => Promise<import("../types").StorageEntity>;
|
|
591
591
|
};
|
|
592
|
-
}>) => import("@hautechai/pipelines").Pipeline<{
|
|
592
|
+
}, any>) => import("@hautechai/pipelines").Pipeline<{
|
|
593
593
|
access: {
|
|
594
594
|
attach: (params: import("../autogenerated").AttachAccessParamsDto & {
|
|
595
595
|
__taskOutput__?: never;
|
|
@@ -871,7 +871,7 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
871
871
|
__taskOutput__?: never;
|
|
872
872
|
}) => Promise<import("../types").StorageEntity>;
|
|
873
873
|
};
|
|
874
|
-
}>) => import("@hautechai/pipelines").Pipeline<{
|
|
874
|
+
}, any>) => import("@hautechai/pipelines").Pipeline<{
|
|
875
875
|
access: {
|
|
876
876
|
attach: (params: import("../autogenerated").AttachAccessParamsDto & {
|
|
877
877
|
__taskOutput__?: never;
|
|
@@ -1153,10 +1153,10 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1153
1153
|
__taskOutput__?: never;
|
|
1154
1154
|
}) => Promise<import("../types").StorageEntity>;
|
|
1155
1155
|
};
|
|
1156
|
-
}>;
|
|
1156
|
+
}, any>;
|
|
1157
1157
|
create: (props: {
|
|
1158
1158
|
metadata?: PipelineMetadata;
|
|
1159
|
-
template
|
|
1159
|
+
template?: import("@hautechai/pipelines").Pipeline<{
|
|
1160
1160
|
access: {
|
|
1161
1161
|
attach: (params: import("../autogenerated").AttachAccessParamsDto & {
|
|
1162
1162
|
__taskOutput__?: never;
|
|
@@ -1438,7 +1438,8 @@ export declare const createSDK: (options: SDKOptions) => {
|
|
|
1438
1438
|
__taskOutput__?: never;
|
|
1439
1439
|
}) => Promise<import("../types").StorageEntity>;
|
|
1440
1440
|
};
|
|
1441
|
-
}>;
|
|
1441
|
+
}, any>;
|
|
1442
|
+
tasks?: any[];
|
|
1442
1443
|
state?: Record<string, any>;
|
|
1443
1444
|
}) => Promise<Omit<import("../types").PipelineDto, "metadata"> & {
|
|
1444
1445
|
metadata: PipelineMetadata;
|
|
@@ -288,7 +288,7 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
288
288
|
__taskOutput__?: never;
|
|
289
289
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
290
290
|
};
|
|
291
|
-
}>) => Pipeline<{
|
|
291
|
+
}, any>) => Pipeline<{
|
|
292
292
|
access: {
|
|
293
293
|
attach: (params: import("../../autogenerated").AttachAccessParamsDto & {
|
|
294
294
|
__taskOutput__?: never;
|
|
@@ -570,7 +570,7 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
570
570
|
__taskOutput__?: never;
|
|
571
571
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
572
572
|
};
|
|
573
|
-
}>) => Pipeline<{
|
|
573
|
+
}, any>) => Pipeline<{
|
|
574
574
|
access: {
|
|
575
575
|
attach: (params: import("../../autogenerated").AttachAccessParamsDto & {
|
|
576
576
|
__taskOutput__?: never;
|
|
@@ -852,10 +852,10 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
852
852
|
__taskOutput__?: never;
|
|
853
853
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
854
854
|
};
|
|
855
|
-
}>;
|
|
855
|
+
}, any>;
|
|
856
856
|
create: (props: {
|
|
857
857
|
metadata?: PipelineMetadata;
|
|
858
|
-
template
|
|
858
|
+
template?: Pipeline<{
|
|
859
859
|
access: {
|
|
860
860
|
attach: (params: import("../../autogenerated").AttachAccessParamsDto & {
|
|
861
861
|
__taskOutput__?: never;
|
|
@@ -1137,7 +1137,8 @@ declare const pipelines: (options: SDKOptions) => {
|
|
|
1137
1137
|
__taskOutput__?: never;
|
|
1138
1138
|
}) => Promise<import("../../autogenerated").StorageEntity>;
|
|
1139
1139
|
};
|
|
1140
|
-
}>;
|
|
1140
|
+
}, any>;
|
|
1141
|
+
tasks?: any[];
|
|
1141
1142
|
state?: Record<string, any>;
|
|
1142
1143
|
}) => Promise<PipelineDtoWithMetadata>;
|
|
1143
1144
|
get: (props: {
|
|
@@ -172,7 +172,7 @@ const pipelines = (options) => {
|
|
|
172
172
|
create: async (props) => api.call({
|
|
173
173
|
run: (methods) => methods.pipelinesControllerCreatePipelineV1({
|
|
174
174
|
metadata: props.metadata,
|
|
175
|
-
tasks: props.template.tasks,
|
|
175
|
+
tasks: (props.template?.tasks ?? props.tasks),
|
|
176
176
|
state: props.state,
|
|
177
177
|
}),
|
|
178
178
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hautechai/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"description": "Hautech SDK",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@hautechai/pipelines": "0.
|
|
13
|
+
"@hautechai/pipelines": "0.5.0",
|
|
14
14
|
"axios": "1.7.9",
|
|
15
15
|
"jose": "5.9.6",
|
|
16
16
|
"websocket": "^1.0.35"
|