@critical-path/svelte 0.18.7 → 0.18.8

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 +3 -0
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -4646,6 +4646,7 @@ var yn = [
4646
4646
  dueDate: U().optional().describe("Due date (ISO string)"),
4647
4647
  tags: yt(U()).optional().describe("Tags for categorization"),
4648
4648
  estimatedHours: W().optional().describe("Estimated hours to complete"),
4649
+ allocation: W().gt(0).max(1).optional().describe("Share of the assignee's time the task takes, in (0, 1]; e.g. 0.5 for half-time. Estimates are effort, so a 0.5 task takes twice as long"),
4649
4650
  isBlocked: vt().optional().describe("Whether the task is blocked"),
4650
4651
  blockedReason: U().optional().describe("Reason why the task is blocked")
4651
4652
  }),
@@ -4662,6 +4663,7 @@ var yn = [
4662
4663
  dueDate: e.dueDate,
4663
4664
  tags: e.tags || [],
4664
4665
  estimatedHours: e.estimatedHours,
4666
+ allocation: e.allocation,
4665
4667
  isBlocked: e.isBlocked,
4666
4668
  blockedReason: e.blockedReason
4667
4669
  };
@@ -4688,6 +4690,7 @@ var yn = [
4688
4690
  dueDate: U().optional(),
4689
4691
  tags: yt(U()).optional(),
4690
4692
  estimatedHours: W().optional(),
4693
+ allocation: W().gt(0).max(1).optional().describe("Share of the assignee's time the task takes, in (0, 1]; e.g. 0.5 for half-time. Estimates are effort, so a 0.5 task takes twice as long"),
4691
4694
  loggedHours: W().optional(),
4692
4695
  isBlocked: vt().optional().describe("Whether the task is blocked"),
4693
4696
  blockedReason: U().optional().describe("Reason why the task is blocked")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@critical-path/svelte",
3
- "version": "0.18.7",
3
+ "version": "0.18.8",
4
4
  "description": "Svelte 5 Runes state and reactive integrations for Critical Path headless project management framework",
5
5
  "author": "Jack James",
6
6
  "license": "MIT",
@@ -18,9 +18,9 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@critical-path/core": "0.42.0",
22
- "@critical-path/mcp": "0.13.0",
23
- "@critical-path/client": "0.22.0"
21
+ "@critical-path/core": "0.43.0",
22
+ "@critical-path/mcp": "0.14.0",
23
+ "@critical-path/client": "0.22.1"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "svelte": "^5.0.0"