From 792ced1eaff7271cc134311b836d2dbc90c84330 Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Tue, 1 Jul 2025 15:01:24 -0400 Subject: [PATCH 1/3] new components --- .../create-card-item/create-card-item.mjs | 124 ++++++++++++++++ .../update-card-item/update-card-item.mjs | 135 ++++++++++++++++++ .../miro_custom_app/miro_custom_app.app.mjs | 101 ++++++++++++- components/miro_custom_app/package.json | 4 +- .../card-item-updated/card-item-updated.mjs | 46 ++++++ .../sources/card-item-updated/test-event.mjs | 30 ++++ .../miro_custom_app/sources/common/base.mjs | 21 +++ .../item-position-changed.mjs | 20 +-- .../new-card-item-created.mjs | 45 ++++++ .../new-card-item-created/test-event.mjs | 30 ++++ 10 files changed, 534 insertions(+), 22 deletions(-) create mode 100644 components/miro_custom_app/actions/create-card-item/create-card-item.mjs create mode 100644 components/miro_custom_app/actions/update-card-item/update-card-item.mjs create mode 100644 components/miro_custom_app/sources/card-item-updated/card-item-updated.mjs create mode 100644 components/miro_custom_app/sources/card-item-updated/test-event.mjs create mode 100644 components/miro_custom_app/sources/new-card-item-created/new-card-item-created.mjs create mode 100644 components/miro_custom_app/sources/new-card-item-created/test-event.mjs diff --git a/components/miro_custom_app/actions/create-card-item/create-card-item.mjs b/components/miro_custom_app/actions/create-card-item/create-card-item.mjs new file mode 100644 index 0000000000000..c3bb9b6cb4c64 --- /dev/null +++ b/components/miro_custom_app/actions/create-card-item/create-card-item.mjs @@ -0,0 +1,124 @@ +import common from "../common/base.mjs"; + +export default { + key: "miro_custom_app-create-card-item", + name: "Create Card Item", + description: "Creates a card item on a Miro board. [See the documentation](https://developers.miro.com/reference/create-card-item).", + version: "0.0.1", + type: "action", + props: { + ...common.props, + title: { + propDefinition: [ + common.props.app, + "cardTitle", + ], + }, + assigneeId: { + propDefinition: [ + common.props.app, + "userId", + (c) => ({ + boardId: c.boardId, + }), + ], + label: "Assignee ID", + description: "The ID of the user to assign the card to", + optional: true, + }, + description: { + propDefinition: [ + common.props.app, + "cardDescription", + ], + }, + dueDate: { + propDefinition: [ + common.props.app, + "dueDate", + ], + }, + cardTheme: { + propDefinition: [ + common.props.app, + "cardTheme", + ], + }, + x: { + propDefinition: [ + common.props.app, + "x", + ], + optional: true, + }, + y: { + propDefinition: [ + common.props.app, + "y", + ], + optional: true, + }, + height: { + propDefinition: [ + common.props.app, + "height", + ], + }, + rotation: { + propDefinition: [ + common.props.app, + "rotation", + ], + }, + width: { + propDefinition: [ + common.props.app, + "width", + ], + }, + parent: { + propDefinition: [ + common.props.app, + "itemId", + (c) => ({ + boardId: c.boardId, + type: "frame", + }), + ], + label: "Parent ID", + description: "The ID of the parent frame for the item", + optional: true, + }, + }, + async run({ $: step }) { + const response = await this.app.createCardItem({ + step, + boardId: this.boardId, + data: { + data: { + title: this.title, + assigneeId: this.assigneeId, + description: this.description, + dueDate: this.dueDate, + }, + style: { + cardTheme: this.cardTheme, + }, + position: { + x: this.x, + y: this.y, + }, + geometry: { + height: this.height, + rotation: this.rotation, + width: this.width, + }, + parent: { + id: this.parent, + }, + }, + }); + step.export("$summary", `Successfully created card item with ID \`${response.id}\``); + return response; + }, +}; diff --git a/components/miro_custom_app/actions/update-card-item/update-card-item.mjs b/components/miro_custom_app/actions/update-card-item/update-card-item.mjs new file mode 100644 index 0000000000000..7bea703e7b684 --- /dev/null +++ b/components/miro_custom_app/actions/update-card-item/update-card-item.mjs @@ -0,0 +1,135 @@ +import common from "../common/base.mjs"; + +export default { + key: "miro_custom_app-update-card-item", + name: "Update Card Item", + description: "Updates a card item on a Miro board. [See the documentation](https://developers.miro.com/reference/update-card-item).", + version: "0.0.1", + type: "action", + props: { + ...common.props, + itemId: { + propDefinition: [ + common.props.app, + "itemId", + (c) => ({ + boardId: c.boardId, + type: "card", + }), + ], + }, + title: { + propDefinition: [ + common.props.app, + "cardTitle", + ], + }, + assigneeId: { + propDefinition: [ + common.props.app, + "userId", + (c) => ({ + boardId: c.boardId, + }), + ], + label: "Assignee ID", + description: "The ID of the user to assign the card to", + optional: true, + }, + description: { + propDefinition: [ + common.props.app, + "cardDescription", + ], + }, + dueDate: { + propDefinition: [ + common.props.app, + "dueDate", + ], + }, + cardTheme: { + propDefinition: [ + common.props.app, + "cardTheme", + ], + }, + x: { + propDefinition: [ + common.props.app, + "x", + ], + optional: true, + }, + y: { + propDefinition: [ + common.props.app, + "y", + ], + optional: true, + }, + height: { + propDefinition: [ + common.props.app, + "height", + ], + }, + rotation: { + propDefinition: [ + common.props.app, + "rotation", + ], + }, + width: { + propDefinition: [ + common.props.app, + "width", + ], + }, + parent: { + propDefinition: [ + common.props.app, + "itemId", + (c) => ({ + boardId: c.boardId, + type: "frame", + }), + ], + label: "Parent ID", + description: "The ID of the parent frame for the item", + optional: true, + }, + }, + async run({ $: step }) { + const response = await this.app.updateCardItem({ + step, + boardId: this.boardId, + itemId: this.itemId, + data: { + data: { + title: this.title, + assigneeId: this.assigneeId, + description: this.description, + dueDate: this.dueDate, + }, + style: { + cardTheme: this.cardTheme, + }, + position: { + x: this.x, + y: this.y, + }, + geometry: { + height: this.height, + rotation: this.rotation, + width: this.width, + }, + parent: { + id: this.parent, + }, + }, + }); + step.export("$summary", `Successfully updated card item with ID \`${response.id}\``); + return response; + }, +}; diff --git a/components/miro_custom_app/miro_custom_app.app.mjs b/components/miro_custom_app/miro_custom_app.app.mjs index 54cb41a563099..568d10f0a5b9d 100644 --- a/components/miro_custom_app/miro_custom_app.app.mjs +++ b/components/miro_custom_app/miro_custom_app.app.mjs @@ -44,6 +44,48 @@ export default { description: "The `team_id` for which you want to retrieve the list of boards.", optional: true, }, + cardTitle: { + type: "string", + label: "Title", + description: "A short text header for the card", + optional: true, + }, + cardDescription: { + type: "string", + label: "Description", + description: "The description of the card", + optional: true, + }, + dueDate: { + type: "string", + label: "Due Date", + description: "The date when the task or activity described in the card is due to be completed. Example: `2023-10-12T22:00:55.000Z`", + optional: true, + }, + cardTheme: { + type: "string", + label: "Card Theme", + description: "Hex value of the border color of the card. Default: `#2d9bf0`", + optional: true, + }, + height: { + type: "string", + label: "Height", + description: "The height of the card in pixels", + optional: true, + }, + rotation: { + type: "string", + label: "Rotation", + description: "Rotation angle of an item, in degrees, relative to the board. You can rotate items clockwise (right) and counterclockwise (left) by specifying positive and negative values, respectively.", + optional: true, + }, + width: { + type: "string", + label: "Width", + description: "The width of the card in pixels", + optional: true, + }, boardId: { type: "string", label: "Board ID", @@ -98,7 +140,38 @@ export default { const options = data.map(({ id: value, type, data, }) => ({ - label: data.content || data[type] || type, + label: data?.content || data?.title || data?.[type] || type, + value, + })); + return { + options, + context: { + offset, + }, + }; + }, + }, + userId: { + type: "string", + label: "User ID", + description: "The ID of a user", + async options({ + boardId, prevContext, + }) { + const { + data, + offset, + } = await this.listBoardMembers({ + boardId, + params: { + limit: constants.DEFAULT_LIMIT, + offset: prevContext.offset, + }, + }); + const options = data.map(({ + id: value, name: label, + }) => ({ + label, value, })); return { @@ -167,6 +240,15 @@ export default { ...args, }); }, + createCardItem({ + boardId, ...args + } = {}) { + return this.makeRequest({ + method: "post", + path: `/boards/${boardId}/cards`, + ...args, + }); + }, deleteBoard({ boardId, ...args } = {}) { @@ -215,6 +297,14 @@ export default { ...args, }); }, + listBoardMembers({ + boardId, ...args + } = {}) { + return this.makeRequest({ + path: `/boards/${boardId}/members`, + ...args, + }); + }, updateBoard({ boardId, ...args } = {}) { @@ -242,5 +332,14 @@ export default { ...args, }); }, + updateCardItem({ + boardId, itemId, ...args + } = {}) { + return this.makeRequest({ + method: "patch", + path: `/boards/${boardId}/cards/${itemId}`, + ...args, + }); + }, }, }; diff --git a/components/miro_custom_app/package.json b/components/miro_custom_app/package.json index a166097e3c177..323520a0f2f5a 100644 --- a/components/miro_custom_app/package.json +++ b/components/miro_custom_app/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/miro_custom_app", - "version": "0.1.0", + "version": "0.2.0", "description": "Pipedream Miro Developer App Components", "main": "miro_custom_app.app.mjs", "keywords": [ @@ -13,6 +13,6 @@ "access": "public" }, "dependencies": { - "@pipedream/platform": "^1.5.1" + "@pipedream/platform": "^3.1.0" } } diff --git a/components/miro_custom_app/sources/card-item-updated/card-item-updated.mjs b/components/miro_custom_app/sources/card-item-updated/card-item-updated.mjs new file mode 100644 index 0000000000000..ab6647d276fab --- /dev/null +++ b/components/miro_custom_app/sources/card-item-updated/card-item-updated.mjs @@ -0,0 +1,46 @@ +import common from "../common/base.mjs"; +import sampleEmit from "./test-event.mjs"; + +export default { + ...common, + key: "miro_custom_app-card-item-updated", + name: "Card Item Updated", + description: "Emit new event when a card item is updated on a Miro board", + version: "0.0.1", + type: "source", + dedupe: "unique", + methods: { + ...common.methods, + generateMeta(item) { + const ts = Date.parse(item.modifiedAt); + return { + id: `${item.id}-${ts}`, + summary: `Card Item Updated: ${item.id}`, + ts, + }; + }, + }, + async run() { + const lastTs = this._getLastTs(); + let maxTs = lastTs; + const items = this.paginate({ + resourceFn: this.miro.listItems, + args: { + boardId: this.boardId, + params: { + type: "card", + }, + }, + }); + for await (const item of items) { + const ts = Date.parse(item.modifiedAt); + if (ts > lastTs) { + const meta = this.generateMeta(item); + this.$emit(item, meta); + maxTs = Math.max(maxTs, ts); + } + } + this._setLastTs(maxTs); + }, + sampleEmit, +}; diff --git a/components/miro_custom_app/sources/card-item-updated/test-event.mjs b/components/miro_custom_app/sources/card-item-updated/test-event.mjs new file mode 100644 index 0000000000000..48ffd969b4bfc --- /dev/null +++ b/components/miro_custom_app/sources/card-item-updated/test-event.mjs @@ -0,0 +1,30 @@ +export default { + "id": "3458764633417291860", + "type": "card", + "style": { + "cardTheme": "#659df2" + }, + "geometry": { + "width": 320, + "height": 60 + }, + "position": { + "x": -817.0211385098232, + "y": 264.16248843872506, + "origin": "center", + "relativeTo": "canvas_center" + }, + "links": { + "self": "https://api.miro.com/v2/boards/uXjVNWT69q4%3D/cards/3458764633417291860" + }, + "createdAt": "2025-07-01T17:35:47Z", + "createdBy": { + "id": "3458764558965396715", + "type": "user" + }, + "modifiedAt": "2025-07-01T17:36:23Z", + "modifiedBy": { + "id": "3458764558965396715", + "type": "user" + } +} \ No newline at end of file diff --git a/components/miro_custom_app/sources/common/base.mjs b/components/miro_custom_app/sources/common/base.mjs index dda2ca772ce60..95917db08e95f 100644 --- a/components/miro_custom_app/sources/common/base.mjs +++ b/components/miro_custom_app/sources/common/base.mjs @@ -11,8 +11,29 @@ export default { intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL, }, }, + teamId: { + propDefinition: [ + miro, + "teamId", + ], + }, + boardId: { + propDefinition: [ + miro, + "boardId", + ({ teamId }) => ({ + teamId, + }), + ], + }, }, methods: { + _getLastTs() { + return this.db.get("lastTs") || 0; + }, + _setLastTs(ts) { + this.db.set("lastTs", ts); + }, async *paginate({ resourceFn, args = {}, }) { diff --git a/components/miro_custom_app/sources/item-position-changed/item-position-changed.mjs b/components/miro_custom_app/sources/item-position-changed/item-position-changed.mjs index 278f753abc56b..1332f20c3fdce 100644 --- a/components/miro_custom_app/sources/item-position-changed/item-position-changed.mjs +++ b/components/miro_custom_app/sources/item-position-changed/item-position-changed.mjs @@ -5,27 +5,9 @@ export default { key: "miro_custom_app-item-position-changed", name: "Item Position Changed", description: "Emit new event when an item's position changes in a Miro Custom App.", - version: "0.0.1", + version: "0.0.2", type: "source", dedupe: "unique", - props: { - ...common.props, - teamId: { - propDefinition: [ - common.props.miro, - "teamId", - ], - }, - boardId: { - propDefinition: [ - common.props.miro, - "boardId", - ({ teamId }) => ({ - teamId, - }), - ], - }, - }, methods: { ...common.methods, _getPositions() { diff --git a/components/miro_custom_app/sources/new-card-item-created/new-card-item-created.mjs b/components/miro_custom_app/sources/new-card-item-created/new-card-item-created.mjs new file mode 100644 index 0000000000000..16ac5165d3580 --- /dev/null +++ b/components/miro_custom_app/sources/new-card-item-created/new-card-item-created.mjs @@ -0,0 +1,45 @@ +import common from "../common/base.mjs"; +import sampleEmit from "./test-event.mjs"; + +export default { + ...common, + key: "miro_custom_app-new-card-item-created", + name: "New Card Item Created", + description: "Emit new event when a new card item is created on a Miro board", + version: "0.0.1", + type: "source", + dedupe: "unique", + methods: { + ...common.methods, + generateMeta(item) { + return { + id: item.id, + summary: `New Card Item Created: ${item.id}`, + ts: Date.parse(item.createdAt), + }; + }, + }, + async run() { + const lastTs = this._getLastTs(); + let maxTs = lastTs; + const items = this.paginate({ + resourceFn: this.miro.listItems, + args: { + boardId: this.boardId, + params: { + type: "card", + }, + }, + }); + for await (const item of items) { + const ts = Date.parse(item.createdAt); + if (ts > lastTs) { + const meta = this.generateMeta(item); + this.$emit(item, meta); + maxTs = Math.max(maxTs, ts); + } + } + this._setLastTs(maxTs); + }, + sampleEmit, +}; diff --git a/components/miro_custom_app/sources/new-card-item-created/test-event.mjs b/components/miro_custom_app/sources/new-card-item-created/test-event.mjs new file mode 100644 index 0000000000000..48ffd969b4bfc --- /dev/null +++ b/components/miro_custom_app/sources/new-card-item-created/test-event.mjs @@ -0,0 +1,30 @@ +export default { + "id": "3458764633417291860", + "type": "card", + "style": { + "cardTheme": "#659df2" + }, + "geometry": { + "width": 320, + "height": 60 + }, + "position": { + "x": -817.0211385098232, + "y": 264.16248843872506, + "origin": "center", + "relativeTo": "canvas_center" + }, + "links": { + "self": "https://api.miro.com/v2/boards/uXjVNWT69q4%3D/cards/3458764633417291860" + }, + "createdAt": "2025-07-01T17:35:47Z", + "createdBy": { + "id": "3458764558965396715", + "type": "user" + }, + "modifiedAt": "2025-07-01T17:36:23Z", + "modifiedBy": { + "id": "3458764558965396715", + "type": "user" + } +} \ No newline at end of file From 971d7ab5f39ec1b1bfce3271c9cfbc526f526be4 Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Tue, 1 Jul 2025 15:02:02 -0400 Subject: [PATCH 2/3] pnpm-lock.yaml --- pnpm-lock.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca0a6e13fd61f..4ec210c9cc4ab 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8416,8 +8416,8 @@ importers: components/miro_custom_app: dependencies: '@pipedream/platform': - specifier: ^1.5.1 - version: 1.6.6 + specifier: ^3.1.0 + version: 3.1.0 components/mission_mobile: {} @@ -29612,22 +29612,22 @@ packages: superagent@3.8.1: resolution: {integrity: sha512-VMBFLYgFuRdfeNQSMLbxGSLfmXL/xc+OO+BZp41Za/NRDBet/BNbkRJrYzCUu0u4GU0i/ml2dtT8b9qgkw9z6Q==} engines: {node: '>= 4.0'} - deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at . + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net superagent@4.1.0: resolution: {integrity: sha512-FT3QLMasz0YyCd4uIi5HNe+3t/onxMyEho7C3PSqmti3Twgy2rXT4fmkTz6wRL6bTF4uzPcfkUCa8u4JWHw8Ag==} engines: {node: '>= 6.0'} - deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at . + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net superagent@5.3.1: resolution: {integrity: sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==} engines: {node: '>= 7.0.0'} - deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at . + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net superagent@7.1.6: resolution: {integrity: sha512-gZkVCQR1gy/oUXr+kxJMLDjla434KmSOKbx5iGD30Ql+AkJQ/YlPKECJy2nhqOsHLjGHzoDTXNSjhnvWhzKk7g==} engines: {node: '>=6.4.0 <13 || >=14'} - deprecated: Please downgrade to v7.1.5 if you need IE/ActiveXObject support OR upgrade to v8.0.0 as we no longer support IE and published an incorrect patch version (see https://github.com/visionmedia/superagent/issues/1731) + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net supports-color@2.0.0: resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} From eabc8bc82fd17febf14a2fc36d58b71e793b4e6d Mon Sep 17 00:00:00 2001 From: Michelle Bergeron Date: Tue, 1 Jul 2025 15:05:06 -0400 Subject: [PATCH 3/3] versions --- .../miro_custom_app/actions/create-board/create-board.mjs | 2 +- .../miro_custom_app/actions/create-shape/create-shape.mjs | 2 +- .../actions/create-sticky-note/create-sticky-note.mjs | 2 +- .../miro_custom_app/actions/delete-board/delete-board.mjs | 2 +- components/miro_custom_app/actions/delete-item/delete-item.mjs | 2 +- components/miro_custom_app/actions/get-board/get-board.mjs | 2 +- components/miro_custom_app/actions/get-items/get-items.mjs | 2 +- .../actions/get-specific-item/get-specific-item.mjs | 2 +- components/miro_custom_app/actions/list-boards/list-boards.mjs | 2 +- .../miro_custom_app/actions/update-board/update-board.mjs | 2 +- .../miro_custom_app/actions/update-shape/update-shape.mjs | 2 +- .../actions/update-sticky-note/update-sticky-note.mjs | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/miro_custom_app/actions/create-board/create-board.mjs b/components/miro_custom_app/actions/create-board/create-board.mjs index 6240815935c97..2f8ff16a277db 100644 --- a/components/miro_custom_app/actions/create-board/create-board.mjs +++ b/components/miro_custom_app/actions/create-board/create-board.mjs @@ -2,7 +2,7 @@ import app from "../../miro_custom_app.app.mjs"; export default { name: "Create Board", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-create-board", description: "Creates a Miro board. [See the docs](https://developers.miro.com/reference/create-board).", type: "action", diff --git a/components/miro_custom_app/actions/create-shape/create-shape.mjs b/components/miro_custom_app/actions/create-shape/create-shape.mjs index 771b6f017b01d..f9c874a2f5635 100644 --- a/components/miro_custom_app/actions/create-shape/create-shape.mjs +++ b/components/miro_custom_app/actions/create-shape/create-shape.mjs @@ -4,7 +4,7 @@ const { app } = common.props; export default { name: "Create Shape", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-create-shape", description: "Creates a shape on a Miro board. [See the docs](https://developers.miro.com/reference/create-shape-item).", type: "action", diff --git a/components/miro_custom_app/actions/create-sticky-note/create-sticky-note.mjs b/components/miro_custom_app/actions/create-sticky-note/create-sticky-note.mjs index cd88a847412f5..42484c1742c49 100644 --- a/components/miro_custom_app/actions/create-sticky-note/create-sticky-note.mjs +++ b/components/miro_custom_app/actions/create-sticky-note/create-sticky-note.mjs @@ -5,7 +5,7 @@ const { app } = common.props; export default { name: "Create Sticky Note", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-create-sticky-note", description: "Creates a sticky note on a Miro board. [See the docs](https://developers.miro.com/reference/create-sticky-note-item).", type: "action", diff --git a/components/miro_custom_app/actions/delete-board/delete-board.mjs b/components/miro_custom_app/actions/delete-board/delete-board.mjs index 437ab8ddf82d2..a0c27efc35505 100644 --- a/components/miro_custom_app/actions/delete-board/delete-board.mjs +++ b/components/miro_custom_app/actions/delete-board/delete-board.mjs @@ -3,7 +3,7 @@ import common from "../common/base.mjs"; export default { ...common, name: "Delete Board", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-delete-board", description: "Deletes a Miro board. [See the docs](https://developers.miro.com/reference/delete-board).", type: "action", diff --git a/components/miro_custom_app/actions/delete-item/delete-item.mjs b/components/miro_custom_app/actions/delete-item/delete-item.mjs index 43d4d2575b19e..5edeabeebce34 100644 --- a/components/miro_custom_app/actions/delete-item/delete-item.mjs +++ b/components/miro_custom_app/actions/delete-item/delete-item.mjs @@ -4,7 +4,7 @@ const { app } = common.props; export default { name: "Delete Item", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-delete-item", description: "Deletes an item from a Miro board. [See the docs](https://developers.miro.com/reference/delete-item).", type: "action", diff --git a/components/miro_custom_app/actions/get-board/get-board.mjs b/components/miro_custom_app/actions/get-board/get-board.mjs index 725639ab1f0eb..865e0d47319d3 100644 --- a/components/miro_custom_app/actions/get-board/get-board.mjs +++ b/components/miro_custom_app/actions/get-board/get-board.mjs @@ -3,7 +3,7 @@ import common from "../common/base.mjs"; export default { ...common, name: "Get Board", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-get-board", description: "Returns a Miro board. [See the docs](https://developers.miro.com/reference/get-specific-board).", type: "action", diff --git a/components/miro_custom_app/actions/get-items/get-items.mjs b/components/miro_custom_app/actions/get-items/get-items.mjs index 3f7df7692844a..ac21598c6ec22 100644 --- a/components/miro_custom_app/actions/get-items/get-items.mjs +++ b/components/miro_custom_app/actions/get-items/get-items.mjs @@ -4,7 +4,7 @@ import utils from "../../common/utils.mjs"; export default { name: "Get Items", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-get-items", description: "Returns items on a Miro board. [See the docs](https://developers.miro.com/reference/get-items).", type: "action", diff --git a/components/miro_custom_app/actions/get-specific-item/get-specific-item.mjs b/components/miro_custom_app/actions/get-specific-item/get-specific-item.mjs index f42728a237099..bbabe7cc54020 100644 --- a/components/miro_custom_app/actions/get-specific-item/get-specific-item.mjs +++ b/components/miro_custom_app/actions/get-specific-item/get-specific-item.mjs @@ -4,7 +4,7 @@ const { app } = common.props; export default { name: "Get Specific Item", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-get-specific-item", description: "Returns a specific item on a Miro board. [See the docs](https://developers.miro.com/reference/get-specific-item).", type: "action", diff --git a/components/miro_custom_app/actions/list-boards/list-boards.mjs b/components/miro_custom_app/actions/list-boards/list-boards.mjs index 7096b84ebe7b2..672ca8a2c163b 100644 --- a/components/miro_custom_app/actions/list-boards/list-boards.mjs +++ b/components/miro_custom_app/actions/list-boards/list-boards.mjs @@ -4,7 +4,7 @@ import utils from "../../common/utils.mjs"; export default { name: "List Boards", - version: "0.0.2", + version: "0.0.3", key: "miro_custom_app-list-boards", description: "Returns a user's Miro boards. [See the docs](https://developers.miro.com/reference/get-boards).", type: "action", diff --git a/components/miro_custom_app/actions/update-board/update-board.mjs b/components/miro_custom_app/actions/update-board/update-board.mjs index 4f0d621e2b6b7..cceeea6252262 100644 --- a/components/miro_custom_app/actions/update-board/update-board.mjs +++ b/components/miro_custom_app/actions/update-board/update-board.mjs @@ -4,7 +4,7 @@ const { app } = common.props; export default { name: "Update Board", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-update-board", description: "Updates a Miro board. [See the docs](https://developers.miro.com/reference/update-board).", type: "action", diff --git a/components/miro_custom_app/actions/update-shape/update-shape.mjs b/components/miro_custom_app/actions/update-shape/update-shape.mjs index ab7e49c9921c0..8f725a8d948eb 100644 --- a/components/miro_custom_app/actions/update-shape/update-shape.mjs +++ b/components/miro_custom_app/actions/update-shape/update-shape.mjs @@ -5,7 +5,7 @@ const { app } = common.props; export default { name: "Update Shape", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-update-shape", description: "Updates content of an existing shape on a Miro board. [See the docs](https://developers.miro.com/reference/update-shape-item).", type: "action", diff --git a/components/miro_custom_app/actions/update-sticky-note/update-sticky-note.mjs b/components/miro_custom_app/actions/update-sticky-note/update-sticky-note.mjs index 8ae523e735ba6..86779e756168e 100644 --- a/components/miro_custom_app/actions/update-sticky-note/update-sticky-note.mjs +++ b/components/miro_custom_app/actions/update-sticky-note/update-sticky-note.mjs @@ -5,7 +5,7 @@ const { app } = common.props; export default { name: "Update Sticky Note", - version: "0.0.1", + version: "0.0.2", key: "miro_custom_app-update-sticky-note", description: "Updates content of an existing sticky note on a Miro board. [See the docs](https://developers.miro.com/reference/update-sticky-note-item).", type: "action",