Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: typescript v1 #1316

Draft
wants to merge 398 commits into
base: main
Choose a base branch
from
Draft

wip: typescript v1 #1316

wants to merge 398 commits into from

Conversation

grutt
Copy link
Contributor

@grutt grutt commented Mar 10, 2025

Description

Improves Typescript SDK Dev Ex with a core focus on:

  1. Simplicity and clarity of interface
  2. Input and output type safety
  3. Consistent naming x-ui and sibling sdks

Type of change

  • New feature (non-breaking change which adds functionality)

What's Changed

  • Improves type safety through factory-based workflow definition
  • Exposes clear Run, Enqueue, Scheduling, and CRON methods
  • Exposes clear REST API

Copy link

vercel bot commented Mar 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hatchet-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2025 6:26pm

@grutt grutt requested a review from mrkaye97 March 10, 2025 22:05
@@ -71,6 +71,15 @@ export default class WorkflowRunRef<T> {
return this.client.stream(workflowRunId);
}

// TODO test this..
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to javadoc this file and test this method

@grutt grutt changed the title wip: functional base v1 wip: typescript v1 Mar 11, 2025
Base automatically changed from v1 to main March 11, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants