@pipedream/trello 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/actions/add-attachment-to-card/add-attachment-to-card.mjs +1 -1
  2. package/actions/add-checklist/add-checklist.mjs +1 -1
  3. package/actions/add-comment/add-comment.mjs +1 -1
  4. package/actions/add-existing-label-to-card/add-existing-label-to-card.mjs +1 -1
  5. package/actions/add-member-to-card/add-member-to-card.mjs +1 -1
  6. package/actions/archive-card/archive-card.mjs +1 -1
  7. package/actions/complete-checklist-item/complete-checklist-item.mjs +1 -1
  8. package/actions/create-board/create-board.mjs +1 -1
  9. package/actions/create-card/create-card.mjs +1 -1
  10. package/actions/create-checklist-item/create-checklist-item.mjs +1 -1
  11. package/actions/create-label/create-label.mjs +1 -1
  12. package/actions/create-list/create-list.mjs +1 -1
  13. package/actions/delete-checklist/delete-checklist.mjs +1 -1
  14. package/actions/find-labels/find-labels.mjs +1 -1
  15. package/actions/find-list/find-list.mjs +1 -1
  16. package/actions/get-board/get-board.mjs +1 -1
  17. package/actions/get-card/get-card.mjs +1 -1
  18. package/actions/get-cards-in-list/get-cards-in-list.mjs +1 -1
  19. package/actions/get-cards-on-board/get-cards-on-board.mjs +1 -1
  20. package/actions/get-list/get-list.mjs +1 -1
  21. package/actions/get-member/get-member.mjs +32 -0
  22. package/actions/list-boards/list-boards.mjs +59 -0
  23. package/actions/move-card-to-list/move-card-to-list.mjs +1 -1
  24. package/actions/remove-label-from-card/remove-label-from-card.mjs +1 -1
  25. package/actions/rename-list/rename-list.mjs +1 -1
  26. package/actions/search-boards/search-boards.mjs +1 -1
  27. package/actions/search-cards/search-cards.mjs +1 -1
  28. package/actions/search-checklists/search-checklists.mjs +1 -1
  29. package/actions/search-members/search-members.mjs +1 -1
  30. package/actions/update-card/update-card.mjs +1 -1
  31. package/package.json +3 -3
  32. package/sources/card-archived/card-archived.mjs +1 -1
  33. package/sources/card-due-date-reminder/card-due-date-reminder.mjs +1 -1
  34. package/sources/card-moved/card-moved.mjs +1 -1
  35. package/sources/card-updates/card-updates.mjs +1 -1
  36. package/sources/custom-webhook-events/custom-webhook-events.mjs +1 -1
  37. package/sources/new-activity/new-activity.mjs +1 -1
  38. package/sources/new-attachment/new-attachment.mjs +1 -1
  39. package/sources/new-board/new-board.mjs +1 -1
  40. package/sources/new-card/new-card.mjs +1 -1
  41. package/sources/new-checklist/new-checklist.mjs +1 -1
  42. package/sources/new-comment-added-to-card/new-comment-added-to-card.mjs +1 -1
  43. package/sources/new-label/new-label.mjs +1 -1
  44. package/sources/new-label-added-to-card/new-label-added-to-card.mjs +1 -1
  45. package/sources/new-member-on-card/new-member-on-card.mjs +1 -1
  46. package/sources/new-notification/new-notification.mjs +1 -1
  47. package/trello.app.mjs +21 -0
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-add-attachment-to-card",
7
7
  name: "Add Attachment To Card",
8
8
  description: "Adds a file attachment on a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post)",
9
- version: "1.0.4",
9
+ version: "1.0.5",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-add-checklist",
5
5
  name: "Add Checklist",
6
6
  description: "Adds a new checklist to a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-post).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-add-comment",
5
5
  name: "Add Comment",
6
6
  description: "Create a new comment on a specific card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-actions-comments-post).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-add-existing-label-to-card",
5
5
  name: "Add Existing Label to Card",
6
6
  description: "Adds an existing label to the specified card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-post).",
7
- version: "0.1.4",
7
+ version: "0.1.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-add-member-to-card",
5
5
  name: "Add Member to Card",
6
6
  description: "Adds a member to the specified card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-post).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-archive-card",
5
5
  name: "Archive Card",
6
6
  description: "Archives a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-complete-checklist-item",
5
5
  name: "Complete a Checklist Item",
6
6
  description: "Completes an existing checklist item in a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checkitem-idcheckitem-put).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-create-board",
6
6
  name: "Create a Board",
7
7
  description: "Create a new Trello board or copy from an existing one. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-post).",
8
- version: "0.2.4",
8
+ version: "0.2.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -7,7 +7,7 @@ export default {
7
7
  key: "trello-create-card",
8
8
  name: "Create Card",
9
9
  description: "Creates a new card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-post).",
10
- version: "1.0.4",
10
+ version: "1.0.5",
11
11
  annotations: {
12
12
  destructiveHint: false,
13
13
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-create-checklist-item",
6
6
  name: "Create a Checklist Item",
7
7
  description: "Creates a new checklist item in a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-checklists/#api-checklists-id-checkitems-post).",
8
- version: "0.3.2",
8
+ version: "0.3.3",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-create-label",
6
6
  name: "Create Label",
7
7
  description: "Creates a new label on the specified board. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-labels/#api-labels-post).",
8
- version: "0.2.4",
8
+ version: "0.2.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-create-list",
5
5
  name: "Create a List",
6
6
  description: "Creates a new list. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-post).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-delete-checklist",
5
5
  name: "Delete Checklist",
6
6
  description: "Deletes the specified checklist. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-checklists/#api-checklists-id-delete).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-find-labels",
6
6
  name: "Find a Label",
7
7
  description: "Finds a label on a specific board by name. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-labels-get)",
8
- version: "0.2.4",
8
+ version: "0.2.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-find-list",
6
6
  name: "Find a List",
7
7
  description: "Finds a list on a specific board by name. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-lists-get).",
8
- version: "0.2.4",
8
+ version: "0.2.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-get-board",
7
7
  name: "Get Board",
8
8
  description: "Request a single board. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-get).",
9
- version: "0.0.2",
9
+ version: "0.0.3",
10
10
  annotations: {
11
11
  destructiveHint: false,
12
12
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-get-card",
6
6
  name: "Get Card",
7
7
  description: "Gets a card by its ID. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-get).",
8
- version: "0.2.4",
8
+ version: "0.2.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-get-cards-in-list",
5
5
  name: "Get Cards In A List",
6
6
  description: "List the cards in a list. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-id-cards-get).",
7
- version: "0.0.2",
7
+ version: "0.0.3",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-get-cards-on-board",
5
5
  name: "Get Cards On A Board",
6
6
  description: "Get all of the open Cards on a Board. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-cards-get).",
7
- version: "0.0.2",
7
+ version: "0.0.3",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-get-list",
5
5
  name: "Get List",
6
6
  description: "Get information about a List. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-id-get).",
7
- version: "0.1.4",
7
+ version: "0.1.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -0,0 +1,32 @@
1
+ import trello from "../../trello.app.mjs";
2
+
3
+ export default {
4
+ key: "trello-get-member",
5
+ name: "Get Member",
6
+ description: "Gets a member by their ID. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-get)",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ trello,
16
+ memberId: {
17
+ propDefinition: [
18
+ trello,
19
+ "searchMemberId",
20
+ ],
21
+ description: "The ID of the member to retrieve. Leave blank to use the authenticated user. Type in the search field to get members to select from.",
22
+ },
23
+ },
24
+ async run({ $ }) {
25
+ const member = await this.trello.getMember({
26
+ $,
27
+ memberId: this.memberId || this.trello.$auth.oauth_uid,
28
+ });
29
+ $.export("$summary", `Successfully retrieved member "${member.fullName}"`);
30
+ return member;
31
+ },
32
+ };
@@ -0,0 +1,59 @@
1
+ import trello from "../../trello.app.mjs";
2
+
3
+ export default {
4
+ key: "trello-list-boards",
5
+ name: "List Boards",
6
+ description: "Lists the boards that the user is a member of. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-members/#api-members-id-boards-get)",
7
+ version: "0.0.1",
8
+ type: "action",
9
+ annotations: {
10
+ destructiveHint: false,
11
+ openWorldHint: true,
12
+ readOnlyHint: true,
13
+ },
14
+ props: {
15
+ trello,
16
+ memberId: {
17
+ propDefinition: [
18
+ trello,
19
+ "searchMemberId",
20
+ ],
21
+ description: "The ID of the member to retrieve boards for. Leave blank to use the authenticated user. Type in the search field to get members to select from.",
22
+ },
23
+ filter: {
24
+ type: "string[]",
25
+ label: "Filter",
26
+ description: "Filter the boards to return",
27
+ optional: true,
28
+ options: [
29
+ "all",
30
+ "closed",
31
+ "members",
32
+ "open",
33
+ "organization",
34
+ "public",
35
+ "starred",
36
+ ],
37
+ default: [
38
+ "all",
39
+ ],
40
+ },
41
+ },
42
+ async run({ $ }) {
43
+ const boards = await this.trello.getBoards({
44
+ $,
45
+ boardId: this.memberId,
46
+ params: {
47
+ filter: this.filter
48
+ ? typeof this.filter === "string"
49
+ ? this.filter
50
+ : this.filter.join(",")
51
+ : undefined,
52
+ },
53
+ });
54
+ $.export("$summary", `Successfully retrieved ${boards?.length || 0} board${boards?.length === 1
55
+ ? ""
56
+ : "s"}`);
57
+ return boards;
58
+ },
59
+ };
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-move-card-to-list",
6
6
  name: "Move Card to List",
7
7
  description: "Moves a card to the specified board/list pair. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put).",
8
- version: "0.2.4",
8
+ version: "0.2.5",
9
9
  annotations: {
10
10
  destructiveHint: false,
11
11
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-remove-label-from-card",
5
5
  name: "Remove Card Label",
6
6
  description: "Removes label from card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idlabels-idlabel-delete).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: true,
10
10
  openWorldHint: true,
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-rename-list",
6
6
  name: "Rename List",
7
7
  description: "Renames an existing list. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-lists/#api-lists-id-put).",
8
- version: "0.1.4",
8
+ version: "0.1.5",
9
9
  annotations: {
10
10
  destructiveHint: true,
11
11
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-search-boards",
5
5
  name: "Search Boards",
6
6
  description: "Searches for boards matching the specified query. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-search/#api-search-get).",
7
- version: "0.3.4",
7
+ version: "0.3.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-search-cards",
5
5
  name: "Search Cards",
6
6
  description: "Searches for cards matching the specified query. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-search/#api-search-get).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-search-checklists",
5
5
  name: "Search Checklists",
6
6
  description: "Find a checklist on a particular board or card by name. [See the documentation here](https://developer.atlassian.com/cloud/trello/rest/api-group-boards/#api-boards-id-checklists-get) and [here](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-checklists-get).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -4,7 +4,7 @@ export default {
4
4
  key: "trello-search-members",
5
5
  name: "Search Members",
6
6
  description: "Search for Trello members. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-search/#api-search-members-get).",
7
- version: "0.2.4",
7
+ version: "0.2.5",
8
8
  annotations: {
9
9
  destructiveHint: false,
10
10
  openWorldHint: true,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-update-card",
7
7
  name: "Update Card",
8
8
  description: "Updates a card. [See the documentation](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put).",
9
- version: "0.2.4",
9
+ version: "0.2.5",
10
10
  annotations: {
11
11
  destructiveHint: true,
12
12
  openWorldHint: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/trello",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "description": "Pipedream Trello Components",
5
5
  "main": "trello.app.mjs",
6
6
  "keywords": [
@@ -10,9 +10,9 @@
10
10
  "homepage": "https://pipedream.com/apps/trello",
11
11
  "author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
12
12
  "dependencies": {
13
- "@pipedream/platform": "^3.1.0",
13
+ "@pipedream/platform": "^3.1.1",
14
14
  "form-data": "^4.0.4",
15
- "lodash-es": "^4.17.21",
15
+ "lodash-es": "^4.17.23",
16
16
  "mime": "^4.0.4",
17
17
  "ms": "^2.1.3"
18
18
  },
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-card-archived",
7
7
  name: "Card Archived (Instant)", /* eslint-disable-line pipedream/source-name */
8
8
  description: "Emit new event for each card archived.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -8,7 +8,7 @@ export default {
8
8
  key: "trello-card-due-date-reminder",
9
9
  name: "Card Due Date Reminder", /* eslint-disable-line pipedream/source-name */
10
10
  description: "Emit new event at a specified time before a card is due.",
11
- version: "0.1.3",
11
+ version: "0.1.4",
12
12
  type: "source",
13
13
  dedupe: "unique",
14
14
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-card-moved",
7
7
  name: "Card Moved (Instant)", /* eslint-disable-line pipedream/source-name */
8
8
  description: "Emit new event each time a card is moved to a list.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-card-updates",
7
7
  name: "Card Updated (Instant)", /* eslint-disable-line pipedream/source-name */
8
8
  description: "Emit new event for each update to a Trello card.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-custom-webhook-events",
7
7
  name: "Custom Webhook Events (Instant)", /* eslint-disable-line pipedream/source-name */
8
8
  description: "Emit new events for activity matching a board, event types, lists and/or cards.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-activity",
7
7
  name: "New Board Activity (Instant)",
8
8
  description: "Emit new event for new activity on a board.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-attachment",
7
7
  name: "New Attachment (Instant)",
8
8
  description: "Emit new event when a new attachment is added on a board.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-board",
7
7
  name: "New Board (Instant)",
8
8
  description: "Emit new event for each new board added.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-card",
7
7
  name: "New Card (Instant)",
8
8
  description: "Emit new event for each new Trello card on a board.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-checklist",
7
7
  name: "New Checklist (Instant)",
8
8
  description: "Emit new event for each new checklist added to a board.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-comment-added-to-card",
7
7
  name: "New Comment Added to Card (Instant)",
8
8
  description: "Emit new event for each new comment added to a card.",
9
- version: "0.2.3",
9
+ version: "0.2.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  props: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-label",
7
7
  name: "New Label Created (Instant)",
8
8
  description: "Emit new event for each new label added to a board.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-label-added-to-card",
7
7
  name: "New Label Added To Card (Instant)",
8
8
  description: "Emit new event for each label added to a card.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  props: {
12
12
  ...common.props,
@@ -6,7 +6,7 @@ export default {
6
6
  key: "trello-new-member-on-card",
7
7
  name: "New Member on Card (Instant)",
8
8
  description: "Emit new event for each member that join in a card.",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  type: "source",
11
11
  dedupe: "unique",
12
12
  methods: {
@@ -5,7 +5,7 @@ export default {
5
5
  key: "trello-new-notification",
6
6
  name: "New Notification",
7
7
  description: "Emit new event for each new Trello notification for the authenticated user.",
8
- version: "0.1.3",
8
+ version: "0.1.4",
9
9
  type: "source",
10
10
  dedupe: "unique",
11
11
  methods: {
package/trello.app.mjs CHANGED
@@ -169,6 +169,27 @@ export default {
169
169
  }));
170
170
  },
171
171
  },
172
+ searchMemberId: {
173
+ type: "string",
174
+ label: "Member ID",
175
+ description: "The ID of a member",
176
+ optional: true,
177
+ useQuery: true,
178
+ async options({ query }) {
179
+ if (!query) {
180
+ return [];
181
+ }
182
+ const members = await this.searchMembers({
183
+ params: {
184
+ query,
185
+ },
186
+ });
187
+ return members?.map((member) => ({
188
+ label: member.fullName,
189
+ value: member.id,
190
+ })) || [];
191
+ },
192
+ },
172
193
  checklist: {
173
194
  type: "string",
174
195
  label: "Checklist",