You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Annotation, Shape, Slider, UpdateMenu, etc.) and the Layout
57
59
interface itself.
@@ -85,7 +87,7 @@ This split is reflected in the types:
85
87
| User-facing | Internal | Where defined |
86
88
|---|---|---|
87
89
|`Layout`|`FullLayout`|`Layout` in `generated/schema.d.ts`; `FullLayout` in `core/layout.internal.d.ts`|
88
-
|`Data` (union over `type`) |`FullData`|`Data` in `core/data.d.ts` (union of schema `*Data` interfaces); `FullData = Data & FullDataInternals` in `core/data.internal.d.ts`|
90
+
|`Data` (union over `type`) |`FullData`|`Data` in `generated/schema.d.ts` (union of schema `*Data` interfaces); `FullData = Data & FullDataInternals` in `core/data.internal.d.ts`|
89
91
| (n/a) |`GraphDiv` (the `gd` param) |`core/graph-div.internal.d.ts` — DOM element with `_fullLayout`, `_fullData`, `calcdata`, etc. |
90
92
91
93
`FullData` is the discriminated union of schema trace types intersected with
@@ -106,7 +108,6 @@ src/types/
106
108
├── core/ # hand-written types for the core API
107
109
│ ├── api.d.ts # public API function signatures (newPlot, etc.)
108
110
│ ├── config.d.ts # Config, ToImgopts (Edits re-exported from generated)
109
-
│ ├── data.d.ts # Data union (over all schema `*Data` interfaces)
110
111
│ ├── data.internal.d.ts # CalcData, FullData
111
112
│ ├── events.d.ts # PlotMouseEvent, PlotlyHTMLElement, etc.
0 commit comments