1.4.0 • Published 11 months ago

@lokalise/maestro-expert-shared v1.4.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

Shared API library between Maestro and Expert

This library provides shared objects, types and zod schemas for Maestro and Expert. This includes, but not limited to:

  • zod schemas for Maestro API
  • Workflow templates
  • Definitions of workflow steps
  • Resolvers (action handlers, guards)

zod schemas for Maestro API

Used by both Maestro and Expert frontend to validate comms.

Workflow templates

Used by both Maestro and Expert frontend. Holds definitions for specific workflow templates.

Definitions of workflow steps

Used by both Maestro and Expert frontend. Holds definitions for specific workflow steps.

Resolvers (action handlers, guards)

Used by Maestro. Defines the actions, which are used by state machine. And also guards, which are constrains for transitions to other steps. So basically it's an Expert specific business logic for workflow states.

It can serve as a reference for any upcoming potential integration with Maestro.

Getting Started

Install all dependencies:

npm install

Run all tests:

npm run test
1.4.0

11 months ago