From 93881989ceb90ebd949f878647400fc8c703038c Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 25 Nov 2025 12:07:58 -0500 Subject: [PATCH 1/3] Implement neetokb API integration with new methods for listing articles and pagination; add new source for detecting published articles; update package version to 0.1.0 and include dependencies. --- components/neetokb/common/constants.mjs | 1 + components/neetokb/neetokb.app.mjs | 60 +++++++++++++++- components/neetokb/package.json | 5 +- .../new-published-article.mjs | 69 +++++++++++++++++++ .../new-published-article/test-event.mjs | 12 ++++ 5 files changed, 143 insertions(+), 4 deletions(-) create mode 100644 components/neetokb/common/constants.mjs create mode 100644 components/neetokb/sources/new-published-article/new-published-article.mjs create mode 100644 components/neetokb/sources/new-published-article/test-event.mjs diff --git a/components/neetokb/common/constants.mjs b/components/neetokb/common/constants.mjs new file mode 100644 index 0000000000000..ea830c15a04cb --- /dev/null +++ b/components/neetokb/common/constants.mjs @@ -0,0 +1 @@ +export const LIMIT = 100; diff --git a/components/neetokb/neetokb.app.mjs b/components/neetokb/neetokb.app.mjs index f4c9e4e01c647..eedb205c45c7c 100644 --- a/components/neetokb/neetokb.app.mjs +++ b/components/neetokb/neetokb.app.mjs @@ -1,11 +1,65 @@ +import { axios } from "@pipedream/platform"; +import { LIMIT } from "./common/constants.mjs"; + export default { type: "app", app: "neetokb", propDefinitions: {}, methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); + _apiUrl() { + return `https://${this.$auth.organization_name}.neetokb.com/api/v1`; + }, + _getHeaders() { + return { + "Content-Type": "application/json", + "X-Api-Key": `${this.$auth.api_key}`, + }; + }, + _makeRequest({ + $ = this, path, ...opts + }) { + return axios($, { + url: `${this._apiUrl()}/${path}`, + headers: this._getHeaders(), + ...opts, + }); + }, + listArticles(args = {}) { + return this._makeRequest({ + path: "articles", + ...args, + }); + }, + async *paginate({ + fn, params = {}, maxResults = null, ...opts + }) { + let hasMore = false; + let count = 0; + let page = 0; + + do { + params.page_number = ++page; + params.page_size = LIMIT; + const { + articles, + pagination: { + total_pages: tPages, current_page_number: cPage, + }, + } = await fn({ + params, + ...opts, + }); + for (const d of articles) { + yield d; + + if (maxResults && ++count === maxResults) { + return count; + } + } + + hasMore = cPage < tPages; + + } while (hasMore); }, }, }; diff --git a/components/neetokb/package.json b/components/neetokb/package.json index e4fe50ad2b0a7..4970ff870d3fb 100644 --- a/components/neetokb/package.json +++ b/components/neetokb/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/neetokb", - "version": "0.0.2", + "version": "0.1.0", "description": "Pipedream neetoKB Components", "main": "neetokb.app.mjs", "keywords": [ @@ -11,5 +11,8 @@ "author": "Pipedream (https://pipedream.com/)", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^3.1.1" } } diff --git a/components/neetokb/sources/new-published-article/new-published-article.mjs b/components/neetokb/sources/new-published-article/new-published-article.mjs new file mode 100644 index 0000000000000..1980a5012a1a6 --- /dev/null +++ b/components/neetokb/sources/new-published-article/new-published-article.mjs @@ -0,0 +1,69 @@ +import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform"; +import neetokb from "../../neetokb.app.mjs"; +import sampleEmit from "./test-event.mjs"; + +export default { + key: "neetokb-new-action", + name: "New Published Article", + description: "Emit new event when a new article is published. [See the documentation](https://neetokb-apis.mintlify.app/api-reference/articles/list-articles).", + version: "0.0.1", + type: "source", + dedupe: "unique", + props: { + neetokb, + db: "$.service.db", + timer: { + type: "$.interface.timer", + default: { + intervalSeconds: DEFAULT_POLLING_SOURCE_TIMER_INTERVAL, + }, + }, + }, + methods: { + _getPublishedIds() { + return this.db.get("publishedIds") || []; + }, + _setPublishedIds(publishedIds) { + this.db.set("publishedIds", publishedIds); + }, + async emitEvent(maxResults = false) { + const publishedIds = this._getPublishedIds(); + const response = this.neetokb.paginate({ + fn: this.neetokb.listArticles, + params: { + status: "published", + }, + }); + + const responseArray = []; + for await (const item of response) { + responseArray.push(item); + } + + let newArticles = responseArray.filter((article) => !publishedIds.includes(article.id)); + + if (maxResults && newArticles.length > maxResults) { + newArticles = newArticles.slice(0, maxResults); + } + + for (const article of newArticles.reverse()) { + const ts = new Date(); + this.$emit(article, { + id: `${article.id}-${ts}`, + summary: `New Published Article: ${article.title}`, + ts, + }); + } + this._setPublishedIds(responseArray.map((article) => article.id)); + }, + }, + hooks: { + async deploy() { + await this.emitEvent(25); + }, + }, + async run() { + await this.emitEvent(); + }, + sampleEmit, +}; diff --git a/components/neetokb/sources/new-published-article/test-event.mjs b/components/neetokb/sources/new-published-article/test-event.mjs new file mode 100644 index 0000000000000..8fd1a0c3ef7aa --- /dev/null +++ b/components/neetokb/sources/new-published-article/test-event.mjs @@ -0,0 +1,12 @@ +export default { + "id": "0c8d8101-62cb-4227-9dd0-953fbf88e74d", + "slug": "article-title", + "title": "Article Title", + "state": "published", + "unique_views_count": 0, + "is_archived": false, + "category": { + "id": "ea665eb3-23a1-4cbd-9dff-0a585d6c8c53", + "name": "Getting Started" + } +} \ No newline at end of file From cb360bfa363110a222d9f1902731d55d994730e9 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 25 Nov 2025 12:09:42 -0500 Subject: [PATCH 2/3] pnpm update --- pnpm-lock.yaml | 319 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 243 insertions(+), 76 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 07fbf0d8b3272..24fd4ba906888 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8374,7 +8374,7 @@ importers: dependencies: linkup-sdk: specifier: ^1.0.3 - version: 1.2.0(@types/node@20.19.25)(typescript@5.6.3) + version: 1.2.0(@types/node@22.19.1)(typescript@5.9.3) components/linkupapi: dependencies: @@ -9670,7 +9670,11 @@ importers: specifier: ^1.6.8 version: 1.6.8 - components/neetokb: {} + components/neetokb: + dependencies: + '@pipedream/platform': + specifier: ^3.1.1 + version: 3.1.1 components/nele_ai: {} @@ -17423,7 +17427,7 @@ importers: version: 3.1.11 ts-jest: specifier: ^29.2.5 - version: 29.4.5(@babel/core@7.28.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.28.5))(esbuild@0.25.12)(jest-util@29.7.0)(jest@29.7.0(@types/node@20.19.25)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.19.25)(typescript@5.6.3)))(typescript@5.6.3) + version: 29.4.5(@babel/core@7.28.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.28.5))(jest-util@29.7.0)(jest@29.7.0(@types/node@20.19.25)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.19.25)(typescript@5.6.3)))(typescript@5.6.3) tsup: specifier: ^8.3.6 version: 8.5.0(@microsoft/api-extractor@7.55.0(@types/node@20.19.25))(jiti@2.6.1)(postcss@8.5.6)(tsx@4.20.6)(typescript@5.6.3)(yaml@2.8.1) @@ -34784,7 +34788,7 @@ snapshots: '@babel/types': 7.28.5 '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -34804,7 +34808,7 @@ snapshots: '@jridgewell/remapping': 2.3.5 '@types/gensync': 1.0.4 convert-source-map: 2.0.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 7.7.3 @@ -34881,7 +34885,7 @@ snapshots: '@babel/core': 7.28.5 '@babel/helper-compilation-targets': 7.27.2 '@babel/helper-plugin-utils': 7.27.1 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) lodash.debounce: 4.0.8 resolve: 1.22.11 transitivePeerDependencies: @@ -35646,7 +35650,7 @@ snapshots: '@babel/parser': 7.28.5 '@babel/template': 7.27.2 '@babel/types': 7.28.5 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -35658,7 +35662,7 @@ snapshots: '@babel/parser': 8.0.0-beta.3 '@babel/template': 8.0.0-beta.3 '@babel/types': 8.0.0-beta.3 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -35786,6 +35790,19 @@ snapshots: - '@types/node' - typescript + '@commitlint/cli@19.8.1(@types/node@22.19.1)(typescript@5.9.3)': + dependencies: + '@commitlint/format': 19.8.1 + '@commitlint/lint': 19.8.1 + '@commitlint/load': 19.8.1(@types/node@22.19.1)(typescript@5.9.3) + '@commitlint/read': 19.8.1 + '@commitlint/types': 19.8.1 + tinyexec: 1.0.2 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - typescript + '@commitlint/config-conventional@19.8.1': dependencies: '@commitlint/types': 19.8.1 @@ -35840,6 +35857,22 @@ snapshots: - '@types/node' - typescript + '@commitlint/load@19.8.1(@types/node@22.19.1)(typescript@5.9.3)': + dependencies: + '@commitlint/config-validator': 19.8.1 + '@commitlint/execute-rule': 19.8.1 + '@commitlint/resolve-extends': 19.8.1 + '@commitlint/types': 19.8.1 + chalk: 5.6.2 + cosmiconfig: 9.0.0(typescript@5.9.3) + cosmiconfig-typescript-loader: 6.2.0(@types/node@22.19.1)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3) + lodash.isplainobject: 4.0.6 + lodash.merge: 4.6.2 + lodash.uniq: 4.5.0 + transitivePeerDependencies: + - '@types/node' + - typescript + '@commitlint/message@19.8.1': {} '@commitlint/parse@19.8.1': @@ -36317,7 +36350,7 @@ snapshots: '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) espree: 9.6.1 globals: 13.24.0 ignore: 5.3.2 @@ -36331,7 +36364,7 @@ snapshots: '@eslint/eslintrc@3.3.1': dependencies: ajv: 6.12.6 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) espree: 10.4.0 globals: 14.0.0 ignore: 5.3.2 @@ -36820,7 +36853,7 @@ snapshots: '@humanwhocodes/config-array@0.13.0': dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -38536,7 +38569,7 @@ snapshots: '@pnpm/tabtab@0.5.4': dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) enquirer: 2.4.1 minimist: 1.2.8 untildify: 4.0.0 @@ -38617,7 +38650,7 @@ snapshots: '@puppeteer/browsers@2.10.13': dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) extract-zip: 2.0.1 progress: 2.0.3 proxy-agent: 6.5.0 @@ -38710,7 +38743,7 @@ snapshots: '@putout/babel': 3.2.0 '@putout/engine-parser': 12.6.0 '@putout/operate': 13.5.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) jessy: 4.1.0 nessy: 5.3.0 transitivePeerDependencies: @@ -38721,7 +38754,7 @@ snapshots: '@putout/babel': 3.2.0 '@putout/engine-parser': 13.1.0(rolldown@1.0.0-beta.9)(rollup@4.53.2) '@putout/operate': 13.5.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) jessy: 4.1.0 nessy: 5.3.0 transitivePeerDependencies: @@ -38734,7 +38767,7 @@ snapshots: '@putout/babel': 4.5.2(rolldown@1.0.0-beta.9)(rollup@4.53.2) '@putout/engine-parser': 14.2.0(rolldown@1.0.0-beta.9)(rollup@4.53.2) '@putout/operate': 14.2.0(rolldown@1.0.0-beta.9)(rollup@4.53.2) - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) jessy: 4.1.0 nessy: 5.3.0 transitivePeerDependencies: @@ -38831,7 +38864,7 @@ snapshots: '@putout/operator-filesystem': 9.0.1(putout@40.13.0(eslint@8.57.1)(rolldown@1.0.0-beta.9)(rollup@4.53.2)(typescript@5.6.3))(rolldown@1.0.0-beta.9)(rollup@4.53.2) '@putout/operator-json': 2.2.0 '@putout/plugin-filesystem': 11.0.1(putout@40.13.0(eslint@8.57.1)(rolldown@1.0.0-beta.9)(rollup@4.53.2)(typescript@5.6.3))(rolldown@1.0.0-beta.9)(rollup@4.53.2) - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fullstore: 3.0.0 jessy: 4.1.0 nessy: 5.3.0 @@ -39038,6 +39071,7 @@ snapshots: transitivePeerDependencies: - rolldown - rollup + - supports-color '@putout/operator-parens@2.0.0(rolldown@1.0.0-beta.9)(rollup@4.53.2)': dependencies: @@ -39994,7 +40028,7 @@ snapshots: conventional-changelog-writer: 8.2.0 conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.2.1 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) import-from-esm: 2.0.0 lodash-es: 4.17.21 micromatch: 4.0.8 @@ -40002,6 +40036,20 @@ snapshots: transitivePeerDependencies: - supports-color + '@semantic-release/commit-analyzer@13.0.1(semantic-release@24.2.9(typescript@5.9.3))': + dependencies: + conventional-changelog-angular: 8.1.0 + conventional-changelog-writer: 8.2.0 + conventional-commits-filter: 5.0.0 + conventional-commits-parser: 6.2.1 + debug: 4.4.3(supports-color@9.4.0) + import-from-esm: 2.0.0 + lodash-es: 4.17.21 + micromatch: 4.0.8 + semantic-release: 24.2.9(typescript@5.9.3) + transitivePeerDependencies: + - supports-color + '@semantic-release/error@4.0.0': {} '@semantic-release/github@11.0.6(semantic-release@24.2.9(typescript@5.6.3))': @@ -40012,7 +40060,7 @@ snapshots: '@octokit/plugin-throttling': 11.0.3(@octokit/core@7.0.6) '@semantic-release/error': 4.0.0 aggregate-error: 5.0.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) dir-glob: 3.0.1 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.6 @@ -40026,6 +40074,28 @@ snapshots: transitivePeerDependencies: - supports-color + '@semantic-release/github@11.0.6(semantic-release@24.2.9(typescript@5.9.3))': + dependencies: + '@octokit/core': 7.0.6 + '@octokit/plugin-paginate-rest': 13.2.1(@octokit/core@7.0.6) + '@octokit/plugin-retry': 8.0.3(@octokit/core@7.0.6) + '@octokit/plugin-throttling': 11.0.3(@octokit/core@7.0.6) + '@semantic-release/error': 4.0.0 + aggregate-error: 5.0.0 + debug: 4.4.3(supports-color@9.4.0) + dir-glob: 3.0.1 + http-proxy-agent: 7.0.2 + https-proxy-agent: 7.0.6 + issue-parser: 7.0.1 + lodash-es: 4.17.21 + mime: 4.1.0 + p-filter: 4.1.0 + semantic-release: 24.2.9(typescript@5.9.3) + tinyglobby: 0.2.15 + url-join: 5.0.0 + transitivePeerDependencies: + - supports-color + '@semantic-release/npm@12.0.2(semantic-release@24.2.9(typescript@5.6.3))': dependencies: '@semantic-release/error': 4.0.0 @@ -40043,13 +40113,30 @@ snapshots: semver: 7.7.3 tempy: 3.1.0 + '@semantic-release/npm@12.0.2(semantic-release@24.2.9(typescript@5.9.3))': + dependencies: + '@semantic-release/error': 4.0.0 + aggregate-error: 5.0.0 + execa: 9.6.0 + fs-extra: 11.3.2 + lodash-es: 4.17.21 + nerf-dart: 1.0.0 + normalize-url: 8.1.0 + npm: 10.9.4 + rc: 1.2.8 + read-pkg: 9.0.1 + registry-auth-token: 5.1.0 + semantic-release: 24.2.9(typescript@5.9.3) + semver: 7.7.3 + tempy: 3.1.0 + '@semantic-release/release-notes-generator@14.1.0(semantic-release@24.2.9(typescript@5.6.3))': dependencies: conventional-changelog-angular: 8.1.0 conventional-changelog-writer: 8.2.0 conventional-commits-filter: 5.0.0 conventional-commits-parser: 6.2.1 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) get-stream: 7.0.1 import-from-esm: 2.0.0 into-stream: 7.0.0 @@ -40059,6 +40146,22 @@ snapshots: transitivePeerDependencies: - supports-color + '@semantic-release/release-notes-generator@14.1.0(semantic-release@24.2.9(typescript@5.9.3))': + dependencies: + conventional-changelog-angular: 8.1.0 + conventional-changelog-writer: 8.2.0 + conventional-commits-filter: 5.0.0 + conventional-commits-parser: 6.2.1 + debug: 4.4.3(supports-color@9.4.0) + get-stream: 7.0.1 + import-from-esm: 2.0.0 + into-stream: 7.0.0 + lodash-es: 4.17.21 + read-package-up: 11.0.0 + semantic-release: 24.2.9(typescript@5.9.3) + transitivePeerDependencies: + - supports-color + '@sendgrid/client@7.7.0': dependencies: '@sendgrid/helpers': 7.7.0 @@ -40687,7 +40790,7 @@ snapshots: '@tokenizer/inflate@0.3.1': dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fflate: 0.8.2 token-types: 6.1.1 transitivePeerDependencies: @@ -41104,7 +41207,7 @@ snapshots: '@typescript-eslint/types': 8.46.4 '@typescript-eslint/typescript-estree': 8.46.4(typescript@5.6.3) '@typescript-eslint/visitor-keys': 8.46.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) eslint: 8.57.1 typescript: 5.6.3 transitivePeerDependencies: @@ -41116,7 +41219,7 @@ snapshots: '@typescript-eslint/types': 8.46.4 '@typescript-eslint/typescript-estree': 8.46.4(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.46.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) eslint: 8.57.1 typescript: 5.9.3 transitivePeerDependencies: @@ -41135,7 +41238,7 @@ snapshots: dependencies: '@typescript-eslint/tsconfig-utils': 8.46.4(typescript@5.6.3) '@typescript-eslint/types': 8.46.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) typescript: 5.6.3 transitivePeerDependencies: - supports-color @@ -41144,7 +41247,7 @@ snapshots: dependencies: '@typescript-eslint/tsconfig-utils': 8.46.4(typescript@5.9.3) '@typescript-eslint/types': 8.46.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -41167,7 +41270,7 @@ snapshots: '@typescript-eslint/types': 8.46.4 '@typescript-eslint/typescript-estree': 8.46.4(typescript@5.6.3) '@typescript-eslint/utils': 8.46.4(eslint@8.57.1)(typescript@5.6.3) - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) eslint: 8.57.1 ts-api-utils: 2.1.0(typescript@5.6.3) typescript: 5.6.3 @@ -41179,7 +41282,7 @@ snapshots: '@typescript-eslint/types': 8.46.4 '@typescript-eslint/typescript-estree': 8.46.4(typescript@5.9.3) '@typescript-eslint/utils': 8.46.4(eslint@8.57.1)(typescript@5.9.3) - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) eslint: 8.57.1 ts-api-utils: 2.1.0(typescript@5.9.3) typescript: 5.9.3 @@ -41210,7 +41313,7 @@ snapshots: '@typescript-eslint/tsconfig-utils': 8.46.4(typescript@5.6.3) '@typescript-eslint/types': 8.46.4 '@typescript-eslint/visitor-keys': 8.46.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fast-glob: 3.3.3 is-glob: 4.0.3 minimatch: 9.0.5 @@ -41226,7 +41329,7 @@ snapshots: '@typescript-eslint/tsconfig-utils': 8.46.4(typescript@5.9.3) '@typescript-eslint/types': 8.46.4 '@typescript-eslint/visitor-keys': 8.46.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fast-glob: 3.3.3 is-glob: 4.0.3 minimatch: 9.0.5 @@ -41265,7 +41368,7 @@ snapshots: '@typescript/vfs@1.6.2(typescript@5.4.5)': dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) typescript: 5.4.5 transitivePeerDependencies: - supports-color @@ -41632,7 +41735,7 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -42390,7 +42493,7 @@ snapshots: dependencies: bytes: 3.1.2 content-type: 1.0.5 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) http-errors: 2.0.0 iconv-lite: 0.6.3 on-finished: 2.4.1 @@ -43177,6 +43280,13 @@ snapshots: jiti: 2.6.1 typescript: 5.6.3 + cosmiconfig-typescript-loader@6.2.0(@types/node@22.19.1)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3): + dependencies: + '@types/node': 22.19.1 + cosmiconfig: 9.0.0(typescript@5.9.3) + jiti: 2.6.1 + typescript: 5.9.3 + cosmiconfig@5.2.1: dependencies: import-fresh: 2.0.0 @@ -43201,6 +43311,15 @@ snapshots: optionalDependencies: typescript: 5.6.3 + cosmiconfig@9.0.0(typescript@5.9.3): + dependencies: + env-paths: 2.2.1 + import-fresh: 3.3.1 + js-yaml: 4.1.1 + parse-json: 5.2.0 + optionalDependencies: + typescript: 5.9.3 + cp-file@6.2.0: dependencies: graceful-fs: 4.2.11 @@ -44318,7 +44437,7 @@ snapshots: eslint-import-resolver-typescript@3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1): dependencies: '@nolyfill/is-core-module': 1.0.39 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) eslint: 8.57.1 get-tsconfig: 4.13.0 is-bun-module: 2.0.0 @@ -44591,7 +44710,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -44860,7 +44979,7 @@ snapshots: content-type: 1.0.5 cookie: 0.7.2 cookie-signature: 1.2.2 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) encodeurl: 2.0.0 escape-html: 1.0.3 etag: 1.8.1 @@ -45176,7 +45295,7 @@ snapshots: finalhandler@2.1.0: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) encodeurl: 2.0.0 escape-html: 1.0.3 on-finished: 2.4.1 @@ -45289,7 +45408,7 @@ snapshots: dependencies: '@putout/engine-loader': 16.2.1(putout@40.13.0(eslint@8.57.1)(rolldown@1.0.0-beta.9)(rollup@4.53.2)(typescript@5.6.3)) '@putout/operator-keyword': 2.2.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) js-tokens: 9.0.1 transitivePeerDependencies: - putout @@ -45311,7 +45430,7 @@ snapshots: follow-redirects@1.15.11(debug@4.4.3): optionalDependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) for-each@0.3.5: dependencies: @@ -45628,7 +45747,7 @@ snapshots: dependencies: basic-ftp: 5.0.5 data-uri-to-buffer: 6.0.2 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -46370,14 +46489,14 @@ snapshots: dependencies: '@tootallnate/once': 2.0.0 agent-base: 6.0.2 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -46430,14 +46549,14 @@ snapshots: https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color https-proxy-agent@7.0.6: dependencies: agent-base: 7.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -46525,7 +46644,7 @@ snapshots: import-from-esm@2.0.0: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) import-meta-resolve: 4.2.0 transitivePeerDependencies: - supports-color @@ -47048,7 +47167,7 @@ snapshots: istanbul-lib-source-maps@4.0.1: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) istanbul-lib-coverage: 3.2.2 source-map: 0.6.1 transitivePeerDependencies: @@ -47749,7 +47868,7 @@ snapshots: dependencies: '@types/express': 4.17.25 '@types/jsonwebtoken': 9.0.10 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) jose: 4.15.9 limiter: 1.1.5 lru-memoizer: 2.3.0 @@ -47928,6 +48047,20 @@ snapshots: - supports-color - typescript + linkup-sdk@1.2.0(@types/node@22.19.1)(typescript@5.9.3): + dependencies: + '@commitlint/cli': 19.8.1(@types/node@22.19.1)(typescript@5.9.3) + '@commitlint/config-conventional': 19.8.1 + axios: 1.13.2(debug@3.2.7) + semantic-release: 24.2.9(typescript@5.9.3) + zod: 3.25.76 + zod-to-json-schema: 3.24.6(zod@3.25.76) + transitivePeerDependencies: + - '@types/node' + - debug + - supports-color + - typescript + lint-staged@12.5.0(enquirer@2.4.1): dependencies: cli-truncate: 3.1.0 @@ -48170,7 +48303,7 @@ snapshots: log4js@6.4.4: dependencies: date-format: 4.0.14 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) flatted: 3.3.3 rfdc: 1.4.1 streamroller: 3.1.5 @@ -48751,7 +48884,7 @@ snapshots: micromark@2.11.4: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) parse-entities: 2.0.0 transitivePeerDependencies: - supports-color @@ -48759,7 +48892,7 @@ snapshots: micromark@4.0.2: dependencies: '@types/debug': 4.1.12 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) decode-named-character-reference: 1.2.0 devlop: 1.1.0 micromark-core-commonmark: 2.0.3 @@ -48951,7 +49084,7 @@ snapshots: mqtt-packet@6.10.0: dependencies: bl: 4.1.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) process-nextick-args: 2.0.1 transitivePeerDependencies: - supports-color @@ -48960,7 +49093,7 @@ snapshots: dependencies: commist: 1.1.0 concat-stream: 2.0.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) duplexify: 4.1.3 help-me: 3.0.0 inherits: 2.0.4 @@ -48999,7 +49132,7 @@ snapshots: dependencies: '@tediousjs/connection-string': 0.5.0 commander: 11.1.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) rfdc: 1.4.1 tarn: 3.0.2 tedious: 16.7.1 @@ -49146,7 +49279,7 @@ snapshots: content-type: 1.0.5 cookie: 1.0.2 cron-parser: 4.9.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) decache: 4.6.2 dot-prop: 9.0.0 dotenv: 17.2.3 @@ -49464,7 +49597,7 @@ snapshots: number-allocator@1.0.14: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) js-sdsl: 4.3.0 transitivePeerDependencies: - supports-color @@ -49919,7 +50052,7 @@ snapshots: dependencies: '@tootallnate/quickjs-emscripten': 0.23.0 agent-base: 7.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) get-uri: 6.0.5 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.6 @@ -50513,7 +50646,7 @@ snapshots: proxy-agent@6.5.0: dependencies: agent-base: 7.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.6 lru-cache: 7.18.3 @@ -50610,7 +50743,7 @@ snapshots: dependencies: '@puppeteer/browsers': 2.10.13 chromium-bidi: 10.5.1(devtools-protocol@0.0.1521046) - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) devtools-protocol: 0.0.1521046 typed-query-selector: 2.12.0 webdriver-bidi-protocol: 0.3.8 @@ -50774,7 +50907,7 @@ snapshots: '@putout/traverse': 14.0.0(rolldown@1.0.0-beta.9)(rollup@4.53.2) ajv: 8.17.1 ci-info: 4.3.1 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) deepmerge: 4.3.1 escalade: 3.2.0 fast-glob: 3.3.3 @@ -51458,7 +51591,7 @@ snapshots: retry-request@5.0.2: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) extend: 3.0.2 transitivePeerDependencies: - supports-color @@ -51519,7 +51652,7 @@ snapshots: '@babel/types': 7.28.5 ast-kit: 2.2.0 birpc: 2.8.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) dts-resolver: 2.1.3 get-tsconfig: 4.13.0 rolldown: 1.0.0-beta.9 @@ -51588,7 +51721,7 @@ snapshots: router@2.2.0: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) depd: 2.0.0 is-promise: 4.0.0 parseurl: 1.3.3 @@ -51722,7 +51855,42 @@ snapshots: '@semantic-release/release-notes-generator': 14.1.0(semantic-release@24.2.9(typescript@5.6.3)) aggregate-error: 5.0.0 cosmiconfig: 9.0.0(typescript@5.6.3) - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) + env-ci: 11.2.0 + execa: 9.6.0 + figures: 6.1.0 + find-versions: 6.0.0 + get-stream: 6.0.1 + git-log-parser: 1.2.1 + hook-std: 4.0.0 + hosted-git-info: 8.1.0 + import-from-esm: 2.0.0 + lodash-es: 4.17.21 + marked: 15.0.12 + marked-terminal: 7.3.0(marked@15.0.12) + micromatch: 4.0.8 + p-each-series: 3.0.0 + p-reduce: 3.0.0 + read-package-up: 11.0.0 + resolve-from: 5.0.0 + semver: 7.7.3 + semver-diff: 5.0.0 + signale: 1.4.0 + yargs: 17.7.2 + transitivePeerDependencies: + - supports-color + - typescript + + semantic-release@24.2.9(typescript@5.9.3): + dependencies: + '@semantic-release/commit-analyzer': 13.0.1(semantic-release@24.2.9(typescript@5.9.3)) + '@semantic-release/error': 4.0.0 + '@semantic-release/github': 11.0.6(semantic-release@24.2.9(typescript@5.9.3)) + '@semantic-release/npm': 12.0.2(semantic-release@24.2.9(typescript@5.9.3)) + '@semantic-release/release-notes-generator': 14.1.0(semantic-release@24.2.9(typescript@5.9.3)) + aggregate-error: 5.0.0 + cosmiconfig: 9.0.0(typescript@5.9.3) + debug: 4.4.3(supports-color@9.4.0) env-ci: 11.2.0 execa: 9.6.0 figures: 6.1.0 @@ -51788,7 +51956,7 @@ snapshots: send@1.2.0: dependencies: - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) encodeurl: 2.0.0 escape-html: 1.0.3 etag: 1.8.1 @@ -52073,7 +52241,7 @@ snapshots: socks-proxy-agent@8.0.5: dependencies: agent-base: 7.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) socks: 2.8.7 transitivePeerDependencies: - supports-color @@ -52289,7 +52457,7 @@ snapshots: streamroller@3.1.5: dependencies: date-format: 4.0.14 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fs-extra: 8.1.0 transitivePeerDependencies: - supports-color @@ -52508,7 +52676,7 @@ snapshots: cosmiconfig: 9.0.0(typescript@5.6.3) css-functions-list: 3.2.3 css-tree: 3.1.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fast-glob: 3.3.3 fastest-levenshtein: 1.0.16 file-entry-cache: 10.1.4 @@ -52583,7 +52751,7 @@ snapshots: dependencies: component-emitter: 1.3.1 cookiejar: 2.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) form-data: 2.5.4 formidable: 1.2.6 methods: 1.1.2 @@ -52597,7 +52765,7 @@ snapshots: dependencies: component-emitter: 1.3.1 cookiejar: 2.1.4 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) fast-safe-stringify: 2.1.1 form-data: 3.0.4 formidable: 1.2.6 @@ -52944,7 +53112,7 @@ snapshots: dependencies: '@aws-sdk/client-s3': 3.929.0(aws-crt@1.27.5) '@aws-sdk/s3-request-presigner': 3.929.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) form-data: 4.0.4 got: 14.4.9 into-stream: 9.0.0 @@ -52997,7 +53165,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-jest@29.4.5(@babel/core@7.28.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.28.5))(esbuild@0.25.12)(jest-util@29.7.0)(jest@29.7.0(@types/node@20.19.25)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.19.25)(typescript@5.6.3)))(typescript@5.6.3): + ts-jest@29.4.5(@babel/core@7.28.5)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.28.5))(jest-util@29.7.0)(jest@29.7.0(@types/node@20.19.25)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.19.25)(typescript@5.6.3)))(typescript@5.6.3): dependencies: bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 @@ -53015,7 +53183,6 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 babel-jest: 29.7.0(@babel/core@7.28.5) - esbuild: 0.25.12 jest-util: 29.7.0 ts-jest@29.4.5(@babel/core@8.0.0-beta.3)(@jest/transform@29.7.0)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@8.0.0-beta.3))(jest-util@29.7.0)(jest@29.7.0(@types/node@20.19.25)(babel-plugin-macros@3.1.0)(ts-node@10.9.2(@types/node@20.19.25)(typescript@5.6.3)))(typescript@5.6.3): @@ -53124,7 +53291,7 @@ snapshots: ansis: 4.2.0 cac: 6.7.14 chokidar: 4.0.3 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) diff: 8.0.2 empathic: 1.1.0 hookable: 5.5.3 @@ -53189,7 +53356,7 @@ snapshots: cac: 6.7.14 chokidar: 4.0.3 consola: 3.4.2 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) esbuild: 0.25.12 fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 @@ -53218,7 +53385,7 @@ snapshots: cac: 6.7.14 chokidar: 4.0.3 consola: 3.4.2 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) esbuild: 0.25.12 fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 @@ -53894,7 +54061,7 @@ snapshots: '@volar/typescript': 2.4.23 '@vue/language-core': 2.2.0(typescript@5.9.3) compare-versions: 6.1.1 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) kolorist: 1.8.0 local-pkg: 1.1.2 magic-string: 0.30.21 @@ -53926,7 +54093,7 @@ snapshots: dependencies: chalk: 4.1.2 commander: 9.5.0 - debug: 4.4.3(supports-color@5.5.0) + debug: 4.4.3(supports-color@9.4.0) transitivePeerDependencies: - supports-color From d7890a3fd97c3d4e65319bd7a00546a3da27cdb4 Mon Sep 17 00:00:00 2001 From: Luan Cazarine Date: Tue, 25 Nov 2025 12:16:01 -0500 Subject: [PATCH 3/3] Update key for new published article source to improve clarity and consistency --- .../sources/new-published-article/new-published-article.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/neetokb/sources/new-published-article/new-published-article.mjs b/components/neetokb/sources/new-published-article/new-published-article.mjs index 1980a5012a1a6..1deb5e8f6413d 100644 --- a/components/neetokb/sources/new-published-article/new-published-article.mjs +++ b/components/neetokb/sources/new-published-article/new-published-article.mjs @@ -3,7 +3,7 @@ import neetokb from "../../neetokb.app.mjs"; import sampleEmit from "./test-event.mjs"; export default { - key: "neetokb-new-action", + key: "neetokb-new-published-article", name: "New Published Article", description: "Emit new event when a new article is published. [See the documentation](https://neetokb-apis.mintlify.app/api-reference/articles/list-articles).", version: "0.0.1",