@mark1russell7/guidebook-preparedness 0.5.0 → 0.6.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 +2 -1
- package/build/index.d.ts +15 -5
- package/build/index.d.ts.map +1 -1
- package/build/index.js +20 -10
- package/build/index.js.map +1 -1
- package/package.json +3 -3
- package/src/data/media.ts +19 -6
- package/src/index.ts +1 -1
package/README.md
CHANGED
|
@@ -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
|
-
| `
|
|
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. */
|
|
@@ -52,10 +52,20 @@ export declare const MEDIUM_LOSSES: Readonly<Partial<Record<MediumKind, {
|
|
|
52
52
|
readonly unit: string;
|
|
53
53
|
}>>>;
|
|
54
54
|
/**
|
|
55
|
-
* The
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* -
|
|
55
|
+
* The cited life of each type of medium with a life at a quantile, and the unit of the life.
|
|
56
|
+
* 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`.
|
|
57
|
+
* - `cd-r`: each of the 7 CD-R products of the study had a time to 5% failure of more than 30 years.
|
|
58
|
+
* - 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.
|
|
59
|
+
* The life holds only at 25 °C and 50% RH, away from light (the unit `media.optical.limits`).
|
|
60
|
+
*/
|
|
61
|
+
export declare const MEDIUM_LIVES: Readonly<Record<string, {
|
|
62
|
+
readonly kind: MediumKind;
|
|
63
|
+
readonly life: MediumLife;
|
|
64
|
+
readonly unit: string;
|
|
65
|
+
}>>;
|
|
66
|
+
/**
|
|
67
|
+
* The kinds with no cited rate and no cited life. A plan of copies cannot use them until a source gives one.
|
|
68
|
+
* `flash` and `paper`: no open source with a rate was found on 2026-11-22.
|
|
59
69
|
*/
|
|
60
70
|
export declare const MEDIUM_GAPS: readonly MediumKind[];
|
|
61
71
|
/**
|
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/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
|
|
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;;;;;;;;;qBAY3F,cAAc,SAAS;WAA0B,MAAM;WAAqB,MAAM;WAAqB;;;;;;qBAYvG,sBAAsB;;;;;qBCvDtB;;;;;qBAmBA;;qBAGA;;qBAGA;;;qBAIA;qBAEA,eAAe;;qBAGf,kBAAkB;;qBAGlB,OAAO"}
|
package/build/index.js
CHANGED
|
@@ -7329,16 +7329,26 @@ const MEDIUM_LOSSES = {
|
|
|
7329
7329
|
}
|
|
7330
7330
|
};
|
|
7331
7331
|
/**
|
|
7332
|
-
* The
|
|
7333
|
-
*
|
|
7334
|
-
*
|
|
7335
|
-
* -
|
|
7332
|
+
* The cited life of each type of medium with a life at a quantile, and the unit of the life.
|
|
7333
|
+
* 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`.
|
|
7334
|
+
* - `cd-r`: each of the 7 CD-R products of the study had a time to 5% failure of more than 30 years.
|
|
7335
|
+
* - 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.
|
|
7336
|
+
* The life holds only at 25 °C and 50% RH, away from light (the unit `media.optical.limits`).
|
|
7336
7337
|
*/
|
|
7337
|
-
const
|
|
7338
|
-
"
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7338
|
+
const MEDIUM_LIVES = { "cd-r": {
|
|
7339
|
+
kind: "optical",
|
|
7340
|
+
life: {
|
|
7341
|
+
years: 30,
|
|
7342
|
+
quantile: .05,
|
|
7343
|
+
source: "NIST and the Library of Congress: a CD-R at 25 °C and 50% RH, with 95% confidence."
|
|
7344
|
+
},
|
|
7345
|
+
unit: "media.optical.cdr"
|
|
7346
|
+
} };
|
|
7347
|
+
/**
|
|
7348
|
+
* The kinds with no cited rate and no cited life. A plan of copies cannot use them until a source gives one.
|
|
7349
|
+
* `flash` and `paper`: no open source with a rate was found on 2026-11-22.
|
|
7350
|
+
*/
|
|
7351
|
+
const MEDIUM_GAPS = ["flash", "paper"];
|
|
7342
7352
|
// src/index.ts
|
|
7343
7353
|
/**
|
|
7344
7354
|
* The 12 cases of v1. A case is a kind of event. The codes come from the event taxonomy of the alerts project.
|
|
@@ -7416,6 +7426,6 @@ const GRAPH = {
|
|
|
7416
7426
|
tabs: TABS,
|
|
7417
7427
|
hazards: HAZARDS
|
|
7418
7428
|
};
|
|
7419
|
-
export { AREAS, BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, CASES, CASE_STEPS, CATALOG_TAB, CHECKED, CUTS, CUT_STEPS, GAPS, GRAPH, HAZARDS, MASTER, MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LOSSES, MORE_CASES, NEEDS, OPEN_CELLS, RULES, SOCIETY_KEY, SOURCES, START_TAB, STEPS, TABS, TOPICS };
|
|
7429
|
+
export { AREAS, BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, CASES, CASE_STEPS, CATALOG_TAB, CHECKED, CUTS, CUT_STEPS, GAPS, GRAPH, HAZARDS, MASTER, MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LIVES, MEDIUM_LOSSES, MORE_CASES, NEEDS, OPEN_CELLS, RULES, SOCIETY_KEY, SOURCES, START_TAB, STEPS, TABS, TOPICS };
|
|
7420
7430
|
|
|
7421
7431
|
//# sourceMappingURL=index.js.map
|