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 {
12
12
} ) ,
13
13
] ,
14
14
} ,
15
- taskId : {
15
+ folderId : {
16
16
propDefinition : [
17
17
common . props . clickup ,
18
- "taskId " ,
18
+ "folderId " ,
19
19
( c ) => ( {
20
- listId : c . listId ,
21
- useCustomTaskIds : c . useCustomTaskIds ,
22
- authorizedTeamId : c . authorizedTeamId ,
20
+ spaceId : c . spaceId ,
23
21
} ) ,
24
22
] ,
23
+ optional : true ,
25
24
} ,
26
- viewId : {
25
+ listId : {
27
26
propDefinition : [
28
27
common . props . clickup ,
29
- "viewId " ,
28
+ "listId " ,
30
29
( c ) => ( {
31
- workspaceId : c . workspaceId ,
32
- spaceId : c . spaceId ,
33
30
folderId : c . folderId ,
31
+ spaceId : c . spaceId ,
32
+ } ) ,
33
+ ] ,
34
+ } ,
35
+ taskId : {
36
+ propDefinition : [
37
+ common . props . clickup ,
38
+ "taskId" ,
39
+ ( c ) => ( {
34
40
listId : c . listId ,
41
+ useCustomTaskIds : c . useCustomTaskIds ,
42
+ authorizedTeamId : c . authorizedTeamId ,
35
43
} ) ,
36
44
] ,
37
45
} ,
@@ -42,7 +50,6 @@ export default {
42
50
( c ) => ( {
43
51
taskId : c . taskId ,
44
52
listId : c . listId ,
45
- viewId : c . viewId ,
46
53
} ) ,
47
54
] ,
48
55
} ,
Original file line number Diff line number Diff line change @@ -12,6 +12,26 @@ export default {
12
12
} ) ,
13
13
] ,
14
14
} ,
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
+ } ,
15
35
taskId : {
16
36
propDefinition : [
17
37
common . props . clickup ,
Original file line number Diff line number Diff line change @@ -30,26 +30,6 @@ export default {
30
30
] ,
31
31
optional : true ,
32
32
} ,
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
- } ,
53
33
} ,
54
34
async run ( { $ } ) {
55
35
const {
Original file line number Diff line number Diff line change @@ -7,29 +7,6 @@ export default {
7
7
description : "Deletes a comment. [See the documentation](https://clickup.com/api) in **Comments / Deleet Comment** section." ,
8
8
version : "0.0.10" ,
9
9
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
- } ,
33
10
async run ( { $ } ) {
34
11
const { commentId } = this ;
35
12
Original file line number Diff line number Diff line change @@ -33,26 +33,6 @@ export default {
33
33
type : "boolean" ,
34
34
optional : true ,
35
35
} ,
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
- } ,
56
36
} ,
57
37
async run ( { $ } ) {
58
38
const {
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export default {
146
146
listId : {
147
147
type : "string" ,
148
148
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 " ,
150
150
async options ( {
151
151
folderId, spaceId,
152
152
} ) {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
22
22
} ,
23
23
folderId : {
24
24
propDefinition : [
25
- common . props . clickup ,
25
+ common . props . app ,
26
26
"folderId" ,
27
27
( c ) => ( {
28
28
spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
32
32
} ,
33
33
listId : {
34
34
propDefinition : [
35
- common . props . clickup ,
35
+ common . props . app ,
36
36
"listId" ,
37
37
( c ) => ( {
38
38
folderId : c . folderId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
22
22
} ,
23
23
folderId : {
24
24
propDefinition : [
25
- common . props . clickup ,
25
+ common . props . app ,
26
26
"folderId" ,
27
27
( c ) => ( {
28
28
spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
32
32
} ,
33
33
listId : {
34
34
propDefinition : [
35
- common . props . clickup ,
35
+ common . props . app ,
36
36
"listId" ,
37
37
( c ) => ( {
38
38
folderId : c . folderId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
22
22
} ,
23
23
folderId : {
24
24
propDefinition : [
25
- common . props . clickup ,
25
+ common . props . app ,
26
26
"folderId" ,
27
27
( c ) => ( {
28
28
spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
32
32
} ,
33
33
listId : {
34
34
propDefinition : [
35
- common . props . clickup ,
35
+ common . props . app ,
36
36
"listId" ,
37
37
( c ) => ( {
38
38
folderId : c . folderId ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
22
22
} ,
23
23
folderId : {
24
24
propDefinition : [
25
- common . props . clickup ,
25
+ common . props . app ,
26
26
"folderId" ,
27
27
( c ) => ( {
28
28
spaceId : c . spaceId ,
@@ -32,7 +32,7 @@ export default {
32
32
} ,
33
33
listId : {
34
34
propDefinition : [
35
- common . props . clickup ,
35
+ common . props . app ,
36
36
"listId" ,
37
37
( c ) => ( {
38
38
folderId : c . folderId ,
You can’t perform that action at this time.
0 commit comments