@devpad/cli 2.4.0 → 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.
Files changed (2) hide show
  1. package/dist/index.js +6 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -17650,9 +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
+ ancestors: (id2) => wrap(() => this.clients.tasks.get(`/tasks/${id2}/ancestors`)),
17654
17655
  claim: (id2, data) => wrap(() => this.clients.tasks.post(`/tasks/${id2}/claim`, { body: data })),
17655
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`)),
17656
17658
  advanceStage: (id2, data) => wrap(() => this.clients.tasks.post(`/tasks/${id2}/stage`, { body: data })),
17657
17659
  link: (data) => wrap(() => this.clients.tasks.post("/tasks/link", { body: data })),
17658
17660
  unlink: (link_id) => wrap(() => this.clients.tasks.delete(`/tasks/link/${link_id}`)),
@@ -20275,9 +20277,11 @@ var ApiClient22 = class {
20275
20277
  return this.clients.tasks.get("/tasks/ready", Object.keys(query).length > 0 ? { query } : {});
20276
20278
  }),
20277
20279
  tree: (id2, depth) => wrap2(() => this.clients.tasks.get(`/tasks/${id2}/tree`, depth ? { query: { depth: String(depth) } } : {})),
20278
- 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) } } : {})),
20281
+ ancestors: (id2) => wrap2(() => this.clients.tasks.get(`/tasks/${id2}/ancestors`)),
20279
20282
  claim: (id2, data) => wrap2(() => this.clients.tasks.post(`/tasks/${id2}/claim`, { body: data })),
20280
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`)),
20281
20285
  advanceStage: (id2, data) => wrap2(() => this.clients.tasks.post(`/tasks/${id2}/stage`, { body: data })),
20282
20286
  link: (data) => wrap2(() => this.clients.tasks.post("/tasks/link", { body: data })),
20283
20287
  unlink: (link_id) => wrap2(() => this.clients.tasks.delete(`/tasks/link/${link_id}`)),
@@ -26268,7 +26272,6 @@ init_dist();
26268
26272
 
26269
26273
  // ../core/src/services/graph/outbox.ts
26270
26274
  init_dist();
26271
-
26272
26275
  // ../core/src/services/graph/rollup.ts
26273
26276
  init_dist();
26274
26277
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/cli",
3
- "version": "2.4.0",
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.0",
54
- "@devpad/core": "^2.4.0",
55
- "@devpad/pipeline-fakes": "^2.4.0",
56
- "@devpad/pipeline-templates": "^2.4.0",
57
- "@devpad/schema": "^2.4.0",
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",