@mark1russell7/guidebook-preparedness 0.3.0 → 0.4.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/README.md CHANGED
@@ -20,6 +20,7 @@ The core and the plans add-on name no topic. This package is the first topic.
20
20
  | `RULES` | The 41 trigger rules of the decision chart. Each rule cites its sources and sends the reader to the steps of a key. |
21
21
  | `MASTER` | The master chart for any disaster: 3 signals, 5 questions and 12 ends. Each path has at most 2 questions. No answer waits for officials. |
22
22
  | `TABS`, `START_TAB` | The 13 tabs of the printed plan, each with its keys, its phases and its page budget. The chart is the start tab. |
23
+ | `SOCIETY_KEY` | The key of the cut of all the services of society. Its steps are for a society with no service. |
23
24
  | `CASES` | The codes of the 12 cases |
24
25
  | `MORE_CASES` | The codes of 14 more cases, with the same gates |
25
26
  | `CUTS` | The ids of the cuts |
@@ -66,12 +67,16 @@ Each step is one instruction in Simplified Technical English, in the words of th
66
67
 
67
68
  No step waits for officials. The trigger of a step is a fact at the place of the reader: water, fire, smoke, a cloud, a dose rate. A broadcast is one input of these facts. A step that changes the trigger of its source gives its `reasoning`.
68
69
 
70
+ A step gives its `society` when it is only for some states of society. The long-term tab has the steps of each cut for a society with no service, by need. A case keeps only the facts unique to it.
71
+
69
72
  The test of the package applies these gates:
70
73
 
71
74
  - The source gate of the core, on the sources.
72
75
  - The step gate of the plans add-on, over all the keys and all the phases, with no unmarked gap.
73
76
  - The rules of `ste-lint` on the texts of the steps, the gaps, the rules and the chart.
74
77
  - The no-officials gate: no step, rule or chart text tells the reader to obey, wait for or follow officials.
78
+ - The no-society gate: each step after the start that names a service of society gives its states of society.
79
+ - Each key of the long-term tab has steps for a society with no service from 5 days to 5 years.
75
80
  - No plan of a case gives the same text two times.
76
81
 
77
82
  ## The topics and the bundles
package/build/index.d.ts CHANGED
@@ -8,7 +8,10 @@ export declare const CHECKED = "2026-11-21";
8
8
  export declare const SOURCES: readonly Source[];
9
9
  /** The steps of the cases. A case is a kind of event. */
10
10
  export declare const CASE_STEPS: readonly Step[];
11
- /** The steps of the cuts. A cut is a service that an event stops. A plan of a case adds the steps of its cuts. */
11
+ /**
12
+ * The steps of the cuts. A cut is a service that an event stops. A plan of a case adds the steps of its cuts.
13
+ * The last key, `society.services`, is the cut of all the services of society. It is for a society where no service operates.
14
+ */
12
15
  export declare const CUT_STEPS: readonly Step[];
13
16
  /** All the steps of the content. */
14
17
  export declare const STEPS: readonly Step[];
@@ -46,7 +49,12 @@ export declare const MEDIUM_LOSSES: Readonly<Partial<Record<MediumKind, {
46
49
  readonly yearlyLoss: number;
47
50
  readonly unit: string;
48
51
  }>>>;
49
- /** The kinds with no cited rate. A plan of copies cannot use them until a source gives a rate. */
52
+ /**
53
+ * The kinds with no cited rate. A plan of copies cannot use them until a source gives a rate.
54
+ * - `optical`: the study of NIST and the Library of Congress gives a time to 5% failure, not a yearly rate. The units `media.optical.*` give its facts.
55
+ * An aging disc fails more frequently when it is old, so a constant yearly rate from that time is not a safe bound.
56
+ * - `flash` and `paper`: no open source with a rate was found on 2026-11-22.
57
+ */
50
58
  export declare const MEDIUM_GAPS: readonly MediumKind[];
51
59
  /**
52
60
  * The 12 cases of v1. A case is a kind of event. The codes come from the event taxonomy of the alerts project.
@@ -63,5 +71,7 @@ export declare const CUTS: readonly ["power.grid", "water.main", "road.local", "
63
71
  /** The need codes that the steps protect. */
64
72
  export declare const NEEDS: readonly ["hydration.drink", "food.energy", "health.medicine", "power.electric"];
65
73
  /** The tabs of the printed plan, in the sequence of the binder. The master chart sends the reader to them. */
74
+ /** The key of the cut of all the services of society: help, shops, care and the law. Its steps are for a society with no service. */
75
+ export declare const SOCIETY_KEY = "society.services";
66
76
  export declare const TABS: readonly Tab[];
67
77
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBCyClB,qBAAqB;;qBAkgBrB,oBAAoB;;qBA6MpB,gBAAgB;;qBCxvBhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCsBhB;;qBAKA,iBAAiB;;qBC9BjB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBAkBtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;qBAM3F,sBAAsB;;;;;qBCZtB;;;;;qBAmBA;;qBAGA;;qBAGA;;qBAGA,eAAe"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../src/data/sources.ts","../src/data/steps.ts","../src/data/gaps.ts","../src/data/coverage.ts","../src/data/rules.ts","../src/data/chart.ts","../src/data/topics.ts","../src/data/bundles.ts","../src/data/media.ts","../src/index.ts"],"mappings":";;;;;qBAOa;;qBAKA,kBAAkB;;qBC6DlB,qBAAqB;;;;;qBA8gBrB,oBAAoB;;qBA2RpB,gBAAgB;;qBCt2BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCuBhB;;qBAKA,iBAAiB;;qBC/BjB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;qBAW3F,sBAAsB;;;;;qBC7CtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe"}