File tree Expand file tree Collapse file tree 11 files changed +49
-85
lines changed Expand file tree Collapse file tree 11 files changed +49
-85
lines changed Original file line number Diff line number Diff line change @@ -12,26 +12,34 @@ export default {
1212 } ) ,
1313 ] ,
1414 } ,
15- taskId : {
15+ folderId : {
1616 propDefinition : [
1717 common . props . clickup ,
18- "taskId " ,
18+ "folderId " ,
1919 ( c ) => ( {
20- listId : c . listId ,
21- useCustomTaskIds : c . useCustomTaskIds ,
22- authorizedTeamId : c . authorizedTeamId ,
20+ spaceId : c . spaceId ,
2321 } ) ,
2422 ] ,
23+ optional : true ,
2524 } ,
26- viewId : {
25+ listId : {
2726 propDefinition : [
2827 common . props . clickup ,
29- "viewId " ,
28+ "listId " ,
3029 ( c ) => ( {
31- workspaceId : c . workspaceId ,
32- spaceId : c . spaceId ,
3330 folderId : c . folderId ,
31+ spaceId : c . spaceId ,
32+ } ) ,
33+ ] ,
34+ } ,
35+ taskId : {
36+ propDefinition : [
37+ common . props . clickup ,
38+ "taskId" ,
39+ ( c ) => ( {
3440 listId : c . listId ,
41+ useCustomTaskIds : c . useCustomTaskIds ,
42+ authorizedTeamId : c . authorizedTeamId ,
3543 } ) ,
3644 ] ,
3745 } ,
@@ -42,7 +50,6 @@ export default {
4250 ( c ) => ( {
4351 taskId : c . taskId ,
4452 listId : c . listId ,
45- viewId : c . viewId ,
4653 } ) ,
4754 ] ,
4855 } ,
Original file line number Diff line number Diff line change @@ -12,6 +12,26 @@ export default {
1212 } ) ,
1313 ] ,
1414 } ,
15+ folderId : {
16+ propDefinition : [
17+ common . props . clickup ,
18+ "folderId" ,
19+ ( c ) => ( {
20+ spaceId : c . spaceId ,
21+ } ) ,
22+ ] ,
23+ optional : true ,
24+ } ,
25+ listId : {
26+ propDefinition : [
27+ common . props . clickup ,
28+ "listId" ,
29+ ( c ) => ( {
30+ folderId : c . folderId ,
31+ spaceId : c . spaceId ,
32+ } ) ,
33+ ] ,
34+ } ,
1535 taskId : {
1636 propDefinition : [
1737 common . props . clickup ,
Original file line number Diff line number Diff line change @@ -30,26 +30,6 @@ export default {
3030 ] ,
3131 optional : true ,
3232 } ,
33- folderId : {
34- propDefinition : [
35- common . props . clickup ,
36- "folderId" ,
37- ( c ) => ( {
38- spaceId : c . spaceId ,
39- } ) ,
40- ] ,
41- optional : true ,
42- } ,
43- listId : {
44- propDefinition : [
45- common . props . clickup ,
46- "listId" ,
47- ( c ) => ( {
48- folderId : c . folderId ,
49- spaceId : c . spaceId ,
50- } ) ,
51- ] ,
52- } ,
5333 } ,
5434 async run ( { $ } ) {
5535 const {
Original file line number Diff line number Diff line change @@ -7,29 +7,6 @@ export default {
77 description : "Deletes a comment. [See the documentation](https://clickup.com/api) in **Comments / Deleet Comment** section." ,
88 version : "0.0.10" ,
99 type : "action" ,
10- props : {
11- ...common . props ,
12- folderId : {
13- propDefinition : [
14- common . props . clickup ,
15- "folderId" ,
16- ( c ) => ( {
17- spaceId : c . spaceId ,
18- } ) ,
19- ] ,
20- optional : true ,
21- } ,
22- listId : {
23- propDefinition : [
24- common . props . clickup ,
25- "listId" ,
26- ( c ) => ( {
27- folderId : c . folderId ,
28- spaceId : c . spaceId ,
29- } ) ,
30- ] ,
31- } ,
32- } ,
3310 async run ( { $ } ) {
3411 const { commentId } = this ;
3512
Original file line number Diff line number Diff line change @@ -33,26 +33,6 @@ export default {
3333 type : "boolean" ,
3434 optional : true ,
3535 } ,
36- folderId : {
37- propDefinition : [
38- common . props . clickup ,
39- "folderId" ,
40- ( c ) => ( {
41- spaceId : c . spaceId ,
42- } ) ,
43- ] ,
44- optional : true ,
45- } ,
46- listId : {
47- propDefinition : [
48- common . props . clickup ,
49- "listId" ,
50- ( c ) => ( {
51- folderId : c . folderId ,
52- spaceId : c . spaceId ,
53- } ) ,
54- ] ,
55- } ,
5636 } ,
5737 async run ( { $ } ) {
5838 const {
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export default {
146146 listId : {
147147 type : "string" ,
148148 label : "List ID" ,
149- description : "The ID of a list" ,
149+ description : "The ID of a list. To show lists within a folder, please select a **Folder** first " ,
150150 async options ( {
151151 folderId, spaceId,
152152 } ) {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
2222 } ,
2323 folderId : {
2424 propDefinition : [
25- common . props . clickup ,
25+ common . props . app ,
2626 "folderId" ,
2727 ( c ) => ( {
2828 spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
3232 } ,
3333 listId : {
3434 propDefinition : [
35- common . props . clickup ,
35+ common . props . app ,
3636 "listId" ,
3737 ( c ) => ( {
3838 folderId : c . folderId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
2222 } ,
2323 folderId : {
2424 propDefinition : [
25- common . props . clickup ,
25+ common . props . app ,
2626 "folderId" ,
2727 ( c ) => ( {
2828 spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
3232 } ,
3333 listId : {
3434 propDefinition : [
35- common . props . clickup ,
35+ common . props . app ,
3636 "listId" ,
3737 ( c ) => ( {
3838 folderId : c . folderId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
2222 } ,
2323 folderId : {
2424 propDefinition : [
25- common . props . clickup ,
25+ common . props . app ,
2626 "folderId" ,
2727 ( c ) => ( {
2828 spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
3232 } ,
3333 listId : {
3434 propDefinition : [
35- common . props . clickup ,
35+ common . props . app ,
3636 "listId" ,
3737 ( c ) => ( {
3838 folderId : c . folderId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
2222 } ,
2323 folderId : {
2424 propDefinition : [
25- common . props . clickup ,
25+ common . props . app ,
2626 "folderId" ,
2727 ( c ) => ( {
2828 spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
3232 } ,
3333 listId : {
3434 propDefinition : [
35- common . props . clickup ,
35+ common . props . app ,
3636 "listId" ,
3737 ( c ) => ( {
3838 folderId : c . folderId ,
You can’t perform that action at this time.
0 commit comments