@mark1russell7/guidebook-preparedness 0.1.5 → 0.2.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 +10 -10
- package/build/index.d.ts +3 -3
- package/build/index.d.ts.map +1 -1
- package/build/index.js +399 -45
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/src/data/coverage.ts +14 -9
- package/src/data/gaps.ts +18 -12
- package/src/data/rules.ts +10 -8
- package/src/data/steps.ts +55 -4
- package/src/index.ts +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/guidebook-preparedness",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0",
|
|
5
5
|
"description": "The preparedness content of the guidebook: cited sources, the steps and marked gaps of 12 cases and 6 cuts, 40 topics in 12 areas, and the catalog of offline bundles.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"guidebook",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@mark1russell7/guidebook": "0.1.1",
|
|
59
59
|
"@mark1russell7/guidebook-library": "0.1.1",
|
|
60
|
-
"@mark1russell7/guidebook-plans": "0.1.
|
|
60
|
+
"@mark1russell7/guidebook-plans": "0.1.3",
|
|
61
61
|
"@mark1russell7/guidebook-topics": "0.1.1"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
package/src/data/coverage.ts
CHANGED
|
@@ -32,21 +32,26 @@ export const OPEN_CELLS: readonly string[] = [
|
|
|
32
32
|
"cbrne.emp/P2",
|
|
33
33
|
"cbrne.emp/P3",
|
|
34
34
|
"geo.space-weather.geomagnetic-storm/P0",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"power.grid/P4",
|
|
36
|
+
"power.grid/P5",
|
|
37
37
|
"water.main/P4",
|
|
38
38
|
"water.main/P5",
|
|
39
39
|
"road.local/P0",
|
|
40
40
|
"road.local/P4",
|
|
41
41
|
"road.local/P5",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
42
|
+
"phone.network/P0",
|
|
43
|
+
"phone.network/P3",
|
|
44
|
+
"phone.network/P4",
|
|
45
|
+
"phone.network/P5",
|
|
46
|
+
"network.access/P0",
|
|
47
|
+
"network.access/P2",
|
|
48
|
+
"network.access/P3",
|
|
49
|
+
"network.access/P4",
|
|
50
|
+
"network.access/P5",
|
|
46
51
|
"gas.main/P3",
|
|
47
52
|
"gas.main/P4",
|
|
48
53
|
"gas.main/P5",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
54
|
+
"care.local/P0",
|
|
55
|
+
"care.local/P1",
|
|
56
|
+
"care.local/P5",
|
|
52
57
|
];
|
package/src/data/gaps.ts
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Gap } from "@mark1russell7/guidebook-plans";
|
|
4
4
|
|
|
5
|
-
const OF_GRID = "This case is the power cut itself. The steps of the cut `
|
|
5
|
+
const OF_GRID = "This case is the power cut itself. The steps of the cut `power.grid` apply.";
|
|
6
6
|
const OF_WATER = "This case is the water cut itself. The steps of the cut `water.main` apply.";
|
|
7
7
|
const NO_HOME_STEP = "The emergency team and the hospital give the care after the first minutes. The sources give no household step.";
|
|
8
8
|
|
|
9
|
-
const NO_EMP = "The sources give no household step for this phase of an EMP. The steps of the cuts `
|
|
9
|
+
const NO_EMP = "The sources give no household step for this phase of an EMP. The steps of the cuts `power.grid` and `phone.network` apply.";
|
|
10
10
|
const NO_LONG_STEP = "The sources give no step for a cut of this length. The steps of the earlier phases continue.";
|
|
11
11
|
|
|
12
12
|
/** The marked gaps of the cases and the cuts. */
|
|
@@ -30,26 +30,32 @@ export const GAPS: readonly Gap[] = [
|
|
|
30
30
|
{ on: "civic.economy.collapse", phase: "P1", why: "A financial collapse grows over days, not hours. The steps of the ready phase are the protection." },
|
|
31
31
|
{ on: "security.civil-unrest", phase: "warned", why: "No official household page read gives a step for a warning of unrest." },
|
|
32
32
|
{ on: "security.civil-unrest", phase: "P3", why: "No official household page read gives a step for unrest that continues for weeks." },
|
|
33
|
-
{ on: "
|
|
34
|
-
{ on: "
|
|
35
|
-
{ on: "
|
|
33
|
+
{ on: "power.grid", phase: "warned", why: "A power cut often comes with no warning. The warning steps of the case and of the network apply." },
|
|
34
|
+
{ on: "power.grid", phase: "P4", why: NO_LONG_STEP },
|
|
35
|
+
{ on: "power.grid", phase: "P5", why: NO_LONG_STEP },
|
|
36
36
|
{ on: "water.main", phase: "warned", why: "A break of a water main comes with no warning. The stored water of the ready phase is the protection." },
|
|
37
37
|
{ on: "water.main", phase: "P4", why: NO_LONG_STEP },
|
|
38
38
|
{ on: "water.main", phase: "P5", why: NO_LONG_STEP },
|
|
39
39
|
{ on: "road.local", phase: "P0", why: "A closed road does not change the first minutes at home. The steps of the case apply." },
|
|
40
40
|
{ on: "road.local", phase: "P4", why: NO_LONG_STEP },
|
|
41
41
|
{ on: "road.local", phase: "P5", why: NO_LONG_STEP },
|
|
42
|
-
{ on: "
|
|
43
|
-
{ on: "
|
|
44
|
-
{ on: "
|
|
45
|
-
{ on: "
|
|
42
|
+
{ on: "phone.network", phase: "P0", why: "A cut of the network does not change the first minutes. The steps of the case apply." },
|
|
43
|
+
{ on: "phone.network", phase: "P3", why: NO_LONG_STEP },
|
|
44
|
+
{ on: "phone.network", phase: "P4", why: NO_LONG_STEP },
|
|
45
|
+
{ on: "phone.network", phase: "P5", why: NO_LONG_STEP },
|
|
46
|
+
{ on: "network.access", phase: "warned", why: "A loss of the internet access often comes with no warning. The steps of `ready` are the protection." },
|
|
47
|
+
{ on: "network.access", phase: "P0", why: "A loss of the internet access does not change the first minutes. The steps of the case apply." },
|
|
48
|
+
{ on: "network.access", phase: "P2", why: NO_LONG_STEP },
|
|
49
|
+
{ on: "network.access", phase: "P3", why: NO_LONG_STEP },
|
|
50
|
+
{ on: "network.access", phase: "P4", why: NO_LONG_STEP },
|
|
51
|
+
{ on: "network.access", phase: "P5", why: NO_LONG_STEP },
|
|
46
52
|
{ on: "gas.main", phase: "warned", why: "A gas leak gives no warning before you smell it or hear it." },
|
|
47
53
|
{ on: "gas.main", phase: "P3", why: NO_LONG_STEP },
|
|
48
54
|
{ on: "gas.main", phase: "P4", why: NO_LONG_STEP },
|
|
49
55
|
{ on: "gas.main", phase: "P5", why: NO_LONG_STEP },
|
|
50
|
-
{ on: "
|
|
51
|
-
{ on: "
|
|
52
|
-
{ on: "
|
|
56
|
+
{ on: "care.local", phase: "P0", why: "A closed pharmacy does not change the first minutes. The steps of the case apply." },
|
|
57
|
+
{ on: "care.local", phase: "P1", why: "A closed pharmacy does not change the first hours. The medicines of the ready phase are the protection." },
|
|
58
|
+
{ on: "care.local", phase: "P5", why: NO_LONG_STEP },
|
|
53
59
|
{ on: "infra.power.outage", phase: "ready", why: OF_GRID },
|
|
54
60
|
{ on: "infra.power.outage", phase: "warned", why: OF_GRID },
|
|
55
61
|
{ on: "infra.power.outage", phase: "P0", why: OF_GRID },
|
package/src/data/rules.ts
CHANGED
|
@@ -19,6 +19,7 @@ export const RULES: readonly Rule[] = [
|
|
|
19
19
|
{ id: "reflex.radiation", kind: "reflex", rank: 5, on: ["cbrne.radiological"], target: { on: "cbrne.radiological", phases: ["warned", "P0"] }, sources: ["ready-radiation"], when: "Officials warn of a radiation emergency or a nuclear detonation.", then: "Get inside, stay inside and stay tuned." },
|
|
20
20
|
{ id: "reflex.flash", kind: "reflex", rank: 5, on: ["cbrne.nuclear-detonation"], target: { on: "cbrne.nuclear-detonation", phases: NOW }, sources: ["fema-nd-guide", "ready-radiation"], when: "You see a sudden, very bright flash of light.", then: "Take cover at once, away from windows. If you are outside, lie face down." },
|
|
21
21
|
{ id: "reflex.air-raid", kind: "reflex", rank: 5, on: ["security.nuclear-war"], target: { on: "security.nuclear-war", phases: ["warned", "P0"] }, sources: ["se-brochure-en"], when: "An air raid warning sounds.", then: "Take cover at once in the nearest shelter, cellar or room without windows." },
|
|
22
|
+
{ id: "reflex.armed-attack", kind: "reflex", rank: 5, on: ["security.armed-conflict"], target: { on: "security.armed-conflict", phases: NOW }, sources: ["se-brochure-en"], when: "There is shooting or an armed attack near you.", then: "Get far away. If you cannot, lock yourself in a room, and put your phone on silent." },
|
|
22
23
|
{ id: "reflex.chemical", kind: "reflex", rank: 6, on: ["cbrne.hazardous-materials"], target: { on: "cbrne.hazardous-materials", phases: NOW }, sources: ["ready-hazmat"], when: "Officials warn of a chemical release near you.", then: "Obey the officials: shelter in place, or leave." },
|
|
23
24
|
{ id: "reflex.tornado", kind: "reflex", rank: 7, on: ["met.tornado"], target: { on: "met.tornado", phases: ["warned", "P0"] }, sources: ["ready-tornadoes"], when: "A tornado warning comes.", then: "Go to your safe shelter immediately, away from windows, doors and outside walls." },
|
|
24
25
|
{ id: "reflex.earthquake", kind: "reflex", rank: 8, on: ["geo.earthquake"], target: { on: "geo.earthquake", phases: NOW }, sources: ["ready-earthquakes"], when: "The ground shakes.", then: "Drop to your hands and knees, cover your head and neck, and hold on." },
|
|
@@ -27,19 +28,20 @@ export const RULES: readonly Rule[] = [
|
|
|
27
28
|
{ id: "reflex.call", kind: "reflex", rank: 11, on: ["civic.ai-collapse"], target: { on: "civic.ai-collapse", phases: NOW }, sources: ["ftc-voice", "ic3-genai"], when: "A call or a message from family asks for money now.", then: "Hang up. Call the person back at a number that you know." },
|
|
28
29
|
|
|
29
30
|
// What is cut? Each rule goes to the module of a cut.
|
|
30
|
-
{ id: "module.power", kind: "module", rank: 1, on: ["
|
|
31
|
+
{ id: "module.power", kind: "module", rank: 1, on: ["power.grid"], target: { on: "power.grid", phases: FIRST_DAYS }, sources: ["ready-power"], when: "There is no power from the grid.", then: "Use the module: no power from the grid." },
|
|
31
32
|
{ id: "module.water", kind: "module", rank: 2, on: ["water.main"], target: { on: "water.main", phases: FIRST_DAYS }, sources: ["ready-water"], when: "There is no safe water from the main.", then: "Use the module: no water from the main." },
|
|
32
|
-
{ id: "module.phone", kind: "module", rank: 3, on: ["
|
|
33
|
+
{ id: "module.phone", kind: "module", rank: 3, on: ["phone.network"], target: { on: "phone.network", phases: FIRST_DAYS }, sources: ["ready-alerts"], when: "The phone network does not operate.", then: "Use the module: no phone network." },
|
|
34
|
+
{ id: "module.internet", kind: "module", rank: 3, on: ["network.access"], target: { on: "network.access", phases: FIRST_DAYS }, sources: ["ready-kit", "uk-ready"], when: "The internet does not operate.", then: "Use the module: no internet access." },
|
|
33
35
|
{ id: "module.gas", kind: "module", rank: 4, on: ["gas.main"], target: { on: "gas.main", phases: FIRST_DAYS }, sources: ["ready-safety"], when: "There is no gas from the main.", then: "Use the module: no gas from the main." },
|
|
34
36
|
{ id: "module.roads", kind: "module", rank: 5, on: ["road.local"], target: { on: "road.local", phases: FIRST_DAYS }, sources: ["ready-evacuation"], when: "The local roads are closed.", then: "Use the module: closed local roads." },
|
|
35
|
-
{ id: "module.pharmacy", kind: "module", rank: 6, on: ["
|
|
37
|
+
{ id: "module.pharmacy", kind: "module", rank: 6, on: ["care.local"], target: { on: "care.local", phases: ["ready", "warned", "P2", "P3"] }, sources: ["fda-drugs"], when: "The pharmacy is closed.", then: "Use the module: closed pharmacy." },
|
|
36
38
|
{ id: "module.food", kind: "module", rank: 7, on: ["infra.supply-chain.food"], target: { on: "infra.supply-chain.food", phases: FIRST_DAYS }, sources: ["ready-food", "ready-power"], when: "The shops have no food.", then: "Use your stored food, and the plan of a food supply failure." },
|
|
37
39
|
{ id: "module.money", kind: "module", rank: 8, on: ["civic.economy.collapse"], target: { on: "civic.economy.collapse", phases: FIRST_DAYS }, sources: ["ready-financial", "dol-ui"], when: "Cards, banks or your income stop.", then: "Use your cash, and the plan of a financial collapse." },
|
|
38
40
|
|
|
39
41
|
// When do I stay?
|
|
40
42
|
{ id: "stay.order", kind: "stay", rank: 1, on: [], target: { on: "cbrne.radiological", phases: ["warned", "P0"] }, sources: ["ready-shelter", "uk-hazards"], when: "Officials tell you to shelter in place, or to go in, stay in and tune in.", then: "Stay inside. Close the doors, the windows and the vents, and listen to the radio." },
|
|
41
43
|
{ id: "stay.air", kind: "stay", rank: 2, on: [], target: { on: "cbrne.hazardous-materials", phases: ["P1"] }, sources: ["ready-shelter"], when: "The air outside has much debris, or officials say that it is badly contaminated.", then: "Go to an inner room with few windows, and seal it." },
|
|
42
|
-
{ id: "stay.safe", kind: "stay", rank: 3, on: [], target: { on: "
|
|
44
|
+
{ id: "stay.safe", kind: "stay", rank: 3, on: [], target: { on: "power.grid", phases: FIRST_DAYS }, sources: ["uk-hazards", "ready-shelter"], when: "The officials give no order to leave, and the building has no obvious risk.", then: "Stay where you are, and use your supplies." },
|
|
43
45
|
|
|
44
46
|
// When do I go?
|
|
45
47
|
{ id: "go.order", kind: "go", rank: 1, on: [], target: { on: "met.tropical.hurricane", phases: NOW }, sources: ["uk-hazards", "ready-evacuation"], when: "Officials tell you to leave.", then: "Leave immediately. A delay can put your life at risk." },
|
|
@@ -47,13 +49,13 @@ export const RULES: readonly Rule[] = [
|
|
|
47
49
|
{ id: "go.early", kind: "go", rank: 3, on: [], target: { on: "met.tropical.hurricane", phases: ["warned"] }, sources: ["ready-evacuation"], when: "A storm comes, and an evacuation seems likely.", then: "Leave early, so that the weather does not trap you." },
|
|
48
50
|
|
|
49
51
|
// When do I go to a fallback place?
|
|
50
|
-
{ id: "fallback.heat-cold", kind: "fallback", rank: 1, on: ["
|
|
52
|
+
{ id: "fallback.heat-cold", kind: "fallback", rank: 1, on: ["power.grid"], target: { on: "power.grid", phases: ["P2"] }, sources: ["ready-power"], when: "There is no power, and the heat or the cold is extreme.", then: "Go to a community place with power. Ask the officials which places are open." },
|
|
51
53
|
{ id: "fallback.home", kind: "fallback", rank: 2, on: [], target: { on: "met.tropical.hurricane", phases: ["ready"] }, sources: ["ready-evacuation", "ready-shelter"], when: "You cannot stay at home or go back to it.", then: "Go to a fallback place of your plan. To find an open shelter, text SHELTER and your ZIP code to 43362." },
|
|
52
54
|
|
|
53
55
|
// When do I change to the long plan?
|
|
54
|
-
{ id: "long.fridge", kind: "long-plan", rank: 1, on: ["
|
|
55
|
-
{ id: "long.medicine", kind: "long-plan", rank: 2, on: ["
|
|
56
|
-
{ id: "long.days", kind: "long-plan", rank: 3, on: [], target: { on: "
|
|
56
|
+
{ id: "long.fridge", kind: "long-plan", rank: 1, on: ["power.grid", "food.energy"], target: { on: "power.grid", phases: ["P2"] }, sources: ["ready-power", "ready-food"], when: "The power is off for more than 4 hours.", then: "Use the steps of P2. Discard food that was above 40 °F for 2 hours." },
|
|
57
|
+
{ id: "long.medicine", kind: "long-plan", rank: 2, on: ["power.grid", "health.medicine"], target: { on: "power.grid", phases: ["P2", "P3"] }, sources: ["ready-power"], when: "The power is off for more than 1 day, and a medicine needs a refrigerator.", then: "Speak to your doctor or pharmacist immediately to get a new supply." },
|
|
58
|
+
{ id: "long.days", kind: "long-plan", rank: 3, on: [], target: { on: "power.grid", phases: ["P3"] }, sources: ["uk-ready"], when: "A cut continues past 3 days.", then: "Use the steps of P3 of each cut, and of the case." },
|
|
57
59
|
{ id: "long.income", kind: "long-plan", rank: 4, on: ["civic.economy.collapse"], target: { on: "civic.economy.collapse", phases: ["P2", "P3"] }, sources: ["dol-ui"], when: "You lose your job or your income.", then: "File an unemployment claim immediately, and use the plan of a financial collapse." },
|
|
58
60
|
{ id: "long.pandemic", kind: "long-plan", rank: 5, on: ["health.outbreak.pandemic"], target: { on: "health.outbreak.pandemic", phases: ["warned", "P1", "P2"] }, sources: ["ready-pandemic"], when: "Officials say that a pandemic spreads in your community.", then: "Stay at home as much as possible, and use the plan of a pandemic." },
|
|
59
61
|
];
|
package/src/data/steps.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// The steps of the 12 cases of v1, the 2 more cases and the
|
|
1
|
+
// The steps of the 12 cases of v1, the 2 more cases and the 7 cuts. Each step is in the words of the guidebook, and each step cites the page that tells it.
|
|
2
2
|
// The steps are full from `ready` to `P3`. `P4` and `P5` are an outline. Each cell with no step has a marked gap in `gaps.ts`.
|
|
3
3
|
|
|
4
4
|
import type { Phase, Step } from "@mark1russell7/guidebook-plans";
|
|
@@ -517,11 +517,56 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
517
517
|
["P4", "transformer-months", "If officials report damaged transformers, plan for power repairs that take several months.", ["uk-nrr-2025","swpc-scales"]],
|
|
518
518
|
...RECOVERY,
|
|
519
519
|
]),
|
|
520
|
+
...stepsOf("security.armed-conflict", [
|
|
521
|
+
["ready", "one-week", "Prepare to manage at home on your own for at least 1 week.", ["se-brochure-en"], [DRINK, FOOD]],
|
|
522
|
+
["ready", "water", "Store at least 3 liters of water for each person for each day, in a dark and cool place.", ["se-brochure-en"], [DRINK]],
|
|
523
|
+
["ready", "medicine", "If you need prescription medicines, keep a supply for 1 month at home.", ["se-brochure-en"], [MEDICINE]],
|
|
524
|
+
["ready", "cash", "Keep some cash at home in different notes, and other ways to pay.", ["se-brochure-en"]],
|
|
525
|
+
["ready", "radio", "Keep a radio that works on batteries, solar power or a hand crank. Keep extra batteries.", ["se-brochure-en"]],
|
|
526
|
+
["ready", "signals", "Learn the warning signals of your area, including the air raid warning and the all clear signal.", ["se-brochure-en"]],
|
|
527
|
+
["ready", "shelters", "Find civil defence shelters or other protective places near your home, school and workplace.", ["se-shelters","se-brochure-en"]],
|
|
528
|
+
["ready", "first-aid", "Do a course in emergency CPR, and learn how to stop severe bleeding.", ["se-brochure-en"]],
|
|
529
|
+
["warned", "alarm-radio", "At an emergency alarm, go indoors and listen to the official emergency radio station.", ["se-brochure-en"]],
|
|
530
|
+
["warned", "posting", "If you have a wartime posting, go to it immediately. If not, go to work as usual.", ["se-brochure-en"]],
|
|
531
|
+
["warned", "evac-list", "Make a list of the items that you must take if you evacuate quickly.", ["se-brochure-en"]],
|
|
532
|
+
["warned", "special-help", "If a person needs special help, plan their transport to a shelter with family, neighbours or carers.", ["se-brochure-en"]],
|
|
533
|
+
["warned", "pets", "Keep food, water and medicines for your pets for at least 1 week.", ["se-brochure-en"]],
|
|
534
|
+
["P0", "air-raid", "At an air raid warning, take cover at once in the nearest shelter, cellar or other protective place.", ["se-brochure-en"]],
|
|
535
|
+
["P0", "no-windows", "If no shelter is near, stay indoors in a room without windows.", ["se-brochure-en"]],
|
|
536
|
+
["P0", "lie-down", "If you are outside with no time to take cover, lie down on the ground, in a pit or ditch.", ["se-brochure-en"]],
|
|
537
|
+
["P0", "run-hide", "In an armed attack near you, get far away. If you cannot, lock yourself in a room.", ["se-brochure-en"]],
|
|
538
|
+
["P0", "silent", "When you hide, put your phone on silent. Call the emergency number to report what happened.", ["se-brochure-en"]],
|
|
539
|
+
["P0", "no-call", "Do not call a person who is in danger. The call can show where the person hides.", ["se-brochure-en"]],
|
|
540
|
+
["P1", "bleeding", "To stop severe bleeding, push hard on the wound with a cloth. Keep the pressure until paramedics arrive.", ["se-brochure-en"]],
|
|
541
|
+
["P1", "all-clear", "After the all clear signal, help people who are injured or trapped.", ["se-brochure-en"]],
|
|
542
|
+
["P1", "calls", "Call only to ask for help, so that the network does not overload.", ["se-brochure-en"]],
|
|
543
|
+
["P1", "officials", "Obey the instructions of the police, the rescue services and the officials.", ["se-brochure-en"]],
|
|
544
|
+
["P1", "rumours", "Do not spread rumours or information that nobody has verified.", ["se-brochure-en"]],
|
|
545
|
+
["P1", "verify", "Be careful with content that causes a strong reaction. Check serious news with official sources.", ["se-brochure-en"]],
|
|
546
|
+
["P2", "shelter-days", "Be ready to stay in a shelter for a few days. If there is time, take food, warm clothes and toiletries.", ["se-brochure-en"]],
|
|
547
|
+
["P2", "evacuate", "If officials order an evacuation, follow the instructions that they give on the radio.", ["se-brochure-en"]],
|
|
548
|
+
["P2", "evac-bag", "For an evacuation, take food and water for a few days, ID, cash, medicines, warm clothes and a map.", ["se-brochure-en"], [DRINK, FOOD, MEDICINE]],
|
|
549
|
+
["P2", "cold", "If the power stops in winter, stay together in one room. Hang blankets over the windows.", ["se-brochure-en"]],
|
|
550
|
+
["P2", "heater", "With a gas or paraffin heater, open a window for air. Turn off the heater before you sleep.", ["se-brochure-en"]],
|
|
551
|
+
["P2", "toilet", "If the toilet does not flush, put a plastic bag in the bowl. Cover the waste with sawdust or litter.", ["se-brochure-en"]],
|
|
552
|
+
["P2", "pets-left", "If you must leave a pet at home, leave extra food and water for it.", ["se-brochure-en"]],
|
|
553
|
+
["P3", "share", "Share supplies with your neighbours where you can. In a war, all people must help each other.", ["se-brochure-en"]],
|
|
554
|
+
["P3", "boil", "If you are not sure that water is safe, boil it until it bubbles strongly.", ["se-brochure-en"], [DRINK]],
|
|
555
|
+
["P3", "grow", "Grow food in a garden, on a balcony or on a windowsill. Use the fruits and berries near you.", ["se-brochure-en"], [FOOD]],
|
|
556
|
+
["P3", "worry", "Talk about your worries with family, friends or neighbours. Limit the news that you read.", ["se-brochure-en"]],
|
|
557
|
+
["P3", "children", "Explain the situation to children with only verified information. Be honest when you do not know.", ["se-brochure-en"]],
|
|
558
|
+
["P3", "updates", "Install security updates immediately, and make backups of important information.", ["se-brochure-en"]],
|
|
559
|
+
["P4", "anxiety", "If you have severe anxiety, get help from a health professional.", ["se-brochure-en"]],
|
|
560
|
+
["P4", "help-prepare", "Help other people to prepare. This can give you a sense of purpose.", ["se-brochure-en"]],
|
|
561
|
+
["P4", "volunteer", "Join a voluntary defence organisation, or give blood if you can.", ["se-brochure-en"]],
|
|
562
|
+
["P5", "join-recovery", "Take part in the recovery plans of your community. Recovery can take years.", ["uk-nrr-2025"]],
|
|
563
|
+
...RECOVERY,
|
|
564
|
+
]),
|
|
520
565
|
];
|
|
521
566
|
|
|
522
567
|
/** 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. */
|
|
523
568
|
export const CUT_STEPS: readonly Step[] = [
|
|
524
|
-
...stepsOf("
|
|
569
|
+
...stepsOf("power.grid", [
|
|
525
570
|
["ready", "list", "Make a list of the items that need electricity, and plan batteries or a power bank for them.", ["ready-power"], [POWER]],
|
|
526
571
|
["ready", "flashlights", "Keep a flashlight for each person in the household.", ["ready-power"]],
|
|
527
572
|
["ready", "co-alarms", "Put carbon monoxide alarms with battery backup on each level of the house.", ["ready-power", "cdc-co"]],
|
|
@@ -565,7 +610,7 @@ export const CUT_STEPS: readonly Step[] = [
|
|
|
565
610
|
["P2", "officials", "Before you travel, speak to the local officials.", ["ready-evacuation"]],
|
|
566
611
|
["P3", "trip", "Before a trip, fill the fuel tank, and take water and non-perishable food for the ride.", ["ready-evacuation"], [DRINK, FOOD]],
|
|
567
612
|
]),
|
|
568
|
-
...stepsOf("
|
|
613
|
+
...stepsOf("phone.network", [
|
|
569
614
|
["ready", "radio", "Keep a radio with batteries or a hand crank, and a NOAA Weather Radio with a tone alert.", ["ready-kit"]],
|
|
570
615
|
["ready", "home-phone", "Learn if your home phone works with no power, and for how long its battery lasts.", ["ready-power"]],
|
|
571
616
|
["ready", "contact", "Make a communication plan with a contact outside the state and a meeting place.", ["ready-earthquakes"]],
|
|
@@ -574,6 +619,12 @@ export const CUT_STEPS: readonly Step[] = [
|
|
|
574
619
|
["P1", "calls", "Make phone calls only for emergencies.", ["ready-tornadoes", "ready-hurricanes"]],
|
|
575
620
|
["P2", "news", "Listen to the local news on a radio with batteries.", ["ready-earthquakes"]],
|
|
576
621
|
]),
|
|
622
|
+
...stepsOf("network.access", [
|
|
623
|
+
["ready", "radio", "Keep a radio with batteries or a hand crank, so that news comes without the internet.", ["ready-kit"]],
|
|
624
|
+
["ready", "paper", "Keep on paper the addresses, the phone numbers and the documents that you keep online.", ["uk-ready"]],
|
|
625
|
+
["ready", "backup", "Make backups of important information on an external drive or a USB drive.", ["se-brochure-en"]],
|
|
626
|
+
["P1", "news", "With no internet, get the news and the instructions of officials from a local radio station.", ["ready-earthquakes"]],
|
|
627
|
+
]),
|
|
577
628
|
...stepsOf("gas.main", [
|
|
578
629
|
["ready", "meter", "Ask your gas company how to turn off the gas at your meter, and teach your household.", ["ready-safety"]],
|
|
579
630
|
["ready", "practice", "Do not turn off the gas when you practice.", ["ready-safety"]],
|
|
@@ -583,7 +634,7 @@ export const CUT_STEPS: readonly Step[] = [
|
|
|
583
634
|
["P1", "restore", "Do not turn the gas on again yourself. Only a qualified professional can do this.", ["ready-safety"]],
|
|
584
635
|
["P2", "indoors", "Do not use a camp stove or charcoal indoors at any time.", ["cdc-co"]],
|
|
585
636
|
]),
|
|
586
|
-
...stepsOf("
|
|
637
|
+
...stepsOf("care.local", [
|
|
587
638
|
["ready", "list", "Keep a current list of your medicines: the name, the strength, the dose, the time and your allergies.", ["fda-drugs"], [MEDICINE]],
|
|
588
639
|
["ready", "copies", "Keep a copy of your prescriptions with the emergency supplies.", ["fda-drugs"], [MEDICINE]],
|
|
589
640
|
["ready", "watertight", "Store medicines in watertight containers, in a place that flood water cannot reach.", ["fda-drugs"], [MEDICINE]],
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// The preparedness content of the guidebook: the sources, the steps and the marked gaps of 12 cases and
|
|
1
|
+
// The preparedness content of the guidebook: the sources, the steps and the marked gaps of 12 cases and 7 cuts,
|
|
2
2
|
// the topics of 12 areas, and the catalog of offline bundles.
|
|
3
3
|
|
|
4
4
|
export { CHECKED, SOURCES } from "./data/sources.ts";
|
|
@@ -33,10 +33,10 @@ export const CASES = [
|
|
|
33
33
|
* The cases past v1. Their steps have the same gates as the steps of `CASES`.
|
|
34
34
|
* The code `civic.ai-collapse` is new. The hazard catalog of `stack-hazards` gives its cuts.
|
|
35
35
|
*/
|
|
36
|
-
export const MORE_CASES = ["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"] as const;
|
|
36
|
+
export const MORE_CASES = ["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"] as const;
|
|
37
37
|
|
|
38
|
-
/** The cuts of the content. A cut is a service that an event stops.
|
|
39
|
-
export const CUTS = ["
|
|
38
|
+
/** 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`. */
|
|
39
|
+
export const CUTS = ["power.grid", "water.main", "road.local", "phone.network", "network.access", "gas.main", "care.local"] as const;
|
|
40
40
|
|
|
41
41
|
/** The need codes that the steps protect. */
|
|
42
42
|
export const NEEDS = ["hydration.drink", "food.energy", "health.medicine", "power.electric"] as const;
|