@@ -75,12 +75,11 @@ const SHARED_NAME_OVERRIDES = new Map([
7575 [' legendgrouptitle' , ' LegendGroupTitle' ],
7676 [' error_y' , ' ErrorY' ],
7777 [' error_x' , ' ErrorX' ],
78- [' stream' , ' Stream' ],
7978]);
8079```
8180
8281Names in ` SHARED_NAME_OVERRIDES ` bypass ` MIN_PROPERTIES ` , so small
83- containers like ` Stream ` (2 properties) can be opted in as shared.
82+ containers like ` ErrorX ` / ` ErrorY ` (3 properties) can be opted in as shared.
8483
8584After fingerprinting completes, the generator ** injects** the ` transition `
8685and ` frame ` subtrees from ` schema.animation ` as shared types (` Transition `
@@ -133,11 +132,11 @@ without overrides (all fields are concrete booleans).
133132
134133` ConfigBase ` is emitted from ` schema.config ` after registering Edits'
135134fingerprint in ` sharedTypes ` , so ` edits?: Edits ` references the named
136- interface rather than re-inlining the subtree. Seven config fields whose
135+ interface rather than re-inlining the subtree. Six config fields whose
137136schema ` valType ` is ` any ` (` locales ` , ` modeBarButtons ` ,
138137` modeBarButtonsToAdd ` , ` modeBarButtonsToRemove ` , ` setBackground ` ,
139- ` showSources ` , ` toImageButtonOptions ` ) come through as ` any ` ; the
140- hand-written ` Config ` in ` core/config.d.ts ` overrides them via
138+ ` toImageButtonOptions ` ) come through as ` any ` ; the hand-written ` Config `
139+ in ` core/config.d.ts ` overrides them via
141140` Omit<ConfigBase, keyof ConfigOverrides> & ConfigOverrides ` .
142141
143142### Phase 6: Internal namespace
@@ -147,7 +146,7 @@ Names in `INTERNAL_INTERFACES` are wrapped in `export namespace _internal {
147146
148147``` js
149148const INTERNAL_INTERFACES = new Set ([
150- ' AutoRangeOptions' , ' ErrorY' , ' Lighting' , ' Line' , ' Marker' , ' Stream '
149+ ' AutoRangeOptions' , ' ErrorY' , ' Lighting' , ' Line' , ' Marker'
151150]);
152151```
153152
@@ -190,7 +189,7 @@ src/types/generated/schema.d.ts
190189│ Pattern, TickFormatStops, LegendGroupTitle, ...)
191190├── Internal shared interfaces in `namespace _internal` (Marker, Line,
192191│ AutoRangeOptions,
193- │ Lighting, Stream, ErrorY)
192+ │ Lighting, ErrorY)
194193├── Trace interfaces (ScatterData, BarData, ... — 49 traces)
195194├── Layout component interfaces (LayoutAxis, Legend, Scene, Annotation, etc.)
196195├── Layout interface
0 commit comments