@orkestrel/workflow 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1488,10 +1488,10 @@ export declare const phaseShape: ObjectShape<{
1488
1488
  run: OptionalShape<StringShape>;
1489
1489
  retries: OptionalShape<NumberShape>;
1490
1490
  timeout: OptionalShape<NumberShape>;
1491
- }>>;
1491
+ }, false>>;
1492
1492
  concurrency: OptionalShape<NumberShape>;
1493
1493
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
1494
- }>;
1494
+ }, false>;
1495
1495
 
1496
1496
  /**
1497
1497
  * A JSON-serializable snapshot of one phase's state — its identity, status, its forced
@@ -1576,7 +1576,7 @@ export declare const phaseUpdateShape: ObjectShape<{
1576
1576
  description: OptionalShape<StringShape>;
1577
1577
  concurrency: OptionalShape<NumberShape>;
1578
1578
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
1579
- }>;
1579
+ }, false>;
1580
1580
 
1581
1581
  /**
1582
1582
  * Rebuild an equivalent live W-b entity tree from a {@link WorkflowSnapshot} — the
@@ -2570,7 +2570,7 @@ export declare const taskShape: ObjectShape<{
2570
2570
  run: OptionalShape<StringShape>;
2571
2571
  retries: OptionalShape<NumberShape>;
2572
2572
  timeout: OptionalShape<NumberShape>;
2573
- }>;
2573
+ }, false>;
2574
2574
 
2575
2575
  /**
2576
2576
  * A JSON-serializable snapshot of one task's state — the leaf of the snapshot tree
@@ -2651,7 +2651,7 @@ export declare interface TaskUpdate {
2651
2651
  export declare const taskUpdateShape: ObjectShape<{
2652
2652
  name: OptionalShape<StringShape>;
2653
2653
  description: OptionalShape<StringShape>;
2654
- }>;
2654
+ }, false>;
2655
2655
 
2656
2656
  /**
2657
2657
  * The {@link TaskStatus} values that are TERMINAL — a task in one of these will
@@ -3717,12 +3717,12 @@ export declare const workflowShape: ObjectShape<{
3717
3717
  run: OptionalShape<StringShape>;
3718
3718
  retries: OptionalShape<NumberShape>;
3719
3719
  timeout: OptionalShape<NumberShape>;
3720
- }>>;
3720
+ }, false>>;
3721
3721
  concurrency: OptionalShape<NumberShape>;
3722
3722
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
3723
- }>>;
3723
+ }, false>>;
3724
3724
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
3725
- }>;
3725
+ }, false>;
3726
3726
 
3727
3727
  /**
3728
3728
  * A JSON-serializable snapshot of a whole workflow's state — its identity, status, its
@@ -1488,10 +1488,10 @@ export declare const phaseShape: ObjectShape<{
1488
1488
  run: OptionalShape<StringShape>;
1489
1489
  retries: OptionalShape<NumberShape>;
1490
1490
  timeout: OptionalShape<NumberShape>;
1491
- }>>;
1491
+ }, false>>;
1492
1492
  concurrency: OptionalShape<NumberShape>;
1493
1493
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
1494
- }>;
1494
+ }, false>;
1495
1495
 
1496
1496
  /**
1497
1497
  * A JSON-serializable snapshot of one phase's state — its identity, status, its forced
@@ -1576,7 +1576,7 @@ export declare const phaseUpdateShape: ObjectShape<{
1576
1576
  description: OptionalShape<StringShape>;
1577
1577
  concurrency: OptionalShape<NumberShape>;
1578
1578
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
1579
- }>;
1579
+ }, false>;
1580
1580
 
1581
1581
  /**
1582
1582
  * Rebuild an equivalent live W-b entity tree from a {@link WorkflowSnapshot} — the
@@ -2570,7 +2570,7 @@ export declare const taskShape: ObjectShape<{
2570
2570
  run: OptionalShape<StringShape>;
2571
2571
  retries: OptionalShape<NumberShape>;
2572
2572
  timeout: OptionalShape<NumberShape>;
2573
- }>;
2573
+ }, false>;
2574
2574
 
2575
2575
  /**
2576
2576
  * A JSON-serializable snapshot of one task's state — the leaf of the snapshot tree
@@ -2651,7 +2651,7 @@ export declare interface TaskUpdate {
2651
2651
  export declare const taskUpdateShape: ObjectShape<{
2652
2652
  name: OptionalShape<StringShape>;
2653
2653
  description: OptionalShape<StringShape>;
2654
- }>;
2654
+ }, false>;
2655
2655
 
2656
2656
  /**
2657
2657
  * The {@link TaskStatus} values that are TERMINAL — a task in one of these will
@@ -3717,12 +3717,12 @@ export declare const workflowShape: ObjectShape<{
3717
3717
  run: OptionalShape<StringShape>;
3718
3718
  retries: OptionalShape<NumberShape>;
3719
3719
  timeout: OptionalShape<NumberShape>;
3720
- }>>;
3720
+ }, false>>;
3721
3721
  concurrency: OptionalShape<NumberShape>;
3722
3722
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
3723
- }>>;
3723
+ }, false>>;
3724
3724
  bail: OptionalShape<LiteralShape<readonly [true, false]>>;
3725
- }>;
3725
+ }, false>;
3726
3726
 
3727
3727
  /**
3728
3728
  * A JSON-serializable snapshot of a whole workflow's state — its identity, status, its
@@ -2623,7 +2623,8 @@ function createWorkflowContract() {
2623
2623
  schema: contract.schema,
2624
2624
  is: contract.is,
2625
2625
  generate: (random) => contract.generate(random),
2626
- parse: (value) => contract.parse(value)
2626
+ parse: (value) => contract.parse(value),
2627
+ explain: (value) => contract.explain(value)
2627
2628
  };
2628
2629
  }
2629
2630
  /**