You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/asana/actions/add-task-to-section/add-task-to-section.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ export default {
5
5
name: "Add Task To Section",
6
6
description: "Add a task to a specific, existing section. This will remove the task from other sections of the project. [See the documentation](https://developers.asana.com/docs/add-task-to-section)",
Copy file name to clipboardExpand all lines: components/asana/actions/create-project/create-project.mjs
+76-28Lines changed: 76 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,33 @@ export default {
5
5
key: "asana-create-project",
6
6
name: "Create Project",
7
7
description: "Create a new project in a workspace or team. [See the documentation](https://developers.asana.com/docs/create-a-project)",
8
-
version: "0.10.2",
8
+
version: "0.10.3",
9
9
type: "action",
10
10
props: {
11
11
asana,
12
12
workspace: {
13
13
label: "Workspace",
14
-
description: "Gid of a workspace.",
14
+
description: "GID of a workspace.",
15
15
type: "string",
16
16
propDefinition: [
17
17
asana,
18
18
"workspaces",
19
19
],
20
20
},
21
+
team: {
22
+
propDefinition: [
23
+
asana,
24
+
"teams",
25
+
({ workspace })=>({
26
+
workspaces: [
27
+
workspace,
28
+
],
29
+
}),
30
+
],
31
+
type: "string",
32
+
label: "Team",
33
+
description: "The team that this project is shared with. If the workspace for your project is an organization, you must supply a team to share the project with",
34
+
},
21
35
name: {
22
36
label: "Name",
23
37
description: "Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.",
@@ -28,14 +42,9 @@ export default {
28
42
description: "Free-form textual information associated with the project (ie., its description).",
29
43
type: "string",
30
44
},
31
-
text: {
32
-
label: "Text",
33
-
description: "The text content of the status update.",
34
-
type: "string",
35
-
},
36
45
color: {
37
46
label: "Color",
38
-
description: "The color associated with the status update.",
47
+
description: "The color associated with the status update",
39
48
type: "string",
40
49
options: constants.COLORS,
41
50
optional: true,
@@ -46,9 +55,9 @@ export default {
46
55
type: "string",
47
56
optional: true,
48
57
},
49
-
default_view: {
58
+
defaultView: {
50
59
label: "Default View",
51
-
description: "The default view (list, board, calendar, or timeline) of a project.",
60
+
description: "The default view (list, board, calendar, or timeline) of a project",
52
61
type: "string",
53
62
options: [
54
63
"list",
@@ -59,27 +68,31 @@ export default {
59
68
default: "calendar",
60
69
optional: true,
61
70
},
62
-
public: {
63
-
label: "Public",
64
-
description: "True if the project is public to its team.",
65
-
type: "boolean",
71
+
privacySetting: {
72
+
label: "Privacy Setting",
73
+
description: "The privacy setting of the project. Note: Administrators in your organization may restrict the values of `privacy_setting`.",
74
+
type: "string",
66
75
optional: true,
67
-
default: false,
76
+
options: [
77
+
"public_to_workspace",
78
+
"private_to_team",
79
+
"private",
80
+
],
68
81
},
69
82
archived: {
70
83
label: "Archived",
71
-
description: "Archived projects do not show in the UI by default and may be treated differently for queries.",
84
+
description: "Archived projects do not show in the UI by default and may be treated differently for queries",
72
85
type: "boolean",
73
86
optional: true,
74
87
default: false,
75
88
},
76
-
due_on: {
89
+
dueOn: {
77
90
label: "Due On",
78
91
description: "The day on which this project is due. This takes a date with format YYYY-MM-DD.",
79
92
type: "string",
80
93
optional: true,
81
94
},
82
-
start_on: {
95
+
startOn: {
83
96
label: "Start On",
84
97
description: "The day on which work for this project begins. This takes a date with format YYYY-MM-DD. `Due On` must be present in the request when setting or unsetting the `Start On` parameter. Additionally, `Start On` and `Due On` cannot be the same date.",
85
98
type: "string",
@@ -98,15 +111,15 @@ export default {
98
111
}),
99
112
],
100
113
},
101
-
html_notes: {
114
+
htmlNotes: {
102
115
label: "HTML Notes",
103
-
description: "The notes of the project with formatting as HTML.",
116
+
description: "The notes of the project with formatting as HTML",
104
117
type: "string",
105
118
optional: true,
106
119
},
107
120
owner: {
108
121
label: "Owner",
109
-
description: "The current owner of the project.",
122
+
description: "The current owner of the project",
110
123
type: "string",
111
124
optional: true,
112
125
propDefinition: [
@@ -117,6 +130,38 @@ export default {
117
130
}),
118
131
],
119
132
},
133
+
defaultAccessLevel: {
134
+
type: "string",
135
+
label: "Default Access Level",
136
+
description: "The default access for users or teams who join or are added as members to the project",
137
+
optional: true,
138
+
options: [
139
+
"admin",
140
+
"editor",
141
+
"commenter",
142
+
"viewer",
143
+
],
144
+
},
145
+
minimumAccessLevelForCustomization: {
146
+
type: "string",
147
+
label: "Minimum Access Level for Customization",
148
+
description: "The minimum access level needed for project members to modify this project's workflow and appearance",
149
+
optional: true,
150
+
options: [
151
+
"admin",
152
+
"editor",
153
+
],
154
+
},
155
+
minimumAccessLevelForSharing: {
156
+
type: "string",
157
+
label: "Minimum Access Level for Sharing",
158
+
description: "The minimum access level needed for project members to share the project with others",
Copy file name to clipboardExpand all lines: components/asana/actions/find-task-by-id/find-task-by-id.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ export default {
5
5
key: "asana-find-task-by-id",
6
6
name: "Find Task by ID",
7
7
description: "Searches for a task by id. Returns the complete task record for a single task. [See the documentation](https://developers.asana.com/docs/get-a-task)",
Copy file name to clipboardExpand all lines: components/asana/actions/get-tasks-from-task-list/get-tasks-from-task-list.mjs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ export default {
4
4
key: "asana-get-tasks-from-task-list",
5
5
name: "Get Tasks From Task List",
6
6
description: "Returns the compact list of tasks in a user’s My Tasks list. [See the documentation](https://developers.asana.com/reference/gettasksforusertasklist)",
0 commit comments