@re-cinq/floor-contracts 0.6.2 → 0.7.0

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.
@@ -50,6 +50,8 @@ export interface LineEdge {
50
50
  to: string;
51
51
  on: string;
52
52
  iterationMax?: number;
53
+ /** How many times a run may take this edge without a person acting. */
54
+ unattendedMax?: number;
53
55
  }
54
56
  export interface LineBody {
55
57
  entry: string;
@@ -74,6 +76,8 @@ export interface NeedSpec {
74
76
  optional?: boolean;
75
77
  /** `value` needs only: the name of an item the body of a fan-out produces. The need is filled with a JSON array of what each branch of the latest fan-out produced under it, in branch order. */
76
78
  collect?: string;
79
+ /** The need is filled only by an item produced since a person last acted. */
80
+ fresh?: boolean;
77
81
  }
78
82
  export interface ProduceSpec {
79
83
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@re-cinq/floor-contracts",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "The floor's wire, as types: what its HTTP routes and its live socket take and answer, and nothing else. No runtime, no dependencies.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {