json-object-editor 0.10.632 → 0.10.633
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 +1 -1
- package/server/schemas/task.js +5 -3
package/package.json
CHANGED
package/server/schemas/task.js
CHANGED
|
@@ -80,7 +80,7 @@ var task = function(){return{
|
|
|
80
80
|
{ name:'name', type:'string', required:true },
|
|
81
81
|
{ name:'info', type:'string' },
|
|
82
82
|
{ name:'description', type:'string' },
|
|
83
|
-
{ name:'task_type', type:'string', enumValues:['chore','epic'] },
|
|
83
|
+
{ name:'task_type', type:'string', enumValues:['task','chore','epic'] },
|
|
84
84
|
{ name:'status', type:'string', isReference:true, targetSchema:'status', required:true },
|
|
85
85
|
{ name:'project', type:'string', isReference:true, targetSchema:'project' },
|
|
86
86
|
{ name:'parent_task', type:'string', isReference:true, targetSchema:'task' },
|
|
@@ -96,7 +96,7 @@ var task = function(){return{
|
|
|
96
96
|
{ name:'created', type:'string', format:'date-time', required:true }
|
|
97
97
|
]
|
|
98
98
|
},
|
|
99
|
-
task_types:['chore','epic'],
|
|
99
|
+
task_types:['task','chore','epic'],
|
|
100
100
|
methods:{
|
|
101
101
|
addUser:function(userid,goto){
|
|
102
102
|
var current = _jco(true);
|
|
@@ -185,7 +185,9 @@ var task = function(){return{
|
|
|
185
185
|
{section_start:'overview'},
|
|
186
186
|
'name',
|
|
187
187
|
'info',
|
|
188
|
-
'description',
|
|
188
|
+
{extend:'description',specs:{
|
|
189
|
+
ai:{prompt:'Summarize the task in a few sentences. Take into account the project the task is associated with if there is one.'}}
|
|
190
|
+
},
|
|
189
191
|
{section_end:'overview'},
|
|
190
192
|
|
|
191
193
|
{section_start:'subtasks'},
|