@mark1russell7/guidebook-preparedness 0.3.1 → 0.5.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
@@ -18,8 +18,11 @@ The core and the plans add-on name no topic. This package is the first topic.
18
18
  | `STEPS` | All the steps |
19
19
  | `GAPS` | The marked gaps: each key and phase with no step on purpose, with the reason |
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
- | `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. |
21
+ | `MASTER` | The master chart for any disaster: 3 signals, 4 questions and 11 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
+ | `GRAPH` | The master graph `guidebook-graph/1`: the chart, the tabs and the hazard catalog, in one value for the binder and the app. |
24
+ | `HAZARDS`, `CATALOG_TAB` | The 26 rows of the hazard catalog: the signals, the entry node and the card of each case. The catalog has 8 pages. |
25
+ | `SOCIETY_KEY` | The key of the cut of all the services of society. Its steps are for a society with no service. |
23
26
  | `CASES` | The codes of the 12 cases |
24
27
  | `MORE_CASES` | The codes of 14 more cases, with the same gates |
25
28
  | `CUTS` | The ids of the cuts |
@@ -66,12 +69,16 @@ Each step is one instruction in Simplified Technical English, in the words of th
66
69
 
67
70
  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
71
 
72
+ 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.
73
+
69
74
  The test of the package applies these gates:
70
75
 
71
76
  - The source gate of the core, on the sources.
72
77
  - The step gate of the plans add-on, over all the keys and all the phases, with no unmarked gap.
73
78
  - The rules of `ste-lint` on the texts of the steps, the gaps, the rules and the chart.
74
79
  - The no-officials gate: no step, rule or chart text tells the reader to obey, wait for or follow officials.
80
+ - The no-society gate: each step after the start that names a service of society gives its states of society.
81
+ - Each key of the long-term tab has steps for a society with no service from 5 days to 5 years.
75
82
  - No plan of a case gives the same text two times.
76
83
 
77
84
  ## The topics and the bundles
package/build/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ChartNode, Gap, Rule, Step, Tab } from "@mark1russell7/guidebook-plans";
1
+ import { ChartNode, Gap, HazardRow, MasterGraph, Rule, Step, Tab } from "@mark1russell7/guidebook-plans";
2
2
  import { CitedUnit, Source } from "@mark1russell7/guidebook";
3
3
  import { Topic } from "@mark1russell7/guidebook-topics";
4
4
  import { Bundle, MediumKind } from "@mark1russell7/guidebook-library";
@@ -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[];
@@ -23,7 +26,9 @@ export declare const OPEN_CELLS: readonly string[];
23
26
  export declare const RULES: readonly Rule[];
24
27
  /** The tab of the chart itself. It is the entry of the binder, so no path of the chart goes to it. */
25
28
  export declare const START_TAB = "start";
26
- /** The nodes of the master chart: 3 signals, 5 questions and 12 ends. */
29
+ /** The tab of the hazard catalog. An end with a card sends the reader to the card of the event in it. */
30
+ export declare const CATALOG_TAB = "catalog";
31
+ /** The nodes of the master chart: 3 signals, 4 questions and 11 ends. */
27
32
  export declare const MASTER: readonly ChartNode[];
28
33
  /** The areas of the topics. */
29
34
  export declare const AREAS: readonly ["water", "food", "farming", "medicine", "sanitation", "shelter", "energy", "electronics", "metals", "tools", "chemistry", "communication"];
@@ -68,5 +73,11 @@ export declare const CUTS: readonly ["power.grid", "water.main", "road.local", "
68
73
  /** The need codes that the steps protect. */
69
74
  export declare const NEEDS: readonly ["hydration.drink", "food.energy", "health.medicine", "power.electric"];
70
75
  /** The tabs of the printed plan, in the sequence of the binder. The master chart sends the reader to them. */
76
+ /** 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. */
77
+ export declare const SOCIETY_KEY = "society.services";
71
78
  export declare const TABS: readonly Tab[];
79
+ /** The rows of the hazard catalog: for each case, its signals, its entry node and its card. */
80
+ export declare const HAZARDS: readonly HazardRow[];
81
+ /** The master graph: the one value that the printed binder and the app read. */
82
+ export declare const GRAPH: MasterGraph;
72
83
  //# 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;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;qBAW3F,sBAAsB;;;;;qBC7CtB;;;;;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;;qBCwBhB;;qBAGA;;qBAKA,iBAAiB;;qBCnCjB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;qBAW3F,sBAAsB;;;;;qBC1CtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}