@mark1russell7/guidebook-preparedness 0.1.5 → 0.1.6
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 +4 -4
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +280 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
- package/src/data/rules.ts +1 -0
- package/src/data/steps.ts +45 -0
- package/src/index.ts +1 -1
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.1.
|
|
4
|
+
"version": "0.1.6",
|
|
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",
|
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." },
|
package/src/data/steps.ts
CHANGED
|
@@ -517,6 +517,51 @@ 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. */
|
package/src/index.ts
CHANGED
|
@@ -33,7 +33,7 @@ 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
38
|
/** The cuts of the content. A cut is a service that an event stops. These ids are a proposal until the stack model names them. */
|
|
39
39
|
export const CUTS = ["energy.grid", "water.main", "road.local", "telecom.network", "gas.main", "store.pharmacy"] as const;
|