@mark1russell7/guidebook-preparedness 0.5.1 → 0.7.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,10 +18,10 @@ 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, 4 questions and 11 ends. Each path has at most 2 questions. No answer waits for officials. |
21
+ | `MASTER` | The master chart for any disaster: 4 signals, 5 questions and 13 ends. Each path has at most 3 questions before its first end. Each walk then goes on to society and the needs. 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. |
23
+ | `GRAPH` | The master graph `guidebook-graph/2`: 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 15 pages. |
25
25
  | `SOCIETY_KEY` | The key of the cut of all the services of society. Its steps are for a society with no service. |
26
26
  | `CASES` | The codes of the 12 cases |
27
27
  | `MORE_CASES` | The codes of 14 more cases, with the same gates |
@@ -34,7 +34,8 @@ The core and the plans add-on name no topic. This package is the first topic.
34
34
  | `BUNDLES_CHECKED` | The date of the last read of the Kiwix catalog |
35
35
  | `MEDIA_UNITS` | The cited fact units of the loss rates of the media |
36
36
  | `MEDIUM_LOSSES` | The yearly loss of each kind of medium with a cited rate: hard drives and SSDs |
37
- | `MEDIUM_GAPS` | The kinds of medium with no cited rate: flash, optical and paper |
37
+ | `MEDIUM_LIVES` | The cited life of each type of medium at a quantile: CD-R, 30 years to 5% failure |
38
+ | `MEDIUM_GAPS` | The kinds of medium with no cited rate and no cited life: flash and paper |
38
39
 
39
40
  The steps are full from `ready` to `P3`. `P4` and `P5` are an outline. Each cell of the matrix has a step or a marked gap.
40
41
 
package/build/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
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
- import { Bundle, MediumKind } from "@mark1russell7/guidebook-library";
4
+ import { Bundle, MediumKind, MediumLife } from "@mark1russell7/guidebook-library";
5
5
  /** The date of the last check of the sources against their pages. */
6
6
  export declare const CHECKED = "2026-11-21";
7
7
  /** The sources of the content, each with its id, its title, its address and the date of its last check. */
@@ -28,7 +28,10 @@ export declare const RULES: readonly Rule[];
28
28
  export declare const START_TAB = "start";
29
29
  /** The tab of the hazard catalog. An end with a card sends the reader to the card of the event in it. */
30
30
  export declare const CATALOG_TAB = "catalog";
31
- /** The nodes of the master chart: 3 signals, 4 questions and 11 ends. */
31
+ /**
32
+ * The nodes of the master chart: 4 signals, 5 questions and 13 ends.
33
+ * The ends of the first questions lead on, so each walk also reaches the question of society and the needs.
34
+ */
32
35
  export declare const MASTER: readonly ChartNode[];
33
36
  /** The areas of the topics. */
34
37
  export declare const AREAS: readonly ["water", "food", "farming", "medicine", "sanitation", "shelter", "energy", "electronics", "metals", "tools", "chemistry", "communication"];
@@ -52,10 +55,20 @@ export declare const MEDIUM_LOSSES: Readonly<Partial<Record<MediumKind, {
52
55
  readonly unit: string;
53
56
  }>>>;
54
57
  /**
55
- * The kinds with no cited rate. A plan of copies cannot use them until a source gives a rate.
56
- * - `optical`: the study of NIST and the Library of Congress gives a time to 5% failure, not a yearly rate. The units `media.optical.*` give its facts.
57
- * An aging disc fails more frequently when it is old, so a constant yearly rate from that time is not a safe bound.
58
- * - `flash` and `paper`: no open source with a rate was found on 2026-11-22.
58
+ * The cited life of each type of medium with a life at a quantile, and the unit of the life.
59
+ * A disc fails more frequently when it is old, so the plan uses the life, not a yearly rate. Give it to `MediumOffer.life` and `Copy.life`.
60
+ * - `cd-r`: each of the 7 CD-R products of the study had a time to 5% failure of more than 30 years.
61
+ * - A recordable DVD has no life here. 2 of the 15 DVD products had less than 15 years, so the study gives no bound for an unknown product.
62
+ * The life holds only at 25 °C and 50% RH, away from light (the unit `media.optical.limits`).
63
+ */
64
+ export declare const MEDIUM_LIVES: Readonly<Record<string, {
65
+ readonly kind: MediumKind;
66
+ readonly life: MediumLife;
67
+ readonly unit: string;
68
+ }>>;
69
+ /**
70
+ * The kinds with no cited rate and no cited life. A plan of copies cannot use them until a source gives one.
71
+ * `flash` and `paper`: no open source with a rate was found on 2026-11-22.
59
72
  */
60
73
  export declare const MEDIUM_GAPS: readonly MediumKind[];
61
74
  /**
@@ -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;;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"}
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;;;;;qBA6hBrB,oBAAoB;;qBA8RpB,gBAAgB;;qBCx3BhB,eAAe;;;;;qBCLf;;qBCEA,gBAAgB;;qBCwBhB;;qBAGA;;;;;qBAQA,iBAAiB;;qBCtCjB;;qBAyDA,iBAAiB;;qBCvDjB;;;;;;qBAOA;;qBAKA,kBAAkB;;qBCblB,sBAAsB;;qBA8CtB,eAAe,SAAS,QAAQ,OAAO;WAAuB;WAA6B;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCvDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}