@zentodo/cli 0.1.13 → 0.1.14
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/bin.cjs +157 -89
- package/dist/skills/zentodo/references/commands.md +137 -69
- package/dist/skills/zentodo/references/tools.json +586 -171
- package/dist/skills/zentodo/references/tools.md +156 -88
- package/package.json +1 -1
- package/skills/zentodo/references/commands.md +137 -69
- package/skills/zentodo/references/tools.json +586 -171
- package/skills/zentodo/references/tools.md +156 -88
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
"name": "zentodo.task.add",
|
|
548
548
|
"domain": "task",
|
|
549
549
|
"action": "add",
|
|
550
|
-
"description": "调用 /taskController/insertTask,使用 JSON 请求体(后端 @RequestBody)。",
|
|
550
|
+
"description": "调用 /taskController/insertTask,使用 JSON 请求体(后端 @RequestBody Tasks)。",
|
|
551
551
|
"http": {
|
|
552
552
|
"method": "POST",
|
|
553
553
|
"path": "/taskController/insertTask",
|
|
@@ -564,41 +564,41 @@
|
|
|
564
564
|
"params": [
|
|
565
565
|
{
|
|
566
566
|
"name": "title",
|
|
567
|
-
"backendName": "
|
|
567
|
+
"backendName": "taskName",
|
|
568
568
|
"type": "string",
|
|
569
569
|
"required": true,
|
|
570
|
-
"description": "
|
|
570
|
+
"description": "任务标题(映射到 Tasks.taskName)。"
|
|
571
571
|
},
|
|
572
572
|
{
|
|
573
573
|
"name": "desc",
|
|
574
|
-
"backendName": "
|
|
574
|
+
"backendName": "taskDesc",
|
|
575
575
|
"type": "string",
|
|
576
|
-
"description": "
|
|
576
|
+
"description": "任务描述(映射到 Tasks.taskDesc)。"
|
|
577
577
|
},
|
|
578
578
|
{
|
|
579
579
|
"name": "due",
|
|
580
580
|
"backendName": "taskCreateTime",
|
|
581
581
|
"type": "datetime",
|
|
582
582
|
"transform": "isoToBackendDateTime",
|
|
583
|
-
"description": "计划时间 / 截止时间(ISO)。"
|
|
583
|
+
"description": "计划时间 / 截止时间(ISO,映射到 Tasks.taskCreateTime)。"
|
|
584
584
|
},
|
|
585
585
|
{
|
|
586
586
|
"name": "priority",
|
|
587
587
|
"backendName": "taskPriority",
|
|
588
|
-
"type": "
|
|
589
|
-
"description": "优先级 0-4。"
|
|
588
|
+
"type": "string",
|
|
589
|
+
"description": "优先级 0-4(Tasks.taskPriority 存为字符串)。"
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
"name": "project_key",
|
|
593
|
-
"backendName": "
|
|
593
|
+
"backendName": "projectKey",
|
|
594
594
|
"type": "integer",
|
|
595
|
-
"description": "所属项目 projectKey。"
|
|
595
|
+
"description": "所属项目 projectKey(映射到 Tasks.projectKey)。"
|
|
596
596
|
},
|
|
597
597
|
{
|
|
598
598
|
"name": "scene_key",
|
|
599
|
-
"backendName": "
|
|
599
|
+
"backendName": "sceneKey",
|
|
600
600
|
"type": "integer",
|
|
601
|
-
"description": "所属场景 sceneKey。"
|
|
601
|
+
"description": "所属场景 sceneKey(映射到 Tasks.sceneKey)。"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
"name": "labels",
|
|
@@ -606,33 +606,33 @@
|
|
|
606
606
|
"type": "array",
|
|
607
607
|
"itemType": "string",
|
|
608
608
|
"transform": "arrayToCsv",
|
|
609
|
-
"description": "标签(
|
|
609
|
+
"description": "标签 CSV(Tasks 实体只存单个 labelKey,此参数当前为 no-op,供前端兼容)。"
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
612
|
"name": "mit",
|
|
613
613
|
"backendName": "isMIT",
|
|
614
614
|
"type": "boolean",
|
|
615
615
|
"transform": "booleanToString",
|
|
616
|
-
"description": "是否标记为 MIT(
|
|
616
|
+
"description": "是否标记为 MIT(今日最重要,映射到 Tasks.isMIT)。"
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
619
|
"name": "reminder",
|
|
620
|
-
"backendName": "
|
|
620
|
+
"backendName": "taskReminderDate",
|
|
621
621
|
"type": "datetime",
|
|
622
622
|
"transform": "isoToBackendDateTime",
|
|
623
|
-
"description": "提醒时间(ISO)。"
|
|
623
|
+
"description": "提醒时间(ISO,映射到 Tasks.taskReminderDate)。"
|
|
624
624
|
},
|
|
625
625
|
{
|
|
626
626
|
"name": "sub_of",
|
|
627
627
|
"backendName": "taskParentKey",
|
|
628
628
|
"type": "integer",
|
|
629
|
-
"description": "
|
|
629
|
+
"description": "Tasks 实体无 taskParentKey 字段,此参数为 no-op;子任务请使用 subtask.sync-push。"
|
|
630
630
|
},
|
|
631
631
|
{
|
|
632
632
|
"name": "quadrant",
|
|
633
633
|
"backendName": "task4time",
|
|
634
634
|
"type": "integer",
|
|
635
|
-
"description": "时间四象限 0-3。"
|
|
635
|
+
"description": "时间四象限 0-3(映射到 Tasks.task4time)。"
|
|
636
636
|
}
|
|
637
637
|
],
|
|
638
638
|
"output": {
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
"name": "zentodo.task.update",
|
|
644
644
|
"domain": "task",
|
|
645
645
|
"action": "update",
|
|
646
|
-
"description": "调用 /taskController/updateTask(后端 @RequestBody)。未传入的字段不会被写入 JSON payload,避免把现有列置空。",
|
|
646
|
+
"description": "调用 /taskController/updateTask(后端 @RequestBody Tasks)。未传入的字段不会被写入 JSON payload,避免把现有列置空。",
|
|
647
647
|
"http": {
|
|
648
648
|
"method": "POST",
|
|
649
649
|
"path": "/taskController/updateTask",
|
|
@@ -667,40 +667,40 @@
|
|
|
667
667
|
},
|
|
668
668
|
{
|
|
669
669
|
"name": "title",
|
|
670
|
-
"backendName": "
|
|
670
|
+
"backendName": "taskName",
|
|
671
671
|
"type": "string",
|
|
672
|
-
"description": "
|
|
672
|
+
"description": "新标题(映射到 Tasks.taskName)。"
|
|
673
673
|
},
|
|
674
674
|
{
|
|
675
675
|
"name": "desc",
|
|
676
|
-
"backendName": "
|
|
676
|
+
"backendName": "taskDesc",
|
|
677
677
|
"type": "string",
|
|
678
|
-
"description": "
|
|
678
|
+
"description": "新描述(映射到 Tasks.taskDesc)。"
|
|
679
679
|
},
|
|
680
680
|
{
|
|
681
681
|
"name": "due",
|
|
682
682
|
"backendName": "taskCreateTime",
|
|
683
683
|
"type": "datetime",
|
|
684
684
|
"transform": "isoToBackendDateTime",
|
|
685
|
-
"description": "新计划时间(ISO)。"
|
|
685
|
+
"description": "新计划时间(ISO,映射到 Tasks.taskCreateTime)。"
|
|
686
686
|
},
|
|
687
687
|
{
|
|
688
688
|
"name": "priority",
|
|
689
689
|
"backendName": "taskPriority",
|
|
690
|
-
"type": "
|
|
691
|
-
"description": "
|
|
690
|
+
"type": "string",
|
|
691
|
+
"description": "新优先级(Tasks.taskPriority 存为字符串)。"
|
|
692
692
|
},
|
|
693
693
|
{
|
|
694
694
|
"name": "project_key",
|
|
695
|
-
"backendName": "
|
|
695
|
+
"backendName": "projectKey",
|
|
696
696
|
"type": "integer",
|
|
697
|
-
"description": "迁移到的 projectKey。"
|
|
697
|
+
"description": "迁移到的 projectKey(映射到 Tasks.projectKey)。"
|
|
698
698
|
},
|
|
699
699
|
{
|
|
700
700
|
"name": "scene_key",
|
|
701
|
-
"backendName": "
|
|
701
|
+
"backendName": "sceneKey",
|
|
702
702
|
"type": "integer",
|
|
703
|
-
"description": "迁移到的 sceneKey。"
|
|
703
|
+
"description": "迁移到的 sceneKey(映射到 Tasks.sceneKey)。"
|
|
704
704
|
},
|
|
705
705
|
{
|
|
706
706
|
"name": "labels",
|
|
@@ -708,20 +708,20 @@
|
|
|
708
708
|
"type": "array",
|
|
709
709
|
"itemType": "string",
|
|
710
710
|
"transform": "arrayToCsv",
|
|
711
|
-
"description": "标签(
|
|
711
|
+
"description": "标签 CSV(Tasks 实体只存单个 labelKey,此参数当前为 no-op)。"
|
|
712
712
|
},
|
|
713
713
|
{
|
|
714
714
|
"name": "reminder",
|
|
715
|
-
"backendName": "
|
|
715
|
+
"backendName": "taskReminderDate",
|
|
716
716
|
"type": "datetime",
|
|
717
717
|
"transform": "isoToBackendDateTime",
|
|
718
|
-
"description": "新提醒时间(ISO)。"
|
|
718
|
+
"description": "新提醒时间(ISO,映射到 Tasks.taskReminderDate)。"
|
|
719
719
|
},
|
|
720
720
|
{
|
|
721
721
|
"name": "quadrant",
|
|
722
722
|
"backendName": "task4time",
|
|
723
723
|
"type": "integer",
|
|
724
|
-
"description": "
|
|
724
|
+
"description": "时间四象限(映射到 Tasks.task4time)。"
|
|
725
725
|
},
|
|
726
726
|
{
|
|
727
727
|
"name": "sync_flag",
|
|
@@ -1212,7 +1212,7 @@
|
|
|
1212
1212
|
"name": "zentodo.task.sync-push",
|
|
1213
1213
|
"domain": "task",
|
|
1214
1214
|
"action": "sync-push",
|
|
1215
|
-
"description": "调用 /taskController/putSyncTask(@RequestBody),完整字段提交,自动剥离 id / rowid。",
|
|
1215
|
+
"description": "调用 /taskController/putSyncTask(@RequestBody Tasks),完整字段提交,自动剥离 id / rowid。",
|
|
1216
1216
|
"http": {
|
|
1217
1217
|
"method": "POST",
|
|
1218
1218
|
"path": "/taskController/putSyncTask",
|
|
@@ -1308,15 +1308,15 @@
|
|
|
1308
1308
|
},
|
|
1309
1309
|
{
|
|
1310
1310
|
"name": "title",
|
|
1311
|
-
"backendName": "
|
|
1311
|
+
"backendName": "subTaskName",
|
|
1312
1312
|
"type": "string",
|
|
1313
|
-
"description": "
|
|
1313
|
+
"description": "子任务标题(映射到 SubTask.subTaskName)。"
|
|
1314
1314
|
},
|
|
1315
1315
|
{
|
|
1316
1316
|
"name": "state",
|
|
1317
1317
|
"backendName": "subTaskState",
|
|
1318
|
-
"type": "
|
|
1319
|
-
"description": "状态(
|
|
1318
|
+
"type": "boolean",
|
|
1319
|
+
"description": "状态(SubTask.subTaskState 为 Boolean;true=完成)。"
|
|
1320
1320
|
},
|
|
1321
1321
|
{
|
|
1322
1322
|
"name": "sync_flag",
|
|
@@ -1416,38 +1416,62 @@
|
|
|
1416
1416
|
"name": "name",
|
|
1417
1417
|
"backendName": "projectName",
|
|
1418
1418
|
"type": "string",
|
|
1419
|
-
"description": "
|
|
1419
|
+
"description": "项目名称(映射到 Project.projectName)。"
|
|
1420
1420
|
},
|
|
1421
1421
|
{
|
|
1422
|
-
"name": "
|
|
1423
|
-
"backendName": "
|
|
1422
|
+
"name": "desc",
|
|
1423
|
+
"backendName": "projectDesc",
|
|
1424
1424
|
"type": "string",
|
|
1425
|
-
"description": "
|
|
1425
|
+
"description": "项目描述(映射到 Project.projectDesc)。"
|
|
1426
1426
|
},
|
|
1427
1427
|
{
|
|
1428
|
-
"name": "
|
|
1429
|
-
"backendName": "
|
|
1428
|
+
"name": "bk_url",
|
|
1429
|
+
"backendName": "projectBKUrl",
|
|
1430
1430
|
"type": "string",
|
|
1431
|
-
"description": "
|
|
1431
|
+
"description": "项目背景图 URL(映射到 Project.projectBKUrl)。"
|
|
1432
1432
|
},
|
|
1433
1433
|
{
|
|
1434
|
-
"name": "
|
|
1435
|
-
"backendName": "
|
|
1434
|
+
"name": "header_url",
|
|
1435
|
+
"backendName": "projectHeaderUrl",
|
|
1436
|
+
"type": "string",
|
|
1437
|
+
"description": "项目头图 URL(映射到 Project.projectHeaderUrl)。"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
"name": "label_key",
|
|
1441
|
+
"backendName": "labelKey",
|
|
1442
|
+
"type": "integer",
|
|
1443
|
+
"description": "关联标签 labelKey(映射到 Project.labelKey)。"
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"name": "target_key",
|
|
1447
|
+
"backendName": "targetKey",
|
|
1436
1448
|
"type": "integer",
|
|
1437
|
-
"description": "
|
|
1449
|
+
"description": "关联目标 targetKey(映射到 Project.targetKey)。"
|
|
1438
1450
|
},
|
|
1439
1451
|
{
|
|
1440
1452
|
"name": "state",
|
|
1441
1453
|
"backendName": "projectState",
|
|
1442
1454
|
"type": "integer",
|
|
1443
|
-
"description": "
|
|
1455
|
+
"description": "项目状态(映射到 Project.projectState)。"
|
|
1444
1456
|
},
|
|
1445
1457
|
{
|
|
1446
|
-
"name": "
|
|
1447
|
-
"backendName": "
|
|
1458
|
+
"name": "star",
|
|
1459
|
+
"backendName": "isStar",
|
|
1448
1460
|
"type": "boolean",
|
|
1449
|
-
"
|
|
1450
|
-
|
|
1461
|
+
"description": "是否标星(映射到 Project.isStar)。"
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"name": "is_templete",
|
|
1465
|
+
"backendName": "isTemplete",
|
|
1466
|
+
"type": "boolean",
|
|
1467
|
+
"description": "是否模板(映射到 Project.isTemplete)。"
|
|
1468
|
+
},
|
|
1469
|
+
{
|
|
1470
|
+
"name": "end_time",
|
|
1471
|
+
"backendName": "endTime",
|
|
1472
|
+
"type": "datetime",
|
|
1473
|
+
"transform": "isoToBackendDateTime",
|
|
1474
|
+
"description": "项目结束时间(ISO,映射到 Project.endTime)。"
|
|
1451
1475
|
},
|
|
1452
1476
|
{
|
|
1453
1477
|
"name": "sync_flag",
|
|
@@ -1650,9 +1674,9 @@
|
|
|
1650
1674
|
"params": [
|
|
1651
1675
|
{
|
|
1652
1676
|
"name": "sub_project_key",
|
|
1653
|
-
"backendName": "
|
|
1677
|
+
"backendName": "spKey",
|
|
1654
1678
|
"type": "integer",
|
|
1655
|
-
"description": "已存在的子项目 key。"
|
|
1679
|
+
"description": "已存在的子项目 key(映射到 SubProject.spKey)。"
|
|
1656
1680
|
},
|
|
1657
1681
|
{
|
|
1658
1682
|
"name": "project_key",
|
|
@@ -1663,9 +1687,27 @@
|
|
|
1663
1687
|
},
|
|
1664
1688
|
{
|
|
1665
1689
|
"name": "name",
|
|
1666
|
-
"backendName": "
|
|
1690
|
+
"backendName": "spName",
|
|
1691
|
+
"type": "string",
|
|
1692
|
+
"description": "子项目名称(映射到 SubProject.spName)。"
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"name": "desc",
|
|
1696
|
+
"backendName": "spDesc",
|
|
1697
|
+
"type": "string",
|
|
1698
|
+
"description": "子项目描述(映射到 SubProject.spDesc)。"
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"name": "bk_url",
|
|
1702
|
+
"backendName": "spBKUrl",
|
|
1667
1703
|
"type": "string",
|
|
1668
|
-
"description": "
|
|
1704
|
+
"description": "子项目背景图(映射到 SubProject.spBKUrl)。"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "state",
|
|
1708
|
+
"backendName": "spState",
|
|
1709
|
+
"type": "integer",
|
|
1710
|
+
"description": "子项目状态(映射到 SubProject.spState)。"
|
|
1669
1711
|
},
|
|
1670
1712
|
{
|
|
1671
1713
|
"name": "sync_flag",
|
|
@@ -1736,7 +1778,7 @@
|
|
|
1736
1778
|
"name": "zentodo.scene.sync-push",
|
|
1737
1779
|
"domain": "scene",
|
|
1738
1780
|
"action": "sync-push",
|
|
1739
|
-
"description": "调用 /sceneController/putSyncScene(后端 @RequestBody Scene)。JSON 体。",
|
|
1781
|
+
"description": "调用 /sceneController/putSyncScene(后端 @RequestBody Scene)。JSON 体。Scene 实体仅含 sceneName / sceneState / sceneKey,没有 icon / desc 字段。",
|
|
1740
1782
|
"http": {
|
|
1741
1783
|
"method": "POST",
|
|
1742
1784
|
"path": "/sceneController/putSyncScene",
|
|
@@ -1765,19 +1807,13 @@
|
|
|
1765
1807
|
"name": "name",
|
|
1766
1808
|
"backendName": "sceneName",
|
|
1767
1809
|
"type": "string",
|
|
1768
|
-
"description": "
|
|
1769
|
-
},
|
|
1770
|
-
{
|
|
1771
|
-
"name": "icon",
|
|
1772
|
-
"backendName": "sceneIcon",
|
|
1773
|
-
"type": "string",
|
|
1774
|
-
"description": "图标标识。"
|
|
1810
|
+
"description": "场景名称(映射到 Scene.sceneName)。"
|
|
1775
1811
|
},
|
|
1776
1812
|
{
|
|
1777
|
-
"name": "
|
|
1778
|
-
"backendName": "
|
|
1779
|
-
"type": "
|
|
1780
|
-
"description": "
|
|
1813
|
+
"name": "state",
|
|
1814
|
+
"backendName": "sceneState",
|
|
1815
|
+
"type": "boolean",
|
|
1816
|
+
"description": "场景启用状态(Scene.sceneState 为 Boolean)。"
|
|
1781
1817
|
},
|
|
1782
1818
|
{
|
|
1783
1819
|
"name": "sync_flag",
|
|
@@ -1848,7 +1884,7 @@
|
|
|
1848
1884
|
"name": "zentodo.target.sync-push",
|
|
1849
1885
|
"domain": "target",
|
|
1850
1886
|
"action": "sync-push",
|
|
1851
|
-
"description": "调用 /targetController/putSyncTarget(后端 @RequestBody Target)。JSON 体。",
|
|
1887
|
+
"description": "调用 /targetController/putSyncTarget(后端 @RequestBody Target)。JSON 体。Target 实体用 ttName/ttDesc/ttState 系列字段,不是 targetTitle。",
|
|
1852
1888
|
"http": {
|
|
1853
1889
|
"method": "POST",
|
|
1854
1890
|
"path": "/targetController/putSyncTarget",
|
|
@@ -1875,22 +1911,59 @@
|
|
|
1875
1911
|
},
|
|
1876
1912
|
{
|
|
1877
1913
|
"name": "title",
|
|
1878
|
-
"backendName": "
|
|
1914
|
+
"backendName": "ttName",
|
|
1879
1915
|
"type": "string",
|
|
1880
|
-
"description": "
|
|
1916
|
+
"description": "目标标题(映射到 Target.ttName)。"
|
|
1881
1917
|
},
|
|
1882
1918
|
{
|
|
1883
1919
|
"name": "desc",
|
|
1884
|
-
"backendName": "
|
|
1920
|
+
"backendName": "ttDesc",
|
|
1921
|
+
"type": "string",
|
|
1922
|
+
"description": "目标描述(映射到 Target.ttDesc)。"
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"name": "bk_url",
|
|
1926
|
+
"backendName": "bkUrl",
|
|
1927
|
+
"type": "string",
|
|
1928
|
+
"description": "背景图(映射到 Target.bkUrl)。"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "state",
|
|
1932
|
+
"backendName": "ttState",
|
|
1933
|
+
"type": "integer",
|
|
1934
|
+
"description": "状态(映射到 Target.ttState)。"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "label_key",
|
|
1938
|
+
"backendName": "labelKey",
|
|
1939
|
+
"type": "integer",
|
|
1940
|
+
"description": "关联标签 labelKey。"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "label_name",
|
|
1944
|
+
"backendName": "labelName",
|
|
1885
1945
|
"type": "string",
|
|
1886
|
-
"description": "
|
|
1946
|
+
"description": "标签名快照(映射到 Target.labelName)。"
|
|
1887
1947
|
},
|
|
1888
1948
|
{
|
|
1889
1949
|
"name": "deadline",
|
|
1890
|
-
"backendName": "
|
|
1891
|
-
"type": "
|
|
1892
|
-
"transform": "
|
|
1893
|
-
"description": "截止日期(ISO)。"
|
|
1950
|
+
"backendName": "endTime",
|
|
1951
|
+
"type": "datetime",
|
|
1952
|
+
"transform": "isoToBackendDateTime",
|
|
1953
|
+
"description": "截止日期(ISO,映射到 Target.endTime)。"
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "start_time",
|
|
1957
|
+
"backendName": "startTime",
|
|
1958
|
+
"type": "datetime",
|
|
1959
|
+
"transform": "isoToBackendDateTime",
|
|
1960
|
+
"description": "开始日期(ISO,映射到 Target.startTime)。"
|
|
1961
|
+
},
|
|
1962
|
+
{
|
|
1963
|
+
"name": "reward_value",
|
|
1964
|
+
"backendName": "rewardValue",
|
|
1965
|
+
"type": "integer",
|
|
1966
|
+
"description": "完成奖励(映射到 Target.rewardValue)。"
|
|
1894
1967
|
},
|
|
1895
1968
|
{
|
|
1896
1969
|
"name": "sync_flag",
|
|
@@ -1961,7 +2034,7 @@
|
|
|
1961
2034
|
"name": "zentodo.label.sync-push",
|
|
1962
2035
|
"domain": "label",
|
|
1963
2036
|
"action": "sync-push",
|
|
1964
|
-
"description": "调用 /labelController/putSyncLabel(后端 @RequestBody Label)。JSON 体。",
|
|
2037
|
+
"description": "调用 /labelController/putSyncLabel(后端 @RequestBody Label)。JSON 体。Label 实体颜色字段是 iconColor,不是 labelColor;另有 labelDesc/labelBKUrl/iconIndex/labelType。",
|
|
1965
2038
|
"http": {
|
|
1966
2039
|
"method": "POST",
|
|
1967
2040
|
"path": "/labelController/putSyncLabel",
|
|
@@ -1990,13 +2063,37 @@
|
|
|
1990
2063
|
"name": "name",
|
|
1991
2064
|
"backendName": "labelName",
|
|
1992
2065
|
"type": "string",
|
|
1993
|
-
"description": "
|
|
2066
|
+
"description": "标签名(映射到 Label.labelName)。"
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
"name": "desc",
|
|
2070
|
+
"backendName": "labelDesc",
|
|
2071
|
+
"type": "string",
|
|
2072
|
+
"description": "标签描述(映射到 Label.labelDesc)。"
|
|
1994
2073
|
},
|
|
1995
2074
|
{
|
|
1996
2075
|
"name": "color",
|
|
1997
|
-
"backendName": "
|
|
2076
|
+
"backendName": "iconColor",
|
|
2077
|
+
"type": "string",
|
|
2078
|
+
"description": "图标/标签颜色十六进制(映射到 Label.iconColor)。"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"name": "icon_index",
|
|
2082
|
+
"backendName": "iconIndex",
|
|
2083
|
+
"type": "integer",
|
|
2084
|
+
"description": "图标索引(映射到 Label.iconIndex)。"
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"name": "label_type",
|
|
2088
|
+
"backendName": "labelType",
|
|
2089
|
+
"type": "integer",
|
|
2090
|
+
"description": "标签类型:0 子任务 / 1 任务 / 2 项目 / 3 目标(映射到 Label.labelType)。"
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "bk_url",
|
|
2094
|
+
"backendName": "labelBKUrl",
|
|
1998
2095
|
"type": "string",
|
|
1999
|
-
"description": "
|
|
2096
|
+
"description": "背景图 URL(映射到 Label.labelBKUrl)。"
|
|
2000
2097
|
},
|
|
2001
2098
|
{
|
|
2002
2099
|
"name": "sync_flag",
|
|
@@ -2073,7 +2170,7 @@
|
|
|
2073
2170
|
"name": "zentodo.toplabel.sync-push",
|
|
2074
2171
|
"domain": "toplabel",
|
|
2075
2172
|
"action": "sync-push",
|
|
2076
|
-
"description": "调用 /topLabelController/putSyncTopLabel
|
|
2173
|
+
"description": "调用 /topLabelController/putSyncTopLabel。注意:后端暂未提供 TopLabel 实体/控制器,此 capability 为占位。",
|
|
2077
2174
|
"http": {
|
|
2078
2175
|
"method": "POST",
|
|
2079
2176
|
"path": "/topLabelController/putSyncTopLabel",
|
|
@@ -2172,7 +2269,7 @@
|
|
|
2172
2269
|
"name": "zentodo.quadrant.sync-push",
|
|
2173
2270
|
"domain": "quadrant",
|
|
2174
2271
|
"action": "sync-push",
|
|
2175
|
-
"description": "调用 /quadrantController/putSyncQuadrant(后端 @RequestBody Quadrant)。JSON 体。",
|
|
2272
|
+
"description": "调用 /quadrantController/putSyncQuadrant(后端 @RequestBody Quadrant)。JSON 体。Quadrant 实体用 meKey 作主键,字段为 time1..4/color1..4/rules。",
|
|
2176
2273
|
"http": {
|
|
2177
2274
|
"method": "POST",
|
|
2178
2275
|
"path": "/quadrantController/putSyncQuadrant",
|
|
@@ -2192,22 +2289,64 @@
|
|
|
2192
2289
|
},
|
|
2193
2290
|
"params": [
|
|
2194
2291
|
{
|
|
2195
|
-
"name": "
|
|
2196
|
-
"backendName": "
|
|
2292
|
+
"name": "me_key",
|
|
2293
|
+
"backendName": "meKey",
|
|
2197
2294
|
"type": "integer",
|
|
2198
|
-
"description": "已存在的
|
|
2295
|
+
"description": "已存在的 meKey(映射到 Quadrant.meKey,四象限配置以 meKey 唯一识别)。"
|
|
2199
2296
|
},
|
|
2200
2297
|
{
|
|
2201
|
-
"name": "
|
|
2202
|
-
"backendName": "
|
|
2298
|
+
"name": "time1",
|
|
2299
|
+
"backendName": "time1",
|
|
2203
2300
|
"type": "string",
|
|
2204
|
-
"description": "
|
|
2301
|
+
"description": "第 1 象限时间值(映射到 Quadrant.time1)。"
|
|
2205
2302
|
},
|
|
2206
2303
|
{
|
|
2207
|
-
"name": "
|
|
2208
|
-
"backendName": "
|
|
2209
|
-
"type": "
|
|
2210
|
-
"description": "
|
|
2304
|
+
"name": "time2",
|
|
2305
|
+
"backendName": "time2",
|
|
2306
|
+
"type": "string",
|
|
2307
|
+
"description": "第 2 象限时间值。"
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"name": "time3",
|
|
2311
|
+
"backendName": "time3",
|
|
2312
|
+
"type": "string",
|
|
2313
|
+
"description": "第 3 象限时间值。"
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"name": "time4",
|
|
2317
|
+
"backendName": "time4",
|
|
2318
|
+
"type": "string",
|
|
2319
|
+
"description": "第 4 象限时间值。"
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "color1",
|
|
2323
|
+
"backendName": "color1",
|
|
2324
|
+
"type": "string",
|
|
2325
|
+
"description": "第 1 象限颜色。"
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"name": "color2",
|
|
2329
|
+
"backendName": "color2",
|
|
2330
|
+
"type": "string",
|
|
2331
|
+
"description": "第 2 象限颜色。"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "color3",
|
|
2335
|
+
"backendName": "color3",
|
|
2336
|
+
"type": "string",
|
|
2337
|
+
"description": "第 3 象限颜色。"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "color4",
|
|
2341
|
+
"backendName": "color4",
|
|
2342
|
+
"type": "string",
|
|
2343
|
+
"description": "第 4 象限颜色。"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"name": "rules",
|
|
2347
|
+
"backendName": "rules",
|
|
2348
|
+
"type": "string",
|
|
2349
|
+
"description": "象限规则配置(JSON 字符串)。"
|
|
2211
2350
|
},
|
|
2212
2351
|
{
|
|
2213
2352
|
"name": "sync_flag",
|
|
@@ -2278,7 +2417,7 @@
|
|
|
2278
2417
|
"name": "zentodo.timeline.sync-push",
|
|
2279
2418
|
"domain": "timeline",
|
|
2280
2419
|
"action": "sync-push",
|
|
2281
|
-
"description": "调用 /timeLineController/putSyncTimeLine(后端 @RequestBody TimeLine)。JSON 体。",
|
|
2420
|
+
"description": "调用 /timeLineController/putSyncTimeLine(后端 @RequestBody TimeLine)。JSON 体。TimeLine 实体字段为 tlKey/tlName/tlDesc/tlType/tlImageUrl/startTime/endTime,无 timeLineTitle/Content/Time 字段。",
|
|
2282
2421
|
"http": {
|
|
2283
2422
|
"method": "POST",
|
|
2284
2423
|
"path": "/timeLineController/putSyncTimeLine",
|
|
@@ -2299,28 +2438,71 @@
|
|
|
2299
2438
|
"params": [
|
|
2300
2439
|
{
|
|
2301
2440
|
"name": "time_line_key",
|
|
2302
|
-
"backendName": "
|
|
2441
|
+
"backendName": "tlKey",
|
|
2303
2442
|
"type": "integer",
|
|
2304
|
-
"description": "已存在的
|
|
2443
|
+
"description": "已存在的 tlKey(映射到 TimeLine.tlKey)。"
|
|
2305
2444
|
},
|
|
2306
2445
|
{
|
|
2307
2446
|
"name": "title",
|
|
2308
|
-
"backendName": "
|
|
2447
|
+
"backendName": "tlName",
|
|
2309
2448
|
"type": "string",
|
|
2310
|
-
"description": "
|
|
2449
|
+
"description": "标题(映射到 TimeLine.tlName)。"
|
|
2311
2450
|
},
|
|
2312
2451
|
{
|
|
2313
2452
|
"name": "content",
|
|
2314
|
-
"backendName": "
|
|
2453
|
+
"backendName": "tlDesc",
|
|
2315
2454
|
"type": "string",
|
|
2316
|
-
"description": "
|
|
2455
|
+
"description": "正文/描述(映射到 TimeLine.tlDesc)。"
|
|
2317
2456
|
},
|
|
2318
2457
|
{
|
|
2319
|
-
"name": "
|
|
2320
|
-
"backendName": "
|
|
2458
|
+
"name": "type",
|
|
2459
|
+
"backendName": "tlType",
|
|
2460
|
+
"type": "string",
|
|
2461
|
+
"description": "类型(映射到 TimeLine.tlType)。"
|
|
2462
|
+
},
|
|
2463
|
+
{
|
|
2464
|
+
"name": "image_url",
|
|
2465
|
+
"backendName": "tlImageUrl",
|
|
2466
|
+
"type": "string",
|
|
2467
|
+
"description": "配图(映射到 TimeLine.tlImageUrl)。"
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"name": "start_time",
|
|
2471
|
+
"backendName": "startTime",
|
|
2472
|
+
"type": "datetime",
|
|
2473
|
+
"transform": "isoToBackendDateTime",
|
|
2474
|
+
"description": "开始时间(ISO,映射到 TimeLine.startTime)。"
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"name": "end_time",
|
|
2478
|
+
"backendName": "endTime",
|
|
2321
2479
|
"type": "datetime",
|
|
2322
2480
|
"transform": "isoToBackendDateTime",
|
|
2323
|
-
"description": "
|
|
2481
|
+
"description": "结束时间(ISO,映射到 TimeLine.endTime)。"
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "match_key",
|
|
2485
|
+
"backendName": "matchKey",
|
|
2486
|
+
"type": "integer",
|
|
2487
|
+
"description": "关联对象 key(task/project/target,根据 tlType 解释)。"
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"name": "target_key",
|
|
2491
|
+
"backendName": "targetKey",
|
|
2492
|
+
"type": "integer",
|
|
2493
|
+
"description": "关联目标 targetKey。"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "project_key",
|
|
2497
|
+
"backendName": "projectKey",
|
|
2498
|
+
"type": "integer",
|
|
2499
|
+
"description": "关联项目 projectKey。"
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "label_name",
|
|
2503
|
+
"backendName": "labelName",
|
|
2504
|
+
"type": "string",
|
|
2505
|
+
"description": "标签名快照(映射到 TimeLine.labelName)。"
|
|
2324
2506
|
},
|
|
2325
2507
|
{
|
|
2326
2508
|
"name": "sync_flag",
|
|
@@ -2555,7 +2737,7 @@
|
|
|
2555
2737
|
"name": "zentodo.attach.sync-push",
|
|
2556
2738
|
"domain": "attach",
|
|
2557
2739
|
"action": "sync-push",
|
|
2558
|
-
"description": "调用 /attachmentController/putSyncAttchment(后端 @RequestBody Attachment)。JSON 体,仅元数据,不包含文件二进制。",
|
|
2740
|
+
"description": "调用 /attachmentController/putSyncAttchment(后端 @RequestBody Attachment)。JSON 体,仅元数据,不包含文件二进制。Attachment 实体以 athKey 为主键,通过 matchKey 关联任务/导图节点。",
|
|
2559
2741
|
"http": {
|
|
2560
2742
|
"method": "POST",
|
|
2561
2743
|
"path": "/attachmentController/putSyncAttchment",
|
|
@@ -2576,9 +2758,45 @@
|
|
|
2576
2758
|
"params": [
|
|
2577
2759
|
{
|
|
2578
2760
|
"name": "attachment_key",
|
|
2579
|
-
"backendName": "
|
|
2761
|
+
"backendName": "athKey",
|
|
2580
2762
|
"type": "integer",
|
|
2581
|
-
"description": "已存在的
|
|
2763
|
+
"description": "已存在的 athKey(映射到 Attachment.athKey)。"
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
"name": "match_key",
|
|
2767
|
+
"backendName": "matchKey",
|
|
2768
|
+
"type": "integer",
|
|
2769
|
+
"description": "关联对象 key(映射到 Attachment.matchKey)。"
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"name": "file_url",
|
|
2773
|
+
"backendName": "fileUrl",
|
|
2774
|
+
"type": "string",
|
|
2775
|
+
"description": "客户端本地文件 URL(映射到 Attachment.fileUrl)。"
|
|
2776
|
+
},
|
|
2777
|
+
{
|
|
2778
|
+
"name": "service_file_url",
|
|
2779
|
+
"backendName": "serviceFileUrl",
|
|
2780
|
+
"type": "string",
|
|
2781
|
+
"description": "服务端文件 URL(映射到 Attachment.serviceFileUrl)。"
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"name": "file_type",
|
|
2785
|
+
"backendName": "fileType",
|
|
2786
|
+
"type": "string",
|
|
2787
|
+
"description": "文件类型(映射到 Attachment.fileType)。"
|
|
2788
|
+
},
|
|
2789
|
+
{
|
|
2790
|
+
"name": "file_desc",
|
|
2791
|
+
"backendName": "fileDesc",
|
|
2792
|
+
"type": "string",
|
|
2793
|
+
"description": "文件描述(映射到 Attachment.fileDesc)。"
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
"name": "remark",
|
|
2797
|
+
"backendName": "remark",
|
|
2798
|
+
"type": "string",
|
|
2799
|
+
"description": "备注(映射到 Attachment.remark)。"
|
|
2582
2800
|
},
|
|
2583
2801
|
{
|
|
2584
2802
|
"name": "sync_flag",
|
|
@@ -2767,7 +2985,7 @@
|
|
|
2767
2985
|
"name": "zentodo.pomo.sync-push-worker",
|
|
2768
2986
|
"domain": "pomo",
|
|
2769
2987
|
"action": "sync-push-worker",
|
|
2770
|
-
"description": "调用 /tomatoWorkerController/putSyncTomatoWorker(后端 @RequestBody TomatoWorker)。JSON 体。",
|
|
2988
|
+
"description": "调用 /tomatoWorkerController/putSyncTomatoWorker(后端 @RequestBody TomatoWorker)。JSON 体。TomatoWorker 实体以 twKey 为主键,通过 matchKey 关联任务。",
|
|
2771
2989
|
"http": {
|
|
2772
2990
|
"method": "POST",
|
|
2773
2991
|
"path": "/tomatoWorkerController/putSyncTomatoWorker",
|
|
@@ -2788,15 +3006,34 @@
|
|
|
2788
3006
|
"params": [
|
|
2789
3007
|
{
|
|
2790
3008
|
"name": "tomato_key",
|
|
2791
|
-
"backendName": "
|
|
3009
|
+
"backendName": "twKey",
|
|
2792
3010
|
"type": "integer",
|
|
2793
|
-
"description": "已存在的
|
|
3011
|
+
"description": "已存在的 twKey(映射到 TomatoWorker.twKey)。"
|
|
2794
3012
|
},
|
|
2795
3013
|
{
|
|
2796
3014
|
"name": "task_key",
|
|
2797
|
-
"backendName": "
|
|
3015
|
+
"backendName": "matchKey",
|
|
2798
3016
|
"type": "integer",
|
|
2799
|
-
"description": "
|
|
3017
|
+
"description": "关联任务的 taskKey(TomatoWorker 用 matchKey 关联)。"
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"name": "is_tomato",
|
|
3021
|
+
"backendName": "isTomato",
|
|
3022
|
+
"type": "boolean",
|
|
3023
|
+
"description": "是否番茄钟记录(映射到 TomatoWorker.isTomato)。"
|
|
3024
|
+
},
|
|
3025
|
+
{
|
|
3026
|
+
"name": "start_time",
|
|
3027
|
+
"backendName": "tomatoStartTime",
|
|
3028
|
+
"type": "datetime",
|
|
3029
|
+
"transform": "isoToBackendDateTime",
|
|
3030
|
+
"description": "开始时间(映射到 TomatoWorker.tomatoStartTime)。"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"name": "execute_time",
|
|
3034
|
+
"backendName": "tomatoExecuteTime",
|
|
3035
|
+
"type": "string",
|
|
3036
|
+
"description": "实际执行时长(映射到 TomatoWorker.tomatoExecuteTime)。"
|
|
2800
3037
|
},
|
|
2801
3038
|
{
|
|
2802
3039
|
"name": "sync_flag",
|
|
@@ -2836,7 +3073,7 @@
|
|
|
2836
3073
|
"name": "zentodo.pomo.config-set",
|
|
2837
3074
|
"domain": "pomo",
|
|
2838
3075
|
"action": "config-set",
|
|
2839
|
-
"description": "调用 /tomatoConfigController/putSyncTomatoConfig(后端 @RequestBody TomatoConfig)。JSON 体。",
|
|
3076
|
+
"description": "调用 /tomatoConfigController/putSyncTomatoConfig(后端 @RequestBody TomatoConfig)。JSON 体。TomatoConfig 实体字段为 tcKey/workTime/shortRestTime/longRestTime/tomatoCircle/wirelessMode。",
|
|
2840
3077
|
"http": {
|
|
2841
3078
|
"method": "POST",
|
|
2842
3079
|
"path": "/tomatoConfigController/putSyncTomatoConfig",
|
|
@@ -2857,33 +3094,39 @@
|
|
|
2857
3094
|
"params": [
|
|
2858
3095
|
{
|
|
2859
3096
|
"name": "config_key",
|
|
2860
|
-
"backendName": "
|
|
3097
|
+
"backendName": "tcKey",
|
|
2861
3098
|
"type": "integer",
|
|
2862
|
-
"description": "已存在的
|
|
3099
|
+
"description": "已存在的 tcKey(映射到 TomatoConfig.tcKey)。"
|
|
2863
3100
|
},
|
|
2864
3101
|
{
|
|
2865
3102
|
"name": "focus_duration_sec",
|
|
2866
|
-
"backendName": "
|
|
3103
|
+
"backendName": "workTime",
|
|
2867
3104
|
"type": "integer",
|
|
2868
|
-
"description": "
|
|
3105
|
+
"description": "专注秒数(映射到 TomatoConfig.workTime)。"
|
|
2869
3106
|
},
|
|
2870
3107
|
{
|
|
2871
3108
|
"name": "break_duration_sec",
|
|
2872
|
-
"backendName": "
|
|
3109
|
+
"backendName": "shortRestTime",
|
|
2873
3110
|
"type": "integer",
|
|
2874
|
-
"description": "
|
|
3111
|
+
"description": "短休秒数(映射到 TomatoConfig.shortRestTime)。"
|
|
2875
3112
|
},
|
|
2876
3113
|
{
|
|
2877
3114
|
"name": "long_break_duration_sec",
|
|
2878
|
-
"backendName": "
|
|
3115
|
+
"backendName": "longRestTime",
|
|
2879
3116
|
"type": "integer",
|
|
2880
|
-
"description": "
|
|
3117
|
+
"description": "长休秒数(映射到 TomatoConfig.longRestTime)。"
|
|
2881
3118
|
},
|
|
2882
3119
|
{
|
|
2883
3120
|
"name": "long_break_every",
|
|
2884
|
-
"backendName": "
|
|
3121
|
+
"backendName": "tomatoCircle",
|
|
2885
3122
|
"type": "integer",
|
|
2886
|
-
"description": "
|
|
3123
|
+
"description": "每多少轮后长休(映射到 TomatoConfig.tomatoCircle)。"
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"name": "wireless_mode",
|
|
3127
|
+
"backendName": "wirelessMode",
|
|
3128
|
+
"type": "boolean",
|
|
3129
|
+
"description": "是否无线模式(映射到 TomatoConfig.wirelessMode)。"
|
|
2887
3130
|
},
|
|
2888
3131
|
{
|
|
2889
3132
|
"name": "sync_flag",
|
|
@@ -3055,7 +3298,7 @@
|
|
|
3055
3298
|
"name": "zentodo.workstate.update",
|
|
3056
3299
|
"domain": "workstate",
|
|
3057
3300
|
"action": "update",
|
|
3058
|
-
"description": "调用 /workStateController/updateWorkState(后端 @RequestBody WorkState)。JSON 体。",
|
|
3301
|
+
"description": "调用 /workStateController/updateWorkState(后端 @RequestBody WorkState)。JSON 体。WorkState 实体以 wsKey 为主键,字段为 startTime/matchKey/workType/tomatoState/tomatoRound(无 title/note 字段)。",
|
|
3059
3302
|
"http": {
|
|
3060
3303
|
"method": "POST",
|
|
3061
3304
|
"path": "/workStateController/updateWorkState",
|
|
@@ -3072,22 +3315,41 @@
|
|
|
3072
3315
|
"params": [
|
|
3073
3316
|
{
|
|
3074
3317
|
"name": "work_state_key",
|
|
3075
|
-
"backendName": "
|
|
3076
|
-
"type": "
|
|
3318
|
+
"backendName": "wsKey",
|
|
3319
|
+
"type": "integer",
|
|
3077
3320
|
"required": true,
|
|
3078
|
-
"description": "工作状态 key。"
|
|
3321
|
+
"description": "工作状态 key(映射到 WorkState.wsKey)。"
|
|
3079
3322
|
},
|
|
3080
3323
|
{
|
|
3081
|
-
"name": "
|
|
3082
|
-
"backendName": "
|
|
3083
|
-
"type": "
|
|
3084
|
-
"
|
|
3324
|
+
"name": "start_time",
|
|
3325
|
+
"backendName": "startTime",
|
|
3326
|
+
"type": "datetime",
|
|
3327
|
+
"transform": "isoToBackendDateTime",
|
|
3328
|
+
"description": "开始时间(映射到 WorkState.startTime)。"
|
|
3085
3329
|
},
|
|
3086
3330
|
{
|
|
3087
|
-
"name": "
|
|
3088
|
-
"backendName": "
|
|
3089
|
-
"type": "
|
|
3090
|
-
"description": "
|
|
3331
|
+
"name": "match_key",
|
|
3332
|
+
"backendName": "matchKey",
|
|
3333
|
+
"type": "integer",
|
|
3334
|
+
"description": "关联对象 key(映射到 WorkState.matchKey)。"
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
"name": "work_type",
|
|
3338
|
+
"backendName": "workType",
|
|
3339
|
+
"type": "integer",
|
|
3340
|
+
"description": "工作类型(映射到 WorkState.workType)。"
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"name": "tomato_state",
|
|
3344
|
+
"backendName": "tomatoState",
|
|
3345
|
+
"type": "integer",
|
|
3346
|
+
"description": "番茄钟状态(映射到 WorkState.tomatoState)。"
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"name": "tomato_round",
|
|
3350
|
+
"backendName": "tomatoRound",
|
|
3351
|
+
"type": "integer",
|
|
3352
|
+
"description": "番茄钟轮次(映射到 WorkState.tomatoRound)。"
|
|
3091
3353
|
}
|
|
3092
3354
|
],
|
|
3093
3355
|
"output": {
|
|
@@ -3151,7 +3413,7 @@
|
|
|
3151
3413
|
"name": "zentodo.workstate.sync-push",
|
|
3152
3414
|
"domain": "workstate",
|
|
3153
3415
|
"action": "sync-push",
|
|
3154
|
-
"description": "调用 /workStateController/putSyncWorkState(后端 @RequestBody WorkState)。JSON 体。",
|
|
3416
|
+
"description": "调用 /workStateController/putSyncWorkState(后端 @RequestBody WorkState)。JSON 体。WorkState 实体以 wsKey 为主键。",
|
|
3155
3417
|
"http": {
|
|
3156
3418
|
"method": "POST",
|
|
3157
3419
|
"path": "/workStateController/putSyncWorkState",
|
|
@@ -3172,9 +3434,28 @@
|
|
|
3172
3434
|
"params": [
|
|
3173
3435
|
{
|
|
3174
3436
|
"name": "work_state_key",
|
|
3175
|
-
"backendName": "
|
|
3176
|
-
"type": "
|
|
3177
|
-
"description": "已存在的
|
|
3437
|
+
"backendName": "wsKey",
|
|
3438
|
+
"type": "integer",
|
|
3439
|
+
"description": "已存在的 wsKey(映射到 WorkState.wsKey)。"
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"name": "start_time",
|
|
3443
|
+
"backendName": "startTime",
|
|
3444
|
+
"type": "datetime",
|
|
3445
|
+
"transform": "isoToBackendDateTime",
|
|
3446
|
+
"description": "开始时间(映射到 WorkState.startTime)。"
|
|
3447
|
+
},
|
|
3448
|
+
{
|
|
3449
|
+
"name": "match_key",
|
|
3450
|
+
"backendName": "matchKey",
|
|
3451
|
+
"type": "integer",
|
|
3452
|
+
"description": "关联对象 key(映射到 WorkState.matchKey)。"
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
"name": "work_type",
|
|
3456
|
+
"backendName": "workType",
|
|
3457
|
+
"type": "integer",
|
|
3458
|
+
"description": "工作类型(映射到 WorkState.workType)。"
|
|
3178
3459
|
},
|
|
3179
3460
|
{
|
|
3180
3461
|
"name": "sync_flag",
|
|
@@ -3403,7 +3684,7 @@
|
|
|
3403
3684
|
"name": "zentodo.mindmap.sync-push",
|
|
3404
3685
|
"domain": "mindmap",
|
|
3405
3686
|
"action": "sync-push",
|
|
3406
|
-
"description": "调用 /gdMetaController/putSyncGDMeta(后端 @RequestBody GDMeta)。JSON 体。",
|
|
3687
|
+
"description": "调用 /gdMetaController/putSyncGDMeta(后端 @RequestBody GDMeta)。JSON 体。GDMeta 实体以 meKey 为主键,字段为 title/metaDesc/content/iconUrl/bkUrl/templeteName/matchKey 等。",
|
|
3407
3688
|
"http": {
|
|
3408
3689
|
"method": "POST",
|
|
3409
3690
|
"path": "/gdMetaController/putSyncGDMeta",
|
|
@@ -3424,21 +3705,69 @@
|
|
|
3424
3705
|
"params": [
|
|
3425
3706
|
{
|
|
3426
3707
|
"name": "gd_meta_key",
|
|
3427
|
-
"backendName": "
|
|
3708
|
+
"backendName": "meKey",
|
|
3428
3709
|
"type": "integer",
|
|
3429
|
-
"description": "已存在的
|
|
3710
|
+
"description": "已存在的 meKey(映射到 GDMeta.meKey)。"
|
|
3430
3711
|
},
|
|
3431
3712
|
{
|
|
3432
3713
|
"name": "parent_key",
|
|
3433
|
-
"backendName": "
|
|
3714
|
+
"backendName": "matchKey",
|
|
3434
3715
|
"type": "integer",
|
|
3435
|
-
"description": "
|
|
3716
|
+
"description": "父/关联节点 key(映射到 GDMeta.matchKey)。"
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
"name": "title",
|
|
3720
|
+
"backendName": "title",
|
|
3721
|
+
"type": "string",
|
|
3722
|
+
"description": "节点标题(映射到 GDMeta.title)。"
|
|
3436
3723
|
},
|
|
3437
3724
|
{
|
|
3438
3725
|
"name": "content",
|
|
3439
3726
|
"backendName": "content",
|
|
3440
3727
|
"type": "string",
|
|
3441
|
-
"description": "
|
|
3728
|
+
"description": "节点内容(映射到 GDMeta.content)。"
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"name": "desc",
|
|
3732
|
+
"backendName": "metaDesc",
|
|
3733
|
+
"type": "string",
|
|
3734
|
+
"description": "节点描述(映射到 GDMeta.metaDesc)。"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"name": "icon_url",
|
|
3738
|
+
"backendName": "iconUrl",
|
|
3739
|
+
"type": "string",
|
|
3740
|
+
"description": "图标 URL(映射到 GDMeta.iconUrl)。"
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"name": "bk_url",
|
|
3744
|
+
"backendName": "bkUrl",
|
|
3745
|
+
"type": "string",
|
|
3746
|
+
"description": "背景图(映射到 GDMeta.bkUrl)。"
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"name": "templete_name",
|
|
3750
|
+
"backendName": "templeteName",
|
|
3751
|
+
"type": "string",
|
|
3752
|
+
"description": "模板名称(映射到 GDMeta.templeteName)。"
|
|
3753
|
+
},
|
|
3754
|
+
{
|
|
3755
|
+
"name": "is_templete",
|
|
3756
|
+
"backendName": "isTemplete",
|
|
3757
|
+
"type": "integer",
|
|
3758
|
+
"description": "是否模板(映射到 GDMeta.isTemplete)。"
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"name": "templete_key",
|
|
3762
|
+
"backendName": "templeteKey",
|
|
3763
|
+
"type": "integer",
|
|
3764
|
+
"description": "模板 key(映射到 GDMeta.templeteKey)。"
|
|
3765
|
+
},
|
|
3766
|
+
{
|
|
3767
|
+
"name": "state",
|
|
3768
|
+
"backendName": "state",
|
|
3769
|
+
"type": "integer",
|
|
3770
|
+
"description": "状态(映射到 GDMeta.state)。"
|
|
3442
3771
|
},
|
|
3443
3772
|
{
|
|
3444
3773
|
"name": "sync_flag",
|
|
@@ -3509,7 +3838,7 @@
|
|
|
3509
3838
|
"name": "zentodo.reward.store-sync-push",
|
|
3510
3839
|
"domain": "reward",
|
|
3511
3840
|
"action": "store-sync-push",
|
|
3512
|
-
"description": "调用 /rewardStoreController/putSyncRewardStore(后端 @RequestBody RewardStore)。JSON 体。",
|
|
3841
|
+
"description": "调用 /rewardStoreController/putSyncRewardStore(后端 @RequestBody RewardStore)。JSON 体。RewardStore 实体用 rsKey/rsName/rsPrice/rsDesc 系列字段。",
|
|
3513
3842
|
"http": {
|
|
3514
3843
|
"method": "POST",
|
|
3515
3844
|
"path": "/rewardStoreController/putSyncRewardStore",
|
|
@@ -3530,21 +3859,45 @@
|
|
|
3530
3859
|
"params": [
|
|
3531
3860
|
{
|
|
3532
3861
|
"name": "reward_key",
|
|
3533
|
-
"backendName": "
|
|
3862
|
+
"backendName": "rsKey",
|
|
3534
3863
|
"type": "integer",
|
|
3535
|
-
"description": "已存在的
|
|
3864
|
+
"description": "已存在的 rsKey(映射到 RewardStore.rsKey)。"
|
|
3536
3865
|
},
|
|
3537
3866
|
{
|
|
3538
3867
|
"name": "name",
|
|
3539
|
-
"backendName": "
|
|
3868
|
+
"backendName": "rsName",
|
|
3540
3869
|
"type": "string",
|
|
3541
|
-
"description": "
|
|
3870
|
+
"description": "奖励名称(映射到 RewardStore.rsName)。"
|
|
3542
3871
|
},
|
|
3543
3872
|
{
|
|
3544
3873
|
"name": "cost",
|
|
3545
|
-
"backendName": "
|
|
3874
|
+
"backendName": "rsPrice",
|
|
3875
|
+
"type": "integer",
|
|
3876
|
+
"description": "兑换所需奖励币(映射到 RewardStore.rsPrice)。"
|
|
3877
|
+
},
|
|
3878
|
+
{
|
|
3879
|
+
"name": "desc",
|
|
3880
|
+
"backendName": "rsDesc",
|
|
3881
|
+
"type": "string",
|
|
3882
|
+
"description": "奖励描述(映射到 RewardStore.rsDesc)。"
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"name": "image_url",
|
|
3886
|
+
"backendName": "rsImageUrl",
|
|
3887
|
+
"type": "string",
|
|
3888
|
+
"description": "奖励图片 URL(映射到 RewardStore.rsImageUrl)。"
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
"name": "state",
|
|
3892
|
+
"backendName": "rsState",
|
|
3546
3893
|
"type": "integer",
|
|
3547
|
-
"description": "
|
|
3894
|
+
"description": "奖励状态(映射到 RewardStore.rsState)。"
|
|
3895
|
+
},
|
|
3896
|
+
{
|
|
3897
|
+
"name": "repeat_limit",
|
|
3898
|
+
"backendName": "repeatLimit",
|
|
3899
|
+
"type": "string",
|
|
3900
|
+
"description": "兑换次数限制(映射到 RewardStore.repeatLimit)。"
|
|
3548
3901
|
},
|
|
3549
3902
|
{
|
|
3550
3903
|
"name": "sync_flag",
|
|
@@ -3652,7 +4005,7 @@
|
|
|
3652
4005
|
"name": "zentodo.reward.record-sync-push",
|
|
3653
4006
|
"domain": "reward",
|
|
3654
4007
|
"action": "record-sync-push",
|
|
3655
|
-
"description": "调用 /rewardRecordController/putSyncRewardRecord(后端 @RequestBody RewardRecord)。JSON 体。",
|
|
4008
|
+
"description": "调用 /rewardRecordController/putSyncRewardRecord(后端 @RequestBody RewardRecord)。JSON 体。RewardRecord 以 rsKey 标识记录对应的奖励,字段为 rrName/rrPrice/rrDesc/rrImageUrl。",
|
|
3656
4009
|
"http": {
|
|
3657
4010
|
"method": "POST",
|
|
3658
4011
|
"path": "/rewardRecordController/putSyncRewardRecord",
|
|
@@ -3672,22 +4025,42 @@
|
|
|
3672
4025
|
},
|
|
3673
4026
|
"params": [
|
|
3674
4027
|
{
|
|
3675
|
-
"name": "
|
|
3676
|
-
"backendName": "
|
|
4028
|
+
"name": "reward_key",
|
|
4029
|
+
"backendName": "rsKey",
|
|
3677
4030
|
"type": "integer",
|
|
3678
|
-
"
|
|
4031
|
+
"required": true,
|
|
4032
|
+
"description": "关联的奖励 rsKey(RewardRecord 通过 rsKey 识别对应商品)。"
|
|
3679
4033
|
},
|
|
3680
4034
|
{
|
|
3681
|
-
"name": "
|
|
3682
|
-
"backendName": "
|
|
3683
|
-
"type": "
|
|
3684
|
-
"description": "
|
|
4035
|
+
"name": "name",
|
|
4036
|
+
"backendName": "rrName",
|
|
4037
|
+
"type": "string",
|
|
4038
|
+
"description": "奖励名称快照(映射到 RewardRecord.rrName)。"
|
|
3685
4039
|
},
|
|
3686
4040
|
{
|
|
3687
4041
|
"name": "cost",
|
|
3688
|
-
"backendName": "
|
|
4042
|
+
"backendName": "rrPrice",
|
|
3689
4043
|
"type": "integer",
|
|
3690
|
-
"description": "
|
|
4044
|
+
"description": "消耗的奖励币(映射到 RewardRecord.rrPrice)。"
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
"name": "desc",
|
|
4048
|
+
"backendName": "rrDesc",
|
|
4049
|
+
"type": "string",
|
|
4050
|
+
"description": "备注(映射到 RewardRecord.rrDesc)。"
|
|
4051
|
+
},
|
|
4052
|
+
{
|
|
4053
|
+
"name": "image_url",
|
|
4054
|
+
"backendName": "rrImageUrl",
|
|
4055
|
+
"type": "string",
|
|
4056
|
+
"description": "图片(映射到 RewardRecord.rrImageUrl)。"
|
|
4057
|
+
},
|
|
4058
|
+
{
|
|
4059
|
+
"name": "record_time",
|
|
4060
|
+
"backendName": "recordTime",
|
|
4061
|
+
"type": "datetime",
|
|
4062
|
+
"transform": "isoToBackendDateTime",
|
|
4063
|
+
"description": "兑换时间(映射到 RewardRecord.recordTime)。"
|
|
3691
4064
|
},
|
|
3692
4065
|
{
|
|
3693
4066
|
"name": "sync_flag",
|
|
@@ -3758,7 +4131,7 @@
|
|
|
3758
4131
|
"name": "zentodo.fasttime.sync-push",
|
|
3759
4132
|
"domain": "fasttime",
|
|
3760
4133
|
"action": "sync-push",
|
|
3761
|
-
"description": "调用 /fastTimeRecordController/putSyncFastTimeRecord(后端 @RequestBody FastTimeRecord)。JSON 体。",
|
|
4134
|
+
"description": "调用 /fastTimeRecordController/putSyncFastTimeRecord(后端 @RequestBody FastTimeRecord)。JSON 体。FastTimeRecord 实体以 ftKey 为主键,字段为 qtEvent/qtDescription/qtTimeValue/qtTimePriority。",
|
|
3762
4135
|
"http": {
|
|
3763
4136
|
"method": "POST",
|
|
3764
4137
|
"path": "/fastTimeRecordController/putSyncFastTimeRecord",
|
|
@@ -3779,21 +4152,63 @@
|
|
|
3779
4152
|
"params": [
|
|
3780
4153
|
{
|
|
3781
4154
|
"name": "record_key",
|
|
3782
|
-
"backendName": "
|
|
4155
|
+
"backendName": "ftKey",
|
|
3783
4156
|
"type": "integer",
|
|
3784
|
-
"description": "
|
|
4157
|
+
"description": "已存在的 ftKey(映射到 FastTimeRecord.ftKey)。"
|
|
3785
4158
|
},
|
|
3786
4159
|
{
|
|
3787
4160
|
"name": "title",
|
|
3788
|
-
"backendName": "
|
|
4161
|
+
"backendName": "qtEvent",
|
|
3789
4162
|
"type": "string",
|
|
3790
|
-
"description": "
|
|
4163
|
+
"description": "事件名称(映射到 FastTimeRecord.qtEvent)。"
|
|
4164
|
+
},
|
|
4165
|
+
{
|
|
4166
|
+
"name": "description",
|
|
4167
|
+
"backendName": "qtDescription",
|
|
4168
|
+
"type": "string",
|
|
4169
|
+
"description": "描述(映射到 FastTimeRecord.qtDescription)。"
|
|
3791
4170
|
},
|
|
3792
4171
|
{
|
|
3793
4172
|
"name": "duration_sec",
|
|
3794
|
-
"backendName": "
|
|
4173
|
+
"backendName": "qtTimeValue",
|
|
4174
|
+
"type": "string",
|
|
4175
|
+
"description": "时长字符串(映射到 FastTimeRecord.qtTimeValue)。"
|
|
4176
|
+
},
|
|
4177
|
+
{
|
|
4178
|
+
"name": "time_priority",
|
|
4179
|
+
"backendName": "qtTimePriority",
|
|
3795
4180
|
"type": "integer",
|
|
3796
|
-
"description": "
|
|
4181
|
+
"description": "时间优先级(映射到 FastTimeRecord.qtTimePriority)。"
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
"name": "top_label",
|
|
4185
|
+
"backendName": "topLabel",
|
|
4186
|
+
"type": "integer",
|
|
4187
|
+
"description": "顶级标签 key(映射到 FastTimeRecord.topLabel)。"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"name": "second_label",
|
|
4191
|
+
"backendName": "secondLabel",
|
|
4192
|
+
"type": "integer",
|
|
4193
|
+
"description": "二级标签 key(映射到 FastTimeRecord.secondLabel)。"
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"name": "project_key",
|
|
4197
|
+
"backendName": "projectKey",
|
|
4198
|
+
"type": "integer",
|
|
4199
|
+
"description": "关联项目 projectKey。"
|
|
4200
|
+
},
|
|
4201
|
+
{
|
|
4202
|
+
"name": "scene_key",
|
|
4203
|
+
"backendName": "sceneKey",
|
|
4204
|
+
"type": "integer",
|
|
4205
|
+
"description": "关联场景 sceneKey。"
|
|
4206
|
+
},
|
|
4207
|
+
{
|
|
4208
|
+
"name": "delete_able",
|
|
4209
|
+
"backendName": "deleteAble",
|
|
4210
|
+
"type": "boolean",
|
|
4211
|
+
"description": "是否可删除(映射到 FastTimeRecord.deleteAble)。"
|
|
3797
4212
|
},
|
|
3798
4213
|
{
|
|
3799
4214
|
"name": "sync_flag",
|
|
@@ -3864,7 +4279,7 @@
|
|
|
3864
4279
|
"name": "zentodo.wheel.sync-push",
|
|
3865
4280
|
"domain": "wheel",
|
|
3866
4281
|
"action": "sync-push",
|
|
3867
|
-
"description": "调用 /wheelViewController/putSyncWheelView
|
|
4282
|
+
"description": "调用 /wheelViewController/putSyncWheelView。注意:后端暂未提供 WheelView 实体/控制器,此 capability 为占位。",
|
|
3868
4283
|
"http": {
|
|
3869
4284
|
"method": "POST",
|
|
3870
4285
|
"path": "/wheelViewController/putSyncWheelView",
|