@passwerk/rules 0.1.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.
Files changed (92) hide show
  1. package/LICENSE +202 -0
  2. package/PROVENANCE.md +64 -0
  3. package/README.md +59 -0
  4. package/artefacts/aas/3.0.9/aas.json +1522 -0
  5. package/artefacts/aas/3.1.2/aas.json +1532 -0
  6. package/artefacts/batterypass/2025_Battery_Passport_Data_Attributes_V1.2.xlsx +0 -0
  7. package/artefacts/batterypass/samm/CarbonFootprint-1.2.0.ttl +96 -0
  8. package/artefacts/batterypass/samm/Circularity-1.2.0.ttl +280 -0
  9. package/artefacts/batterypass/samm/GeneralProductInformation-1.2.0.ttl +200 -0
  10. package/artefacts/batterypass/samm/Labels-1.2.0.ttl +65 -0
  11. package/artefacts/batterypass/samm/MaterialComposition-1.2.0.ttl +188 -0
  12. package/artefacts/batterypass/samm/Performance-1.2.1.ttl +660 -0
  13. package/artefacts/batterypass/samm/SupplyChainDueDiligence-1.2.0.ttl +45 -0
  14. package/artefacts/ec/2026-08-15_data-points-by-category_v2.0.pdf +0 -0
  15. package/artefacts/idta/02035-1/1.0/template.aasx +0 -0
  16. package/artefacts/idta/02035-1/1.0/template.json +2276 -0
  17. package/artefacts/idta/02035-1/1.0/template.noexamples.json +2263 -0
  18. package/artefacts/idta/02035-2/1.0/template.aasx +0 -0
  19. package/artefacts/idta/02035-2/1.0/template.json +2991 -0
  20. package/artefacts/idta/02035-2/1.0/template.noexamples.json +2990 -0
  21. package/artefacts/idta/02035-3/1.0/template.aasx +0 -0
  22. package/artefacts/idta/02035-3/1.0/template.json +1644 -0
  23. package/artefacts/idta/02035-3/1.0/template.noexamples.json +1643 -0
  24. package/artefacts/idta/02035-4/1.0.1/template.aasx +0 -0
  25. package/artefacts/idta/02035-4/1.0.1/template.json +4248 -0
  26. package/artefacts/idta/02035-4/1.0.1/template.noexamples.json +4219 -0
  27. package/artefacts/idta/02035-5/1.0.2/template.aasx +0 -0
  28. package/artefacts/idta/02035-5/1.0.2/template.json +4185 -0
  29. package/artefacts/idta/02035-6/1.0.1/template.aasx +0 -0
  30. package/artefacts/idta/02035-6/1.0.1/template.json +2167 -0
  31. package/artefacts/idta/02035-6/1.0.1/template.noexamples.json +2160 -0
  32. package/artefacts/idta/02035-7/1.0.1/template.aasx +0 -0
  33. package/artefacts/idta/02035-7/1.0.1/template.json +3296 -0
  34. package/artefacts/idta/02035-7/1.0.1/template.noexamples.json +3296 -0
  35. package/artefacts/manifest.json +417 -0
  36. package/dist/artefacts/aas/3.0.9/aas.json +1522 -0
  37. package/dist/artefacts/aas/3.1.2/aas.json +1532 -0
  38. package/dist/artefacts/idta/02035-1/1.0/template.json +2276 -0
  39. package/dist/artefacts/idta/02035-1/1.0/template.noexamples.json +2263 -0
  40. package/dist/artefacts/idta/02035-2/1.0/template.json +2991 -0
  41. package/dist/artefacts/idta/02035-2/1.0/template.noexamples.json +2990 -0
  42. package/dist/artefacts/idta/02035-3/1.0/template.json +1644 -0
  43. package/dist/artefacts/idta/02035-3/1.0/template.noexamples.json +1643 -0
  44. package/dist/artefacts/idta/02035-4/1.0.1/template.json +4248 -0
  45. package/dist/artefacts/idta/02035-4/1.0.1/template.noexamples.json +4219 -0
  46. package/dist/artefacts/idta/02035-5/1.0.2/template.json +4185 -0
  47. package/dist/artefacts/idta/02035-6/1.0.1/template.json +2167 -0
  48. package/dist/artefacts/idta/02035-6/1.0.1/template.noexamples.json +2160 -0
  49. package/dist/artefacts/idta/02035-7/1.0.1/template.json +3296 -0
  50. package/dist/artefacts/idta/02035-7/1.0.1/template.noexamples.json +3296 -0
  51. package/dist/artefacts/manifest.json +417 -0
  52. package/dist/kb/attributes/01-identifiers.json +483 -0
  53. package/dist/kb/attributes/02-labels-conformity.json +319 -0
  54. package/dist/kb/attributes/03-carbon-footprint.json +421 -0
  55. package/dist/kb/attributes/04-due-diligence.json +163 -0
  56. package/dist/kb/attributes/05-materials.json +264 -0
  57. package/dist/kb/attributes/06-circularity.json +758 -0
  58. package/dist/kb/attributes/07-performance-electrical.json +1118 -0
  59. package/dist/kb/attributes/08-performance-lifetime.json +837 -0
  60. package/dist/kb/carrier.json +44 -0
  61. package/dist/kb/ec-datapoints.json +866 -0
  62. package/dist/kb/generated/batterypass-samm.json +3310 -0
  63. package/dist/kb/generated/din-longlist.json +2610 -0
  64. package/dist/kb/generated/template-catalogue.json +7788 -0
  65. package/dist/kb/rules.json +524 -0
  66. package/dist/kb/timeline.json +422 -0
  67. package/dist/src/index.d.ts +75 -0
  68. package/dist/src/index.d.ts.map +1 -0
  69. package/dist/src/index.js +214 -0
  70. package/dist/src/index.js.map +1 -0
  71. package/dist/src/types.d.ts +298 -0
  72. package/dist/src/types.d.ts.map +1 -0
  73. package/dist/src/types.js +6 -0
  74. package/dist/src/types.js.map +1 -0
  75. package/dist/tsconfig.tsbuildinfo +1 -0
  76. package/kb/attributes/01-identifiers.json +483 -0
  77. package/kb/attributes/02-labels-conformity.json +319 -0
  78. package/kb/attributes/03-carbon-footprint.json +421 -0
  79. package/kb/attributes/04-due-diligence.json +163 -0
  80. package/kb/attributes/05-materials.json +264 -0
  81. package/kb/attributes/06-circularity.json +758 -0
  82. package/kb/attributes/07-performance-electrical.json +1118 -0
  83. package/kb/attributes/08-performance-lifetime.json +837 -0
  84. package/kb/attributes/README.md +74 -0
  85. package/kb/carrier.json +44 -0
  86. package/kb/ec-datapoints.json +866 -0
  87. package/kb/generated/batterypass-samm.json +3310 -0
  88. package/kb/generated/din-longlist.json +2610 -0
  89. package/kb/generated/template-catalogue.json +7788 -0
  90. package/kb/rules.json +524 -0
  91. package/kb/timeline.json +422 -0
  92. package/package.json +59 -0
@@ -0,0 +1,214 @@
1
+ /**
2
+ * @passwerk/rules: bundled, checksummed, offline artefacts and knowledge base for the
3
+ * EU Digital Battery Passport.
4
+ *
5
+ * Everything exported here is data resolved at module load from JSON that ships inside the
6
+ * package. No filesystem, no network, no Node-only APIs: this module runs unchanged in the
7
+ * browser (docs/DECISIONS.md D-006).
8
+ */
9
+ import aasSchema309 from '../artefacts/aas/3.0.9/aas.json' with { type: 'json' };
10
+ import aasSchema312 from '../artefacts/aas/3.1.2/aas.json' with { type: 'json' };
11
+ import template1 from '../artefacts/idta/02035-1/1.0/template.json' with { type: 'json' };
12
+ import template2 from '../artefacts/idta/02035-2/1.0/template.json' with { type: 'json' };
13
+ import template3 from '../artefacts/idta/02035-3/1.0/template.json' with { type: 'json' };
14
+ import template4 from '../artefacts/idta/02035-4/1.0.1/template.json' with { type: 'json' };
15
+ import template5 from '../artefacts/idta/02035-5/1.0.2/template.json' with { type: 'json' };
16
+ import template6 from '../artefacts/idta/02035-6/1.0.1/template.json' with { type: 'json' };
17
+ import template7 from '../artefacts/idta/02035-7/1.0.1/template.json' with { type: 'json' };
18
+ import manifestJson from '../artefacts/manifest.json' with { type: 'json' };
19
+ import attributes01 from '../kb/attributes/01-identifiers.json' with { type: 'json' };
20
+ import attributes02 from '../kb/attributes/02-labels-conformity.json' with { type: 'json' };
21
+ import attributes03 from '../kb/attributes/03-carbon-footprint.json' with { type: 'json' };
22
+ import attributes04 from '../kb/attributes/04-due-diligence.json' with { type: 'json' };
23
+ import attributes05 from '../kb/attributes/05-materials.json' with { type: 'json' };
24
+ import attributes06 from '../kb/attributes/06-circularity.json' with { type: 'json' };
25
+ import attributes07 from '../kb/attributes/07-performance-electrical.json' with { type: 'json' };
26
+ import attributes08 from '../kb/attributes/08-performance-lifetime.json' with { type: 'json' };
27
+ import carrierJson from '../kb/carrier.json' with { type: 'json' };
28
+ import ecJson from '../kb/ec-datapoints.json' with { type: 'json' };
29
+ import longlistJson from '../kb/generated/din-longlist.json' with { type: 'json' };
30
+ import catalogueJson from '../kb/generated/template-catalogue.json' with { type: 'json' };
31
+ import rulesJson from '../kb/rules.json' with { type: 'json' };
32
+ import timelineJson from '../kb/timeline.json' with { type: 'json' };
33
+ export * from './types.js';
34
+ export { BATTERY_CATEGORIES } from './types.js';
35
+ export const PACKAGE_NAME = '@passwerk/rules';
36
+ // ---------------------------------------------------------------------------
37
+ // Raw data (typed views over the bundled JSON)
38
+ // ---------------------------------------------------------------------------
39
+ export const artefactManifest = manifestJson;
40
+ export const ecDataPoints = ecJson;
41
+ export const dinLonglist = longlistJson;
42
+ export const templateCatalogue = catalogueJson;
43
+ export const plausibilityRules = rulesJson.rules;
44
+ export const carrierSchemes = carrierJson.schemes;
45
+ export const timeline = timelineJson;
46
+ /** AAS metamodel JSON Schemas, keyed by IDTA-01001 schema version. */
47
+ export const aasJsonSchemas = {
48
+ '3.0.9': aasSchema309,
49
+ '3.1.2': aasSchema312,
50
+ };
51
+ const templateEnvironments = {
52
+ 1: template1,
53
+ 2: template2,
54
+ 3: template3,
55
+ 4: template4,
56
+ 5: template5,
57
+ 6: template6,
58
+ 7: template7,
59
+ };
60
+ /** The seven IDTA 02035 submodel templates, ordered by part. */
61
+ export const templates = templateCatalogue.templates.map((catalogue) => {
62
+ const environment = templateEnvironments[catalogue.part];
63
+ if (!environment)
64
+ throw new Error(`@passwerk/rules: no bundled template for part ${catalogue.part}`);
65
+ return {
66
+ part: catalogue.part,
67
+ idta: catalogue.idta,
68
+ version: catalogue.version,
69
+ submodelIdShort: catalogue.submodelIdShort,
70
+ submodelSemanticId: catalogue.submodelSemanticId,
71
+ environment,
72
+ catalogue,
73
+ };
74
+ });
75
+ // ---------------------------------------------------------------------------
76
+ // Attribute knowledge base, joined with EC data points, longlist and template catalogue
77
+ // ---------------------------------------------------------------------------
78
+ const attributeFiles = [
79
+ attributes01,
80
+ attributes02,
81
+ attributes03,
82
+ attributes04,
83
+ attributes05,
84
+ attributes06,
85
+ attributes07,
86
+ attributes08,
87
+ ];
88
+ const elementsByPath = new Map();
89
+ for (const template of templateCatalogue.templates) {
90
+ for (const element of template.elements)
91
+ elementsByPath.set(element.path, element);
92
+ }
93
+ const ecByNumber = new Map(ecDataPoints.dataPoints.map((d) => [d.number, d]));
94
+ const longlistByNo = new Map(dinLonglist.rows.map((r) => [r.no, r]));
95
+ function resolveAttribute(file, authored) {
96
+ const row = longlistByNo.get(authored.din.no);
97
+ if (!row)
98
+ throw new Error(`@passwerk/rules: ${authored.id} references unknown longlist row ${authored.din.no}`);
99
+ const ec = authored.ecDataPoints.map((n) => {
100
+ const dp = ecByNumber.get(n);
101
+ if (!dp)
102
+ throw new Error(`@passwerk/rules: ${authored.id} references unknown EC data point ${n}`);
103
+ return dp;
104
+ });
105
+ const templateElements = authored.templatePaths.map((path) => {
106
+ const element = elementsByPath.get(path);
107
+ if (!element)
108
+ throw new Error(`@passwerk/rules: ${authored.id} references unknown template path ${path}`);
109
+ return element;
110
+ });
111
+ let applicability;
112
+ let applicabilitySource;
113
+ const primary = ec[0];
114
+ if (primary) {
115
+ applicability = primary.applicability;
116
+ applicabilitySource = 'ec';
117
+ }
118
+ else if (authored.applicabilityOverride) {
119
+ const { source: _source, ...cells } = authored.applicabilityOverride;
120
+ applicability = cells;
121
+ applicabilitySource = 'override';
122
+ }
123
+ else {
124
+ throw new Error(`@passwerk/rules: ${authored.id} has neither EC data points nor an applicability override`);
125
+ }
126
+ const legalRefs = [
127
+ ...new Set([
128
+ ...ec.map((d) => d.legalRef),
129
+ ...(row.regulationRef && row.regulationRef !== 'n.a.'
130
+ ? [`DIN longlist: ${row.regulationRef}`]
131
+ : []),
132
+ ]),
133
+ ];
134
+ return {
135
+ ...authored,
136
+ category: file.category,
137
+ din: { ...authored.din, row },
138
+ ec,
139
+ applicability,
140
+ applicabilitySource,
141
+ legalRefs,
142
+ templateElements,
143
+ dynamic: /dynamic/i.test(row.staticDynamic),
144
+ };
145
+ }
146
+ /** All 93 attributes (DIN DKE SPEC 99100 grain), fully resolved, in longlist order. */
147
+ export const attributes = attributeFiles
148
+ .flatMap((file) => file.attributes.map((a) => resolveAttribute(file, a)))
149
+ .sort((a, b) => a.din.no - b.din.no);
150
+ const attributesById = new Map(attributes.map((a) => [a.id, a]));
151
+ // ---------------------------------------------------------------------------
152
+ // Lookups
153
+ // ---------------------------------------------------------------------------
154
+ export function getAttribute(id) {
155
+ return attributesById.get(id);
156
+ }
157
+ /** Attributes whose effective status for `category` is one of `statuses` (default: mandatory). */
158
+ export function getAttributesForCategory(category, statuses = ['mandatory']) {
159
+ return attributes.filter((a) => statuses.includes(a.applicability[category].status));
160
+ }
161
+ export function getEcDataPoint(number) {
162
+ return ecByNumber.get(number);
163
+ }
164
+ export function getTemplate(part) {
165
+ return templates.find((t) => t.part === part);
166
+ }
167
+ export function getTemplateElement(path) {
168
+ return elementsByPath.get(path);
169
+ }
170
+ /** Template elements that carry a given attribute, or attributes that map to a given path. */
171
+ export function getAttributesForTemplatePath(path) {
172
+ return attributes.filter((a) => a.templatePaths.includes(path));
173
+ }
174
+ export function getRule(id) {
175
+ return plausibilityRules.find((r) => r.id === id);
176
+ }
177
+ export function getCarrierScheme(id) {
178
+ return carrierSchemes.find((s) => s.id === id);
179
+ }
180
+ /** Timeline events that apply to a category, sorted by date. */
181
+ export function getTimeline(category) {
182
+ return timeline.events
183
+ .filter((e) => category === undefined || e.appliesTo.includes(category))
184
+ .sort((a, b) => a.date.localeCompare(b.date));
185
+ }
186
+ export function listCapabilities() {
187
+ const sha = (id) => artefactManifest.artefacts.find((a) => a.id === id)?.sha256 ?? '';
188
+ return {
189
+ package: PACKAGE_NAME,
190
+ templates: templates.map((t) => ({
191
+ part: t.part,
192
+ idta: t.idta,
193
+ version: t.version,
194
+ sha256: sha(`idta-02035-${t.part}/template.json`),
195
+ })),
196
+ aasSchemaVersions: Object.keys(aasJsonSchemas),
197
+ ecGuidance: {
198
+ version: String(ecDataPoints.source.version ?? ''),
199
+ date: String(ecDataPoints.source.date ?? ''),
200
+ dataPoints: ecDataPoints.dataPoints.length,
201
+ },
202
+ knowledgeBase: {
203
+ attributes: attributes.length,
204
+ attributesToVerify: attributes.filter((a) => a.verify).length,
205
+ dinLonglistRows: dinLonglist.rows.length,
206
+ plausibilityRules: plausibilityRules.length,
207
+ timelineEvents: timeline.events.length,
208
+ languages: ['de', 'en'],
209
+ },
210
+ artefactsRetrievedAt: artefactManifest.retrievedAt,
211
+ sovereignty: 'All standards, templates and legal references are bundled and checksummed. This package makes no network calls and calls no language model.',
212
+ };
213
+ }
214
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,YAAY,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjF,OAAO,YAAY,MAAM,iCAAiC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjF,OAAO,SAAS,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,SAAS,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,SAAS,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1F,OAAO,SAAS,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,SAAS,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,SAAS,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,SAAS,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,YAAY,MAAM,4BAA4B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5E,OAAO,YAAY,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtF,OAAO,YAAY,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,YAAY,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAA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so generated JSON and runtime agree.
4
+ */
5
+ export declare const BATTERY_CATEGORIES: readonly ["EV", "LMT", "INDUSTRIAL_GT_2KWH"];
6
+ export type BatteryCategory = (typeof BATTERY_CATEGORIES)[number];
7
+ export type ApplicabilityStatus = 'mandatory' | 'optional' | 'conditional' | 'not_yet_applicable' | 'not_displayed';
8
+ export interface ApplicabilityCell {
9
+ status: ApplicabilityStatus;
10
+ /** Guidance wording where the cell is not plain "Mandatory" */
11
+ text?: string;
12
+ footnote?: string;
13
+ }
14
+ export type LangText = {
15
+ en: string;
16
+ de: string;
17
+ };
18
+ export interface EcDataPoint {
19
+ number: number;
20
+ name: string;
21
+ legalRef: string;
22
+ applicability: Record<BatteryCategory, ApplicabilityCell>;
23
+ }
24
+ export interface EcDataPoints {
25
+ $comment: string;
26
+ source: Record<string, unknown>;
27
+ categories: readonly BatteryCategory[];
28
+ statusVocabulary: Record<ApplicabilityStatus, string>;
29
+ dataPoints: EcDataPoint[];
30
+ }
31
+ export interface Cardinality {
32
+ raw: string | null;
33
+ min: number | null;
34
+ max: number | null;
35
+ }
36
+ export interface ConceptInfo {
37
+ preferredName: Record<string, string>;
38
+ shortName: Record<string, string>;
39
+ definition: Record<string, string>;
40
+ unit: string | null;
41
+ dataType: string | null;
42
+ valueFormat: string | null;
43
+ }
44
+ export interface CatalogueElement {
45
+ path: string;
46
+ part: number;
47
+ submodelIdShort: string;
48
+ idShort: string | null;
49
+ depth: number;
50
+ modelType: string;
51
+ semanticId: string | null;
52
+ supplementalSemanticIds: string[];
53
+ cardinality: Cardinality;
54
+ valueType: string | null;
55
+ listElement: {
56
+ typeValueListElement: string | null;
57
+ valueTypeListElement: string | null;
58
+ semanticIdListElement: string | null;
59
+ } | null;
60
+ exampleValue: string | null;
61
+ eitherOrGroup: string | null;
62
+ description: Record<string, string>;
63
+ dinChapter: string | null;
64
+ concept: ConceptInfo | null;
65
+ conceptJoin: 'exact' | 'versionless' | null;
66
+ }
67
+ export interface CatalogueTemplate {
68
+ part: number;
69
+ idta: string;
70
+ version: string;
71
+ submodelIdShort: string;
72
+ submodelId: string;
73
+ submodelSemanticId: string | null;
74
+ templateId: string | null;
75
+ elementCount: number;
76
+ elements: CatalogueElement[];
77
+ }
78
+ export interface TemplateCatalogue {
79
+ $comment: string;
80
+ templates: CatalogueTemplate[];
81
+ }
82
+ export interface LonglistRow {
83
+ no: number;
84
+ dinChapter: string;
85
+ applicability: {
86
+ ev: string;
87
+ lmt: string;
88
+ industrialOther: string;
89
+ stationary: string;
90
+ };
91
+ category: string;
92
+ subCategory: string;
93
+ attribute: string;
94
+ definition: string;
95
+ requirementsRegulation: string;
96
+ requirementsDin: string;
97
+ regulationRef: string;
98
+ unit: string;
99
+ dataFormat: string;
100
+ accessRights: string;
101
+ staticDynamic: string;
102
+ updateRequirement: string;
103
+ granularityModelVsIndividual: string;
104
+ granularity: {
105
+ pack: string;
106
+ module: string;
107
+ cell: string;
108
+ };
109
+ }
110
+ export interface Longlist {
111
+ $comment: string;
112
+ sheet: string;
113
+ rows: LonglistRow[];
114
+ }
115
+ export type ValueKind = 'identifier' | 'text' | 'multilingualText' | 'decimal' | 'integer' | 'percentage' | 'date' | 'dateTime' | 'boolean' | 'enum' | 'document' | 'uri' | 'graphic' | 'composite';
116
+ export interface ApplicabilityOverride extends Record<BatteryCategory, ApplicabilityCell> {
117
+ source: string;
118
+ }
119
+ export interface AuthoredAttribute {
120
+ id: string;
121
+ din: {
122
+ no: number;
123
+ chapter: string;
124
+ };
125
+ ecDataPoints: number[];
126
+ part: number | null;
127
+ templatePaths: string[];
128
+ name: LangText;
129
+ synonyms: {
130
+ en: string[];
131
+ de: string[];
132
+ };
133
+ valueKind: ValueKind;
134
+ unit: string | null;
135
+ range: {
136
+ min: number | null;
137
+ max: number | null;
138
+ } | null;
139
+ whoTypicallyHasIt: LangText;
140
+ explanation: LangText;
141
+ applicabilityOverride: ApplicabilityOverride | null;
142
+ verify: boolean;
143
+ lastVerified: string;
144
+ }
145
+ export interface AttributeFile {
146
+ $comment: string;
147
+ category: string;
148
+ attributes: AuthoredAttribute[];
149
+ }
150
+ /** An authored attribute joined with everything derivable from the official sources. */
151
+ export interface Attribute extends AuthoredAttribute {
152
+ /** DIN DKE SPEC 99100 category name from the longlist file */
153
+ category: string;
154
+ /** Longlist row (definition, static/dynamic, access rights, granularity, ...) */
155
+ din: {
156
+ no: number;
157
+ chapter: string;
158
+ row: LonglistRow;
159
+ };
160
+ /** Commission data points referenced by this attribute, primary first */
161
+ ec: EcDataPoint[];
162
+ /** Effective applicability per category: from the primary EC data point, else the override */
163
+ applicability: Record<BatteryCategory, ApplicabilityCell>;
164
+ /** Where the applicability came from */
165
+ applicabilitySource: 'ec' | 'override';
166
+ /** Legal references: EC data point refs first, then the longlist regulation reference */
167
+ legalRefs: string[];
168
+ /** Template elements resolved from templatePaths */
169
+ templateElements: CatalogueElement[];
170
+ /** True when the longlist marks the attribute as dynamic (in-use data) */
171
+ dynamic: boolean;
172
+ }
173
+ export interface PlausibilityRule {
174
+ id: string;
175
+ severity: 'error' | 'warning';
176
+ title: LangText;
177
+ message: LangText;
178
+ fixHint: LangText;
179
+ attributes: string[];
180
+ legalRef: string | null;
181
+ }
182
+ export interface RulesFile {
183
+ $comment: string;
184
+ lastVerified: string;
185
+ rules: PlausibilityRule[];
186
+ }
187
+ export type CarrierSchemeId = 'gs1-digital-link-gtin-serial' | 'gs1-digital-link-giai';
188
+ export interface CarrierScheme {
189
+ id: CarrierSchemeId;
190
+ name: LangText;
191
+ /** Name of the standard only; no artefact is bundled (PROVENANCE.md). */
192
+ standard: string;
193
+ pattern: string;
194
+ limits: {
195
+ gtinDigits?: number[];
196
+ serialMaxLength?: number;
197
+ giaiMaxLength?: number;
198
+ };
199
+ explanation: LangText;
200
+ whoTypicallyHasIt: LangText;
201
+ verify: boolean;
202
+ }
203
+ export interface CarrierFile {
204
+ $comment: string;
205
+ lastVerified: string;
206
+ schemes: CarrierScheme[];
207
+ }
208
+ export type TimelineStatus = 'in_force' | 'scheduled' | 'pending_act' | 'superseded';
209
+ export interface TimelineEvent {
210
+ id: string;
211
+ date: string;
212
+ dateRule: 'fixed' | 'latest_of';
213
+ alternative?: string;
214
+ title: LangText;
215
+ legalRef: string;
216
+ appliesTo: BatteryCategory[];
217
+ status: TimelineStatus;
218
+ note?: LangText;
219
+ thresholds?: Record<string, number>;
220
+ affectsAttributes: string[];
221
+ verify: boolean;
222
+ }
223
+ export interface Timeline {
224
+ $comment: string;
225
+ lastVerified: string;
226
+ sources: Record<string, Record<string, unknown>>;
227
+ events: TimelineEvent[];
228
+ }
229
+ export interface ArtefactEntry {
230
+ id: string;
231
+ source: string;
232
+ title: string;
233
+ version: string;
234
+ url: string;
235
+ path: string | null;
236
+ sha256: string;
237
+ bytes: number;
238
+ }
239
+ export interface ArtefactManifest {
240
+ $comment: string;
241
+ retrievedAt: string;
242
+ sources: Record<string, Record<string, string>>;
243
+ artefacts: ArtefactEntry[];
244
+ }
245
+ export interface SammCharacteristic {
246
+ /** Local name of the characteristic the property points at (a Trait keeps its own name). */
247
+ name: string | null;
248
+ /** SAMM characteristic kind after resolving a Trait: Measurement, Enumeration, List, ... */
249
+ kind: string | null;
250
+ /** "xsd:float" and friends; null when the data type is an Entity. */
251
+ dataType: string | null;
252
+ /** SAMM unit local name (e.g. "percent"), or the symbol of a model-local samm:Unit. */
253
+ unit: string | null;
254
+ /** Symbol of a model-local samm:Unit, when the unit is not a SAMM catalogue unit. */
255
+ unitSymbol: string | null;
256
+ /** Enumeration values in declaration order, duplicates removed. */
257
+ values: string[] | null;
258
+ /** Local name of the Entity data type, when the characteristic is entity-valued. */
259
+ entity: string | null;
260
+ /** RangeConstraint bounds as literal strings, from a Trait. */
261
+ range: {
262
+ min: string | null;
263
+ max: string | null;
264
+ } | null;
265
+ }
266
+ export interface SammProperty {
267
+ name: string;
268
+ urn: string;
269
+ preferredName: string | null;
270
+ description: string | null;
271
+ /** Parsed from the "DIN DKE Spec 99100 chapter reference" sentence of the description. */
272
+ dinChapters: string[];
273
+ /** Aspect / entity walk, e.g. "Circularity/sparePartSources/addressOfSupplier". */
274
+ paths: string[];
275
+ optional: boolean;
276
+ characteristic: SammCharacteristic;
277
+ }
278
+ export interface SammSection {
279
+ key: string;
280
+ version: string;
281
+ file: string;
282
+ aspect: string;
283
+ namespace: string;
284
+ description: string | null;
285
+ propertyCount: number;
286
+ properties: SammProperty[];
287
+ }
288
+ export interface SammModel {
289
+ $comment: string;
290
+ sections: SammSection[];
291
+ }
292
+ /** Minimal shape of an AAS V3.0 JSON Environment as shipped in the templates. */
293
+ export interface AasEnvironment {
294
+ assetAdministrationShells?: unknown[];
295
+ submodels?: unknown[];
296
+ conceptDescriptions?: unknown[];
297
+ }
298
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,kBAAkB,8CAA+C,CAAC;AAC/E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAC3B,WAAW,GACX,UAAU,GACV,aAAa,GACb,oBAAoB,GACpB,eAAe,CAAC;AAEpB,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,QAAQ,GAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAKlD,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC,eAAe,EAAE,iBAAiB,CAAC,CAAC;CAC3D;AAED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M,GAAG,IAAI,CAAC;IACtB,+DAA+D;IAC/D,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;CAC1D;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,0FAA0F;IAC1F,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,mFAAmF;IACnF,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,cAAc,EAAE,kBAAkB,CAAC;CACpC;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,YAAY,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,WAAW,EAAE,CAAC;CACzB;AAED,iFAAiF;AACjF,MAAM,WAAW,cAAc;IAC7B,yBAAyB,CAAC,EAAE,OAAO,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC;CACjC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Shared types for the @passwerk/rules data. Browser-safe: types only.
3
+ * The generator scripts (scripts/lib) import these so generated JSON and runtime agree.
4
+ */
5
+ export const BATTERY_CATEGORIES = ['EV', 'LMT', 'INDUSTRIAL_GT_2KWH'];
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,oBAAoB,CAAU,CAAC"}
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../artefacts/aas/3.0.9/aas.json","../artefacts/aas/3.1.2/aas.json","../artefacts/idta/02035-1/1.0/template.json","../artefacts/idta/02035-2/1.0/template.json","../artefacts/idta/02035-3/1.0/template.json","../artefacts/idta/02035-4/1.0.1/template.json","../artefacts/idta/02035-5/1.0.2/template.json","../artefacts/idta/02035-6/1.0.1/template.json","../artefacts/idta/02035-7/1.0.1/template.json","../artefacts/manifest.json","../kb/attributes/01-identifiers.json","../kb/attributes/02-labels-conformity.json","../kb/attributes/03-carbon-footprint.json","../kb/attributes/04-due-diligence.json","../kb/attributes/05-materials.json","../kb/attributes/06-circularity.json","../kb/attributes/07-performance-electrical.json","../kb/attributes/08-performance-lifetime.json","../kb/carrier.json","../kb/ec-datapoints.json","../kb/generated/din-longlist.json","../kb/generated/template-catalogue.json","../kb/rules.json","../kb/timeline.json","../src/types.ts","../src/index.ts","../kb/generated/batterypass-samm.json","../artefacts/idta/02035-1/1.0/template.noexamples.json","../artefacts/idta/02035-2/1.0/template.noexamples.json","../artefacts/idta/02035-3/1.0/template.noexamples.json","../artefacts/idta/02035-4/1.0.1/template.noexamples.json","../artefacts/idta/02035-6/1.0.1/template.noexamples.json","../artefacts/idta/02035-7/1.0.1/template.noexamples.json"],"fileIdsList":[[62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},"eb566d47316c99093805bf03545ca4d5439ec4568c218742b7640e39b1548349","9a8a005e303634f5041b9a2eac2e19c5cca05b9dd54c4bd20afbc7ab809d411e","0eec79b05fde3d62a287248d6dd8d17643bfa2b0bb8e2e4cecad04a28b90ccfe","c7124116bd1011be696e0848c17001fe77026ec0d35266bc958feaca0d2336e5","1555443c771bf427a459081b57106b4d3426176a074d1864c04f646f33154b85","a90774b959c766efe596243c39934df266ee34ce1132ba85f4b382efff842cb0","fc3c81609ca4f923b77ca14d21c8dcf5202e385c94b5090b65148fcec870ab75","e9197b3a2a3e7231d8943609a46359119a0dbd92bd7dd5e5b32c34c02f8aac10","f3dd40ec1b8fa8ccc061cb82e93f8554d228eb49e04484d511407481d1b79cf1","1cea4aa18d78184c3895d8c764d1ad62a987b388c54092b0c1971d413599a682","de2fdbb9c9f02796576b4f06edc69fe2506e9ea363d6e6c2ad859778f277b64d","6b96ac4124e1599f7db1bf3748ccd70268a797cf98e06705a7be256091e7daa6","3b5bdead70389145237509d0a39e7f7633228b8c32870bcedfd5689531fefe4c","d99f7455a9b6bf5c36402787e21a917a8fe9eae88a238e53de40d9b4ef07dcbd","879c6a9cd8ff06073be2f70312be48dc7ac3bd54280f94f4e7f28765f9a66af4","b7e026cacfee6470eb0855c89bf2ddd63abd49f4c1db06528225be523b1aa309","8f2ce24907fa5740998b5b326f682ba2bc118a123648e4cf526e3e2c2bdc0dba","b1537af3b4186aad3b7cc3c478eb44022b6b712224e482bf6a4b5683c6b950d7","bce54bc7484780187af0fc6c918b5572a9ba5584818e424e4cba2601f0df05de","4d5d51157c62098931d8b2449516f05d070744611ae38b981f091fbe7aa55771","3b71febded9cb34fb2c72cd3f4633abb7ebae0f273b1297930e8f6b6d3a7c3bf","ec611b9a9d7cab11d905287354ebfc8e6377d2b0359656abd26f522ffdc99939","7f08ce00d3d3b961f98ca5e4af7ecf34f18d299b1ffdc3fa902388ddc432176e","437bdb78edd0a4a2c366ee566be73ec98018d3b6fbfc1dd19f45d97a97f4dcd5",{"version":"240c3b70577914e09f0875337524144c6def08a0148f6f4c90ec93f3d1b2b100","signature":"8763fd8580de8bcc3dfa8d4a40ba0e8160b225262697e630e5d3ea6cb2691b65","impliedFormat":99},{"version":"1df0c4529dc4b7eb9d581ce8b4e82103813c7fe05e4c11553cff4ed0c5c48323","signature":"4e6a38a079a09a60620189d56505324c457834433a0500f32267c03d38fdb2c6","impliedFormat":99},"84df56b97d9b4be5d68d87f5db7623ad56ce0f06a80ef96cea869459b81fb168","5b08e7323dceeec9aef4d7978bfd3618ed7b9c31c5f4c2f7d03d5b6b9371a352","4f84d5dce1af9e0371e82ff18abf50b02f86dbd475db4fd7f9ca328ad777e982","d8e11f4500ca3158ebf3dc8f12c890543f0b86ed90810d9c2b8091445831b7fc","c4d74650e9266c17b24b712d8dfec9dc68a86421b0e018d675da3df5fc04f63b","83c9d46e753e5689870cf84b6570ae7d2ebb1dd7f85ad1244442f2d6debcc1b6","49e4697d8ed42f5156115ef76889c2d6b52a34630e0fc1d0279df66a1264da09"],"root":[[62,94]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"verbatimModuleSyntax":true},"referencedMap":[[87,1]],"latestChangedDtsFile":"./src/index.d.ts","version":"5.9.3"}