@orquex/sagas-types
v0.1.0
Published
Orquex Sagas - Type definitions and domain models for saga-based workflows
Downloads
114
Readme
@orquex/sagas-types
Type definitions and domain models for Orquex Sagas. This package provides the core TypeScript interfaces and types used to define and validate saga-based workflows within the Orquex ecosystem.
Installation
npm install @orquex/sagas-typesor with yarn:
yarn add @orquex/sagas-typesUsage
This package provides types for Flows, Stages, Tasks, and Resources.
import { Flow, Stage, Task } from '@orquex/sagas-types';
const myFlow: Flow = {
id: 'my-workflow',
name: 'Sample Workflow',
stages: [
// ... stage definitions
]
};Development
Building
npm run buildVersioning and Publishing
This project uses Changesets for versioning and changelogs.
- Create a changeset:
npx changeset - Follow the prompts to select the type of change (patch, minor, major).
- Commit the generated changeset file.
- When merged to
main, a GitHub Action will automatically create a versioning PR or publish to NPM.
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
