@seatlayer/core 0.35.0 → 0.36.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.
@@ -1030,7 +1030,13 @@ interface ReferenceSectionTraceProposal {
1030
1030
  outlinePath: SectionOutlinePath;
1031
1031
  /** Only structural source voids; printed labels/icons are filtered out. */
1032
1032
  holes: Point[][];
1033
- color: string;
1033
+ /**
1034
+ * Optional, and the tracer deliberately omits it. The colour a section is
1035
+ * drawn in belongs to the CHART, not to the screenshot it was traced from —
1036
+ * see the note in `referenceSectionTrace.ts`. The sampled value lives on the
1037
+ * region row as `sampled_color`. Consumers fall back to zone/theme colour.
1038
+ */
1039
+ color?: string;
1034
1040
  referenceSource: {
1035
1041
  assetId: string;
1036
1042
  regionId: string;
@@ -1247,6 +1253,12 @@ interface RendererCallbacks {
1247
1253
  /** Far-zoom level-of-detail rung: whole zones → section blocks → individual seats. */
1248
1254
  type LodRung = 'zones' | 'sections' | 'seats';
1249
1255
  interface RendererOptions extends RendererCallbacks {
1256
+ /**
1257
+ * Internal fixed-output mode used by the free maker's PNG/PDF pipeline.
1258
+ * It disables interaction, ResizeObserver, animation/FPS work and overview
1259
+ * bitmap caching while keeping the ordinary buyer renderer unchanged.
1260
+ */
1261
+ exportMode?: boolean;
1250
1262
  /** Max seats selectable at once (default 10). */
1251
1263
  maxSelection?: number;
1252
1264
  /** Only these statuses are clickable (default ['free']). */
@@ -1030,7 +1030,13 @@ interface ReferenceSectionTraceProposal {
1030
1030
  outlinePath: SectionOutlinePath;
1031
1031
  /** Only structural source voids; printed labels/icons are filtered out. */
1032
1032
  holes: Point[][];
1033
- color: string;
1033
+ /**
1034
+ * Optional, and the tracer deliberately omits it. The colour a section is
1035
+ * drawn in belongs to the CHART, not to the screenshot it was traced from —
1036
+ * see the note in `referenceSectionTrace.ts`. The sampled value lives on the
1037
+ * region row as `sampled_color`. Consumers fall back to zone/theme colour.
1038
+ */
1039
+ color?: string;
1034
1040
  referenceSource: {
1035
1041
  assetId: string;
1036
1042
  regionId: string;
@@ -1247,6 +1253,12 @@ interface RendererCallbacks {
1247
1253
  /** Far-zoom level-of-detail rung: whole zones → section blocks → individual seats. */
1248
1254
  type LodRung = 'zones' | 'sections' | 'seats';
1249
1255
  interface RendererOptions extends RendererCallbacks {
1256
+ /**
1257
+ * Internal fixed-output mode used by the free maker's PNG/PDF pipeline.
1258
+ * It disables interaction, ResizeObserver, animation/FPS work and overview
1259
+ * bitmap caching while keeping the ordinary buyer renderer unchanged.
1260
+ */
1261
+ exportMode?: boolean;
1250
1262
  /** Max seats selectable at once (default 10). */
1251
1263
  maxSelection?: number;
1252
1264
  /** Only these statuses are clickable (default ['free']). */