fwdloop 0.13.0 → 0.14.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.
package/types/setup.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The rows of a draft's record, oldest first. `sessionDir` is the panel's draft folder (card.json, draft/, note-<n>.txt, draft-<n>/); a CLI
2
+ * The rows of a draft's record, oldest first. `sessionDir` is the panel's draft folder (card.json, draft/, card-<n>.json, draft-<n>/); a CLI
3
3
  * draft has none, so its record is its one plan folder (`planDir`, read as `draft`) plus the sign.
4
4
  * @param {{ sessionDir?: string, planDir: string, hash: string, signedBy: string, signedAt: string, flowHash?: string }} a
5
5
  */
@@ -28,19 +28,10 @@ export function buildSetupRows({ sessionDir, planDir, hash, signedBy, signedAt,
28
28
  n: number;
29
29
  at: string | null;
30
30
  card: any;
31
- text?: undefined;
32
- signedBy?: undefined;
33
- hash?: undefined;
34
- flowHash?: undefined;
35
- } | {
36
- kind: string;
37
- n: number;
38
- at: string | null;
39
- text: string;
40
- card?: undefined;
41
31
  signedBy?: undefined;
42
32
  hash?: undefined;
43
33
  flowHash?: undefined;
34
+ notChecked?: undefined;
44
35
  } | {
45
36
  kind: string;
46
37
  n: number;
@@ -48,8 +39,11 @@ export function buildSetupRows({ sessionDir, planDir, hash, signedBy, signedAt,
48
39
  signedBy: string;
49
40
  hash: string;
50
41
  flowHash: string | null;
42
+ notChecked: {
43
+ label: string;
44
+ items: any[];
45
+ };
51
46
  card?: undefined;
52
- text?: undefined;
53
47
  })[];
54
48
  /**
55
49
  * Write `<flowDir>/setup.jsonl` ONCE ('wx': a second write is refused, never merged or replaced), mode 0600, every row scrubbed of the