// @generated — do not edit import { defineLifecycle } from "@tailor-platform/erp-kit/core"; export const workOrderLifecycle = defineLifecycle({ start: { from: ["PENDING"], to: "IN_PROGRESS" }, pause: { from: ["IN_PROGRESS"], to: "PAUSED" }, resume: { from: ["PAUSED"], to: "IN_PROGRESS" }, complete: { from: ["IN_PROGRESS"], to: "COMPLETE" }, cancel: { from: ["PENDING"], to: "CANCELLED" }, }); export type WorkOrderStatus = typeof workOrderLifecycle.states[number];