Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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.6",
version: "0.2.7",
type: "action",
props: {
...common.props,
Expand Down
8 changes: 7 additions & 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.9.6",
version: "0.10.0",
type: "action",
props: {
asana,
Expand Down Expand Up @@ -93,6 +93,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
html_notes: {
Expand All @@ -109,6 +112,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
},
Expand Down
8 changes: 7 additions & 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.3.6",
version: "0.4.0",
type: "action",
props: {
...common.props,
Expand Down Expand Up @@ -34,6 +34,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
assignee_section: {
Expand Down Expand Up @@ -75,6 +78,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
html_notes: {
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.6",
version: "0.2.7",
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.1",
version: "0.0.2",
type: "action",
props: {
...common.props,
Expand Down
8 changes: 7 additions & 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.3.6",
version: "0.4.0",
type: "action",
props: {
...common.props,
Expand All @@ -29,6 +29,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
assignee_section: {
Expand Down Expand Up @@ -70,6 +73,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
html_notes: {
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.7",
version: "0.0.8",
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.6",
version: "0.2.7",
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.4",
version: "0.0.5",
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.6",
version: "0.2.7",
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.6",
version: "0.2.7",
type: "action",
props: {
...common.props,
Expand Down
5 changes: 4 additions & 1 deletion components/asana/actions/search-tasks/search-tasks.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
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.2.6",
version: "0.3.0",
type: "action",
props: {
...common.props,
Expand All @@ -22,6 +22,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
section: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import asana from "../../asana.app.mjs";
import _ from "lodash";
import asana from "../../asana.app.mjs";

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.4.6",
version: "0.5.0",
type: "action",
props: {
asana,
Expand All @@ -17,7 +17,6 @@ export default {
asana,
"workspaces",
],
optional: true,
},
user: {
label: "User",
Expand All @@ -26,6 +25,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
},
Expand Down
5 changes: 4 additions & 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.3.6",
version: "0.4.0",
type: "action",
props: {
...common.props,
Expand Down Expand Up @@ -34,6 +34,9 @@ export default {
propDefinition: [
asana,
"users",
({ workspace }) => ({
workspace,
}),
],
},
assignee_section: {
Expand Down
5 changes: 4 additions & 1 deletion components/asana/asana.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ export default {
label: "Users",
description: "List of users. This field uses the user GID.",
type: "string[]",
async options({ prevContext }) {
async options({
prevContext, workspace,
}) {
const params = {
limit: DEFAULT_LIMIT,
workspace,
};
if (prevContext?.offset) {
params.offset = prevContext.offset;
Expand Down
4 changes: 2 additions & 2 deletions components/asana/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/asana",
"version": "0.6.4",
"version": "0.7.0",
"description": "Pipedream Asana Components",
"main": "asana.app.mjs",
"keywords": [
Expand All @@ -10,7 +10,7 @@
"homepage": "https://pipedream.com/apps/asana",
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"dependencies": {
"@pipedream/platform": "^1.6.4",
"@pipedream/platform": "^3.0.3",
"lodash": "^4.17.21"
},
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
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.6",
version: "0.1.7",
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.6",
version: "0.1.7",
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.6",
version: "0.1.7",
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.6",
version: "1.0.7",
dedupe: "unique",
props: {
...common.props,
Expand Down
4 changes: 2 additions & 2 deletions components/asana/sources/new-tag/new-tag.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import asana from "../../asana.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
import asana from "../../asana.app.mjs";

export default {
key: "asana-new-tag",
type: "source",
name: "New Tag",
description: "Emit new event for each tag created in a workspace.",
version: "0.0.8",
version: "0.0.9",
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.6",
version: "0.1.7",
dedupe: "unique",
props: {
...common.props,
Expand Down
6 changes: 3 additions & 3 deletions components/asana/sources/new-team/new-team.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import asana from "../../asana.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
import asana from "../../asana.app.mjs";

export default {
key: "asana-new-team",
type: "source",
name: "New Team",
description: "Emit new event for each task added to an organization.",
version: "0.1.7",
description: "Emit new event for each team added to an organization.",
version: "0.1.8",
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.6",
version: "0.1.7",
dedupe: "unique",
props: {
...common.props,
Expand Down
4 changes: 2 additions & 2 deletions components/asana/sources/new-workspace/new-workspace.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import asana from "../../asana.app.mjs";
import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
import asana from "../../asana.app.mjs";

export default {
type: "source",
key: "asana-new-workspace",
name: "New Workspace Added",
description: "Emit new event each time you add a new workspace/organization.",
version: "0.1.7",
version: "0.1.8",
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.6",
version: "0.1.7",
dedupe: "unique",
props: {
...common.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ export default {
...common,
key: "asana-tags-added-to-any-task",
type: "source",
name: "Tags added to any task (Instant)",
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.5",
version: "0.0.6",
dedupe: "unique",
props: {
...common.props,
Expand Down
Loading
Loading