@transitrix/diagrams 1.8.6 → 1.8.8

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 (251) hide show
  1. package/dist/fgca/index.js +10 -10
  2. package/dist/fgca/layout.js +1 -1
  3. package/dist/fgca/nodeTypes.js +4 -4
  4. package/dist/index.js +33 -33
  5. package/package.json +8 -2
  6. package/dist/__tests__/edge-path.test.d.ts +0 -1
  7. package/dist/__tests__/edge-path.test.js +0 -55
  8. package/dist/__tests__/node-size-presets.test.d.ts +0 -1
  9. package/dist/__tests__/node-size-presets.test.js +0 -30
  10. package/dist/__tests__/scope.test.d.ts +0 -1
  11. package/dist/__tests__/scope.test.js +0 -23
  12. package/dist/__tests__/yaml-normalize.test.d.ts +0 -1
  13. package/dist/__tests__/yaml-normalize.test.js +0 -148
  14. package/dist/activities/__tests__/cpm.test.d.ts +0 -1
  15. package/dist/activities/__tests__/cpm.test.js +0 -146
  16. package/dist/activities/__tests__/gantt.test.d.ts +0 -1
  17. package/dist/activities/__tests__/gantt.test.js +0 -263
  18. package/dist/activities/__tests__/layout.test.d.ts +0 -1
  19. package/dist/activities/__tests__/layout.test.js +0 -98
  20. package/dist/activities/__tests__/validate.test.d.ts +0 -1
  21. package/dist/activities/__tests__/validate.test.js +0 -397
  22. package/dist/activity-card/__tests__/example.test.d.ts +0 -1
  23. package/dist/activity-card/__tests__/example.test.js +0 -73
  24. package/dist/activity-card/__tests__/layout.test.d.ts +0 -1
  25. package/dist/activity-card/__tests__/layout.test.js +0 -141
  26. package/dist/activity-card/__tests__/resolver.test.d.ts +0 -1
  27. package/dist/activity-card/__tests__/resolver.test.js +0 -325
  28. package/dist/activity-card/__tests__/validate.test.d.ts +0 -1
  29. package/dist/activity-card/__tests__/validate.test.js +0 -149
  30. package/dist/actor/__tests__/validate.test.d.ts +0 -1
  31. package/dist/actor/__tests__/validate.test.js +0 -95
  32. package/dist/applications/__tests__/validate.test.d.ts +0 -1
  33. package/dist/applications/__tests__/validate.test.js +0 -223
  34. package/dist/assertion/__tests__/example.test.d.ts +0 -1
  35. package/dist/assertion/__tests__/example.test.js +0 -32
  36. package/dist/assertion/__tests__/validate.test.d.ts +0 -1
  37. package/dist/assertion/__tests__/validate.test.js +0 -130
  38. package/dist/blocks/__tests__/layout.test.d.ts +0 -1
  39. package/dist/blocks/__tests__/layout.test.js +0 -153
  40. package/dist/blocks/__tests__/validate.test.d.ts +0 -1
  41. package/dist/blocks/__tests__/validate.test.js +0 -235
  42. package/dist/business-service/__tests__/validate.test.d.ts +0 -1
  43. package/dist/business-service/__tests__/validate.test.js +0 -135
  44. package/dist/capability-map/__tests__/CapabilityMapView.test.d.ts +0 -1
  45. package/dist/capability-map/__tests__/CapabilityMapView.test.js +0 -217
  46. package/dist/capability-map/__tests__/address.test.d.ts +0 -1
  47. package/dist/capability-map/__tests__/address.test.js +0 -49
  48. package/dist/capability-map/__tests__/dsm-layout.test.d.ts +0 -1
  49. package/dist/capability-map/__tests__/dsm-layout.test.js +0 -46
  50. package/dist/capability-map/__tests__/dsm-mutations.test.d.ts +0 -1
  51. package/dist/capability-map/__tests__/dsm-mutations.test.js +0 -125
  52. package/dist/capability-map/__tests__/dsm-validate.test.d.ts +0 -1
  53. package/dist/capability-map/__tests__/dsm-validate.test.js +0 -56
  54. package/dist/capability-map/__tests__/validate.test.d.ts +0 -1
  55. package/dist/capability-map/__tests__/validate.test.js +0 -212
  56. package/dist/change/__tests__/validate.test.d.ts +0 -1
  57. package/dist/change/__tests__/validate.test.js +0 -79
  58. package/dist/codex/__tests__/example.test.d.ts +0 -1
  59. package/dist/codex/__tests__/example.test.js +0 -33
  60. package/dist/codex/__tests__/validate.test.d.ts +0 -1
  61. package/dist/codex/__tests__/validate.test.js +0 -68
  62. package/dist/compliance/__tests__/canon-catalog.test.d.ts +0 -1
  63. package/dist/compliance/__tests__/canon-catalog.test.js +0 -60
  64. package/dist/compliance/__tests__/classify.test.d.ts +0 -1
  65. package/dist/compliance/__tests__/classify.test.js +0 -58
  66. package/dist/compliance/__tests__/confidence.test.d.ts +0 -1
  67. package/dist/compliance/__tests__/confidence.test.js +0 -78
  68. package/dist/compliance/__tests__/coverage-metric.test.d.ts +0 -1
  69. package/dist/compliance/__tests__/coverage-metric.test.js +0 -264
  70. package/dist/compliance/__tests__/demo-scenario.test.d.ts +0 -1
  71. package/dist/compliance/__tests__/demo-scenario.test.js +0 -226
  72. package/dist/compliance/__tests__/example.test.d.ts +0 -1
  73. package/dist/compliance/__tests__/example.test.js +0 -51
  74. package/dist/compliance/__tests__/gap-report.test.d.ts +0 -1
  75. package/dist/compliance/__tests__/gap-report.test.js +0 -113
  76. package/dist/compliance/__tests__/html.test.d.ts +0 -1
  77. package/dist/compliance/__tests__/html.test.js +0 -122
  78. package/dist/compliance/__tests__/impact.test.d.ts +0 -1
  79. package/dist/compliance/__tests__/impact.test.js +0 -913
  80. package/dist/compliance/__tests__/markdown.test.d.ts +0 -1
  81. package/dist/compliance/__tests__/markdown.test.js +0 -85
  82. package/dist/compliance/__tests__/trace.test.d.ts +0 -1
  83. package/dist/compliance/__tests__/trace.test.js +0 -144
  84. package/dist/compliance/__tests__/view-resolution.test.d.ts +0 -1
  85. package/dist/compliance/__tests__/view-resolution.test.js +0 -59
  86. package/dist/compliance/__tests__/views.test.d.ts +0 -1
  87. package/dist/compliance/__tests__/views.test.js +0 -59
  88. package/dist/compliance-matrix/__tests__/build.test.d.ts +0 -1
  89. package/dist/compliance-matrix/__tests__/build.test.js +0 -183
  90. package/dist/compliance-matrix/__tests__/example.test.d.ts +0 -1
  91. package/dist/compliance-matrix/__tests__/example.test.js +0 -49
  92. package/dist/confidence/__tests__/score.test.d.ts +0 -1
  93. package/dist/confidence/__tests__/score.test.js +0 -188
  94. package/dist/constraint/__tests__/example.test.d.ts +0 -1
  95. package/dist/constraint/__tests__/example.test.js +0 -14
  96. package/dist/constraint/__tests__/validate.test.d.ts +0 -1
  97. package/dist/constraint/__tests__/validate.test.js +0 -58
  98. package/dist/factor/__tests__/validate.test.d.ts +0 -1
  99. package/dist/factor/__tests__/validate.test.js +0 -112
  100. package/dist/fgca/__tests__/chain-table.test.d.ts +0 -1
  101. package/dist/fgca/__tests__/chain-table.test.js +0 -158
  102. package/dist/fgca/__tests__/layout.test.d.ts +0 -1
  103. package/dist/fgca/__tests__/layout.test.js +0 -140
  104. package/dist/fgca/__tests__/parse-canonical.test.d.ts +0 -1
  105. package/dist/fgca/__tests__/parse-canonical.test.js +0 -268
  106. package/dist/fgca/__tests__/preview-layout.test.d.ts +0 -1
  107. package/dist/fgca/__tests__/preview-layout.test.js +0 -106
  108. package/dist/fgca/__tests__/resolver.test.d.ts +0 -1
  109. package/dist/fgca/__tests__/resolver.test.js +0 -185
  110. package/dist/fgca/__tests__/validate.test.d.ts +0 -1
  111. package/dist/fgca/__tests__/validate.test.js +0 -125
  112. package/dist/goals/__tests__/GoalTreeView.test.d.ts +0 -1
  113. package/dist/goals/__tests__/GoalTreeView.test.js +0 -337
  114. package/dist/goals/__tests__/layout.test.d.ts +0 -1
  115. package/dist/goals/__tests__/layout.test.js +0 -153
  116. package/dist/goals/__tests__/mutations.test.d.ts +0 -1
  117. package/dist/goals/__tests__/mutations.test.js +0 -134
  118. package/dist/goals/__tests__/parse-canonical.test.d.ts +0 -1
  119. package/dist/goals/__tests__/parse-canonical.test.js +0 -131
  120. package/dist/goals/__tests__/validate.test.d.ts +0 -1
  121. package/dist/goals/__tests__/validate.test.js +0 -183
  122. package/dist/integration/__tests__/validate.test.d.ts +0 -1
  123. package/dist/integration/__tests__/validate.test.js +0 -169
  124. package/dist/location/__tests__/validate.test.d.ts +0 -1
  125. package/dist/location/__tests__/validate.test.js +0 -107
  126. package/dist/node/__tests__/validate.test.d.ts +0 -1
  127. package/dist/node/__tests__/validate.test.js +0 -100
  128. package/dist/process-blueprint/__tests__/compliance-lane.test.d.ts +0 -1
  129. package/dist/process-blueprint/__tests__/compliance-lane.test.js +0 -272
  130. package/dist/process-blueprint/__tests__/layout.test.d.ts +0 -1
  131. package/dist/process-blueprint/__tests__/layout.test.js +0 -196
  132. package/dist/process-blueprint/__tests__/validate.test.d.ts +0 -1
  133. package/dist/process-blueprint/__tests__/validate.test.js +0 -280
  134. package/dist/process-map/__tests__/validate.test.d.ts +0 -1
  135. package/dist/process-map/__tests__/validate.test.js +0 -199
  136. package/dist/products/__tests__/validate.test.d.ts +0 -1
  137. package/dist/products/__tests__/validate.test.js +0 -210
  138. package/dist/repo-validate/__tests__/validate-repo.test.d.ts +0 -1
  139. package/dist/repo-validate/__tests__/validate-repo.test.js +0 -576
  140. package/dist/requirement/__tests__/example.test.d.ts +0 -1
  141. package/dist/requirement/__tests__/example.test.js +0 -21
  142. package/dist/requirement/__tests__/validate.test.d.ts +0 -1
  143. package/dist/requirement/__tests__/validate.test.js +0 -80
  144. package/dist/scenarios/__tests__/validate.test.d.ts +0 -1
  145. package/dist/scenarios/__tests__/validate.test.js +0 -183
  146. package/dist/stakeholder/__tests__/validate.test.d.ts +0 -1
  147. package/dist/stakeholder/__tests__/validate.test.js +0 -88
  148. package/dist/target-state/__tests__/validate.test.d.ts +0 -1
  149. package/dist/target-state/__tests__/validate.test.js +0 -78
  150. package/dist/technology-service/__tests__/validate.test.d.ts +0 -1
  151. package/dist/technology-service/__tests__/validate.test.js +0 -121
  152. package/dist/theme/__tests__/tokens.test.d.ts +0 -1
  153. package/dist/theme/__tests__/tokens.test.js +0 -159
  154. package/dist/webview/__tests__/entity-text-layout.test.d.ts +0 -1
  155. package/dist/webview/__tests__/entity-text-layout.test.js +0 -155
  156. package/dist/webview/__tests__/entry-notations.test.d.ts +0 -1
  157. package/dist/webview/__tests__/entry-notations.test.js +0 -62
  158. package/dist/webview/__tests__/entry.test.d.ts +0 -1
  159. package/dist/webview/__tests__/entry.test.js +0 -56
  160. package/dist/webview/__tests__/render-activities.test.d.ts +0 -1
  161. package/dist/webview/__tests__/render-activities.test.js +0 -91
  162. package/dist/webview/__tests__/render-blocks.test.d.ts +0 -1
  163. package/dist/webview/__tests__/render-blocks.test.js +0 -175
  164. package/dist/webview/__tests__/render-goals.test.d.ts +0 -1
  165. package/dist/webview/__tests__/render-goals.test.js +0 -120
  166. package/dist/webview/__tests__/render-process.test.d.ts +0 -1
  167. package/dist/webview/__tests__/render-process.test.js +0 -463
  168. package/dist/webview/__tests__/render-util.test.d.ts +0 -1
  169. package/dist/webview/__tests__/render-util.test.js +0 -54
  170. package/src/__tests__/edge-path.test.ts +0 -67
  171. package/src/__tests__/node-size-presets.test.ts +0 -50
  172. package/src/__tests__/scope.test.ts +0 -27
  173. package/src/__tests__/yaml-normalize.test.ts +0 -158
  174. package/src/activities/__tests__/cpm.test.ts +0 -164
  175. package/src/activities/__tests__/gantt.test.ts +0 -290
  176. package/src/activities/__tests__/layout.test.ts +0 -112
  177. package/src/activities/__tests__/validate.test.ts +0 -446
  178. package/src/activity-card/__tests__/example.test.ts +0 -83
  179. package/src/activity-card/__tests__/layout.test.ts +0 -162
  180. package/src/activity-card/__tests__/resolver.test.ts +0 -357
  181. package/src/activity-card/__tests__/validate.test.ts +0 -167
  182. package/src/actor/__tests__/validate.test.ts +0 -114
  183. package/src/applications/__tests__/validate.test.ts +0 -256
  184. package/src/assertion/__tests__/example.test.ts +0 -37
  185. package/src/assertion/__tests__/validate.test.ts +0 -142
  186. package/src/blocks/__tests__/layout.test.ts +0 -169
  187. package/src/blocks/__tests__/validate.test.ts +0 -260
  188. package/src/business-service/__tests__/validate.test.ts +0 -160
  189. package/src/capability-map/__tests__/CapabilityMapView.test.tsx +0 -232
  190. package/src/capability-map/__tests__/address.test.ts +0 -59
  191. package/src/capability-map/__tests__/dsm-layout.test.ts +0 -52
  192. package/src/capability-map/__tests__/dsm-mutations.test.ts +0 -141
  193. package/src/capability-map/__tests__/dsm-validate.test.ts +0 -65
  194. package/src/capability-map/__tests__/validate.test.ts +0 -238
  195. package/src/change/__tests__/validate.test.ts +0 -97
  196. package/src/codex/__tests__/example.test.ts +0 -40
  197. package/src/codex/__tests__/validate.test.ts +0 -84
  198. package/src/compliance/__tests__/canon-catalog.test.ts +0 -68
  199. package/src/compliance/__tests__/classify.test.ts +0 -64
  200. package/src/compliance/__tests__/confidence.test.ts +0 -98
  201. package/src/compliance/__tests__/coverage-metric.test.ts +0 -300
  202. package/src/compliance/__tests__/demo-scenario.test.ts +0 -273
  203. package/src/compliance/__tests__/example.test.ts +0 -57
  204. package/src/compliance/__tests__/gap-report.test.ts +0 -129
  205. package/src/compliance/__tests__/html.test.ts +0 -142
  206. package/src/compliance/__tests__/impact.test.ts +0 -1060
  207. package/src/compliance/__tests__/markdown.test.ts +0 -95
  208. package/src/compliance/__tests__/trace.test.ts +0 -157
  209. package/src/compliance/__tests__/view-resolution.test.ts +0 -80
  210. package/src/compliance/__tests__/views.test.ts +0 -64
  211. package/src/compliance-matrix/__tests__/build.test.ts +0 -200
  212. package/src/compliance-matrix/__tests__/example.test.ts +0 -57
  213. package/src/confidence/__tests__/score.test.ts +0 -254
  214. package/src/constraint/__tests__/example.test.ts +0 -19
  215. package/src/constraint/__tests__/validate.test.ts +0 -68
  216. package/src/factor/__tests__/validate.test.ts +0 -133
  217. package/src/fgca/__tests__/chain-table.test.ts +0 -172
  218. package/src/fgca/__tests__/layout.test.ts +0 -179
  219. package/src/fgca/__tests__/parse-canonical.test.ts +0 -296
  220. package/src/fgca/__tests__/preview-layout.test.ts +0 -124
  221. package/src/fgca/__tests__/resolver.test.ts +0 -209
  222. package/src/fgca/__tests__/validate.test.ts +0 -142
  223. package/src/goals/__tests__/GoalTreeView.test.tsx +0 -361
  224. package/src/goals/__tests__/layout.test.ts +0 -175
  225. package/src/goals/__tests__/mutations.test.ts +0 -153
  226. package/src/goals/__tests__/parse-canonical.test.ts +0 -147
  227. package/src/goals/__tests__/validate.test.ts +0 -202
  228. package/src/integration/__tests__/validate.test.ts +0 -203
  229. package/src/location/__tests__/validate.test.ts +0 -127
  230. package/src/node/__tests__/validate.test.ts +0 -118
  231. package/src/process-blueprint/__tests__/compliance-lane.test.ts +0 -320
  232. package/src/process-blueprint/__tests__/layout.test.ts +0 -240
  233. package/src/process-blueprint/__tests__/validate.test.ts +0 -310
  234. package/src/process-map/__tests__/validate.test.ts +0 -223
  235. package/src/products/__tests__/validate.test.ts +0 -239
  236. package/src/repo-validate/__tests__/validate-repo.test.ts +0 -699
  237. package/src/requirement/__tests__/example.test.ts +0 -24
  238. package/src/requirement/__tests__/validate.test.ts +0 -96
  239. package/src/scenarios/__tests__/validate.test.ts +0 -209
  240. package/src/stakeholder/__tests__/validate.test.ts +0 -105
  241. package/src/target-state/__tests__/validate.test.ts +0 -95
  242. package/src/technology-service/__tests__/validate.test.ts +0 -143
  243. package/src/theme/__tests__/tokens.test.ts +0 -185
  244. package/src/webview/__tests__/entity-text-layout.test.ts +0 -182
  245. package/src/webview/__tests__/entry-notations.test.ts +0 -77
  246. package/src/webview/__tests__/entry.test.ts +0 -64
  247. package/src/webview/__tests__/render-activities.test.ts +0 -100
  248. package/src/webview/__tests__/render-blocks.test.ts +0 -206
  249. package/src/webview/__tests__/render-goals.test.ts +0 -128
  250. package/src/webview/__tests__/render-process.test.ts +0 -538
  251. package/src/webview/__tests__/render-util.test.ts +0 -66
@@ -1,223 +0,0 @@
1
- import { describe, it, expect } from 'vitest';
2
- import { validateApplicationsCatalogue } from '../validate.js';
3
- const VALID_CATALOGUE = {
4
- notation: 'applications',
5
- applications_catalogue: {
6
- id: 'APP-CAT-001',
7
- name: 'Enterprise Applications',
8
- updated_at: '2026-05-14',
9
- applications: [
10
- { app_id: 'APP-001', name: 'Order System', type: 'application', status: 'Active', maturity: 3 },
11
- { app_id: 'INT-001', name: 'Event Bus', type: 'integration', status: 'Draft' },
12
- ],
13
- },
14
- };
15
- describe('validateApplicationsCatalogue', () => {
16
- it('passes on valid input', () => {
17
- const r = validateApplicationsCatalogue(VALID_CATALOGUE);
18
- expect(r.valid).toBe(true);
19
- expect(r.errors).toHaveLength(0);
20
- });
21
- it('APP-001: rejects non-object input', () => {
22
- expect(validateApplicationsCatalogue(null).valid).toBe(false);
23
- expect(validateApplicationsCatalogue(null).errors[0].code).toBe('APP-001');
24
- });
25
- it('APP-001: rejects missing notation', () => {
26
- const { notation: _, ...rest } = VALID_CATALOGUE;
27
- const r = validateApplicationsCatalogue(rest);
28
- expect(r.errors.some(e => e.code === 'APP-001')).toBe(true);
29
- });
30
- it('APP-001: rejects wrong notation value', () => {
31
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, notation: 'products' });
32
- expect(r.errors.some(e => e.code === 'APP-001')).toBe(true);
33
- });
34
- it('APP-002: rejects missing applications_catalogue', () => {
35
- const r = validateApplicationsCatalogue({ notation: 'applications' });
36
- expect(r.errors.some(e => e.code === 'APP-002')).toBe(true);
37
- });
38
- it('APP-002: rejects missing id', () => {
39
- const cat = { ...VALID_CATALOGUE.applications_catalogue, id: '' };
40
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
41
- expect(r.errors.some(e => e.code === 'APP-002' && e.message.includes('id'))).toBe(true);
42
- });
43
- it('APP-002: rejects missing name', () => {
44
- const cat = { ...VALID_CATALOGUE.applications_catalogue, name: ' ' };
45
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
46
- expect(r.errors.some(e => e.code === 'APP-002' && e.message.includes('name'))).toBe(true);
47
- });
48
- it('APP-002: rejects missing updated_at', () => {
49
- const { updated_at: _, ...cat } = VALID_CATALOGUE.applications_catalogue;
50
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
51
- expect(r.errors.some(e => e.code === 'APP-002' && e.message.includes('updated_at'))).toBe(true);
52
- });
53
- it('APP-002: rejects non-array applications', () => {
54
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: 'bad' };
55
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
56
- expect(r.errors.some(e => e.code === 'APP-002')).toBe(true);
57
- });
58
- it('APP-003: rejects missing app_id', () => {
59
- const apps = [{ name: 'X', type: 'application', status: 'Active' }];
60
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
61
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
62
- expect(r.errors.some(e => e.code === 'APP-003' && e.message.includes('app_id'))).toBe(true);
63
- });
64
- it('APP-003: rejects missing name', () => {
65
- const apps = [{ app_id: 'A1', name: '', type: 'application', status: 'Active' }];
66
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
67
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
68
- expect(r.errors.some(e => e.code === 'APP-003' && e.message.includes('name'))).toBe(true);
69
- });
70
- it('APP-003: rejects missing type', () => {
71
- const apps = [{ app_id: 'A1', name: 'X', status: 'Active' }];
72
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
73
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
74
- expect(r.errors.some(e => e.code === 'APP-003' && e.message.includes('type'))).toBe(true);
75
- });
76
- it('APP-003: rejects missing status', () => {
77
- const apps = [{ app_id: 'A1', name: 'X', type: 'application' }];
78
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
79
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
80
- expect(r.errors.some(e => e.code === 'APP-003' && e.message.includes('status'))).toBe(true);
81
- });
82
- it('APP-004: rejects invalid type', () => {
83
- const apps = [{ app_id: 'A1', name: 'X', type: 'hardware', status: 'Active' }];
84
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
85
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
86
- expect(r.errors.some(e => e.code === 'APP-004')).toBe(true);
87
- });
88
- it('APP-004: accepts all valid types', () => {
89
- for (const type of ['application', 'integration', 'platform', 'data_store']) {
90
- const apps = [{ app_id: 'A1', name: 'X', type, status: 'Active' }];
91
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
92
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
93
- expect(r.errors.some(e => e.code === 'APP-004')).toBe(false);
94
- }
95
- });
96
- it('APP-005: rejects invalid status', () => {
97
- const apps = [{ app_id: 'A1', name: 'X', type: 'application', status: 'Unknown' }];
98
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
99
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
100
- expect(r.errors.some(e => e.code === 'APP-005')).toBe(true);
101
- });
102
- it('APP-005: accepts all four valid statuses', () => {
103
- for (const status of ['Draft', 'Active', 'Deprecated', 'Decommissioning']) {
104
- const apps = [{ app_id: 'A1', name: 'X', type: 'application', status }];
105
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
106
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
107
- expect(r.errors.some(e => e.code === 'APP-005')).toBe(false);
108
- }
109
- });
110
- it('APP-006: rejects maturity < 1', () => {
111
- const apps = [{ app_id: 'A1', name: 'X', type: 'application', status: 'Active', maturity: 0 }];
112
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
113
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
114
- expect(r.errors.some(e => e.code === 'APP-006')).toBe(true);
115
- });
116
- it('APP-006: rejects maturity > 5', () => {
117
- const apps = [{ app_id: 'A1', name: 'X', type: 'application', status: 'Active', maturity: 6 }];
118
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
119
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
120
- expect(r.errors.some(e => e.code === 'APP-006')).toBe(true);
121
- });
122
- it('APP-006: rejects non-integer maturity', () => {
123
- const apps = [{ app_id: 'A1', name: 'X', type: 'application', status: 'Active', maturity: 3.5 }];
124
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
125
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
126
- expect(r.errors.some(e => e.code === 'APP-006')).toBe(true);
127
- });
128
- it('APP-006: accepts valid maturity range 1-5', () => {
129
- for (const maturity of [1, 2, 3, 4, 5]) {
130
- const apps = [{ app_id: 'A1', name: 'X', type: 'application', status: 'Active', maturity }];
131
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
132
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
133
- expect(r.errors.some(e => e.code === 'APP-006')).toBe(false);
134
- }
135
- });
136
- it('APP-007: rejects malformed updated_at', () => {
137
- const cat = { ...VALID_CATALOGUE.applications_catalogue, updated_at: '14/05/2026' };
138
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
139
- expect(r.errors.some(e => e.code === 'APP-007')).toBe(true);
140
- });
141
- it('APP-007: accepts YYYY-MM-DD format', () => {
142
- const cat = { ...VALID_CATALOGUE.applications_catalogue, updated_at: '2026-01-01' };
143
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
144
- expect(r.errors.some(e => e.code === 'APP-007')).toBe(false);
145
- });
146
- it('APP-008: rejects duplicate app_id', () => {
147
- const apps = [
148
- { app_id: 'A1', name: 'X', type: 'application', status: 'Active' },
149
- { app_id: 'A1', name: 'Y', type: 'platform', status: 'Draft' },
150
- ];
151
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
152
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
153
- expect(r.errors.some(e => e.code === 'APP-008')).toBe(true);
154
- });
155
- it('APP-009: rejects invalid integration direction', () => {
156
- const apps = [{
157
- app_id: 'A1', name: 'X', type: 'application', status: 'Active',
158
- integrations: [{ target: 'A2', direction: 'sideways' }],
159
- }];
160
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
161
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
162
- expect(r.errors.some(e => e.code === 'APP-009')).toBe(true);
163
- });
164
- it('APP-009: accepts valid integration directions', () => {
165
- for (const direction of ['inbound', 'outbound', 'bidirectional']) {
166
- const apps = [{
167
- app_id: 'A1', name: 'X', type: 'application', status: 'Active',
168
- integrations: [{ target: 'A2', direction }],
169
- }];
170
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
171
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
172
- expect(r.errors.some(e => e.code === 'APP-009')).toBe(false);
173
- }
174
- });
175
- it('APP-009: accepts integration without direction', () => {
176
- const apps = [{
177
- app_id: 'A1', name: 'X', type: 'application', status: 'Active',
178
- integrations: [{ target: 'A2', protocol: 'REST' }],
179
- }];
180
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
181
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
182
- expect(r.valid).toBe(true);
183
- });
184
- it('accepts empty applications array', () => {
185
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: [] };
186
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
187
- expect(r.valid).toBe(true);
188
- });
189
- it('accepts application with all optional fields', () => {
190
- const apps = [{
191
- app_id: 'A1', name: 'Full App', type: 'application', status: 'Active',
192
- domain: 'Sales', owner_role: 'ROLE-001', vendor: 'Salesforce', maturity: 4,
193
- description: 'CRM system', capabilities: ['CAP-001'], products: ['PROD-001'],
194
- integrations: [{ target: 'A2', direction: 'outbound', protocol: 'REST', description: 'sends events' }],
195
- }];
196
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
197
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
198
- expect(r.valid).toBe(true);
199
- });
200
- // Pre-release blocker regression (orchestrator review 2026-05-21).
201
- it('[blocker] tolerates a null element in applications[] without throwing', () => {
202
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: [null] };
203
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
204
- expect(r.valid).toBe(false);
205
- expect(r.errors.some(e => e.code === 'APP-003')).toBe(true);
206
- });
207
- it('[blocker] tolerates a string element in applications[] without throwing', () => {
208
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: ['x'] };
209
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
210
- expect(r.valid).toBe(false);
211
- expect(r.errors.some(e => e.code === 'APP-003')).toBe(true);
212
- });
213
- it('[blocker] tolerates a null integration entry without throwing', () => {
214
- const apps = [{
215
- app_id: 'A1', name: 'X', type: 'application', status: 'Active',
216
- integrations: [null],
217
- }];
218
- const cat = { ...VALID_CATALOGUE.applications_catalogue, applications: apps };
219
- const r = validateApplicationsCatalogue({ ...VALID_CATALOGUE, applications_catalogue: cat });
220
- expect(r.valid).toBe(false);
221
- expect(r.errors.some(e => e.code === 'APP-009')).toBe(true);
222
- });
223
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1,32 +0,0 @@
1
- // Conformance test for the shipped ASSERTION worked examples — the acme_corp
2
- // canon files mirrored under `tests/fixtures/notation-corpus/assertion/`. Pins the success signal of
3
- // vkgeorgia/strategy#84 Phase 1: the library consumes the canonical example
4
- // files without error.
5
- import { describe, it, expect } from 'vitest';
6
- import { readFileSync } from 'node:fs';
7
- import { fileURLToPath } from 'node:url';
8
- import path from 'node:path';
9
- import yaml from 'js-yaml';
10
- import { validateAssertion } from '../validate.js';
11
- const dir = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../../../../tests/fixtures/notation-corpus/assertion');
12
- const load = (f) => yaml.load(readFileSync(path.join(dir, f), 'utf-8'));
13
- // Fixed reference date so the ASSERT-008 staleness check is deterministic; all
14
- // three examples have a future review date relative to it.
15
- const today = '2026-06-02';
16
- describe('assertion worked examples (acme_corp)', () => {
17
- for (const f of [
18
- 'ASSERTION-MOBILE-DATA-ERASURE-1.yaml',
19
- 'ASSERTION-CRM-DATA-ERASURE-1.yaml',
20
- 'ASSERTION-ONBOARD-DATA-ERASURE-1.yaml',
21
- ]) {
22
- it(`validates ${f} without error`, () => {
23
- const v = validateAssertion(load(f), { today });
24
- expect(v.valid, JSON.stringify(v.errors)).toBe(true);
25
- expect(v.errors).toHaveLength(0);
26
- });
27
- }
28
- it('does not raise ASSERT-007 for the under_review assertion with empty evidence', () => {
29
- const v = validateAssertion(load('ASSERTION-CRM-DATA-ERASURE-1.yaml'), { today });
30
- expect(v.warnings.map(w => w.code)).not.toContain('ASSERT-007');
31
- });
32
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1,130 +0,0 @@
1
- import { describe, it, expect } from 'vitest';
2
- import { validateAssertion } from '../validate.js';
3
- function valid() {
4
- return {
5
- notation: 'assertion',
6
- id: 'ASSERTION-MOBILE-DATA-ERASURE-1',
7
- about: 'REQUIREMENT-DATA-ERASURE-1',
8
- subject: 'PRODUCT-MOBILE-1',
9
- realised_via: ['CAPABILITY-V2', 'PROCESS-USER-DATA-PURGE-1'],
10
- status: 'compliant',
11
- evidence: [{ kind: 'note', text: 'DPO review confirmed compliance.' }],
12
- assessed_at: '2026-03-15',
13
- next_review_at: '2026-09-15',
14
- zone: 'canon',
15
- admitted_at: '2026-05-28',
16
- admitted_by: 'v.korobeinikov',
17
- gate_checks: { uniqueness: 'pass' },
18
- valid_from: '2026-03-15',
19
- valid_to: null,
20
- };
21
- }
22
- const codes = (input, opts) => validateAssertion(input, opts).errors.map(e => e.code);
23
- const warnCodes = (input, opts) => validateAssertion(input, opts).warnings.map(w => w.code);
24
- describe('validateAssertion — positive', () => {
25
- it('accepts a well-formed assertion', () => {
26
- const r = validateAssertion(valid());
27
- expect(r.valid, JSON.stringify(r.errors)).toBe(true);
28
- expect(r.errors).toHaveLength(0);
29
- });
30
- });
31
- describe('validateAssertion — ASSERT-001 (shape / id grammar)', () => {
32
- it('flags id grammar, wrong notation, missing admission/lifecycle fields', () => {
33
- expect(codes({ ...valid(), id: 'ASSERT-1' })).toContain('ASSERT-001');
34
- expect(codes({ ...valid(), notation: 'claim' })).toContain('ASSERT-001');
35
- const noAdmit = valid();
36
- delete noAdmit.admitted_at;
37
- expect(codes(noAdmit)).toContain('ASSERT-001');
38
- const noValidTo = valid();
39
- delete noValidTo.valid_to;
40
- expect(codes(noValidTo)).toContain('ASSERT-001');
41
- });
42
- it('flags a missing status as ASSERT-001 (required field)', () => {
43
- const r = valid();
44
- delete r.status;
45
- expect(codes(r)).toContain('ASSERT-001');
46
- });
47
- it('rejects a non-object', () => {
48
- expect(codes(null)).toEqual(['ASSERT-001']);
49
- });
50
- });
51
- describe('validateAssertion — ASSERT-002 (about → REQUIREMENT)', () => {
52
- it('flags a missing about', () => {
53
- const r = valid();
54
- delete r.about;
55
- expect(codes(r)).toContain('ASSERT-002');
56
- });
57
- it('flags an about that is not a REQUIREMENT typed id', () => {
58
- expect(codes({ ...valid(), about: 'PRODUCT-MOBILE-1' })).toContain('ASSERT-002');
59
- });
60
- it('with a catalog, flags an unresolved about and a wrong-type about', () => {
61
- expect(codes({ ...valid() }, { catalog: { typeOf: () => undefined } })).toContain('ASSERT-002');
62
- const catalog = { typeOf: (id) => (id === 'REQUIREMENT-DATA-ERASURE-1' ? 'GOAL' : 'PRODUCT') };
63
- expect(codes(valid(), { catalog })).toContain('ASSERT-002');
64
- });
65
- });
66
- describe('validateAssertion — ASSERT-003 (subject TYPE)', () => {
67
- it('flags a subject whose TYPE is not PRODUCT/PROCESS/CAPABILITY', () => {
68
- expect(codes({ ...valid(), subject: 'GOAL-1' })).toContain('ASSERT-003');
69
- });
70
- it('accepts PRODUCT, PROCESS and CAPABILITY subjects', () => {
71
- for (const s of ['PRODUCT-1', 'PROCESS-1', 'CAPABILITY-V2']) {
72
- expect(codes({ ...valid(), subject: s })).not.toContain('ASSERT-003');
73
- }
74
- });
75
- it('with a catalog, flags an unresolved subject', () => {
76
- const catalog = { typeOf: (id) => (id === 'PRODUCT-MOBILE-1' ? undefined : 'REQUIREMENT') };
77
- expect(codes(valid(), { catalog })).toContain('ASSERT-003');
78
- });
79
- });
80
- describe('validateAssertion — ASSERT-004 (realised_via resolves)', () => {
81
- it('flags a malformed realised_via entry', () => {
82
- expect(codes({ ...valid(), realised_via: ['nope'] })).toContain('ASSERT-004');
83
- });
84
- it('with a catalog, flags an unresolved realised_via entry', () => {
85
- const catalog = { typeOf: (id) => (id.startsWith('CAPABILITY') ? undefined : 'X') };
86
- expect(codes(valid(), { catalog })).toContain('ASSERT-004');
87
- });
88
- });
89
- describe('validateAssertion — ASSERT-005 (canonical_ref evidence resolves)', () => {
90
- it('flags a malformed canonical_ref', () => {
91
- expect(codes({ ...valid(), evidence: [{ kind: 'canonical_ref', ref: 'nope' }] })).toContain('ASSERT-005');
92
- });
93
- it('with a catalog, flags an unresolved canonical_ref', () => {
94
- const catalog = { typeOf: () => undefined };
95
- expect(codes({ ...valid(), evidence: [{ kind: 'canonical_ref', ref: 'PROCESS-X-1' }] }, { catalog })).toContain('ASSERT-005');
96
- });
97
- it('ignores external_doc and note evidence kinds for resolution', () => {
98
- const ev = [{ kind: 'external_doc', title: 't', url: 'u' }, { kind: 'note', text: 'n' }];
99
- expect(codes({ ...valid(), evidence: ev })).not.toContain('ASSERT-005');
100
- });
101
- });
102
- describe('validateAssertion — ASSERT-006 (status enum)', () => {
103
- it('flags an out-of-enum status', () => {
104
- expect(codes({ ...valid(), status: 'maybe' })).toContain('ASSERT-006');
105
- });
106
- it('accepts every status value', () => {
107
- for (const s of ['compliant', 'partial', 'non_compliant', 'under_review', 'n_a']) {
108
- expect(codes({ ...valid(), status: s, evidence: [{ kind: 'note', text: 'x' }] })).not.toContain('ASSERT-006');
109
- }
110
- });
111
- });
112
- describe('validateAssertion — ASSERT-007 (positive status without evidence)', () => {
113
- it('warns when evidence is empty and status is compliant or partial', () => {
114
- expect(warnCodes({ ...valid(), evidence: [], status: 'compliant' })).toContain('ASSERT-007');
115
- expect(warnCodes({ ...valid(), evidence: [], status: 'partial' })).toContain('ASSERT-007');
116
- });
117
- it('does not warn for under_review / non_compliant / n_a with empty evidence', () => {
118
- for (const s of ['under_review', 'non_compliant', 'n_a']) {
119
- expect(warnCodes({ ...valid(), evidence: [], status: s })).not.toContain('ASSERT-007');
120
- }
121
- });
122
- });
123
- describe('validateAssertion — ASSERT-008 (stale review)', () => {
124
- it('warns only when today is supplied and next_review_at is in the past', () => {
125
- expect(warnCodes({ ...valid(), next_review_at: '2026-01-01' }, { today: '2026-06-02' })).toContain('ASSERT-008');
126
- expect(warnCodes({ ...valid(), next_review_at: '2026-12-01' }, { today: '2026-06-02' })).not.toContain('ASSERT-008');
127
- // No `today` → clock-free, never warns.
128
- expect(warnCodes({ ...valid(), next_review_at: '2000-01-01' })).not.toContain('ASSERT-008');
129
- });
130
- });
@@ -1 +0,0 @@
1
- export {};
@@ -1,153 +0,0 @@
1
- import { describe, it, expect } from 'vitest';
2
- import { layoutNestedBlocks, iterateBlocks } from '../layout.js';
3
- function findById(layout, id) {
4
- for (const b of iterateBlocks(layout)) {
5
- if (b.id === id)
6
- return b;
7
- }
8
- return undefined;
9
- }
10
- const TWO_TOP_LEVEL = {
11
- notation: 'blocks',
12
- spec_version: '0.1',
13
- nested_blocks: {
14
- id: 'BLOCKS-ARCH-1',
15
- name: 'Software architecture',
16
- blocks: [
17
- {
18
- id: 'APPLICATION_LAYER',
19
- name: 'Application Layer',
20
- children: [
21
- {
22
- id: 'FRONTEND',
23
- name: 'Frontend',
24
- children: [
25
- { id: 'REACT_APP', name: 'React App' },
26
- { id: 'REDUX_STORE', name: 'Redux Store' },
27
- ],
28
- },
29
- {
30
- id: 'BACKEND',
31
- name: 'Backend',
32
- children: [
33
- { id: 'REST_API', name: 'REST API' },
34
- { id: 'BUSINESS_LOGIC', name: 'Business Logic' },
35
- ],
36
- },
37
- ],
38
- },
39
- {
40
- id: 'DATA_LAYER',
41
- name: 'Data Layer',
42
- children: [
43
- { id: 'POSTGRESQL', name: 'PostgreSQL' },
44
- { id: 'REDIS_CACHE', name: 'Redis Cache' },
45
- ],
46
- },
47
- ],
48
- },
49
- };
50
- describe('layoutNestedBlocks', () => {
51
- it('lays out top-level blocks vertically starting at y=0', () => {
52
- const layout = layoutNestedBlocks(TWO_TOP_LEVEL);
53
- expect(layout.blocks).toHaveLength(2);
54
- expect(layout.blocks[0].y).toBe(0);
55
- expect(layout.blocks[1].y).toBeGreaterThan(layout.blocks[0].y + layout.blocks[0].height);
56
- });
57
- it('assigns depth=1 to top-level blocks and increases for each nesting level', () => {
58
- const layout = layoutNestedBlocks(TWO_TOP_LEVEL);
59
- const app = findById(layout, 'APPLICATION_LAYER');
60
- const frontend = findById(layout, 'FRONTEND');
61
- const react = findById(layout, 'REACT_APP');
62
- expect(app.depth).toBe(1);
63
- expect(frontend.depth).toBe(2);
64
- expect(react.depth).toBe(3);
65
- });
66
- it('records max depth on the layout', () => {
67
- const layout = layoutNestedBlocks(TWO_TOP_LEVEL);
68
- expect(layout.maxDepth).toBe(3);
69
- });
70
- it('places every child strictly inside its parent (containment property)', () => {
71
- const layout = layoutNestedBlocks(TWO_TOP_LEVEL);
72
- function checkContainment(b) {
73
- for (const c of b.children) {
74
- expect(c.x).toBeGreaterThanOrEqual(b.x);
75
- expect(c.y).toBeGreaterThanOrEqual(b.y + b.headerHeight);
76
- expect(c.x + c.width).toBeLessThanOrEqual(b.x + b.width);
77
- expect(c.y + c.height).toBeLessThanOrEqual(b.y + b.height);
78
- checkContainment(c);
79
- }
80
- }
81
- for (const top of layout.blocks)
82
- checkContainment(top);
83
- });
84
- it('siblings do not overlap', () => {
85
- const layout = layoutNestedBlocks(TWO_TOP_LEVEL);
86
- function checkSiblings(b) {
87
- for (let i = 0; i < b.children.length; i++) {
88
- for (let j = i + 1; j < b.children.length; j++) {
89
- const a = b.children[i];
90
- const c = b.children[j];
91
- const disjointX = a.x + a.width <= c.x || c.x + c.width <= a.x;
92
- const disjointY = a.y + a.height <= c.y || c.y + c.height <= a.y;
93
- expect(disjointX || disjointY).toBe(true);
94
- }
95
- checkSiblings(b.children[i]);
96
- }
97
- }
98
- for (const top of layout.blocks)
99
- checkSiblings(top);
100
- });
101
- it('a leaf block uses the configured leaf dimensions', () => {
102
- const layout = layoutNestedBlocks({
103
- notation: 'blocks',
104
- nested_blocks: {
105
- id: 'BLOCKS-LEAF-1',
106
- name: 'Leaf only',
107
- blocks: [{ id: 'A', name: 'A' }],
108
- },
109
- });
110
- const a = layout.blocks[0];
111
- expect(a.width).toBe(250);
112
- expect(a.height).toBe(80);
113
- });
114
- it('honours custom layout options', () => {
115
- const layout = layoutNestedBlocks({
116
- notation: 'blocks',
117
- nested_blocks: {
118
- id: 'BLOCKS-LEAF-1',
119
- name: 'Leaf only',
120
- blocks: [{ id: 'A', name: 'A' }],
121
- },
122
- }, { leafWidth: 200, leafHeight: 80 });
123
- expect(layout.blocks[0].width).toBe(200);
124
- expect(layout.blocks[0].height).toBe(80);
125
- });
126
- it('iterateBlocks visits every block once in pre-order', () => {
127
- const layout = layoutNestedBlocks(TWO_TOP_LEVEL);
128
- const ids = Array.from(iterateBlocks(layout)).map((b) => b.id);
129
- expect(ids).toEqual([
130
- 'APPLICATION_LAYER',
131
- 'FRONTEND',
132
- 'REACT_APP',
133
- 'REDUX_STORE',
134
- 'BACKEND',
135
- 'REST_API',
136
- 'BUSINESS_LOGIC',
137
- 'DATA_LAYER',
138
- 'POSTGRESQL',
139
- 'REDIS_CACHE',
140
- ]);
141
- });
142
- it('handles an empty top-level array gracefully (returns zero-size bounds)', () => {
143
- const layout = layoutNestedBlocks({
144
- notation: 'blocks',
145
- // Schema-wise this is invalid (BL-004), but the layout function still
146
- // needs to be defensive — validation runs separately.
147
- nested_blocks: { id: 'X', name: 'X', blocks: [] },
148
- });
149
- expect(layout.blocks).toHaveLength(0);
150
- expect(layout.bounds.width).toBe(0);
151
- expect(layout.bounds.height).toBe(0);
152
- });
153
- });
@@ -1 +0,0 @@
1
- export {};