René's URL Explorer Experiment


Title: feat: added nestjs package adapter by H4ad · Pull Request #461 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat: added nestjs package adapter by H4ad · Pull Request #461 · triggerdotdev/trigger.dev

X Title: feat: added nestjs package adapter by H4ad · Pull Request #461 · triggerdotdev/trigger.dev

Description: /claim #449 This PR adds a basic integration with NestJS by exporting TriggerClient through @InjectTriggerDevClient() decorator. Images Suggestions for the next iterations For now, I focus only on adding the initial structure and documentation for this integration. NestJS can be very extensive, and one of the APIs we can add to integrate Trigger.dev can be something like this: export interface TriggerDevJobConsumer>, TIntegrations extends Record { getTrigger(): TTrigger; run: (payload: TriggerEventType, io: IOWithIntegrations, context: TriggerContext) => Promise; } @Job({ id: "test-job", name: "Test Job One", version: "0.0.1", }) export class MyCustomJobConsumer { public getTrigger() { return eventTrigger({ name: "test.event", }); } public async run(payload, io, ctx) { await io.logger.info("Hello world!", { payload }); return { message: "Hello world!", }; } } Then, you just need to import MyCustomJobConsumer in any module and it will automatically register the Job. But I suggest first creating an issue describing an Interface for this consumer and then trying to create this feature.

Open Graph Description: /claim #449 This PR adds a basic integration with NestJS by exporting TriggerClient through @InjectTriggerDevClient() decorator. Images Suggestions for the next iterations For now, I focus only...

X Description: /claim #449 This PR adds a basic integration with NestJS by exporting TriggerClient through @InjectTriggerDevClient() decorator. Images Suggestions for the next iterations For now, I focus only...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/461

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:28ce6a86-2765-f5d8-7673-f9bf034e4e8e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id917C:216FF3:36BA9E:51E4B8:6AFAE23C
html-safe-nonceada8dacd05e0e9e2beb56b6a040d89d368d80f191a6eeca7b3c5d21c41c5843d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTdDOjIxNkZGMzozNkJBOUU6NTFFNEI4OjZBRkFFMjNDIiwidmlzaXRvcl9pZCI6IjE5NDY0ODkzODA4ODkzNTQ4MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac49214f1274c3a14ffa3a091875945242ec3faf46ce5899e286ea043377651d3f
hovercard-subject-tagpull_request:1508894511
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/461/files
twitter:imagehttps://avatars.githubusercontent.com/u/12551007?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/12551007?s=400&v=4
og:image:alt/claim #449 This PR adds a basic integration with NestJS by exporting TriggerClient through @InjectTriggerDevClient() decorator. Images Suggestions for the next iterations For now, I focus only...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a7ae932999cc6d511008dbf980ff9efad2a31f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/461/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F461%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F461%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/461/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/461/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/461/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests66 (66)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
H4adhttps://github.com/H4ad
triggerdotdev:mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
h4ad-forks:feat/nestjshttps://github.com/h4ad-forks/trigger.dev/tree/feat/nestjs
Conversation 2 https://github.com/triggerdotdev/trigger.dev/pull/461
Commits 2 https://github.com/triggerdotdev/trigger.dev/pull/461/commits
Checks 0 https://github.com/triggerdotdev/trigger.dev/pull/461/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/461/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/461/files
feat: added nestjs package adapter https://github.com/triggerdotdev/trigger.dev/pull/461/files#top
Show all changes 2 commits https://github.com/triggerdotdev/trigger.dev/pull/461/files
6ce3c18 feat: added nestjs package adapter H4ad Sep 9, 2023 https://github.com/triggerdotdev/trigger.dev/pull/461/commits/6ce3c18a7c3efd87e84eb22cd92cb22e2a5ff862
65908c6 Merge branch 'main' into feat/nestjs H4ad Sep 14, 2023 https://github.com/triggerdotdev/trigger.dev/pull/461/commits/65908c6954daf0d440b4d6884161aa99ee0eb0d0
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/461/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/461/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/461/files
FrameworkSelector.tsx https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-1e97f71a91394198323bfe68284f26bccc8d5295ecbcefebaf16b8a2d1500235
route.tsx https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-5c2bf47520458ed5c414dfbb46df74cdd0a1acc8666101d6c3ec35528127919b
manual-setup-nestjs.mdx https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-7e1aa51c740aa20674a1f8e1521d554e967f42eb853f21c0e45cdd78d071ef4d
client-adaptors.mdx https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-c4732f603d391ddf96361cb2e411155d9121ca1ce42aae3cea79a435d78ccbef
nestjs.mdx https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-2fd2842950fcfd0494b284df9d04581a9a709851d836ec8468285dcf4464ecd1
mint.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-c91a604899dfef4b2494c317f4fd39a7f22b79986095f580399347293d534deb
.env.example https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-e76cfc9f5683d14e15a7d4c8428af3fd4dca8109cfa95e97475c046597966063
.eslintrc.js https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-acd5ff811d752cb360bdfbcf1f86d7546b7b9acedeae2b5ed7b7146abfe4ab4e
.gitignore https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-1127e80c7ee92dd0d975ffacb3bf48bb3a67dbe68a55c541a49c1ae5c5bf3fda
.prettierrc https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-e92dfe8685db2cddf9fca0b2fe0744b83b9e704e21eb97847b67948778cfc6c2
README.md https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-a73b926946812ba0eae7c01661add1ed4d4f7585d2ff9def9cd60dd4713cd727
nest-cli.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-5862c0b06de0cbd4c63a3f514c2e89eebc7a7b2e1d88d649e2402bdfc7af814b
package.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-da6bbe4970ccc94a96c181a19e395493f8553954d5c6c2b579b874fb97a08fe9
app.controller.ts https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-128dc60d71c5585c44c6c508cde348d2a15179ed5a9e65ab90993132643ab81c
app.module.ts https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-ceabff12d10852e2762ef7ad9729156e5955a6e0d4f9451919d68b820d8e7af1
main.ts https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-d5d3b14e8133ed53d44f832959343cd7e444973b435108915374f2a6fb0e4b37
app.e2e-spec.ts https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-5535cb488195cfb41239ed71f1613899cd751415e93e8473e23ebaa22bda8995
jest-e2e.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-b96628068c37c5bd7bd9377efa0d445376fdcb923ba4ca4c54cb72257c103c00
tsconfig.build.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-665bd70e26bd36a2693577c00043cd82152067d2ff59232d84d192274c94ae9e
tsconfig.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-e34aea8dc8aa899931b21ee670799dba00818c1019805d9b4976585a025c238b
LICENSE https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-3856275b6917d0db58df494d7d76b80212eed8b289b73e2e8901d7396f21d2a9
README.md https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-2518b5eae05b8948dee7048737ca75b5219a3e38dd94c8d568b18b741d823e27
package.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-23e81af33485dbe86e470e0d747bbeab65558315683106a53725019316533e2e
index.ts https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-9d22988e73062a6c88149ae7cfb605de49b2de53976527ccf8011252d1899aed
tsconfig.json https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-2e798a6b03d4fbce2bf0965979bdb723ae482d6c1a51bd31373a25a31a0f3d4f
tsup.config.ts https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-80d4eb1a6918b93d74b264e46570a9b6d4dcaf4e3a4b5fc7c277a558f0d8626e
pnpm-lock.yaml https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-32824c984905bb02bc7ffcef96a77addd1f1602cff71a11fbbfdd7f53ee026bb
apps/webapp/app/components/frameworks/FrameworkSelector.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-1e97f71a91394198323bfe68284f26bccc8d5295ecbcefebaf16b8a2d1500235
View file https://github.com/h4ad-forks/trigger.dev/blob/65908c6954daf0d440b4d6884161aa99ee0eb0d0/apps/webapp/app/components/frameworks/FrameworkSelector.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/461/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-1e97f71a91394198323bfe68284f26bccc8d5295ecbcefebaf16b8a2d1500235
https://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-1e97f71a91394198323bfe68284f26bccc8d5295ecbcefebaf16b8a2d1500235
...bapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.setup.nestjs/route.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/461/files#diff-5c2bf47520458ed5c414dfbb46df74cdd0a1acc8666101d6c3ec35528127919b
View file https://github.com/h4ad-forks/trigger.dev/blob/65908c6954daf0d440b4d6884161aa99ee0eb0d0/apps/webapp/app/routes/_app.orgs.%24organizationSlug.projects.%24projectParam.setup.nestjs/route.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/461/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/461/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.