@mark1russell7/guidebook-preparedness 0.2.2 → 0.3.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 +6 -1
- package/build/index.d.ts +7 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +560 -148
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/data/chart.ts +95 -0
- package/src/data/rules.ts +11 -11
- package/src/data/steps.ts +67 -67
- package/src/index.ts +6 -0
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ 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. |
|
|
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. |
|
|
21
23
|
| `CASES` | The codes of the 12 cases |
|
|
22
24
|
| `MORE_CASES` | The codes of 14 more cases, with the same gates |
|
|
23
25
|
| `CUTS` | The ids of the cuts |
|
|
@@ -62,11 +64,14 @@ Each part of `SUPPLY_PARTS` has its steps.
|
|
|
62
64
|
|
|
63
65
|
Each step is one instruction in Simplified Technical English, in the words of the guidebook. It is a summary of its sources, not a quote. Each step cites one or more pages that tell the action.
|
|
64
66
|
|
|
67
|
+
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
|
+
|
|
65
69
|
The test of the package applies these gates:
|
|
66
70
|
|
|
67
71
|
- The source gate of the core, on the sources.
|
|
68
72
|
- The step gate of the plans add-on, over all the keys and all the phases, with no unmarked gap.
|
|
69
|
-
- The rules of `ste-lint` on the
|
|
73
|
+
- The rules of `ste-lint` on the texts of the steps, the gaps, the rules and the chart.
|
|
74
|
+
- The no-officials gate: no step, rule or chart text tells the reader to obey, wait for or follow officials.
|
|
70
75
|
- No plan of a case gives the same text two times.
|
|
71
76
|
|
|
72
77
|
## The topics and the bundles
|
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ChartNode, Gap, Rule, Step, Tab } from "@mark1russell7/guidebook-plans";
|
|
1
2
|
import { CitedUnit, Source } from "@mark1russell7/guidebook";
|
|
2
|
-
import { Gap, Rule, Step } from "@mark1russell7/guidebook-plans";
|
|
3
3
|
import { Topic } from "@mark1russell7/guidebook-topics";
|
|
4
4
|
import { Bundle, MediumKind } from "@mark1russell7/guidebook-library";
|
|
5
5
|
/** The date of the last check of the sources against their pages. */
|
|
@@ -21,6 +21,10 @@ export declare const GAPS: readonly Gap[];
|
|
|
21
21
|
export declare const OPEN_CELLS: readonly string[];
|
|
22
22
|
/** The trigger rules of the decision chart, by kind and rank. */
|
|
23
23
|
export declare const RULES: readonly Rule[];
|
|
24
|
+
/** The tab of the chart itself. It is the entry of the binder, so no path of the chart goes to it. */
|
|
25
|
+
export declare const START_TAB = "start";
|
|
26
|
+
/** The nodes of the master chart: 3 signals, 5 questions and 12 ends. */
|
|
27
|
+
export declare const MASTER: readonly ChartNode[];
|
|
24
28
|
/** The areas of the topics. */
|
|
25
29
|
export declare const AREAS: readonly ["water", "food", "farming", "medicine", "sanitation", "shelter", "energy", "electronics", "metals", "tools", "chemistry", "communication"];
|
|
26
30
|
/** The topics of the content. `printOrder` of the topics add-on gives the sequence of the book. */
|
|
@@ -58,4 +62,6 @@ export declare const MORE_CASES: readonly ["cbrne.hazardous-materials", "cbrne.r
|
|
|
58
62
|
export declare const CUTS: readonly ["power.grid", "water.main", "road.local", "phone.network", "network.access", "gas.main", "care.local", "sewer.main", "fuel.retail", "food.retail", "cash.retail", "home.dwelling"];
|
|
59
63
|
/** The need codes that the steps protect. */
|
|
60
64
|
export declare const NEEDS: readonly ["hydration.drink", "food.energy", "health.medicine", "power.electric"];
|
|
65
|
+
/** The tabs of the printed plan, in the sequence of the binder. The master chart sends the reader to them. */
|
|
66
|
+
export declare const TABS: readonly Tab[];
|
|
61
67
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -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/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;;
|
|
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"}
|