Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "Add Task To Section",
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)",
key: "asana-add-task-to-section",
version: "0.2.8",
version: "0.2.9",
type: "action",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/actions/create-project/create-project.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-create-project",
name: "Create Project",
description: "Create a new project in a workspace or team. [See the documentation](https://developers.asana.com/docs/create-a-project)",
version: "0.10.1",
version: "0.10.2",
type: "action",
props: {
asana,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/actions/create-subtask/create-subtask.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-create-subtask",
name: "Create Subtask",
description: "Creates a new subtask and adds it to the parent task. [See the documentation](https://developers.asana.com/docs/create-a-subtask)",
version: "0.4.1",
version: "0.4.2",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-create-task-comment",
name: "Create Task Comment",
description: "Adds a comment to a task. [See the documentation](https://developers.asana.com/docs/create-a-story-on-a-task)",
version: "0.2.8",
version: "0.2.9",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
name: "Create Task from Template",
key: "asana-create-task-from-template",
description: "Creates a new task from a task template. [See the documentation](https://developers.asana.com/reference/instantiatetask)",
version: "0.0.3",
version: "0.0.4",
type: "action",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/actions/create-task/create-task.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-create-task",
name: "Create Task",
description: "Creates a new task. [See the documentation](https://developers.asana.com/docs/create-a-task)",
version: "0.4.1",
version: "0.4.2",
type: "action",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/actions/delete-task/delete-task.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-delete-task",
name: "Delete Task",
description: "Deletes a specific and existing task. [See the documentation](https://developers.asana.com/docs/delete-a-task)",
version: "0.0.9",
version: "0.0.10",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-find-task-by-id",
name: "Find Task by ID",
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)",
version: "0.2.8",
version: "0.2.9",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "asana-get-tasks-from-task-list",
name: "Get Tasks From Task List",
description: "Returns the compact list of tasks in a user’s My Tasks list. [See the documentation](https://developers.asana.com/reference/gettasksforusertasklist)",
version: "0.0.6",
version: "0.0.7",
type: "action",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import asana from "../../asana.app.mjs";
export default {
type: "action",
key: "asana-search-projects",
version: "0.2.8",
version: "0.2.9",
name: "Search Projects",
description: "Finds an existing project. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
props: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "asana-search-sections",
name: "Search Sections",
description: "Searches for a section by name within a particular project. [See the documentation](https://developers.asana.com/docs/get-sections-in-a-project)",
version: "0.2.8",
version: "0.2.9",
type: "action",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/actions/search-tasks/search-tasks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
key: "asana-search-tasks",
name: "Search Tasks",
description: "Searches for a Task by name within a Project. [See the documentation](https://developers.asana.com/docs/get-multiple-tasks)",
version: "0.3.2",
version: "0.3.3",
type: "action",
props: {
...common.props,
project: {

Check warning on line 13 in components/asana/actions/search-tasks/search-tasks.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop project must have a label. See https://pipedream.com/docs/components/guidelines/#props

Check warning on line 13 in components/asana/actions/search-tasks/search-tasks.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Component prop project must have a description. See https://pipedream.com/docs/components/guidelines/#props
...common.props.project,
optional: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-search-user-projects",
name: "Get list of user projects",
description: "Return list of projects given the user and workspace gid. [See the documentation](https://developers.asana.com/docs/get-multiple-projects)",
version: "0.5.1",
version: "0.5.2",
type: "action",
props: {
asana,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/actions/update-task/update-task.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "asana-update-task",
name: "Update Task",
description: "Updates a specific and existing task. [See the documentation](https://developers.asana.com/docs/update-a-task)",
version: "0.4.1",
version: "0.4.2",
type: "action",
props: {
...common.props,
Expand Down
6 changes: 4 additions & 2 deletions components/asana/asana.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export default {
description: "List of task fields that will emit events when updated. This field uses the field code.",
type: "string[]",
async options({ project }) {
const tasks = await this.getTasks({
const { data: tasks } = await this.getTasks({
params: {
project,
limit: 1,
Expand All @@ -234,7 +234,9 @@ export default {
if (!tasks || tasks.length === 0) {
return [];
}
const task = await this.getTask(tasks[0].gid);
const { data: task } = await this.getTask({
taskId: tasks[0].gid,
});
return Object.keys(task);
},
},
Expand Down
2 changes: 1 addition & 1 deletion components/asana/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/asana",
"version": "0.7.2",
"version": "0.7.3",
"description": "Pipedream Asana Components",
"main": "asana.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Completed Task (Instant)",
description: "Emit new event for each task completed in a project.",
version: "0.1.8",
version: "0.1.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-project/new-project.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "asana-new-project",
name: "New Project Added To Workspace (Instant)",
description: "Emit new event for each new project added to a workspace.",
version: "0.1.8",
version: "0.1.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-story/new-story.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Story Added To Project (Instant)",
description: "Emit new event for each story added to a project.",
version: "0.1.8",
version: "0.1.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-subtask/new-subtask.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Subtask (Instant)",
description: "Emit new event for each subtask added to a project.",
version: "1.0.8",
version: "1.0.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-tag/new-tag.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
type: "source",
name: "New Tag",
description: "Emit new event for each tag created in a workspace.",
version: "0.0.10",
version: "0.0.11",
dedupe: "unique",
props: {
asana,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-task/new-task.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Task (Instant)",
description: "Emit new event for each task added to a project. [See docs here](https://developers.asana.com/docs/establish-a-webhook)",
version: "0.1.8",
version: "0.1.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-team/new-team.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
type: "source",
name: "New Team",
description: "Emit new event for each team added to an organization.",
version: "0.1.9",
version: "0.1.10",
dedupe: "unique",
props: {
asana,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-user/new-user.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
type: "source",
name: "New User (Instant)",
description: "Emit new event for each user added to a workspace.",
version: "0.1.8",
version: "0.1.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 1 addition & 1 deletion components/asana/sources/new-workspace/new-workspace.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
key: "asana-new-workspace",
name: "New Workspace Added",
description: "Emit new event each time you add a new workspace/organization.",
version: "0.1.9",
version: "0.1.10",
dedupe: "unique",
props: {
asana,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Tag Added To Task (Instant)",
description: "Emit new event for each new tag added to a task.",
version: "0.1.8",
version: "0.1.9",
dedupe: "unique",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Tags added to any task (Instant)",
description: "Emit new event each time a tag is added to any task, optionally filtering by a given set of tags.",
version: "0.0.7",
version: "0.0.8",
dedupe: "unique",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Task Assigned in Project (Instant)",
description: "Emit new event each time a task is assigned, reassigned or unassigned.",
version: "0.1.1",
version: "0.1.2",
dedupe: "unique",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Task Field Updated In Project (Instant)",
description: "Emit new event whenever given task fields are updated.",
version: "0.0.7",
version: "0.0.8",
dedupe: "unique",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
type: "source",
name: "New Task Updated In Project (Instant)",
description: "Emit new event for each update to a task.",
version: "1.1.7",
version: "1.1.8",
dedupe: "unique",
props: {
...common.props,
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading