Skip to content

ToDealMarket/tdm-inngest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TDM Inngest

TDM Inngest

Inngest example for durable paid workflows

Example Repo GitHub stars Inngest TypeScript

Show one durable Inngest workflow where only the premium step becomes payable through TDM.

DocumentationSDK RepoGitHubX/Twitter

████████╗ ██████╗  ███╗   ███╗
╚══██╔══╝ ██╔══██╗ ████╗ ████║
   ██║    ██║  ██║ ██╔████╔██║
   ██║    ██║  ██║ ██║╚██╔╝██║
   ██║    ██████╔╝ ██║ ╚═╝ ██║
   ╚═╝    ╚═════╝  ╚═╝     ╚═╝

TDM INNGEST [EXAMPLE REPO]
Durable Workflow + Paid Step
Mode: example-first | Docs: todealmarket.com/docs

What Is This Repo?

tdm-inngest is an example-first TDM integration for durable TypeScript workflows built with Inngest.

The intended story is simple:

  • keep your normal Inngest durable function
  • wrap only the premium action with TDM
  • let authorization happen before the paid step runs

Current API Notes

Verified against the current official Inngest docs:

  • use new Inngest(...)
  • use inngest.createFunction(...)
  • keep side effects and external calls inside step.run(...)
  • v4 uses triggers inside the config object

Included

  • examples/paid-agent-tool.ts
  • guide.md

TDM Fit

The best first story here is not a package. It is a durable workflow example that wraps a paid action inside step.run(...).

About

Inngest example for durable TDM paid workflows and agent actions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors