@mark1russell7/guidebook-preparedness 0.1.6 → 0.2.1
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 +9 -9
- package/build/index.d.ts +2 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1236 -214
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/src/data/coverage.ts +26 -9
- package/src/data/gaps.ts +34 -12
- package/src/data/rules.ts +14 -9
- package/src/data/sources.ts +22 -0
- package/src/data/steps.ts +131 -4
- package/src/index.ts +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mark1russell7/guidebook-preparedness
|
|
2
2
|
|
|
3
|
-
The preparedness content of `@mark1russell7/guidebook`. It gives the steps of a household plan for 12 cases and
|
|
3
|
+
The preparedness content of `@mark1russell7/guidebook`. It gives the steps of a household plan for 12 cases and 12 cuts, in each phase of the time ladder. It also gives 40 topics to learn and a catalog of offline bundles.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
pnpm add @mark1russell7/guidebook @mark1russell7/guidebook-plans @mark1russell7/guidebook-preparedness
|
|
@@ -12,12 +12,12 @@ The core and the plans add-on name no topic. This package is the first topic.
|
|
|
12
12
|
|
|
13
13
|
| Name | What it is |
|
|
14
14
|
| --- | --- |
|
|
15
|
-
| `SOURCES` | The
|
|
15
|
+
| `SOURCES` | The 91 sources. The 84 sources of the steps are 71 pages of US federal agencies in the US public domain, 8 pages of the UK Government under the Open Government Licence v3.0, 3 pages of the Finnish 72 hours guidance and 2 pages of the Swedish civil defence agency. A step is a summary of its sources, not a quote. The 5 sources of the bundles are 4 open wikis and the Stack Exchange network, under CC BY-SA 4.0. The 2 sources of the media rates are reports of Backblaze. |
|
|
16
16
|
| `CASE_STEPS` | The steps of the 12 cases and of the 14 more cases |
|
|
17
|
-
| `CUT_STEPS` | The steps of the
|
|
17
|
+
| `CUT_STEPS` | The steps of the 12 cuts |
|
|
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
|
-
| `RULES` | The
|
|
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
|
| `CASES` | The codes of the 12 cases |
|
|
22
22
|
| `MORE_CASES` | The codes of 14 more cases, with the same gates |
|
|
23
23
|
| `CUTS` | The ids of the cuts |
|
|
@@ -37,7 +37,7 @@ The steps are full from `ready` to `P3`. `P4` and `P5` are an outline. Each cell
|
|
|
37
37
|
import { stepsFor, phaseOf } from "@mark1russell7/guidebook-plans";
|
|
38
38
|
import { STEPS } from "@mark1russell7/guidebook-preparedness";
|
|
39
39
|
|
|
40
|
-
const steps = stepsFor(STEPS, ["met.winter.storm", "
|
|
40
|
+
const steps = stepsFor(STEPS, ["met.winter.storm", "power.grid", "road.local"], [phaseOf(2 * 86_400)]);
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## The keys
|
|
@@ -50,13 +50,13 @@ The code `health.medical-emergency` is new in the taxonomy. A household starts t
|
|
|
50
50
|
|
|
51
51
|
An evacuation is a set of steps of the hurricane, the flood and the wildfire, not a case. The power outage and the water outage use the steps of their cuts.
|
|
52
52
|
|
|
53
|
-
The
|
|
53
|
+
The 14 more cases are `cbrne.hazardous-materials`, `cbrne.radiological`, `civic.ai-collapse`, `health.outbreak.pandemic`, `infra.supply-chain.food`, `infra.power.grid-collapse`, `cyber.infrastructure-attack`, `civic.economy.collapse`, `security.civil-unrest`, `cbrne.nuclear-detonation`, `security.nuclear-war`, `cbrne.emp`, `geo.space-weather.geomagnetic-storm` and `security.armed-conflict`. The case `civic.ai-collapse` is a collapse that AI causes. It includes a loss of jobs and income, fraud with cloned voices and false images, and attacks on accounts and homes. Its steps go from `ready` to `P5`.
|
|
54
54
|
|
|
55
|
-
The
|
|
55
|
+
The 12 cuts are the services that an event stops. Their ids are the ids of `SUPPLY_PARTS` in `@mark1russell7/stack-hazards`:
|
|
56
56
|
|
|
57
|
-
`
|
|
57
|
+
`power.grid`, `water.main`, `road.local`, `phone.network`, `network.access`, `gas.main`, `care.local`, `sewer.main`, `fuel.retail`, `food.retail`, `cash.retail`, `home.dwelling`.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Each part of `SUPPLY_PARTS` has its steps.
|
|
60
60
|
|
|
61
61
|
## The words
|
|
62
62
|
|
package/build/index.d.ts
CHANGED
|
@@ -54,8 +54,8 @@ export declare const CASES: readonly ["met.winter.storm", "met.tropical.hurrican
|
|
|
54
54
|
* The code `civic.ai-collapse` is new. The hazard catalog of `stack-hazards` gives its cuts.
|
|
55
55
|
*/
|
|
56
56
|
export declare const MORE_CASES: readonly ["cbrne.hazardous-materials", "cbrne.radiological", "civic.ai-collapse", "health.outbreak.pandemic", "infra.supply-chain.food", "infra.power.grid-collapse", "cyber.infrastructure-attack", "civic.economy.collapse", "security.civil-unrest", "cbrne.nuclear-detonation", "security.nuclear-war", "cbrne.emp", "geo.space-weather.geomagnetic-storm", "security.armed-conflict"];
|
|
57
|
-
/** The cuts of the content. A cut is a service that an event stops.
|
|
58
|
-
export declare const CUTS: readonly ["
|
|
57
|
+
/** The cuts of the content. A cut is a service that an event stops. The ids are the ids of `SUPPLY_PARTS` in `stack-hazards`. */
|
|
58
|
+
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
59
|
/** The need codes that the steps protect. */
|
|
60
60
|
export declare const NEEDS: readonly ["hydration.drink", "food.energy", "health.medicine", "power.electric"];
|
|
61
61
|
//# 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;;
|
|
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;;qBCHhB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBAkBtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;qBAM3F,sBAAsB;;;;;qBCftB;;;;;qBAmBA;;qBAGA;;qBAGA"}
|