@maaxyz/maa-node 5.6.0 → 5.7.0-alpha.2
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/pipeline.d.ts +2 -2
- package/dist/tasker.d.ts +5 -2
- package/package.json +7 -7
package/dist/pipeline.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ declare global {
|
|
|
146
146
|
|
|
147
147
|
type RecognitionAnd<Mode> = RequiredIfStrict<
|
|
148
148
|
{
|
|
149
|
-
all_of?: Recognition<Mode>['recognition'][]
|
|
149
|
+
all_of?: (string | Recognition<Mode>['recognition'])[]
|
|
150
150
|
box_index?: number
|
|
151
151
|
},
|
|
152
152
|
'all_of',
|
|
@@ -155,7 +155,7 @@ declare global {
|
|
|
155
155
|
|
|
156
156
|
type RecognitionOr<Mode> = RequiredIfStrict<
|
|
157
157
|
{
|
|
158
|
-
any_of: Recognition<Mode>['recognition'][]
|
|
158
|
+
any_of: (string | Recognition<Mode>['recognition'])[]
|
|
159
159
|
},
|
|
160
160
|
'any_of',
|
|
161
161
|
Mode
|
package/dist/tasker.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ declare global {
|
|
|
2
2
|
namespace maa {
|
|
3
3
|
type TaskDetail = {
|
|
4
4
|
entry: string
|
|
5
|
-
nodes:
|
|
5
|
+
nodes: NodeId[]
|
|
6
6
|
status: Status
|
|
7
7
|
}
|
|
8
8
|
|
|
@@ -159,7 +159,10 @@ declare global {
|
|
|
159
159
|
set controller(res: Controller | null)
|
|
160
160
|
get controller(): Controller | null
|
|
161
161
|
clear_cache(): void
|
|
162
|
-
override_pipeline(
|
|
162
|
+
override_pipeline(
|
|
163
|
+
task_id: TaskId,
|
|
164
|
+
pipeline: Record<string, unknown> | Record<string, unknown>[],
|
|
165
|
+
): void
|
|
163
166
|
recognition_detail(id: RecoId): RecoDetail | null
|
|
164
167
|
action_detail(id: ActId): ActionDetail | null
|
|
165
168
|
node_detail(id: NodeId): NodeDetail | null
|
package/package.json
CHANGED
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">= 20.0.0"
|
|
22
22
|
},
|
|
23
|
-
"version": "5.
|
|
23
|
+
"version": "5.7.0-alpha.2",
|
|
24
24
|
"optionalDependencies": {
|
|
25
|
-
"@maaxyz/maa-node-darwin-arm64": "5.
|
|
26
|
-
"@maaxyz/maa-node-darwin-x64": "5.
|
|
27
|
-
"@maaxyz/maa-node-linux-arm64": "5.
|
|
28
|
-
"@maaxyz/maa-node-linux-x64": "5.
|
|
29
|
-
"@maaxyz/maa-node-win32-arm64": "5.
|
|
30
|
-
"@maaxyz/maa-node-win32-x64": "5.
|
|
25
|
+
"@maaxyz/maa-node-darwin-arm64": "5.7.0-alpha.2",
|
|
26
|
+
"@maaxyz/maa-node-darwin-x64": "5.7.0-alpha.2",
|
|
27
|
+
"@maaxyz/maa-node-linux-arm64": "5.7.0-alpha.2",
|
|
28
|
+
"@maaxyz/maa-node-linux-x64": "5.7.0-alpha.2",
|
|
29
|
+
"@maaxyz/maa-node-win32-arm64": "5.7.0-alpha.2",
|
|
30
|
+
"@maaxyz/maa-node-win32-x64": "5.7.0-alpha.2"
|
|
31
31
|
}
|
|
32
32
|
}
|