@devpad/cli 2.4.1 → 2.4.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/index.js +4 -2
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -17650,10 +17650,11 @@ var ApiClient2 = class {
|
|
|
17650
17650
|
return this.clients.tasks.get("/tasks/ready", Object.keys(query).length > 0 ? { query } : {});
|
|
17651
17651
|
}),
|
|
17652
17652
|
tree: (id2, depth) => wrap(() => this.clients.tasks.get(`/tasks/${id2}/tree`, depth ? { query: { depth: String(depth) } } : {})),
|
|
17653
|
-
near: (id2) => wrap(() => this.clients.tasks.get(`/tasks/${id2}/near
|
|
17653
|
+
near: (id2, depth) => wrap(() => this.clients.tasks.get(`/tasks/${id2}/near`, depth ? { query: { depth: String(depth) } } : {})),
|
|
17654
17654
|
ancestors: (id2) => wrap(() => this.clients.tasks.get(`/tasks/${id2}/ancestors`)),
|
|
17655
17655
|
claim: (id2, data) => wrap(() => this.clients.tasks.post(`/tasks/${id2}/claim`, { body: data })),
|
|
17656
17656
|
done: (id2, data) => wrap(() => this.clients.tasks.post(`/tasks/${id2}/done`, { body: data })),
|
|
17657
|
+
reopen: (id2) => wrap(() => this.clients.tasks.post(`/tasks/${id2}/reopen`)),
|
|
17657
17658
|
advanceStage: (id2, data) => wrap(() => this.clients.tasks.post(`/tasks/${id2}/stage`, { body: data })),
|
|
17658
17659
|
link: (data) => wrap(() => this.clients.tasks.post("/tasks/link", { body: data })),
|
|
17659
17660
|
unlink: (link_id) => wrap(() => this.clients.tasks.delete(`/tasks/link/${link_id}`)),
|
|
@@ -20276,10 +20277,11 @@ var ApiClient22 = class {
|
|
|
20276
20277
|
return this.clients.tasks.get("/tasks/ready", Object.keys(query).length > 0 ? { query } : {});
|
|
20277
20278
|
}),
|
|
20278
20279
|
tree: (id2, depth) => wrap2(() => this.clients.tasks.get(`/tasks/${id2}/tree`, depth ? { query: { depth: String(depth) } } : {})),
|
|
20279
|
-
near: (id2) => wrap2(() => this.clients.tasks.get(`/tasks/${id2}/near
|
|
20280
|
+
near: (id2, depth) => wrap2(() => this.clients.tasks.get(`/tasks/${id2}/near`, depth ? { query: { depth: String(depth) } } : {})),
|
|
20280
20281
|
ancestors: (id2) => wrap2(() => this.clients.tasks.get(`/tasks/${id2}/ancestors`)),
|
|
20281
20282
|
claim: (id2, data) => wrap2(() => this.clients.tasks.post(`/tasks/${id2}/claim`, { body: data })),
|
|
20282
20283
|
done: (id2, data) => wrap2(() => this.clients.tasks.post(`/tasks/${id2}/done`, { body: data })),
|
|
20284
|
+
reopen: (id2) => wrap2(() => this.clients.tasks.post(`/tasks/${id2}/reopen`)),
|
|
20283
20285
|
advanceStage: (id2, data) => wrap2(() => this.clients.tasks.post(`/tasks/${id2}/stage`, { body: data })),
|
|
20284
20286
|
link: (data) => wrap2(() => this.clients.tasks.post("/tasks/link", { body: data })),
|
|
20285
20287
|
unlink: (link_id) => wrap2(() => this.clients.tasks.delete(`/tasks/link/${link_id}`)),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devpad/cli",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "Command line interface for devpad project management",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"mime": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@devpad/api": "^2.4.
|
|
54
|
-
"@devpad/core": "^2.4.
|
|
55
|
-
"@devpad/pipeline-fakes": "^2.4.
|
|
56
|
-
"@devpad/pipeline-templates": "^2.4.
|
|
57
|
-
"@devpad/schema": "^2.4.
|
|
53
|
+
"@devpad/api": "^2.4.2",
|
|
54
|
+
"@devpad/core": "^2.4.2",
|
|
55
|
+
"@devpad/pipeline-fakes": "^2.4.2",
|
|
56
|
+
"@devpad/pipeline-templates": "^2.4.2",
|
|
57
|
+
"@devpad/schema": "^2.4.2",
|
|
58
58
|
"@types/node": "^20.11.24",
|
|
59
59
|
"bun-types": "latest",
|
|
60
60
|
"chalk": "^5.3.0",
|