Skip to content

Conversation

@vinassefranche
Copy link
Contributor

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Add workflow type utils:

const workflow = Workflow.make({
  name: "name",
  payload: Schema.Struct({ payload: Schema.String }),
  success: Schema.Struct({ success: Schema.String }),
  error: Schema.Struct({ error: Schema.String }),
  idempotencyKey: ({ payload }) => payload
})

type Payload = Workflow.Workflow.Payload<typeof workflow>
// { readonly payload: string; }

type Success = Workflow.Workflow.Success<typeof workflow>
// { readonly success: string; }

type Error = Workflow.Workflow.Error<typeof workflow>
// { readonly error: string; }

Related

  • Related Issue #
  • Closes #

@github-project-automation github-project-automation bot moved this to Discussion Ongoing in PR Backlog Sep 10, 2025
@changeset-bot
Copy link

changeset-bot bot commented Sep 10, 2025

🦋 Changeset detected

Latest commit: 929c6ec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@effect/workflow Patch
@effect/cluster Patch
@effect/platform-bun Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/sql-clickhouse Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mikearnaldi mikearnaldi merged commit 66adc48 into Effect-TS:next-minor Oct 3, 2025
11 checks passed
@github-project-automation github-project-automation bot moved this from Discussion Ongoing to Done in PR Backlog Oct 3, 2025
@effect-bot effect-bot mentioned this pull request Oct 3, 2025
effect-bot pushed a commit that referenced this pull request Oct 3, 2025
effect-bot pushed a commit that referenced this pull request Oct 4, 2025
effect-bot pushed a commit that referenced this pull request Oct 4, 2025
effect-bot pushed a commit that referenced this pull request Oct 5, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 6, 2025
effect-bot pushed a commit that referenced this pull request Oct 7, 2025
effect-bot pushed a commit that referenced this pull request Oct 8, 2025
effect-bot pushed a commit that referenced this pull request Oct 8, 2025
effect-bot pushed a commit that referenced this pull request Oct 14, 2025
effect-bot pushed a commit that referenced this pull request Oct 14, 2025
effect-bot pushed a commit that referenced this pull request Oct 15, 2025
effect-bot pushed a commit that referenced this pull request Oct 15, 2025
effect-bot pushed a commit that referenced this pull request Oct 16, 2025
effect-bot pushed a commit that referenced this pull request Oct 17, 2025
effect-bot pushed a commit that referenced this pull request Oct 17, 2025
effect-bot pushed a commit that referenced this pull request Oct 17, 2025
effect-bot pushed a commit that referenced this pull request Oct 18, 2025
effect-bot pushed a commit that referenced this pull request Oct 18, 2025
effect-bot pushed a commit that referenced this pull request Oct 20, 2025
effect-bot pushed a commit that referenced this pull request Oct 26, 2025
effect-bot pushed a commit that referenced this pull request Oct 26, 2025
tim-smart pushed a commit that referenced this pull request Oct 29, 2025
tim-smart pushed a commit that referenced this pull request Nov 4, 2025
tim-smart pushed a commit that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants