From 304126963832b17d5661aa53e46c3c73b0e30da3 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Mon, 23 Sep 2024 16:19:59 -0300 Subject: [PATCH 1/4] offlight init --- .../actions/create-task/create-task.mjs | 67 ++++++++++++ components/offlight/offlight.app.mjs | 101 +++++++++++++++++- components/offlight/package.json | 2 +- .../new-task-done-instant.mjs | 50 +++++++++ 4 files changed, 216 insertions(+), 4 deletions(-) create mode 100644 components/offlight/actions/create-task/create-task.mjs create mode 100644 components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs diff --git a/components/offlight/actions/create-task/create-task.mjs b/components/offlight/actions/create-task/create-task.mjs new file mode 100644 index 0000000000000..e495ea51405d5 --- /dev/null +++ b/components/offlight/actions/create-task/create-task.mjs @@ -0,0 +1,67 @@ +import offlight from "../../offlight.app.mjs"; +import { axios } from "@pipedream/platform"; + +export default { + key: "offlight-create-task", + name: "Create Task", + description: "Initiates the creation of a new task in Offlight. [See the documentation](https://www.offlight.work/docs/zapeir-api)", + version: "0.0.{{ts}}", + type: "action", + props: { + offlight, + taskName: { + propDefinition: [ + offlight, + "taskName", + ], + }, + taskNote: { + propDefinition: [ + offlight, + "taskNote", + ], + optional: true, + }, + taskDeadline: { + propDefinition: [ + offlight, + "taskDeadline", + ], + optional: true, + }, + identifier: { + propDefinition: [ + offlight, + "identifier", + ], + optional: true, + }, + sourceName: { + propDefinition: [ + offlight, + "sourceName", + ], + optional: true, + }, + sourceLink: { + propDefinition: [ + offlight, + "sourceLink", + ], + optional: true, + }, + }, + async run({ $ }) { + const response = await this.offlight.createTask({ + taskName: this.taskName, + taskNote: this.taskNote, + taskDeadline: this.taskDeadline, + identifier: this.identifier, + sourceName: this.sourceName, + sourceLink: this.sourceLink, + }); + + $.export("$summary", `Task successfully created with ID: ${response.id}`); + return response; + }, +}; diff --git a/components/offlight/offlight.app.mjs b/components/offlight/offlight.app.mjs index e150693e0b38c..3e0c9edb8e196 100644 --- a/components/offlight/offlight.app.mjs +++ b/components/offlight/offlight.app.mjs @@ -1,11 +1,106 @@ +import { axios } from "@pipedream/platform"; + export default { type: "app", app: "offlight", - propDefinitions: {}, + propDefinitions: { + taskName: { + type: "string", + label: "Task Name", + description: "The name of the task.", + }, + taskNote: { + type: "string", + label: "Task Note", + description: "A note about the task.", + optional: true, + }, + taskDeadline: { + type: "string", + label: "Task Deadline", + description: "The deadline of the task (in ISO 8601 format).", + optional: true, + }, + identifier: { + type: "string", + label: "Identifier", + description: "A unique identifier for the task.", + optional: true, + }, + sourceName: { + type: "string", + label: "Source Name", + description: "The source name of the task.", + optional: true, + }, + sourceLink: { + type: "string", + label: "Source Link", + description: "The source link of the task.", + optional: true, + }, + }, methods: { - // this.$auth contains connected account data authKeys() { console.log(Object.keys(this.$auth)); }, + _baseUrl() { + return "https://www.offlight.work"; + }, + async _makeRequest(opts = {}) { + const { + $ = this, + method = "GET", + path = "/", + headers, + ...otherOpts + } = opts; + return axios($, { + ...otherOpts, + method, + url: this._baseUrl() + path, + headers: { + ...headers, + "X-API-KEY": this.$auth.api_key, + }, + }); + }, + async createTask({ + taskName, + taskNote, + taskDeadline, + identifier, + sourceName, + sourceLink, + }) { + return this._makeRequest({ + method: "POST", + path: "/zapier/task", + data: { + task_name: taskName, + task_note: taskNote, + task_deadline: taskDeadline, + identifier: identifier, + source_name: sourceName, + source_link: sourceLink, + }, + }); + }, + async getDoneTasks(opts = {}) { + return this._makeRequest({ + ...opts, + method: "GET", + path: "/zapier/doneTasks", + }); + }, + async paginate(fn, ...opts) { + let results = []; + let response; + do { + response = await fn(...opts); + results = results.concat(response); + } while (response.length); + return results; + }, }, -}; \ No newline at end of file +}; diff --git a/components/offlight/package.json b/components/offlight/package.json index 401f43d7a5f01..92f4bf9a58de1 100644 --- a/components/offlight/package.json +++ b/components/offlight/package.json @@ -12,4 +12,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs b/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs new file mode 100644 index 0000000000000..7a25e079d6e21 --- /dev/null +++ b/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs @@ -0,0 +1,50 @@ +import offlight from "../../offlight.app.mjs"; +import { axios } from "@pipedream/platform"; + +export default { + key: "offlight-new-task-done-instant", + name: "New Task Done Instant", + description: "Emit new event when a task is marked as complete. [See the documentation](https://www.offlight.work/docs/zapeir-api)", + version: "0.0.{{ts}}", + type: "source", + dedupe: "unique", + props: { + offlight: { + type: "app", + app: "offlight", + }, + http: { + type: "$.interface.http", + customResponse: false, + }, + db: "$.service.db", + }, + hooks: { + async deploy() { + const tasks = await this.offlight.getDoneTasks({ + max: 50, + }); + for (const task of tasks) { + this.$emit(task, { + id: task.id, + summary: `Task ${task.name} marked as done`, + ts: Date.parse(task.doneAt), + }); + } + }, + async activate() { + // No specific activation for this component + }, + async deactivate() { + // No specific deactivation for this component + }, + }, + async run(event) { + const { body: task } = event; + this.$emit(task, { + id: task.id, + summary: `Task ${task.name} marked as done`, + ts: Date.parse(task.doneAt), + }); + }, +}; From a22d530ac089d618f5708388329c7031b3cde00e Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Mon, 23 Sep 2024 17:15:26 -0300 Subject: [PATCH 2/4] [Components] offlight #14052 Sources - New Task Done (Instant) Actions - Create Task --- .../actions/create-task/create-task.mjs | 60 +++++----- components/offlight/offlight.app.mjs | 107 +++++------------- components/offlight/package.json | 6 +- .../new-task-done-instant.mjs | 57 +++++----- .../new-task-done-instant/test-event.mjs | 18 +++ 5 files changed, 109 insertions(+), 139 deletions(-) create mode 100644 components/offlight/sources/new-task-done-instant/test-event.mjs diff --git a/components/offlight/actions/create-task/create-task.mjs b/components/offlight/actions/create-task/create-task.mjs index e495ea51405d5..1eac03acd4f17 100644 --- a/components/offlight/actions/create-task/create-task.mjs +++ b/components/offlight/actions/create-task/create-task.mjs @@ -1,64 +1,60 @@ import offlight from "../../offlight.app.mjs"; -import { axios } from "@pipedream/platform"; export default { key: "offlight-create-task", name: "Create Task", description: "Initiates the creation of a new task in Offlight. [See the documentation](https://www.offlight.work/docs/zapeir-api)", - version: "0.0.{{ts}}", + version: "0.0.1", type: "action", props: { offlight, taskName: { - propDefinition: [ - offlight, - "taskName", - ], + type: "string", + label: "Task Name", + description: "The name of the task.", }, taskNote: { - propDefinition: [ - offlight, - "taskNote", - ], + type: "string", + label: "Task Note", + description: "A note about the task.", optional: true, }, taskDeadline: { - propDefinition: [ - offlight, - "taskDeadline", - ], + type: "string", + label: "Task Deadline", + description: "The deadline of the task. **In ISO 8601 format (YYY-MM-DD)**.", optional: true, }, identifier: { - propDefinition: [ - offlight, - "identifier", - ], + type: "string", + label: "Identifier", + description: "A unique identifier for the task.", optional: true, }, sourceName: { - propDefinition: [ - offlight, - "sourceName", - ], + type: "string", + label: "Source Name", + description: "The source name of the task.", optional: true, }, sourceLink: { - propDefinition: [ - offlight, - "sourceLink", - ], + type: "string", + label: "Source Link", + description: "The source link of the task.", optional: true, }, }, async run({ $ }) { const response = await this.offlight.createTask({ - taskName: this.taskName, - taskNote: this.taskNote, - taskDeadline: this.taskDeadline, - identifier: this.identifier, - sourceName: this.sourceName, - sourceLink: this.sourceLink, + $, + data: { + task_name: this.taskName, + task_note: this.taskNote, + task_deadline: this.taskDeadline, + identifier: this.identifier, + source_name: this.sourceName, + source_link: this.sourceLink, + }, }); $.export("$summary", `Task successfully created with ID: ${response.id}`); diff --git a/components/offlight/offlight.app.mjs b/components/offlight/offlight.app.mjs index 3e0c9edb8e196..f6ee422a7df42 100644 --- a/components/offlight/offlight.app.mjs +++ b/components/offlight/offlight.app.mjs @@ -3,104 +3,51 @@ import { axios } from "@pipedream/platform"; export default { type: "app", app: "offlight", - propDefinitions: { - taskName: { - type: "string", - label: "Task Name", - description: "The name of the task.", - }, - taskNote: { - type: "string", - label: "Task Note", - description: "A note about the task.", - optional: true, - }, - taskDeadline: { - type: "string", - label: "Task Deadline", - description: "The deadline of the task (in ISO 8601 format).", - optional: true, - }, - identifier: { - type: "string", - label: "Identifier", - description: "A unique identifier for the task.", - optional: true, - }, - sourceName: { - type: "string", - label: "Source Name", - description: "The source name of the task.", - optional: true, - }, - sourceLink: { - type: "string", - label: "Source Link", - description: "The source link of the task.", - optional: true, - }, - }, methods: { - authKeys() { - console.log(Object.keys(this.$auth)); - }, _baseUrl() { - return "https://www.offlight.work"; + return "https://api.offlight.work"; + }, + _headers() { + return { + "x-api-key": `${this.$auth.api_token}`, + }; }, - async _makeRequest(opts = {}) { - const { - $ = this, - method = "GET", - path = "/", - headers, - ...otherOpts - } = opts; + _makeRequest({ + $ = this, path, ...opts + }) { return axios($, { - ...otherOpts, - method, url: this._baseUrl() + path, - headers: { - ...headers, - "X-API-KEY": this.$auth.api_key, - }, + headers: this._headers(), + ...opts, }); }, - async createTask({ - taskName, - taskNote, - taskDeadline, - identifier, - sourceName, - sourceLink, - }) { + createTask(opts = {}) { return this._makeRequest({ method: "POST", path: "/zapier/task", - data: { - task_name: taskName, - task_note: taskNote, - task_deadline: taskDeadline, - identifier: identifier, - source_name: sourceName, - source_link: sourceLink, - }, + ...opts, }); }, - async getDoneTasks(opts = {}) { + getDoneTasks(opts = {}) { return this._makeRequest({ ...opts, method: "GET", path: "/zapier/doneTasks", }); }, - async paginate(fn, ...opts) { - let results = []; - let response; - do { - response = await fn(...opts); - results = results.concat(response); - } while (response.length); - return results; + createWebhook(opts = {}) { + return this._makeRequest({ + method: "POST", + path: "/zapier/webhook", + ...opts, + }); + }, + deleteWebhook(opts = {}) { + return this._makeRequest({ + method: "DELETE", + path: "/zapier/webhook", + ...opts, + }); }, }, }; diff --git a/components/offlight/package.json b/components/offlight/package.json index 92f4bf9a58de1..ee27f074772a4 100644 --- a/components/offlight/package.json +++ b/components/offlight/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/offlight", - "version": "0.0.1", + "version": "0.1.0", "description": "Pipedream OFFLIGHT Components", "main": "offlight.app.mjs", "keywords": [ @@ -11,5 +11,9 @@ "author": "Pipedream (https://pipedream.com/)", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^3.0.1" } } + diff --git a/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs b/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs index 7a25e079d6e21..043a5a02a30e8 100644 --- a/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs +++ b/components/offlight/sources/new-task-done-instant/new-task-done-instant.mjs @@ -1,50 +1,55 @@ import offlight from "../../offlight.app.mjs"; -import { axios } from "@pipedream/platform"; +import sampleEmit from "./test-event.mjs"; export default { key: "offlight-new-task-done-instant", - name: "New Task Done Instant", - description: "Emit new event when a task is marked as complete. [See the documentation](https://www.offlight.work/docs/zapeir-api)", - version: "0.0.{{ts}}", + name: "New Task Done (Instant)", + description: "Emit new event when a task is marked as complete.", + version: "0.0.1", type: "source", dedupe: "unique", props: { - offlight: { - type: "app", - app: "offlight", - }, + offlight, http: { type: "$.interface.http", - customResponse: false, }, db: "$.service.db", }, + methods: { + emitTask(task) { + this.$emit(task, { + id: task.id, + summary: `Task ${task.name} marked as done`, + ts: Date.parse(task.doneAt), + }); + }, + }, hooks: { async deploy() { - const tasks = await this.offlight.getDoneTasks({ - max: 50, - }); + const tasks = await this.offlight.getDoneTasks(); for (const task of tasks) { - this.$emit(task, { - id: task.id, - summary: `Task ${task.name} marked as done`, - ts: Date.parse(task.doneAt), - }); + this.emitTask(task); } }, async activate() { - // No specific activation for this component + await this.offlight.createWebhook({ + data: { + purpose: "doneTask", + hookUrl: this.http.endpoint, + }, + }); }, async deactivate() { - // No specific deactivation for this component + await this.offlight.deleteWebhook({ + data: { + purpose: "doneTask", + hookUrl: this.http.endpoint, + }, + }); }, }, - async run(event) { - const { body: task } = event; - this.$emit(task, { - id: task.id, - summary: `Task ${task.name} marked as done`, - ts: Date.parse(task.doneAt), - }); + async run({ body }) { + this.emitTask(body); }, + sampleEmit, }; diff --git a/components/offlight/sources/new-task-done-instant/test-event.mjs b/components/offlight/sources/new-task-done-instant/test-event.mjs new file mode 100644 index 0000000000000..324942504b1cc --- /dev/null +++ b/components/offlight/sources/new-task-done-instant/test-event.mjs @@ -0,0 +1,18 @@ +export default { + "createdAt": "2024-09-23T19:18:54.995Z", + "updatedAt": "2024-09-23T20:10:26.000Z", + "plannedDate": null, + "doneAt": "2024-09-23T20:10:25.136Z", + "deletedAt": null, + "id": "4e73c28d-0e2f-4352-9c86-62048255e1b8", + "name": "🤵 Welcome to OFFLIGHT", + "note": null, + "status": "done", + "deadline": null, + "goal": null, + "source": "admin", + "identifier": null, + "sourceName": null, + "link": null, + "creator": null +} \ No newline at end of file From 25ab1422cf8074b541216f2f7f2fc5118f9112c5 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Mon, 23 Sep 2024 17:16:54 -0300 Subject: [PATCH 3/4] pnpm update --- pnpm-lock.yaml | 119 +++++++++++++++++++++++++------------------------ 1 file changed, 61 insertions(+), 58 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3ea16c75972e8..b8d7f65d30040 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6543,7 +6543,10 @@ importers: '@pipedream/platform': 1.6.0 components/offlight: - specifiers: {} + specifiers: + '@pipedream/platform': ^3.0.1 + dependencies: + '@pipedream/platform': 3.0.3 components/oksign: specifiers: {} @@ -12791,6 +12794,55 @@ packages: - aws-crt dev: false + /@aws-sdk/client-sso-oidc/3.600.0_tdq3komn4zwyd65w7klbptsu34: + resolution: {integrity: sha512-7+I8RWURGfzvChyNQSyj5/tKrqRbzRl7H+BnTOf/4Vsw1nFOi5ROhlhD4X/Y0QCTacxnaoNcIrqnY7uGGvVRzw==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/client-sts': 3.600.0 + '@aws-sdk/core': 3.598.0 + '@aws-sdk/credential-provider-node': 3.600.0_f7n47caigsrjd2lr2szmwfuee4 + '@aws-sdk/middleware-host-header': 3.598.0 + '@aws-sdk/middleware-logger': 3.598.0 + '@aws-sdk/middleware-recursion-detection': 3.598.0 + '@aws-sdk/middleware-user-agent': 3.598.0 + '@aws-sdk/region-config-resolver': 3.598.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@aws-sdk/util-user-agent-browser': 3.598.0 + '@aws-sdk/util-user-agent-node': 3.598.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.2.1 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.4 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.3 + '@smithy/middleware-stack': 3.0.3 + '@smithy/node-config-provider': 3.1.3 + '@smithy/node-http-handler': 3.1.2 + '@smithy/protocol-http': 4.0.3 + '@smithy/smithy-client': 3.1.6 + '@smithy/types': 3.3.0 + '@smithy/url-parser': 3.0.3 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.3 + '@smithy/util-retry': 3.0.2 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.3 + transitivePeerDependencies: + - '@aws-sdk/client-sts' + - aws-crt + dev: false + /@aws-sdk/client-sso/3.423.0: resolution: {integrity: sha512-znIufHkwhCIePgaYciIs3x/+BpzR57CZzbCKHR9+oOvGyufEPPpUT5bFLvbwTgfiVkTjuk6sG/ES3U5Bc+xtrA==} engines: {node: '>=14.0.0'} @@ -13026,7 +13078,7 @@ packages: dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.600.0 + '@aws-sdk/client-sso-oidc': 3.600.0_tdq3komn4zwyd65w7klbptsu34 '@aws-sdk/core': 3.598.0 '@aws-sdk/credential-provider-node': 3.600.0_f7n47caigsrjd2lr2szmwfuee4 '@aws-sdk/middleware-host-header': 3.598.0 @@ -13068,55 +13120,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts/3.600.0_dseaa2p5u2yk67qiepewcq3hkq: - resolution: {integrity: sha512-KQG97B7LvTtTiGmjlrG1LRAY8wUvCQzrmZVV5bjrJ/1oXAU7DITYwVbSJeX9NWg6hDuSk0VE3MFwIXS2SvfLIA==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 5.2.0 - '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.600.0 - '@aws-sdk/core': 3.598.0 - '@aws-sdk/credential-provider-node': 3.600.0_f7n47caigsrjd2lr2szmwfuee4 - '@aws-sdk/middleware-host-header': 3.598.0 - '@aws-sdk/middleware-logger': 3.598.0 - '@aws-sdk/middleware-recursion-detection': 3.598.0 - '@aws-sdk/middleware-user-agent': 3.598.0 - '@aws-sdk/region-config-resolver': 3.598.0 - '@aws-sdk/types': 3.598.0 - '@aws-sdk/util-endpoints': 3.598.0 - '@aws-sdk/util-user-agent-browser': 3.598.0 - '@aws-sdk/util-user-agent-node': 3.598.0 - '@smithy/config-resolver': 3.0.3 - '@smithy/core': 2.2.3 - '@smithy/fetch-http-handler': 3.2.1 - '@smithy/hash-node': 3.0.2 - '@smithy/invalid-dependency': 3.0.2 - '@smithy/middleware-content-length': 3.0.2 - '@smithy/middleware-endpoint': 3.0.4 - '@smithy/middleware-retry': 3.0.6 - '@smithy/middleware-serde': 3.0.3 - '@smithy/middleware-stack': 3.0.3 - '@smithy/node-config-provider': 3.1.3 - '@smithy/node-http-handler': 3.1.2 - '@smithy/protocol-http': 4.0.3 - '@smithy/smithy-client': 3.1.6 - '@smithy/types': 3.3.0 - '@smithy/url-parser': 3.0.3 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.6 - '@smithy/util-defaults-mode-node': 3.0.6 - '@smithy/util-endpoints': 2.0.3 - '@smithy/util-middleware': 3.0.3 - '@smithy/util-retry': 3.0.2 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.3 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/core/3.556.0: resolution: {integrity: sha512-vJaSaHw2kPQlo11j/Rzuz0gk1tEaKdz+2ser0f0qZ5vwFlANjt08m/frU17ctnVKC1s58bxpctO/1P894fHLrA==} engines: {node: '>=14.0.0'} @@ -17443,7 +17446,7 @@ packages: '@aws-sdk/client-sns': 3.423.0 '@aws-sdk/client-sqs': 3.423.0 '@aws-sdk/client-ssm': 3.423.0 - '@aws-sdk/client-sts': 3.600.0_dseaa2p5u2yk67qiepewcq3hkq + '@aws-sdk/client-sts': 3.600.0 '@aws-sdk/s3-request-presigner': 3.609.0 '@pipedream/helper_functions': 0.3.12 '@pipedream/platform': 1.6.6 @@ -17621,8 +17624,8 @@ packages: - debug dev: false - /@pipedream/platform/3.0.3: - resolution: {integrity: sha512-7elalas41lnT8i6EAFkqB7fT/+hkLGEQ1njS6A7CVguTrEswaIYk/seKmkfkRY7+O6qncgnXswYIKCBML9Co7w==} + /@pipedream/platform/3.0.2: + resolution: {integrity: sha512-q/BYGJoNXOVaRlNTDWD7Gjgkcu114gbPrxQ5KCOFbuYfqnJu8AeDGMyMvEPaGPbrWUVwgxjvOnxw4EWqce8ZNQ==} dependencies: axios: 1.7.7 fp-ts: 2.16.9 @@ -17632,8 +17635,8 @@ packages: - debug dev: false - /@pipedream/platform/3.0.2: - resolution: {integrity: sha512-q/BYGJoNXOVaRlNTDWD7Gjgkcu114gbPrxQ5KCOFbuYfqnJu8AeDGMyMvEPaGPbrWUVwgxjvOnxw4EWqce8ZNQ==} + /@pipedream/platform/3.0.3: + resolution: {integrity: sha512-7elalas41lnT8i6EAFkqB7fT/+hkLGEQ1njS6A7CVguTrEswaIYk/seKmkfkRY7+O6qncgnXswYIKCBML9Co7w==} dependencies: axios: 1.7.7 fp-ts: 2.16.9 @@ -23295,7 +23298,7 @@ packages: dev: false /concat-map/0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} /concat-stream/2.0.0: resolution: {integrity: sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==} @@ -35375,7 +35378,7 @@ packages: dev: false /verror/1.10.0: - resolution: {integrity: sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=} + resolution: {integrity: sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw==} engines: {'0': node >=0.6.0} dependencies: assert-plus: 1.0.0 From 02861040e2ecef7d345fee28fa4778ca47015283 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 24 Sep 2024 16:31:03 -0300 Subject: [PATCH 4/4] adjusts date format on prop description --- components/offlight/actions/create-task/create-task.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/offlight/actions/create-task/create-task.mjs b/components/offlight/actions/create-task/create-task.mjs index 1eac03acd4f17..1f4a29194345e 100644 --- a/components/offlight/actions/create-task/create-task.mjs +++ b/components/offlight/actions/create-task/create-task.mjs @@ -22,7 +22,7 @@ export default { taskDeadline: { type: "string", label: "Task Deadline", - description: "The deadline of the task. **In ISO 8601 format (YYY-MM-DD)**.", + description: "The deadline of the task. **In ISO 8601 format (YYYY-MM-DD)**.", optional: true, }, identifier: {