@zinn-dev/cli 0.46.0 → 0.47.0
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/package.json +2 -2
- package/skills/zinn/SKILL.md +1 -1
- package/src/capabilities-schema.d.ts +74 -0
- package/src/capabilities-schema.js +44 -0
- package/src/capabilities.d.ts +2 -0
- package/src/capabilities.js +2 -0
- package/src/column-hint.js +2 -9
- package/src/errors.d.ts +1 -0
- package/src/errors.js +1 -0
- package/src/input.d.ts +30 -0
- package/src/input.js +18 -0
- package/src/lib.d.ts +73 -5
- package/src/lib.js +69 -13
- package/src/presentation/activity-presentation.d.ts +2 -1
- package/src/presentation/activity-presentation.js +21 -6
- package/src/presentation/color.d.ts +12 -0
- package/src/presentation/color.js +12 -0
- package/src/presentation/project-presentation.d.ts +4 -1
- package/src/presentation/project-presentation.js +18 -0
- package/src/presentation/relation-presentation.js +8 -20
- package/src/presentation/section.d.ts +7 -4
- package/src/presentation/section.js +21 -7
- package/src/presentation/task-blame-presentation.d.ts +2 -1
- package/src/presentation/task-blame-presentation.js +4 -4
- package/src/presentation/task-presentation.d.ts +12 -1
- package/src/presentation/task-presentation.js +60 -9
- package/src/result-schemas.d.ts +93 -14
- package/src/result-schemas.js +1 -0
- package/src/routes/activity-router.d.ts +1 -1
- package/src/routes/activity-router.js +15 -31
- package/src/routes/backup-router.js +2 -9
- package/src/routes/capabilities-router.js +2 -9
- package/src/routes/comment-router.d.ts +2 -6
- package/src/routes/comment-router.js +13 -61
- package/src/routes/doctor-router.js +2 -9
- package/src/routes/info-router.js +2 -9
- package/src/routes/label-router.js +6 -43
- package/src/routes/migrate-router.js +2 -9
- package/src/routes/project-router.js +14 -100
- package/src/routes/reindex-router.js +2 -9
- package/src/routes/relation-router.d.ts +10 -4
- package/src/routes/relation-router.js +7 -18
- package/src/routes/restore-router.js +2 -11
- package/src/routes/router.js +32 -11
- package/src/routes/routes.d.ts +29 -30
- package/src/routes/skill-router.js +3 -18
- package/src/routes/task-router.d.ts +28 -28
- package/src/routes/task-router.js +62 -195
- package/src/routes/whoami-router.js +2 -9
- package/src/telemetry.js +3 -4
- package/src/types.d.ts +5 -1
- package/src/views.d.ts +117 -0
- package/src/views.js +54 -0
package/src/views.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export const views = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
taskDetail: {
|
|
4
|
+
sections: [
|
|
5
|
+
{
|
|
6
|
+
id: "task",
|
|
7
|
+
rank: 0,
|
|
8
|
+
items: [
|
|
9
|
+
{ role: "key", rank: 0 },
|
|
10
|
+
{ role: "status", rank: 0 },
|
|
11
|
+
{ role: "column", rank: 0 },
|
|
12
|
+
{ role: "priority", rank: 1 },
|
|
13
|
+
{ role: "title", rank: 0 },
|
|
14
|
+
{ role: "due", rank: 2 },
|
|
15
|
+
{ role: "claim", rank: 1 },
|
|
16
|
+
{ role: "labels", rank: 1 },
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
{ id: "description", rank: 1, heading: "Description", short: "firstParagraph" },
|
|
20
|
+
{ id: "relations", rank: 1, heading: "Relations", short: "keys" },
|
|
21
|
+
{ id: "comments", rank: 2, heading: "Comments", short: "countAndLatest" },
|
|
22
|
+
{ id: "history", rank: 3, heading: "History", onRequest: true },
|
|
23
|
+
{
|
|
24
|
+
id: "times",
|
|
25
|
+
rank: 3,
|
|
26
|
+
items: [
|
|
27
|
+
{ role: "createdAt", rank: 3, label: "Task created at" },
|
|
28
|
+
{ role: "updatedAt", rank: 3, label: "Task updated at" },
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
words: {
|
|
34
|
+
relations: {
|
|
35
|
+
dependency: { outgoing: "Depends on", incoming: "Depended on by" },
|
|
36
|
+
subtask: { outgoing: "Parent", incoming: "Subtask" },
|
|
37
|
+
duplicate: { outgoing: "Duplicate of", incoming: "Duplicated by" },
|
|
38
|
+
related: "Related to",
|
|
39
|
+
},
|
|
40
|
+
priorities: {
|
|
41
|
+
urgent: { word: "Urgent", initial: "U" },
|
|
42
|
+
high: { word: "High", initial: "H" },
|
|
43
|
+
medium: { word: "Medium", initial: "M" },
|
|
44
|
+
low: { word: "Low", initial: "L" },
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
glyphs: {
|
|
48
|
+
claimHolder: {
|
|
49
|
+
thisSession: { glyph: "◆", words: "this session" },
|
|
50
|
+
otherHolder: { glyph: "◇", words: "another holder" },
|
|
51
|
+
unknownOwnership: { glyph: "?", words: "Claimed" },
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
};
|