@runwisp/common
v1.2.0
Published
Shared types, constants, and utilities for the RunWisp platform.
Readme
@runwisp/common
Shared types, constants, and utility functions for the RunWisp platform.
What's Inside
- Types —
Task,Run,EndReason,RunStatus, and other domain types re-exported from the generated OpenAPI spec. - Constants —
RUN_PHASES,END_REASONS,FAILURE_END_REASONS,TRIGGERS. - Helpers —
displayStatus,isService,isFailureEndReason. - Logging —
Logger,createLoggerFactory. - IDs —
generateUlid(monotonic ULIDs).
Usage
This package is consumed as a workspace dependency:
{
"dependencies": {
"@runwisp/common": "workspace:*"
}
}import { generateUlid, displayStatus, type Task } from "@runwisp/common";