@seatmap-fyi/map-domain 0.1.0-alpha.2 → 0.1.0-alpha.29
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/dist/catalog.d.ts +10 -3
- package/dist/catalog.js +66 -10
- package/dist/categories.d.ts +26 -0
- package/dist/categories.js +168 -0
- package/dist/editor-state.d.ts +49 -0
- package/dist/editor-state.js +266 -0
- package/dist/floors.d.ts +19 -0
- package/dist/floors.js +68 -0
- package/dist/geometry/boundary.d.ts +1 -1
- package/dist/geometry/boundary.js +10 -12
- package/dist/geometry/curve-warnings.d.ts +1 -1
- package/dist/geometry/curve-warnings.js +3 -5
- package/dist/geometry/decoration-bounds.d.ts +4 -0
- package/dist/geometry/decoration-bounds.js +42 -0
- package/dist/geometry/ellipse.js +4 -12
- package/dist/geometry/geometry.d.ts +12 -3
- package/dist/geometry/geometry.js +35 -26
- package/dist/geometry/polygon-curves.d.ts +12 -0
- package/dist/geometry/polygon-curves.js +132 -0
- package/dist/geometry/primitives.d.ts +1 -1
- package/dist/geometry/primitives.js +2 -3
- package/dist/geometry/seat-shape.d.ts +24 -0
- package/dist/geometry/seat-shape.js +101 -0
- package/dist/geometry/seating-layout.d.ts +14 -3
- package/dist/geometry/seating-layout.js +91 -19
- package/dist/geometry/units.d.ts +1 -0
- package/dist/geometry/units.js +2 -0
- package/dist/geometry/venue-outline.d.ts +2 -2
- package/dist/geometry/venue-outline.js +8 -21
- package/dist/identity.d.ts +4 -1
- package/dist/identity.js +36 -10
- package/dist/issues.d.ts +9 -2
- package/dist/issues.js +8 -6
- package/dist/labels.d.ts +12 -1
- package/dist/labels.js +76 -11
- package/dist/layers.d.ts +26 -0
- package/dist/layers.js +86 -0
- package/dist/media.d.ts +27 -0
- package/dist/media.js +89 -0
- package/dist/physical-document.interface.d.ts +518 -0
- package/dist/{types.js → physical-document.interface.js} +71 -0
- package/dist/preview.d.ts +1 -1
- package/dist/preview.js +65 -24
- package/dist/reference.js +1 -1
- package/dist/row-segments.d.ts +30 -0
- package/dist/row-segments.js +112 -0
- package/dist/schema.d.ts +1192 -68
- package/dist/schema.js +372 -96
- package/dist/seat-proximity.d.ts +4 -0
- package/dist/seat-proximity.js +119 -0
- package/dist/sections.d.ts +23 -0
- package/dist/sections.js +149 -0
- package/dist/selling.d.ts +34 -0
- package/dist/selling.js +148 -0
- package/dist/spacing-repairs.d.ts +31 -0
- package/dist/spacing-repairs.js +168 -0
- package/dist/table-layout.d.ts +29 -0
- package/dist/table-layout.js +134 -0
- package/dist/validation.d.ts +3 -1
- package/dist/validation.js +124 -74
- package/package.json +59 -3
- package/dist/types.d.ts +0 -313
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { resizeRoundTable } from "./table-layout.js";
|
|
2
|
+
import { IssueCode, IssueSeverity, issueKey } from "./issues.js";
|
|
3
|
+
import { validatePhysicalDocument } from "./validation.js";
|
|
4
|
+
import { seatProximityIssues } from "./seat-proximity.js";
|
|
5
|
+
import { resolveRowLayout, rowSeatGeometry } from "./geometry/seating-layout.js";
|
|
6
|
+
import { LayoutUnitM } from "./geometry/units.js";
|
|
7
|
+
import { SeatingKind, TableChairDistribution, } from "./physical-document.interface.js";
|
|
8
|
+
export var SpacingRepairKind;
|
|
9
|
+
(function (SpacingRepairKind) {
|
|
10
|
+
SpacingRepairKind["Row"] = "row";
|
|
11
|
+
SpacingRepairKind["LongTable"] = "longTable";
|
|
12
|
+
SpacingRepairKind["RoundTable"] = "roundTable";
|
|
13
|
+
})(SpacingRepairKind || (SpacingRepairKind = {}));
|
|
14
|
+
const targetPitchM = 22.5 * LayoutUnitM;
|
|
15
|
+
const proposals = new WeakMap();
|
|
16
|
+
/** Spacing-only proposals retain inventory/metadata and the mean of remaining row seats. */
|
|
17
|
+
export function spacingRepairs(document) {
|
|
18
|
+
const cached = proposals.get(document);
|
|
19
|
+
if (cached)
|
|
20
|
+
return cached;
|
|
21
|
+
const result = [];
|
|
22
|
+
const crowded = new Set(seatProximityIssues(document)
|
|
23
|
+
.filter((finding) => finding.entityIds.length === 1)
|
|
24
|
+
.map((finding) => finding.entityIds[0]));
|
|
25
|
+
for (const group of document.seatingGroups) {
|
|
26
|
+
if (group.kind === SeatingKind.Straight || group.kind === SeatingKind.Curved) {
|
|
27
|
+
for (const [index, row] of group.rows.entries()) {
|
|
28
|
+
if (!crowded.has(row.id) || row.seats.length < 2)
|
|
29
|
+
continue;
|
|
30
|
+
const layout = resolveRowLayout(group, index);
|
|
31
|
+
if (!layout || layout.seatPitchM >= targetPitchM)
|
|
32
|
+
continue;
|
|
33
|
+
let remaining = 0;
|
|
34
|
+
let indexSum = 0;
|
|
35
|
+
let centreX = 0;
|
|
36
|
+
let centreY = 0;
|
|
37
|
+
for (const [seat, slot] of row.seats.entries()) {
|
|
38
|
+
if (slot.gap)
|
|
39
|
+
continue;
|
|
40
|
+
remaining++;
|
|
41
|
+
if (layout.curveDeg === 0)
|
|
42
|
+
indexSum += seat;
|
|
43
|
+
else {
|
|
44
|
+
const position = rowSeatGeometry(group, index, seat, row.seats.length, row.seats.length, layout).position;
|
|
45
|
+
centreX += position.x - layout.originM.x;
|
|
46
|
+
centreY += position.y - layout.originM.y;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
let shiftX;
|
|
50
|
+
let shiftY;
|
|
51
|
+
if (layout.curveDeg === 0) {
|
|
52
|
+
const shiftM = (targetPitchM - layout.seatPitchM) * (indexSum / remaining);
|
|
53
|
+
const angle = (layout.rotationDeg * Math.PI) / 180;
|
|
54
|
+
shiftX = shiftM * Math.cos(angle);
|
|
55
|
+
shiftY = shiftM * Math.sin(angle);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
const expansion = targetPitchM / layout.seatPitchM - 1;
|
|
59
|
+
shiftX = (centreX / remaining) * expansion;
|
|
60
|
+
shiftY = (centreY / remaining) * expansion;
|
|
61
|
+
}
|
|
62
|
+
result.push({
|
|
63
|
+
kind: SpacingRepairKind.Row,
|
|
64
|
+
groupId: group.id,
|
|
65
|
+
entityId: row.id,
|
|
66
|
+
description: `Expanded ${row.id} to the 22.5u target pitch while preserving its centre`,
|
|
67
|
+
layout: {
|
|
68
|
+
...layout,
|
|
69
|
+
seatPitchM: targetPitchM,
|
|
70
|
+
originM: {
|
|
71
|
+
x: layout.originM.x - shiftX,
|
|
72
|
+
y: layout.originM.y - shiftY,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
else if (group.kind === SeatingKind.Round && crowded.has(group.id) && group.chairs.length > 1) {
|
|
79
|
+
const arc = group.recipe.seatArcDeg ?? 360;
|
|
80
|
+
const intervals = arc === 360 ? group.chairs.length : group.chairs.length - 1;
|
|
81
|
+
const step = (arc * Math.PI) / (180 * intervals);
|
|
82
|
+
const orbitM = targetPitchM / (2 * Math.sin(step / 2));
|
|
83
|
+
const diameterM = 2 * (orbitM - group.recipe.chairGapM - group.seatSizeM.height / 2);
|
|
84
|
+
if (diameterM <= group.recipe.diameterM)
|
|
85
|
+
continue;
|
|
86
|
+
result.push({
|
|
87
|
+
kind: SpacingRepairKind.RoundTable,
|
|
88
|
+
groupId: group.id,
|
|
89
|
+
entityId: group.id,
|
|
90
|
+
description: `Expanded ${group.id} so its perimeter seats meet the 22.5u target pitch`,
|
|
91
|
+
recipe: { ...group.recipe, diameterM },
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
else if (group.kind === SeatingKind.Rectangular &&
|
|
95
|
+
crowded.has(group.id) &&
|
|
96
|
+
group.recipe.chairDistribution === TableChairDistribution.EqualSegments) {
|
|
97
|
+
const widthM = Math.max(group.recipe.widthM, Math.max(group.chairsBySide.top.length, group.chairsBySide.bottom.length) * targetPitchM);
|
|
98
|
+
const depthM = Math.max(group.recipe.depthM, Math.max(group.chairsBySide.left.length, group.chairsBySide.right.length) * targetPitchM);
|
|
99
|
+
if (widthM === group.recipe.widthM && depthM === group.recipe.depthM)
|
|
100
|
+
continue;
|
|
101
|
+
result.push({
|
|
102
|
+
kind: SpacingRepairKind.LongTable,
|
|
103
|
+
groupId: group.id,
|
|
104
|
+
entityId: group.id,
|
|
105
|
+
description: `Expanded ${group.id} so its perimeter seats meet the 22.5u target pitch`,
|
|
106
|
+
recipe: { ...group.recipe, widthM, depthM },
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
proposals.set(document, result);
|
|
111
|
+
return result;
|
|
112
|
+
}
|
|
113
|
+
const qualityCodes = new Set([IssueCode.SeatOverlap, IssueCode.SeatCramped, IssueCode.MissingCategoryPrice]);
|
|
114
|
+
/** Only the qualified geometry/pricing families produce a score; other quality rules remain open. */
|
|
115
|
+
function qualityScore(findings) {
|
|
116
|
+
if (findings.some((finding) => !qualityCodes.has(finding.code)))
|
|
117
|
+
return null;
|
|
118
|
+
let geometry = 0;
|
|
119
|
+
let pricing = 0;
|
|
120
|
+
for (const finding of findings) {
|
|
121
|
+
if (finding.code === IssueCode.MissingCategoryPrice)
|
|
122
|
+
pricing += 2;
|
|
123
|
+
else
|
|
124
|
+
geometry += finding.code === IssueCode.SeatOverlap ? 15 : 4;
|
|
125
|
+
}
|
|
126
|
+
return Math.max(0, 100 - Math.min(30, geometry) - pricing);
|
|
127
|
+
}
|
|
128
|
+
/** Preview only the reviewed proposals, with structural sharing and no editable/history state. */
|
|
129
|
+
export function spacingRepairReview(document, repairs) {
|
|
130
|
+
const beforeFindings = validatePhysicalDocument(document);
|
|
131
|
+
const before = qualityScore(beforeFindings);
|
|
132
|
+
const rows = new Map(repairs.flatMap((repair) => repair.kind === SpacingRepairKind.Row ? [[repair.entityId, repair.layout]] : []));
|
|
133
|
+
const longTables = new Map(repairs.flatMap((repair) => repair.kind === SpacingRepairKind.LongTable ? [[repair.groupId, repair.recipe]] : []));
|
|
134
|
+
const roundTables = new Map(repairs.flatMap((repair) => repair.kind === SpacingRepairKind.RoundTable ? [[repair.groupId, repair.recipe]] : []));
|
|
135
|
+
let automaticSizeConflict = false;
|
|
136
|
+
const seatingGroups = document.seatingGroups.map((group) => {
|
|
137
|
+
if (group.kind === SeatingKind.Straight || group.kind === SeatingKind.Curved) {
|
|
138
|
+
if (!group.rows.some((row) => rows.has(row.id)))
|
|
139
|
+
return group;
|
|
140
|
+
return {
|
|
141
|
+
...group,
|
|
142
|
+
rows: group.rows.map((row) => {
|
|
143
|
+
const layout = rows.get(row.id);
|
|
144
|
+
return layout ? { ...row, layout } : row;
|
|
145
|
+
}),
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
if (group.kind === SeatingKind.Round) {
|
|
149
|
+
const recipe = roundTables.get(group.id);
|
|
150
|
+
if (!recipe)
|
|
151
|
+
return group;
|
|
152
|
+
const projected = resizeRoundTable({ ...group, recipe });
|
|
153
|
+
if (projected.recipe.diameterM !== recipe.diameterM)
|
|
154
|
+
automaticSizeConflict = true;
|
|
155
|
+
return projected;
|
|
156
|
+
}
|
|
157
|
+
const recipe = longTables.get(group.id);
|
|
158
|
+
return recipe ? { ...group, recipe } : group;
|
|
159
|
+
});
|
|
160
|
+
const afterFindings = validatePhysicalDocument({ ...document, seatingGroups });
|
|
161
|
+
const after = qualityScore(afterFindings);
|
|
162
|
+
const existingErrors = new Set(beforeFindings.filter((finding) => finding.severity === IssueSeverity.Error).map(issueKey));
|
|
163
|
+
return {
|
|
164
|
+
quality: before === null || after === null ? null : { before, after },
|
|
165
|
+
blocked: automaticSizeConflict ||
|
|
166
|
+
afterFindings.some((finding) => finding.severity === IssueSeverity.Error && !existingErrors.has(issueKey(finding))),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SeatingKind, type RoundTable, type RectangularTable, type LongTableLayout, type RoundTableRecipe } from "./physical-document.interface.js";
|
|
2
|
+
import type { TableInventory } from "./selling.js";
|
|
3
|
+
export declare const TableLayoutDefaults: {
|
|
4
|
+
readonly chairSizeM: number;
|
|
5
|
+
readonly chairGapM: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const TableLayoutLimits: {
|
|
8
|
+
readonly chairs: 40;
|
|
9
|
+
readonly arcMin: 120;
|
|
10
|
+
readonly arcMax: 360;
|
|
11
|
+
readonly radiusMinM: 0.6;
|
|
12
|
+
readonly radiusMaxM: 3.7;
|
|
13
|
+
readonly widthMinM: 0.9;
|
|
14
|
+
readonly widthMaxM: 7.3;
|
|
15
|
+
readonly heightMinM: 0.7;
|
|
16
|
+
readonly heightMaxM: 5.5;
|
|
17
|
+
};
|
|
18
|
+
export declare const TableChairSides: readonly ["top", "bottom", "left", "right"];
|
|
19
|
+
export declare function defaultRoundTableRecipe(): RoundTableRecipe;
|
|
20
|
+
export declare function defaultLongTableLayout(): LongTableLayout;
|
|
21
|
+
/** Shared by committed count reconciliation and placement previews. */
|
|
22
|
+
export declare function automaticTableRadiusM(count: number, arcDeg: number): number;
|
|
23
|
+
export declare function resizeRoundTable(table: RoundTable): RoundTable;
|
|
24
|
+
export declare function setRoundTableAutomaticSize(table: RoundTable, automaticSize: boolean): RoundTable;
|
|
25
|
+
export declare function setRoundTableArc(table: RoundTable, requested: number): RoundTable;
|
|
26
|
+
export declare function setRoundTableRadius(table: RoundTable, requested: number): RoundTable;
|
|
27
|
+
export declare function setLongTableDimensions(table: RectangularTable, widthM: number, depthM: number): RectangularTable;
|
|
28
|
+
/** Shape changes retain inventory identity, personal overrides and the inactive shape settings. */
|
|
29
|
+
export declare function changeTableShape(table: TableInventory, kind: SeatingKind.Round | SeatingKind.Rectangular): TableInventory;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { LayoutUnitM } from "./geometry/units.js";
|
|
2
|
+
import { SeatingKind, TableChairDistribution, } from "./physical-document.interface.js";
|
|
3
|
+
export const TableLayoutDefaults = {
|
|
4
|
+
chairSizeM: 18 * LayoutUnitM,
|
|
5
|
+
chairGapM: 7 * LayoutUnitM,
|
|
6
|
+
};
|
|
7
|
+
export const TableLayoutLimits = {
|
|
8
|
+
chairs: 40,
|
|
9
|
+
arcMin: 120,
|
|
10
|
+
arcMax: 360,
|
|
11
|
+
radiusMinM: 0.6,
|
|
12
|
+
radiusMaxM: 3.7,
|
|
13
|
+
widthMinM: 0.9,
|
|
14
|
+
widthMaxM: 7.3,
|
|
15
|
+
heightMinM: 0.7,
|
|
16
|
+
heightMaxM: 5.5,
|
|
17
|
+
};
|
|
18
|
+
export const TableChairSides = ["top", "bottom", "left", "right"];
|
|
19
|
+
export function defaultRoundTableRecipe() {
|
|
20
|
+
return {
|
|
21
|
+
diameterM: 72 * LayoutUnitM,
|
|
22
|
+
chairGapM: TableLayoutDefaults.chairGapM,
|
|
23
|
+
startAngleDeg: 0,
|
|
24
|
+
automaticSize: true,
|
|
25
|
+
seatArcDeg: 360,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export function defaultLongTableLayout() {
|
|
29
|
+
return {
|
|
30
|
+
recipe: {
|
|
31
|
+
widthM: 80 * LayoutUnitM,
|
|
32
|
+
depthM: 50 * LayoutUnitM,
|
|
33
|
+
chairGapM: TableLayoutDefaults.chairGapM,
|
|
34
|
+
chairDistribution: TableChairDistribution.EqualSegments,
|
|
35
|
+
},
|
|
36
|
+
sides: { top: true, bottom: true, left: false, right: false },
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/** Shared by committed count reconciliation and placement previews. */
|
|
40
|
+
export function automaticTableRadiusM(count, arcDeg) {
|
|
41
|
+
return Math.min(160, Math.max(36, (count * 4 * 360) / arcDeg)) * LayoutUnitM;
|
|
42
|
+
}
|
|
43
|
+
export function resizeRoundTable(table) {
|
|
44
|
+
if (!table.recipe.automaticSize)
|
|
45
|
+
return table;
|
|
46
|
+
const diameterM = 2 * automaticTableRadiusM(table.chairs.length, table.recipe.seatArcDeg ?? 360);
|
|
47
|
+
if (diameterM === table.recipe.diameterM)
|
|
48
|
+
return table;
|
|
49
|
+
return { ...table, recipe: { ...table.recipe, diameterM } };
|
|
50
|
+
}
|
|
51
|
+
export function setRoundTableAutomaticSize(table, automaticSize) {
|
|
52
|
+
if (!!table.recipe.automaticSize === automaticSize)
|
|
53
|
+
return table;
|
|
54
|
+
return resizeRoundTable({
|
|
55
|
+
...table,
|
|
56
|
+
recipe: { ...table.recipe, automaticSize },
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
export function setRoundTableArc(table, requested) {
|
|
60
|
+
const seatArcDeg = Math.min(360, Math.max(120, Math.round(requested)));
|
|
61
|
+
if (seatArcDeg === table.recipe.seatArcDeg)
|
|
62
|
+
return table;
|
|
63
|
+
return resizeRoundTable({
|
|
64
|
+
...table,
|
|
65
|
+
recipe: { ...table.recipe, seatArcDeg },
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function dimensionM(requested, minimum, maximum) {
|
|
69
|
+
const units = Math.min(maximum, Math.max(minimum, Math.round(requested / LayoutUnitM)));
|
|
70
|
+
return units * LayoutUnitM;
|
|
71
|
+
}
|
|
72
|
+
export function setRoundTableRadius(table, requested) {
|
|
73
|
+
if (table.recipe.automaticSize)
|
|
74
|
+
return table;
|
|
75
|
+
const diameterM = 2 * dimensionM(requested, 24, 160);
|
|
76
|
+
return diameterM === table.recipe.diameterM ? table : { ...table, recipe: { ...table.recipe, diameterM } };
|
|
77
|
+
}
|
|
78
|
+
export function setLongTableDimensions(table, widthM, depthM) {
|
|
79
|
+
const recipe = {
|
|
80
|
+
...table.recipe,
|
|
81
|
+
widthM: dimensionM(widthM, 40, 320),
|
|
82
|
+
depthM: dimensionM(depthM, 30, 240),
|
|
83
|
+
};
|
|
84
|
+
return recipe.widthM === table.recipe.widthM && recipe.depthM === table.recipe.depthM ? table : { ...table, recipe };
|
|
85
|
+
}
|
|
86
|
+
/** Shape changes retain inventory identity, personal overrides and the inactive shape settings. */
|
|
87
|
+
export function changeTableShape(table, kind) {
|
|
88
|
+
if (table.kind === kind)
|
|
89
|
+
return table;
|
|
90
|
+
if (table.kind === SeatingKind.Rectangular) {
|
|
91
|
+
const { recipe, chairsBySide, roundLayout, ...base } = table;
|
|
92
|
+
const chairs = TableChairSides.flatMap((side) => chairsBySide[side]);
|
|
93
|
+
return resizeRoundTable({
|
|
94
|
+
...base,
|
|
95
|
+
kind: SeatingKind.Round,
|
|
96
|
+
chairs,
|
|
97
|
+
recipe: {
|
|
98
|
+
...(roundLayout ?? defaultRoundTableRecipe()),
|
|
99
|
+
automaticSize: true,
|
|
100
|
+
},
|
|
101
|
+
longLayout: {
|
|
102
|
+
recipe,
|
|
103
|
+
sides: {
|
|
104
|
+
top: !!chairsBySide.top.length,
|
|
105
|
+
bottom: !!chairsBySide.bottom.length,
|
|
106
|
+
left: !!chairsBySide.left.length,
|
|
107
|
+
right: !!chairsBySide.right.length,
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
const { recipe, chairs, longLayout, ...base } = table;
|
|
113
|
+
const layout = longLayout ?? defaultLongTableLayout();
|
|
114
|
+
const sides = TableChairSides.filter((side) => layout.sides[side]);
|
|
115
|
+
let offset = 0;
|
|
116
|
+
const chairsBySide = {
|
|
117
|
+
top: [],
|
|
118
|
+
bottom: [],
|
|
119
|
+
left: [],
|
|
120
|
+
right: [],
|
|
121
|
+
};
|
|
122
|
+
for (const [index, side] of sides.entries()) {
|
|
123
|
+
const count = Math.floor(chairs.length / sides.length) + (index < chairs.length % sides.length ? 1 : 0);
|
|
124
|
+
chairsBySide[side] = chairs.slice(offset, offset + count);
|
|
125
|
+
offset += count;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
...base,
|
|
129
|
+
kind: SeatingKind.Rectangular,
|
|
130
|
+
recipe: layout.recipe,
|
|
131
|
+
chairsBySide,
|
|
132
|
+
roundLayout: recipe,
|
|
133
|
+
};
|
|
134
|
+
}
|
package/dist/validation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PhysicalDocumentV1, type UUID } from "./
|
|
1
|
+
import { type PhysicalDocumentV1, type UUID } from "./physical-document.interface.js";
|
|
2
2
|
import { type DomainIssue } from "./issues.js";
|
|
3
3
|
export type AssetReadiness = ReadonlySet<UUID>;
|
|
4
4
|
/** Label equality and collision ownership live here; consumers only project issues. */
|
|
@@ -15,6 +15,8 @@ export declare class ValidationIndex {
|
|
|
15
15
|
constructor(document: PhysicalDocumentV1, assetReadiness?: AssetReadiness);
|
|
16
16
|
private key;
|
|
17
17
|
private refresh;
|
|
18
|
+
/** Booking collisions already explain the affected rows; do not also report their shared name. */
|
|
19
|
+
private collisionIssues;
|
|
18
20
|
private put;
|
|
19
21
|
private remove;
|
|
20
22
|
private indexGroup;
|