@malloy-publisher/sdk 0.9.0 → 0.9.2

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 (292) hide show
  1. package/dist/{Dashboard-H1kJlDFo.es.js → DashboardTile-BFcxdv7R.es.js} +15918 -17760
  2. package/dist/DashboardTile-sg8LjUk8.cjs.js +137 -0
  3. package/dist/RenderedResult-B48wAjM8.cjs.js +141 -0
  4. package/dist/{RenderedResult-BRgIgxWh.es.js → RenderedResult-CBLHr32C.es.js} +193 -183
  5. package/dist/{ServerProvider-Boxrv6Ym.es.js → ServerProvider-DCV8BUWD.es.js} +529 -521
  6. package/dist/ServerProvider-HRqT3w1C.cjs.js +1 -0
  7. package/dist/builder/index.cjs.js +146 -58
  8. package/dist/builder/index.es.js +9076 -6479
  9. package/dist/builder-entry.d.ts +4 -0
  10. package/dist/client/api.d.ts +82 -48
  11. package/dist/client/configuration.d.ts +1 -1
  12. package/dist/client/index.cjs.js +1 -1
  13. package/dist/client/index.d.ts +1 -1
  14. package/dist/client/index.es.js +84 -82
  15. package/dist/components/Dashboard/Dashboard.d.ts +8 -15
  16. package/dist/components/Dashboard/DashboardGrid.d.ts +23 -6
  17. package/dist/components/Dashboard/DashboardTile.d.ts +10 -1
  18. package/dist/components/Dashboard/DashboardView.d.ts +36 -0
  19. package/dist/components/Dashboard/TileCard.d.ts +15 -4
  20. package/dist/components/Dashboard/TileFilterTag.d.ts +12 -0
  21. package/dist/components/Dashboard/index.d.ts +3 -0
  22. package/dist/components/Dashboard/telemetry.d.ts +15 -3
  23. package/dist/components/DashboardBuilder/AddTileDialog.d.ts +8 -1
  24. package/dist/components/DashboardBuilder/BuilderToolbar.d.ts +16 -5
  25. package/dist/components/DashboardBuilder/ChartPicker.d.ts +29 -0
  26. package/dist/components/DashboardBuilder/DashboardBuilder.d.ts +48 -21
  27. package/dist/components/DashboardBuilder/DashboardEditor.d.ts +17 -4
  28. package/dist/components/DashboardBuilder/DiffDialog.d.ts +2 -10
  29. package/dist/components/DashboardBuilder/FilterDialog.d.ts +2 -2
  30. package/dist/components/DashboardBuilder/FilterStrip.d.ts +3 -1
  31. package/dist/components/DashboardBuilder/InlineMarkdown.d.ts +18 -0
  32. package/dist/components/DashboardBuilder/InlineText.d.ts +19 -0
  33. package/dist/components/DashboardBuilder/NotebookEditor.d.ts +15 -0
  34. package/dist/components/DashboardBuilder/SaveNotice.d.ts +27 -0
  35. package/dist/components/DashboardBuilder/SettingsPopover.d.ts +19 -7
  36. package/dist/components/DashboardBuilder/SourceViewPicker.d.ts +9 -0
  37. package/dist/components/DashboardBuilder/TextTileBody.d.ts +7 -0
  38. package/dist/components/DashboardBuilder/TileFrame.d.ts +14 -12
  39. package/dist/components/DashboardBuilder/TileMenu.d.ts +11 -3
  40. package/dist/components/DashboardBuilder/annotationText.d.ts +4 -0
  41. package/dist/components/DashboardBuilder/catalog.d.ts +4 -0
  42. package/dist/components/DashboardBuilder/changedTile.d.ts +7 -0
  43. package/dist/components/DashboardBuilder/chartLine.d.ts +33 -0
  44. package/dist/components/DashboardBuilder/controls.d.ts +2 -2
  45. package/dist/components/DashboardBuilder/document.d.ts +42 -26
  46. package/dist/components/DashboardBuilder/documentSession.d.ts +100 -0
  47. package/dist/components/DashboardBuilder/legacyNotebook.d.ts +73 -0
  48. package/dist/components/DashboardBuilder/loadMalloy.d.ts +15 -0
  49. package/dist/components/DashboardBuilder/malloyText.d.ts +45 -5
  50. package/dist/components/DashboardBuilder/malloyTree.d.ts +119 -0
  51. package/dist/components/DashboardBuilder/newDashboard.d.ts +3 -1
  52. package/dist/components/DashboardBuilder/openDraft.d.ts +10 -0
  53. package/dist/components/DashboardBuilder/preview.d.ts +24 -4
  54. package/dist/components/DashboardBuilder/readDocument.d.ts +4 -1
  55. package/dist/components/DashboardBuilder/readForEditor.d.ts +16 -0
  56. package/dist/components/DashboardBuilder/sortable.d.ts +14 -0
  57. package/dist/components/DashboardBuilder/spliceDocument.d.ts +13 -13
  58. package/dist/components/DashboardBuilder/spliceResult.d.ts +11 -0
  59. package/dist/components/DashboardBuilder/tagParse.d.ts +24 -0
  60. package/dist/components/DashboardBuilder/telemetry.d.ts +43 -0
  61. package/dist/components/DashboardBuilder/testing/fixtures.d.ts +3 -1
  62. package/dist/components/DashboardBuilder/testing/inline.d.ts +4 -0
  63. package/dist/components/DashboardBuilder/useBuilderSession.d.ts +89 -0
  64. package/dist/components/DashboardBuilder/useBuilderShortcuts.d.ts +9 -6
  65. package/dist/components/DashboardBuilder/useDashboardEditor.d.ts +17 -55
  66. package/dist/components/DashboardBuilder/useDocumentEditor.d.ts +105 -0
  67. package/dist/components/DashboardBuilder/useExitGuard.d.ts +19 -0
  68. package/dist/components/DashboardBuilder/useFilterForm.d.ts +3 -3
  69. package/dist/components/DocumentCreate/canRetry.d.ts +6 -0
  70. package/dist/components/DocumentCreate/createDocument.d.ts +58 -0
  71. package/dist/components/DocumentCreate/documentPath.d.ts +10 -0
  72. package/dist/components/DocumentCreate/events.d.ts +10 -0
  73. package/dist/components/DocumentCreate/exportedSources.d.ts +7 -0
  74. package/dist/components/DocumentCreate/guards.d.ts +12 -0
  75. package/dist/components/DocumentCreate/index.d.ts +6 -0
  76. package/dist/components/DocumentCreate/newNotebook.d.ts +9 -0
  77. package/dist/components/DocumentCreate/useDocumentChoices.d.ts +32 -0
  78. package/dist/components/DocumentStorage/DocumentStorage.d.ts +2 -1
  79. package/dist/components/NarrowEditGate.d.ts +8 -0
  80. package/dist/components/Notebook/Notebook.d.ts +1 -1
  81. package/dist/components/Package/NewDocumentDialog.d.ts +33 -0
  82. package/dist/components/Package/Package.d.ts +1 -0
  83. package/dist/components/Package/documentLocation.d.ts +28 -0
  84. package/dist/components/Package/index.d.ts +4 -0
  85. package/dist/components/Package/useDocumentLocation.d.ts +12 -0
  86. package/dist/components/PackageSection.d.ts +2 -2
  87. package/dist/components/RenderedResult/RenderedResult.d.ts +2 -0
  88. package/dist/components/RenderedResult/ResultContainer.d.ts +8 -1
  89. package/dist/components/RenderedResult/ResultPanel.d.ts +3 -1
  90. package/dist/components/RenderedResult/resultSizing.d.ts +9 -1
  91. package/dist/components/ServerProvider.d.ts +2 -1
  92. package/dist/components/UnsavedChangesDialog.d.ts +9 -0
  93. package/dist/components/given/GivensPanel.d.ts +2 -2
  94. package/dist/components/index.d.ts +2 -0
  95. package/dist/hooks/index.d.ts +1 -0
  96. package/dist/hooks/useNarrowScreen.d.ts +4 -0
  97. package/dist/hooks/useQueryResult.d.ts +2 -0
  98. package/dist/hooks/useSettled.d.ts +14 -0
  99. package/dist/index.cjs.js +23 -24
  100. package/dist/index.es.js +9714 -7072
  101. package/dist/text/index.cjs.js +1 -0
  102. package/dist/text/index.d.ts +2 -0
  103. package/dist/text/index.es.js +6 -0
  104. package/dist/text-entry-BJwltZiy.cjs.js +7 -0
  105. package/dist/text-entry-CbbBcZl8.es.js +196 -0
  106. package/dist/text-entry.d.ts +2 -0
  107. package/dist/utils/clock.d.ts +2 -0
  108. package/package.json +10 -1
  109. package/src/builder-entry.ts +35 -0
  110. package/src/components/Dashboard/Dashboard.tsx +27 -278
  111. package/src/components/Dashboard/DashboardGrid.tsx +68 -7
  112. package/src/components/Dashboard/DashboardTile.spec.tsx +24 -0
  113. package/src/components/Dashboard/DashboardTile.tsx +31 -4
  114. package/src/components/Dashboard/DashboardView.spec.tsx +212 -0
  115. package/src/components/Dashboard/DashboardView.tsx +352 -0
  116. package/src/components/Dashboard/RowsDialog.tsx +1 -1
  117. package/src/components/Dashboard/TileCard.tsx +44 -10
  118. package/src/components/Dashboard/TileFilterTag.spec.tsx +73 -0
  119. package/src/components/Dashboard/TileFilterTag.tsx +78 -0
  120. package/src/components/Dashboard/defaultTileSpan.spec.ts +32 -0
  121. package/src/components/Dashboard/index.ts +3 -0
  122. package/src/components/Dashboard/telemetry.ts +16 -5
  123. package/src/components/DashboardBuilder/AddTileDialog.spec.tsx +88 -0
  124. package/src/components/DashboardBuilder/AddTileDialog.tsx +137 -111
  125. package/src/components/DashboardBuilder/BuilderToolbar.tsx +85 -27
  126. package/src/components/DashboardBuilder/ChartPicker.render.spec.tsx +25 -0
  127. package/src/components/DashboardBuilder/ChartPicker.spec.ts +77 -0
  128. package/src/components/DashboardBuilder/ChartPicker.tsx +153 -0
  129. package/src/components/DashboardBuilder/DashboardBuilder.charts.spec.tsx +205 -0
  130. package/src/components/DashboardBuilder/DashboardBuilder.exit.spec.tsx +192 -0
  131. package/src/components/DashboardBuilder/DashboardBuilder.inline.spec.tsx +329 -0
  132. package/src/components/DashboardBuilder/DashboardBuilder.notebook.spec.tsx +363 -0
  133. package/src/components/DashboardBuilder/DashboardBuilder.notice.spec.tsx +194 -0
  134. package/src/components/DashboardBuilder/DashboardBuilder.openDraft.spec.tsx +157 -0
  135. package/src/components/DashboardBuilder/DashboardBuilder.sources.spec.tsx +124 -0
  136. package/src/components/DashboardBuilder/DashboardBuilder.spec.tsx +103 -78
  137. package/src/components/DashboardBuilder/DashboardBuilder.textTiles.spec.tsx +177 -0
  138. package/src/components/DashboardBuilder/DashboardBuilder.tsx +610 -315
  139. package/src/components/DashboardBuilder/DashboardEditor.authoritative.spec.tsx +58 -8
  140. package/src/components/DashboardBuilder/DashboardEditor.emptyStart.spec.tsx +191 -0
  141. package/src/components/DashboardBuilder/DashboardEditor.filterTag.spec.tsx +162 -0
  142. package/src/components/DashboardBuilder/DashboardEditor.notebook.spec.tsx +316 -0
  143. package/src/components/DashboardBuilder/DashboardEditor.package.spec.tsx +56 -10
  144. package/src/components/DashboardBuilder/DashboardEditor.resourceUri.spec.tsx +5 -22
  145. package/src/components/DashboardBuilder/DashboardEditor.spec.tsx +96 -14
  146. package/src/components/DashboardBuilder/DashboardEditor.tsx +482 -332
  147. package/src/components/DashboardBuilder/DiffDialog.spec.tsx +25 -0
  148. package/src/components/DashboardBuilder/DiffDialog.tsx +5 -24
  149. package/src/components/DashboardBuilder/DrillDialog.tsx +1 -1
  150. package/src/components/DashboardBuilder/FilterDialog.tsx +10 -3
  151. package/src/components/DashboardBuilder/FilterStrip.tsx +26 -4
  152. package/src/components/DashboardBuilder/InlineMarkdown.tsx +184 -0
  153. package/src/components/DashboardBuilder/InlineText.tsx +106 -0
  154. package/src/components/DashboardBuilder/NotebookEditor.tsx +44 -0
  155. package/src/components/DashboardBuilder/SaveNotice.tsx +113 -0
  156. package/src/components/DashboardBuilder/SettingsPopover.spec.tsx +87 -0
  157. package/src/components/DashboardBuilder/SettingsPopover.tsx +225 -67
  158. package/src/components/DashboardBuilder/SourceViewPicker.tsx +122 -0
  159. package/src/components/DashboardBuilder/TextTileBody.tsx +28 -0
  160. package/src/components/DashboardBuilder/TileFrame.tsx +89 -115
  161. package/src/components/DashboardBuilder/TileMenu.tsx +168 -90
  162. package/src/components/DashboardBuilder/annotationText.spec.ts +33 -0
  163. package/src/components/DashboardBuilder/annotationText.ts +17 -0
  164. package/src/components/DashboardBuilder/artifactBlock.spec.ts +248 -0
  165. package/src/components/DashboardBuilder/artifactTagParity.spec.ts +41 -0
  166. package/src/components/DashboardBuilder/catalog.aggregate.spec.ts +49 -0
  167. package/src/components/DashboardBuilder/catalog.spec.ts +2 -0
  168. package/src/components/DashboardBuilder/catalog.ts +61 -21
  169. package/src/components/DashboardBuilder/changedTile.spec.ts +46 -0
  170. package/src/components/DashboardBuilder/changedTile.ts +28 -0
  171. package/src/components/DashboardBuilder/chartLine.spec.ts +180 -0
  172. package/src/components/DashboardBuilder/chartLine.ts +121 -0
  173. package/src/components/DashboardBuilder/controls.spec.ts +21 -10
  174. package/src/components/DashboardBuilder/controls.ts +22 -8
  175. package/src/components/DashboardBuilder/document.ts +53 -5
  176. package/src/components/DashboardBuilder/documentSession.spec.ts +209 -0
  177. package/src/components/DashboardBuilder/documentSession.ts +257 -0
  178. package/src/components/DashboardBuilder/emptyStart.spec.ts +131 -0
  179. package/src/components/DashboardBuilder/invariants.spec.ts +6 -2
  180. package/src/components/DashboardBuilder/legacyNotebook.chart.spec.ts +77 -0
  181. package/src/components/DashboardBuilder/legacyNotebook.convert.spec.ts +630 -0
  182. package/src/components/DashboardBuilder/legacyNotebook.read.spec.ts +338 -0
  183. package/src/components/DashboardBuilder/legacyNotebook.ts +1117 -0
  184. package/src/components/DashboardBuilder/loadMalloy.spec.ts +80 -0
  185. package/src/components/DashboardBuilder/loadMalloy.ts +39 -0
  186. package/src/components/DashboardBuilder/malloyText.spec.ts +48 -0
  187. package/src/components/DashboardBuilder/malloyText.ts +181 -27
  188. package/src/components/DashboardBuilder/malloyTree.ts +155 -7
  189. package/src/components/DashboardBuilder/newDashboard.spec.ts +46 -2
  190. package/src/components/DashboardBuilder/newDashboard.ts +30 -3
  191. package/src/components/DashboardBuilder/openDraft.ts +52 -0
  192. package/src/components/DashboardBuilder/preview.shapes.spec.ts +75 -0
  193. package/src/components/DashboardBuilder/preview.spec.ts +159 -12
  194. package/src/components/DashboardBuilder/preview.ts +83 -9
  195. package/src/components/DashboardBuilder/readDocument.spec.ts +139 -27
  196. package/src/components/DashboardBuilder/readDocument.ts +130 -44
  197. package/src/components/DashboardBuilder/readForEditor.spec.ts +80 -0
  198. package/src/components/DashboardBuilder/readForEditor.ts +47 -0
  199. package/src/components/DashboardBuilder/scannerShapes.spec.ts +14 -13
  200. package/src/components/DashboardBuilder/sortable.spec.ts +65 -0
  201. package/src/components/DashboardBuilder/sortable.tsx +2 -12
  202. package/src/components/DashboardBuilder/spliceDocument.chart.spec.ts +340 -0
  203. package/src/components/DashboardBuilder/spliceDocument.imports.spec.ts +167 -0
  204. package/src/components/DashboardBuilder/spliceDocument.spec.ts +229 -94
  205. package/src/components/DashboardBuilder/spliceDocument.ts +762 -130
  206. package/src/components/DashboardBuilder/spliceResult.ts +15 -0
  207. package/src/components/DashboardBuilder/statementExtent.spec.ts +33 -30
  208. package/src/components/DashboardBuilder/tagParse.spec.ts +149 -0
  209. package/src/components/DashboardBuilder/tagParse.ts +103 -0
  210. package/src/components/DashboardBuilder/telemetry.ts +47 -0
  211. package/src/components/DashboardBuilder/testing/artifactTagParity.json +197 -0
  212. package/src/components/DashboardBuilder/testing/fixtures.ts +16 -1
  213. package/src/components/DashboardBuilder/testing/inline.ts +25 -0
  214. package/src/components/DashboardBuilder/textTiles.spec.ts +718 -0
  215. package/src/components/DashboardBuilder/useBuilderSession.spec.ts +335 -0
  216. package/src/components/DashboardBuilder/useBuilderSession.ts +292 -0
  217. package/src/components/DashboardBuilder/useBuilderShortcuts.overlay.spec.tsx +65 -0
  218. package/src/components/DashboardBuilder/useBuilderShortcuts.spec.tsx +60 -0
  219. package/src/components/DashboardBuilder/useBuilderShortcuts.ts +36 -10
  220. package/src/components/DashboardBuilder/useDashboardEditor.spec.ts +16 -13
  221. package/src/components/DashboardBuilder/useDashboardEditor.ts +54 -181
  222. package/src/components/DashboardBuilder/useDocumentEditor.spec.ts +565 -0
  223. package/src/components/DashboardBuilder/useDocumentEditor.ts +399 -0
  224. package/src/components/DashboardBuilder/useExitGuard.spec.ts +159 -0
  225. package/src/components/DashboardBuilder/useExitGuard.ts +89 -0
  226. package/src/components/DashboardBuilder/useFilterForm.existing.spec.tsx +41 -0
  227. package/src/components/DashboardBuilder/useFilterForm.spec.tsx +24 -2
  228. package/src/components/DashboardBuilder/useFilterForm.ts +41 -13
  229. package/src/components/DashboardBuilder/useTileReorder.spec.tsx +28 -5
  230. package/src/components/DashboardBuilder/useTileReorder.ts +5 -7
  231. package/src/components/DocumentCreate/canRetry.spec.ts +32 -0
  232. package/src/components/DocumentCreate/canRetry.ts +19 -0
  233. package/src/components/DocumentCreate/createDocument.spec.ts +310 -0
  234. package/src/components/DocumentCreate/createDocument.ts +159 -0
  235. package/src/components/DocumentCreate/documentPath.ts +40 -0
  236. package/src/components/DocumentCreate/events.ts +15 -0
  237. package/src/components/DocumentCreate/exportedSources.ts +25 -0
  238. package/src/components/DocumentCreate/guards.ts +45 -0
  239. package/src/components/DocumentCreate/index.ts +27 -0
  240. package/src/components/DocumentCreate/newNotebook.spec.ts +156 -0
  241. package/src/components/DocumentCreate/newNotebook.ts +44 -0
  242. package/src/components/DocumentCreate/useDocumentChoices.spec.tsx +138 -0
  243. package/src/components/DocumentCreate/useDocumentChoices.ts +113 -0
  244. package/src/components/DocumentStorage/DocumentStorage.ts +2 -1
  245. package/src/components/Model/ModelExplorer.spec.tsx +2 -2
  246. package/src/components/Model/SourcesExplorer.tsx +2 -4
  247. package/src/components/NarrowEditGate.spec.tsx +73 -0
  248. package/src/components/NarrowEditGate.tsx +29 -0
  249. package/src/components/Notebook/Notebook.layout.spec.tsx +94 -0
  250. package/src/components/Notebook/Notebook.tsx +66 -27
  251. package/src/components/Package/NewDocumentDialog.spec.tsx +749 -0
  252. package/src/components/Package/NewDocumentDialog.tsx +401 -0
  253. package/src/components/Package/Package.artifacts.spec.tsx +190 -0
  254. package/src/components/Package/Package.create.spec.tsx +380 -0
  255. package/src/components/Package/Package.notebooks.spec.tsx +18 -0
  256. package/src/components/Package/Package.tsx +366 -171
  257. package/src/components/Package/documentLocation.spec.ts +81 -0
  258. package/src/components/Package/documentLocation.ts +55 -0
  259. package/src/components/Package/index.ts +13 -0
  260. package/src/components/Package/useDocumentLocation.ts +59 -0
  261. package/src/components/PackageSection.tsx +2 -2
  262. package/src/components/RenderedResult/RenderedResult.tsx +18 -1
  263. package/src/components/RenderedResult/ResultContainer.tsx +44 -11
  264. package/src/components/RenderedResult/ResultPanel.tsx +4 -0
  265. package/src/components/RenderedResult/resultSizing.spec.ts +68 -0
  266. package/src/components/RenderedResult/resultSizing.ts +14 -3
  267. package/src/components/ServerProvider.tsx +2 -1
  268. package/src/components/UnsavedChangesDialog.spec.tsx +70 -0
  269. package/src/components/UnsavedChangesDialog.tsx +49 -0
  270. package/src/components/given/GivensPanel.spec.tsx +6 -6
  271. package/src/components/given/GivensPanel.tsx +3 -3
  272. package/src/components/index.ts +2 -0
  273. package/src/hooks/index.ts +3 -0
  274. package/src/hooks/useNarrowScreen.ts +21 -0
  275. package/src/hooks/useQueryResult.ts +16 -0
  276. package/src/hooks/useSettled.spec.ts +41 -0
  277. package/src/hooks/useSettled.ts +27 -0
  278. package/src/mainEntry.spec.ts +145 -0
  279. package/src/text-entry.ts +12 -0
  280. package/src/textEntry.spec.ts +118 -0
  281. package/src/utils/clock.spec.ts +12 -0
  282. package/src/utils/clock.ts +6 -0
  283. package/vite.config.ts +4 -0
  284. package/dist/Dashboard-ChyylkTD.cjs.js +0 -136
  285. package/dist/RenderedResult-AJPMUkAD.cjs.js +0 -135
  286. package/dist/ServerProvider-CXrOKD6g.cjs.js +0 -1
  287. package/dist/components/DashboardBuilder/useTileResize.d.ts +0 -29
  288. package/dist/components/Package/NewDashboardDialog.d.ts +0 -18
  289. package/src/components/DashboardBuilder/useTileResize.spec.tsx +0 -121
  290. package/src/components/DashboardBuilder/useTileResize.ts +0 -110
  291. package/src/components/Package/NewDashboardDialog.spec.tsx +0 -129
  292. package/src/components/Package/NewDashboardDialog.tsx +0 -265
@@ -1,8 +1,246 @@
1
1
  import { jsx as B } from "react/jsx-runtime";
2
2
  import { QueryClient as se, QueryClientProvider as ce, useQuery as le } from "@tanstack/react-query";
3
3
  import u from "axios";
4
- import { useMemo as j, useContext as Y, createContext as $, useState as W, useEffect as ie, useCallback as pe } from "react";
4
+ import { useMemo as j, useContext as Y, createContext as K, useState as W, useEffect as ie, useCallback as pe } from "react";
5
5
  import { styled as x, Card as de, CardContent as he, CardMedia as me } from "@mui/material";
6
+ const A = {
7
+ blue: "#2563eb",
8
+ indigo: "#4f46e5",
9
+ violet: "#7c3aed",
10
+ pink: "#be185d",
11
+ red: "#dc2626",
12
+ orange: "#c2410c",
13
+ amber: "#b45309",
14
+ lime: "#4d7c0f",
15
+ emerald: "#059669",
16
+ teal: "#0f766e",
17
+ cyan: "#0e7490",
18
+ slate: "#475569"
19
+ }, ta = {
20
+ environment: A.emerald,
21
+ package: A.teal,
22
+ connection: A.orange
23
+ }, na = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', ra = x(de)({
24
+ display: "flex",
25
+ flexDirection: "column",
26
+ height: "100%",
27
+ boxShadow: "none",
28
+ border: "none",
29
+ backgroundColor: "transparent"
30
+ }), oa = x(he)({
31
+ display: "flex",
32
+ flexDirection: "column",
33
+ padding: "0",
34
+ flexGrow: 1
35
+ }), sa = x(me)({
36
+ padding: "0"
37
+ }), ca = x("div")(({ theme: l }) => ({
38
+ backgroundColor: l.palette.background.default,
39
+ padding: "0 8px 0px 8px",
40
+ borderRadius: "12px",
41
+ boxShadow: "none",
42
+ border: "none",
43
+ maxWidth: "1200px",
44
+ margin: "0 auto"
45
+ })), la = x("div")({
46
+ marginBottom: "48px",
47
+ padding: "0",
48
+ backgroundColor: "transparent",
49
+ border: "none",
50
+ boxShadow: "none"
51
+ }), ia = x("div")({
52
+ backgroundColor: "transparent",
53
+ paddingTop: "12px",
54
+ paddingBottom: "2px",
55
+ borderRadius: "8px",
56
+ border: "none",
57
+ boxShadow: "none",
58
+ marginBottom: "0"
59
+ }), pa = x("div")({
60
+ height: "100%"
61
+ }), da = x("div")({
62
+ height: "75vh",
63
+ width: "100%",
64
+ overflowY: "auto"
65
+ }), ue = [
66
+ A.blue,
67
+ A.orange,
68
+ A.emerald,
69
+ A.pink,
70
+ A.violet,
71
+ A.amber,
72
+ A.cyan,
73
+ A.lime
74
+ ], ge = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", G = {
75
+ defaultMode: "light",
76
+ allowUserToggle: !0,
77
+ palette: {
78
+ series: ue,
79
+ // The chart canvas. One ground for the whole dashboard in both modes —
80
+ // canvas, card and the panel between cards are all this value, and the
81
+ // borders do the separating. See `tile`.
82
+ background: {
83
+ light: "#ffffff",
84
+ dark: "#0f172a"
85
+ },
86
+ tableHeader: {
87
+ light: "#475569",
88
+ dark: "#cbd5e1"
89
+ },
90
+ // Background of the table header row, independent of the
91
+ // tile (dashboard tile container) so the operator can theme
92
+ // the header band on its own.
93
+ tableHeaderBackground: {
94
+ light: "#f8fafc",
95
+ dark: "#1e293b"
96
+ },
97
+ tableBody: {
98
+ light: "#475569",
99
+ dark: "#e2e8f0"
100
+ },
101
+ // The padded container that wraps each chart / table in a dashboard.
102
+ //
103
+ // The SAME value as the canvas it holds and the panel it sits on, in
104
+ // both modes: a card is separated by its border and its radius, not by
105
+ // a wash. A tinted card reads as a recess — something switched off —
106
+ // and stacking card, canvas and panel as three values put three greys
107
+ // on one tile.
108
+ //
109
+ // Both modes are built the same way on purpose. They used to differ in
110
+ // structure, not just in value — light separated by border, dark by
111
+ // elevation — so a change to how a card reads had to be reasoned about
112
+ // twice and could land correct in one mode and wrong in the other.
113
+ tile: {
114
+ light: "#ffffff",
115
+ dark: "#0f172a"
116
+ },
117
+ tileTitle: {
118
+ light: "#475569",
119
+ dark: "#94a3b8"
120
+ },
121
+ // Saturated end of the choropleth / heatmap gradient. The renderer
122
+ // pairs this with a near-neutral low end. Matches the first series
123
+ // colour, so a map and a chart on one page ramp to the same hue.
124
+ mapColor: {
125
+ light: A.blue,
126
+ dark: A.blue
127
+ }
128
+ },
129
+ font: {
130
+ family: ge,
131
+ size: 12
132
+ }
133
+ }, be = [
134
+ "background",
135
+ "tableHeader",
136
+ "tableHeaderBackground",
137
+ "tableBody",
138
+ "tile",
139
+ "tileTitle",
140
+ "mapColor"
141
+ ];
142
+ function $(l, t) {
143
+ const e = G.palette ?? {}, r = G.font ?? {
144
+ family: "sans-serif",
145
+ size: 12
146
+ };
147
+ let a = [...e.series ?? []], n = r.family ?? "sans-serif", o = r.size ?? 12;
148
+ const s = {
149
+ background: { ...e.background ?? {} },
150
+ tableHeader: { ...e.tableHeader ?? {} },
151
+ tableHeaderBackground: {
152
+ ...e.tableHeaderBackground ?? {}
153
+ },
154
+ tableBody: { ...e.tableBody ?? {} },
155
+ tile: { ...e.tile ?? {} },
156
+ tileTitle: { ...e.tileTitle ?? {} },
157
+ mapColor: { ...e.mapColor ?? {} }
158
+ };
159
+ for (const d of l)
160
+ if (d) {
161
+ Array.isArray(d.palette?.series) && (a = [...d.palette.series]);
162
+ for (const m of be) {
163
+ const S = d.palette?.[m];
164
+ S && (s[m] = { ...s[m], ...S });
165
+ }
166
+ typeof d.font?.family == "string" && (n = d.font.family), typeof d.font?.size == "number" && (o = d.font.size);
167
+ }
168
+ const c = t === "dark", i = (d) => s[d][t] ?? e[d]?.[t], p = i("background");
169
+ return {
170
+ mode: t,
171
+ series: a,
172
+ font: { family: n, size: o },
173
+ background: p,
174
+ tableHeader: i("tableHeader"),
175
+ tableHeaderBackground: i("tableHeaderBackground"),
176
+ tableBody: i("tableBody"),
177
+ tile: i("tile"),
178
+ tileTitle: i("tileTitle"),
179
+ mapColor: i("mapColor"),
180
+ // Table interior follows the operator's chart background so
181
+ // tables and chart canvases share a single "viz surface" colour.
182
+ tableBackground: p,
183
+ // Derived, mode-keyed defaults. Operators don't edit these in
184
+ // v1; they're consistent borders / readable foreground text for
185
+ // each mode. If a user later asks to customise them, expose them
186
+ // on the schema and the editor and replace the literals below.
187
+ border: c ? "1px solid #334155" : "1px solid #e2e8f0",
188
+ // A card's edge, one stop darker than a table's gridline on the same
189
+ // slate ramp. See `cardBorder` on ResolvedTheme for why the two are not
190
+ // the same value.
191
+ cardBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
192
+ // Slate, not the teal-cast `#daedf3` this was: a pinned table header
193
+ // outlined in a hue no longer anywhere else on the page.
194
+ pinnedBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
195
+ valueColor: c ? "#f1f5f9" : "#0f172a",
196
+ foreground: c ? "#e2e8f0" : "#0f172a",
197
+ axisFaint: c ? "#475569" : "#cbd5e1",
198
+ // Dashboard panel background (the area BETWEEN tiles). The page's own
199
+ // ground in both modes, so the panel, the cards on it and the canvases
200
+ // inside them are one surface that borders divide up — see
201
+ // `palette.tile`.
202
+ //
203
+ // Still NOT tied to `palette.background`, which an operator may set to
204
+ // a bold accent for the chart canvas. The panel stays the neutral it is
205
+ // here so that accent cannot bleed into the surrounding chrome.
206
+ dashboardRoot: c ? "#0f172a" : "#ffffff",
207
+ // Drill link hover: the palette's anchor blue, so a drill reads as the
208
+ // same affordance as every other primary action; dark lightens it for
209
+ // contrast on the slate panel.
210
+ drillLink: c ? "#60a5fa" : A.blue
211
+ };
212
+ }
213
+ function Pe(l, t, e) {
214
+ const r = t ?? l ?? "light";
215
+ return r === "auto" ? e ? "dark" : "light" : r;
216
+ }
217
+ const J = K(void 0);
218
+ function ve({
219
+ layers: l,
220
+ mode: t,
221
+ userChoice: e,
222
+ setMode: r,
223
+ allowUserToggle: a = !0,
224
+ children: n
225
+ }) {
226
+ const o = j(() => $(l, t), [l, t]), s = j(
227
+ () => ({ theme: o, layers: l, mode: t, userChoice: e, setMode: r, allowUserToggle: a }),
228
+ [o, l, t, e, r, a]
229
+ );
230
+ return /* @__PURE__ */ B(J.Provider, { value: s, children: n });
231
+ }
232
+ function ha() {
233
+ const l = Y(J);
234
+ return l || {
235
+ theme: $([], "light"),
236
+ layers: [],
237
+ mode: "light",
238
+ userChoice: void 0,
239
+ setMode: () => {
240
+ },
241
+ allowUserToggle: !1
242
+ };
243
+ }
6
244
  const g = "http://localhost/api/v0".replace(/\/+$/, "");
7
245
  class C {
8
246
  constructor(t, e = g, r = u) {
@@ -10,14 +248,14 @@ class C {
10
248
  }
11
249
  configuration;
12
250
  }
13
- class ue extends Error {
251
+ class Ve extends Error {
14
252
  constructor(t, e) {
15
253
  super(e), this.field = t, this.name = "RequiredError";
16
254
  }
17
255
  }
18
256
  const b = {}, P = "https://example.com", h = function(l, t, e) {
19
257
  if (e == null)
20
- throw new ue(t, `Required parameter ${t} was null or undefined when calling ${l}.`);
258
+ throw new Ve(t, `Required parameter ${t} was null or undefined when calling ${l}.`);
21
259
  };
22
260
  function Q(l, t, e = "") {
23
261
  t != null && (typeof t == "object" ? Array.isArray(t) || t instanceof Set ? t.forEach((r) => Q(l, r, e)) : Object.keys(t).forEach(
@@ -27,11 +265,11 @@ function Q(l, t, e = "") {
27
265
  const v = function(l, ...t) {
28
266
  const e = new URLSearchParams(l.search);
29
267
  Q(e, t), l.search = e.toString();
30
- }, ge = function(l, t) {
268
+ }, Oe = function(l, t) {
31
269
  return t instanceof Set ? Array.from(t) : t;
32
270
  }, k = function(l, t, e) {
33
271
  const r = typeof l != "string";
34
- return (r && e && e.isJsonMime ? e.isJsonMime(t.headers["Content-Type"]) : r) ? JSON.stringify(l !== void 0 ? l : {}, ge) : l || "";
272
+ return (r && e && e.isJsonMime ? e.isJsonMime(t.headers["Content-Type"]) : r) ? JSON.stringify(l !== void 0 ? l : {}, Oe) : l || "";
35
273
  }, V = function(l) {
36
274
  return l.pathname + l.search + l.hash;
37
275
  }, O = function(l, t, e, r) {
@@ -39,28 +277,28 @@ const v = function(l, ...t) {
39
277
  const o = { ...l.options, url: (a.defaults.baseURL ? "" : r?.basePath ?? n) + l.url };
40
278
  return a.request(o);
41
279
  };
42
- }, ta = {
280
+ }, ma = {
43
281
  Bigquery: "bigquery",
44
282
  Snowflake: "snowflake",
45
283
  Postgres: "postgres",
46
284
  Gcs: "gcs",
47
285
  S3: "s3",
48
286
  Azure: "azure"
49
- }, na = {
287
+ }, ua = {
50
288
  ServicePrincipal: "service_principal",
51
289
  SasToken: "sas_token"
52
- }, ra = {
290
+ }, ga = {
53
291
  Error: "error",
54
292
  Warn: "warn",
55
293
  Debug: "debug"
56
- }, oa = {
294
+ }, ba = {
57
295
  Append: "append",
58
296
  File: "file",
59
297
  Package: "package"
60
- }, sa = {
298
+ }, Pa = {
61
299
  Success: "success",
62
300
  Error: "error"
63
- }, ca = {
301
+ }, va = {
64
302
  Postgres: "postgres",
65
303
  Bigquery: "bigquery",
66
304
  Snowflake: "snowflake",
@@ -71,119 +309,125 @@ const v = function(l, ...t) {
71
309
  Motherduck: "motherduck",
72
310
  Ducklake: "ducklake",
73
311
  Publisher: "publisher"
74
- }, la = {
312
+ }, Va = {
75
313
  Ssh: "ssh"
76
- }, ia = {
314
+ }, Oa = {
77
315
  Ok: "ok",
78
316
  Failed: "failed"
79
- }, pa = {
317
+ }, Sa = {
318
+ Dashboard: "dashboard",
319
+ Notebook: "notebook"
320
+ }, ka = {
321
+ Query: "query",
322
+ Text: "text"
323
+ }, ya = {
80
324
  Viewport: "viewport"
81
- }, da = {
325
+ }, Aa = {
82
326
  Embedded: "embedded",
83
327
  Materialized: "materialized"
84
- }, ha = {
328
+ }, Ca = {
85
329
  Equal: "equal",
86
330
  In: "in",
87
331
  Like: "like",
88
332
  GreaterThan: "greater_than",
89
333
  LessThan: "less_than"
90
- }, ma = {
334
+ }, Ia = {
91
335
  Live: "live",
92
336
  StaleOk: "stale_ok",
93
337
  Fail: "fail"
94
- }, ua = {
338
+ }, xa = {
95
339
  Select: "select",
96
340
  Multiselect: "multiselect"
97
- }, ga = {
341
+ }, Ra = {
98
342
  Merge: "merge",
99
343
  RangeReplace: "range_replace"
100
- }, ba = {
344
+ }, Na = {
101
345
  Debug: "debug",
102
346
  Info: "info",
103
347
  Warn: "warn",
104
348
  Error: "error"
105
- }, Pa = {
349
+ }, Ta = {
106
350
  Persist: "persist",
107
351
  Preaggregate: "preaggregate"
108
- }, va = {
352
+ }, Ua = {
109
353
  Live: "live",
110
354
  StaleOk: "stale_ok",
111
355
  Fail: "fail"
112
- }, Va = {
356
+ }, wa = {
113
357
  Delta: "delta",
114
358
  Full: "full",
115
359
  None: "none"
116
- }, Oa = {
360
+ }, Ea = {
117
361
  Pending: "PENDING",
118
362
  ManifestRowsReady: "MANIFEST_ROWS_READY",
119
363
  ManifestFileReady: "MANIFEST_FILE_READY",
120
364
  Failed: "FAILED",
121
365
  Cancelled: "CANCELLED"
122
- }, Sa = {
366
+ }, Ma = {
123
367
  Markdown: "markdown",
124
368
  Code: "code"
125
- }, ka = {
369
+ }, fa = {
126
370
  Markdown: "markdown",
127
371
  Query: "query",
128
372
  Definition: "definition"
129
- }, ya = {
373
+ }, ja = {
130
374
  Markdown: "markdown",
131
375
  Code: "code"
132
- }, Aa = {
376
+ }, Ba = {
133
377
  Markdown: "markdown",
134
378
  Query: "query",
135
379
  Definition: "definition"
136
- }, Ca = {
380
+ }, Fa = {
137
381
  Version: "version",
138
382
  Package: "package"
139
- }, Ia = {
383
+ }, Da = {
140
384
  Declared: "declared",
141
385
  All: "all"
142
- }, xa = {
386
+ }, qa = {
143
387
  Unbound: "unbound",
144
388
  Bound: "bound",
145
389
  LiveFallback: "live_fallback"
146
- }, Ra = {
390
+ }, Qa = {
147
391
  Indexing: "indexing",
148
392
  Ready: "ready",
149
393
  Cooldown: "cooldown",
150
394
  TooManyEntities: "too-many-entities"
151
- }, Na = {
395
+ }, za = {
152
396
  Persist: "persist",
153
397
  Preaggregate: "preaggregate"
154
- }, Ta = {
398
+ }, La = {
155
399
  Error: "error",
156
400
  Warn: "warn"
157
- }, Ua = {
401
+ }, Ha = {
158
402
  Persist: "persist",
159
403
  Preaggregate: "preaggregate"
160
- }, wa = {
404
+ }, _a = {
161
405
  Disable: "disable",
162
406
  NoVerify: "no-verify",
163
407
  VerifyCa: "verify-ca",
164
408
  VerifyFull: "verify-full"
165
- }, Ea = {
409
+ }, Wa = {
166
410
  Interactive: "interactive",
167
411
  Materialize: "materialize",
168
412
  Index: "index",
169
413
  Ops: "ops"
170
- }, Ma = {
414
+ }, Ga = {
171
415
  Query: "query",
172
416
  ServerDefault: "server_default"
173
- }, fa = {
417
+ }, Ya = {
174
418
  Storage: "storage",
175
419
  LiveFallback: "live_fallback"
176
- }, ja = {
420
+ }, Ka = {
177
421
  Malloynb: "malloynb",
178
422
  Malloy: "malloy"
179
- }, Ba = {
423
+ }, $a = {
180
424
  Snapshot: "SNAPSHOT",
181
425
  Copy: "COPY"
182
- }, Fa = {
426
+ }, Ja = {
183
427
  Storage: "storage",
184
428
  Colocated: "colocated",
185
429
  Preaggregate: "preaggregate"
186
- }, qa = {
430
+ }, Xa = {
187
431
  FreeParameter: "free_parameter",
188
432
  Given: "given",
189
433
  GivenInPersistedQuery: "given_in_persisted_query",
@@ -198,23 +442,23 @@ const v = function(l, ...t) {
198
442
  Authorize: "authorize",
199
443
  NotDuckdbPortable: "not_duckdb_portable",
200
444
  PublicSurfaceUnknown: "public_surface_unknown"
201
- }, Da = {
445
+ }, Za = {
202
446
  Publish: "publish",
203
447
  OnDemand: "on_demand",
204
448
  Scheduler: "scheduler"
205
- }, Qa = {
449
+ }, et = {
206
450
  Config: "config",
207
451
  CredentialChain: "credential_chain"
208
- }, za = {
452
+ }, at = {
209
453
  Initializing: "initializing",
210
454
  Serving: "serving",
211
455
  Draining: "draining",
212
456
  Throttled: "throttled"
213
- }, La = {
457
+ }, tt = {
214
458
  Light: "light",
215
459
  Dark: "dark",
216
460
  Auto: "auto"
217
- }, be = function(l) {
461
+ }, Se = function(l) {
218
462
  return {
219
463
  /**
220
464
  * Creates a new database connection in the specified environment.
@@ -596,7 +840,7 @@ const v = function(l, ...t) {
596
840
  }
597
841
  };
598
842
  }, y = function(l) {
599
- const t = be(l);
843
+ const t = Se(l);
600
844
  return {
601
845
  /**
602
846
  * Creates a new database connection in the specified environment.
@@ -824,7 +1068,7 @@ const v = function(l, ...t) {
824
1068
  return (i, p) => O(o, u, g, l)(i, c || p);
825
1069
  }
826
1070
  };
827
- }, Ha = function(l, t, e) {
1071
+ }, nt = function(l, t, e) {
828
1072
  const r = y(l);
829
1073
  return {
830
1074
  /**
@@ -1037,7 +1281,7 @@ const v = function(l, ...t) {
1037
1281
  }
1038
1282
  };
1039
1283
  };
1040
- class Pe extends C {
1284
+ class ke extends C {
1041
1285
  /**
1042
1286
  * Creates a new database connection in the specified environment.
1043
1287
  * @summary Create a new database connection
@@ -1247,7 +1491,7 @@ class Pe extends C {
1247
1491
  return y(this.configuration).updateConnection(t, e, r, a).then((n) => n(this.axios, this.basePath));
1248
1492
  }
1249
1493
  }
1250
- const ve = function(l) {
1494
+ const ye = function(l) {
1251
1495
  return {
1252
1496
  /**
1253
1497
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1270,8 +1514,8 @@ const ve = function(l) {
1270
1514
  };
1271
1515
  }
1272
1516
  };
1273
- }, K = function(l) {
1274
- const t = ve(l);
1517
+ }, X = function(l) {
1518
+ const t = ye(l);
1275
1519
  return {
1276
1520
  /**
1277
1521
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1285,8 +1529,8 @@ const ve = function(l) {
1285
1529
  return (s, c) => O(a, u, g, l)(s, o || c);
1286
1530
  }
1287
1531
  };
1288
- }, _a = function(l, t, e) {
1289
- const r = K(l);
1532
+ }, rt = function(l, t, e) {
1533
+ const r = X(l);
1290
1534
  return {
1291
1535
  /**
1292
1536
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
@@ -1300,7 +1544,7 @@ const ve = function(l) {
1300
1544
  }
1301
1545
  };
1302
1546
  };
1303
- class Wa extends C {
1547
+ class ot extends C {
1304
1548
  /**
1305
1549
  * Validates a database connection configuration without adding it to any environment. This endpoint allows you to test connection parameters, credentials, and network connectivity before committing the connection to an environment. Useful for troubleshooting connection issues and validating configurations during setup.
1306
1550
  * @summary Test database connection configuration
@@ -1309,10 +1553,10 @@ class Wa extends C {
1309
1553
  * @throws {RequiredError}
1310
1554
  */
1311
1555
  testConnectionConfiguration(t, e) {
1312
- return K(this.configuration).testConnectionConfiguration(t, e).then((r) => r(this.axios, this.basePath));
1556
+ return X(this.configuration).testConnectionConfiguration(t, e).then((r) => r(this.axios, this.basePath));
1313
1557
  }
1314
1558
  }
1315
- const Ve = function(l) {
1559
+ const Ae = function(l) {
1316
1560
  return {
1317
1561
  /**
1318
1562
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
@@ -1338,7 +1582,7 @@ const Ve = function(l) {
1338
1582
  };
1339
1583
  },
1340
1584
  /**
1341
- * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1585
+ * Lists the dashboards in the specified package — every tagged `.malloy` file at the top of `dashboards/` or `notebooks/` carrying an `# artifact` (or model-level `## artifact`) annotation whose `kind` is `dashboard`, or names none under `dashboards/`. A `kind=notebook` file is listed as a notebook instead, whichever folder it sits in. A file with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1342
1586
  * @summary List package dashboards
1343
1587
  * @param {string} environmentName Name of the environment
1344
1588
  * @param {string} packageName Name of the package
@@ -1361,7 +1605,7 @@ const Ve = function(l) {
1361
1605
  }
1362
1606
  };
1363
1607
  }, z = function(l) {
1364
- const t = Ve(l);
1608
+ const t = Ae(l);
1365
1609
  return {
1366
1610
  /**
1367
1611
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
@@ -1378,7 +1622,7 @@ const Ve = function(l) {
1378
1622
  return (p, d) => O(s, u, g, l)(p, i || d);
1379
1623
  },
1380
1624
  /**
1381
- * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1625
+ * Lists the dashboards in the specified package — every tagged `.malloy` file at the top of `dashboards/` or `notebooks/` carrying an `# artifact` (or model-level `## artifact`) annotation whose `kind` is `dashboard`, or names none under `dashboards/`. A `kind=notebook` file is listed as a notebook instead, whichever folder it sits in. A file with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1382
1626
  * @summary List package dashboards
1383
1627
  * @param {string} environmentName Name of the environment
1384
1628
  * @param {string} packageName Name of the package
@@ -1391,7 +1635,7 @@ const Ve = function(l) {
1391
1635
  return (i, p) => O(o, u, g, l)(i, c || p);
1392
1636
  }
1393
1637
  };
1394
- }, Ga = function(l, t, e) {
1638
+ }, st = function(l, t, e) {
1395
1639
  const r = z(l);
1396
1640
  return {
1397
1641
  /**
@@ -1408,7 +1652,7 @@ const Ve = function(l) {
1408
1652
  return r.getDashboard(a, n, o, s, c).then((i) => i(e, t));
1409
1653
  },
1410
1654
  /**
1411
- * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1655
+ * Lists the dashboards in the specified package — every tagged `.malloy` file at the top of `dashboards/` or `notebooks/` carrying an `# artifact` (or model-level `## artifact`) annotation whose `kind` is `dashboard`, or names none under `dashboards/`. A `kind=notebook` file is listed as a notebook instead, whichever folder it sits in. A file with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1412
1656
  * @summary List package dashboards
1413
1657
  * @param {string} environmentName Name of the environment
1414
1658
  * @param {string} packageName Name of the package
@@ -1421,7 +1665,7 @@ const Ve = function(l) {
1421
1665
  }
1422
1666
  };
1423
1667
  };
1424
- class Oe extends C {
1668
+ class Ce extends C {
1425
1669
  /**
1426
1670
  * Retrieves everything a viewer needs to render one dashboard: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running the dashboard needs no further endpoint — its query, each tile, and each control\'s suggest query all run through the model query endpoint with `givens`, using the manifest\'s `path` as the model.
1427
1671
  * @summary Get a dashboard manifest
@@ -1436,7 +1680,7 @@ class Oe extends C {
1436
1680
  return z(this.configuration).getDashboard(t, e, r, a, n).then((o) => o(this.axios, this.basePath));
1437
1681
  }
1438
1682
  /**
1439
- * Lists the dashboards in the specified package — every `.malloy` file in the package\'s `dashboards/` directory that carries an `# artifact` (or model-level `## artifact`) annotation. A file in that directory with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1683
+ * Lists the dashboards in the specified package — every tagged `.malloy` file at the top of `dashboards/` or `notebooks/` carrying an `# artifact` (or model-level `## artifact`) annotation whose `kind` is `dashboard`, or names none under `dashboards/`. A `kind=notebook` file is listed as a notebook instead, whichever folder it sits in. A file with no artifact tag is a shared include and is not listed, whether or not it compiles. A tagged dashboard that failed to compile is listed carrying its `error` where that state can arise at all, so a broken dashboard is visibly broken rather than silently absent. In practice it rarely does: a package whose model fails to compile is not loaded, and a reload that would break one is refused and leaves the previously loaded package serving, so `error` is only reachable on the paths that keep per-model placeholders. Treat it as present-but-uncommon rather than the normal way a broken dashboard surfaces. Every tagged dashboard is listed, whatever the package\'s surface. To hide one, remove its `# artifact` tag. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a dashboard\'s tiles, its single query and its filter `suggest` queries may read only sources the surface exports. A source the dashboard declares on top of a surface source may be read; one over a hidden source may not. The dashboard file\'s own `export {}` and named queries add nothing to the surface. A tile over a hidden source answers 404 when it runs, and the package\'s `warnings` report each such tile, single query and suggest, with severity `error`, as of the last load, naming the source and the fix. Under `\"all\"` nothing is refused, so the situation does not arise.
1440
1684
  * @summary List package dashboards
1441
1685
  * @param {string} environmentName Name of the environment
1442
1686
  * @param {string} packageName Name of the package
@@ -1448,7 +1692,7 @@ class Oe extends C {
1448
1692
  return z(this.configuration).listDashboards(t, e, r, a).then((n) => n(this.axios, this.basePath));
1449
1693
  }
1450
1694
  }
1451
- const Se = function(l) {
1695
+ const Ie = function(l) {
1452
1696
  return {
1453
1697
  /**
1454
1698
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -1472,8 +1716,8 @@ const Se = function(l) {
1472
1716
  };
1473
1717
  }
1474
1718
  };
1475
- }, J = function(l) {
1476
- const t = Se(l);
1719
+ }, Z = function(l) {
1720
+ const t = Ie(l);
1477
1721
  return {
1478
1722
  /**
1479
1723
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -1488,8 +1732,8 @@ const Se = function(l) {
1488
1732
  return (c, i) => O(n, u, g, l)(c, s || i);
1489
1733
  }
1490
1734
  };
1491
- }, Ya = function(l, t, e) {
1492
- const r = J(l);
1735
+ }, ct = function(l, t, e) {
1736
+ const r = Z(l);
1493
1737
  return {
1494
1738
  /**
1495
1739
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
@@ -1504,7 +1748,7 @@ const Se = function(l) {
1504
1748
  }
1505
1749
  };
1506
1750
  };
1507
- class ke extends C {
1751
+ class xe extends C {
1508
1752
  /**
1509
1753
  * Retrieves a list of all in-package HTML data apps (static pages served from the package\'s public/ directory) within the specified package. Each entry includes the relative path, the package name, a canonical resource URL, and the title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Data Apps\" section on the package detail view, and by anyone who wants to discover a package\'s data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
1510
1754
  * @summary List package data apps
@@ -1514,10 +1758,10 @@ class ke extends C {
1514
1758
  * @throws {RequiredError}
1515
1759
  */
1516
1760
  listDataApps(t, e, r) {
1517
- return J(this.configuration).listDataApps(t, e, r).then((a) => a(this.axios, this.basePath));
1761
+ return Z(this.configuration).listDataApps(t, e, r).then((a) => a(this.axios, this.basePath));
1518
1762
  }
1519
1763
  }
1520
- const ye = function(l) {
1764
+ const Re = function(l) {
1521
1765
  return {
1522
1766
  /**
1523
1767
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1542,8 +1786,8 @@ const ye = function(l) {
1542
1786
  };
1543
1787
  }
1544
1788
  };
1545
- }, X = function(l) {
1546
- const t = ye(l);
1789
+ }, ee = function(l) {
1790
+ const t = Re(l);
1547
1791
  return {
1548
1792
  /**
1549
1793
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1559,8 +1803,8 @@ const ye = function(l) {
1559
1803
  return (i, p) => O(o, u, g, l)(i, c || p);
1560
1804
  }
1561
1805
  };
1562
- }, $a = function(l, t, e) {
1563
- const r = X(l);
1806
+ }, lt = function(l, t, e) {
1807
+ const r = ee(l);
1564
1808
  return {
1565
1809
  /**
1566
1810
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
@@ -1576,7 +1820,7 @@ const ye = function(l) {
1576
1820
  }
1577
1821
  };
1578
1822
  };
1579
- class Ae extends C {
1823
+ class Ne extends C {
1580
1824
  /**
1581
1825
  * Retrieves a list of all embedded databases within the specified package. These are typically local data files read by DuckDB in place (.parquet, .csv, and .xlsx) that provide local data storage for the package. Each database entry includes metadata about the database structure and content.
1582
1826
  * @summary List embedded databases
@@ -1587,10 +1831,10 @@ class Ae extends C {
1587
1831
  * @throws {RequiredError}
1588
1832
  */
1589
1833
  listDatabases(t, e, r, a) {
1590
- return X(this.configuration).listDatabases(t, e, r, a).then((n) => n(this.axios, this.basePath));
1834
+ return ee(this.configuration).listDatabases(t, e, r, a).then((n) => n(this.axios, this.basePath));
1591
1835
  }
1592
1836
  }
1593
- const Ce = function(l) {
1837
+ const Te = function(l) {
1594
1838
  return {
1595
1839
  /**
1596
1840
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1694,7 +1938,7 @@ const Ce = function(l) {
1694
1938
  }
1695
1939
  };
1696
1940
  }, T = function(l) {
1697
- const t = Ce(l);
1941
+ const t = Te(l);
1698
1942
  return {
1699
1943
  /**
1700
1944
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
@@ -1753,7 +1997,7 @@ const Ce = function(l) {
1753
1997
  return (c, i) => O(n, u, g, l)(c, s || i);
1754
1998
  }
1755
1999
  };
1756
- }, Ka = function(l, t, e) {
2000
+ }, it = function(l, t, e) {
1757
2001
  const r = T(l);
1758
2002
  return {
1759
2003
  /**
@@ -1809,7 +2053,7 @@ const Ce = function(l) {
1809
2053
  }
1810
2054
  };
1811
2055
  };
1812
- class Ie extends C {
2056
+ class Ue extends C {
1813
2057
  /**
1814
2058
  * Creates a new Malloy environment with the specified configuration. An environment serves as a container for packages, connections, and other resources. The environment will be initialized with the provided metadata and can immediately accept packages and connections.
1815
2059
  * @summary Create a new environment
@@ -1862,7 +2106,7 @@ class Ie extends C {
1862
2106
  return T(this.configuration).updateEnvironment(t, e, r).then((a) => a(this.axios, this.basePath));
1863
2107
  }
1864
2108
  }
1865
- const xe = function(l) {
2109
+ const we = function(l) {
1866
2110
  return {
1867
2111
  /**
1868
2112
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -1979,7 +2223,7 @@ const xe = function(l) {
1979
2223
  }
1980
2224
  };
1981
2225
  }, U = function(l) {
1982
- const t = xe(l);
2226
+ const t = we(l);
1983
2227
  return {
1984
2228
  /**
1985
2229
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
@@ -2050,7 +2294,7 @@ const xe = function(l) {
2050
2294
  return (p, d) => O(s, u, g, l)(p, i || d);
2051
2295
  }
2052
2296
  };
2053
- }, Ja = function(l, t, e) {
2297
+ }, pt = function(l, t, e) {
2054
2298
  const r = U(l);
2055
2299
  return {
2056
2300
  /**
@@ -2118,7 +2362,7 @@ const xe = function(l) {
2118
2362
  }
2119
2363
  };
2120
2364
  };
2121
- class Re extends C {
2365
+ class Ee extends C {
2122
2366
  /**
2123
2367
  * Creates a materialization and starts building. Behavior depends on the request body (see CreateMaterializationRequest): * Orchestrated build — supply `buildInstructions`. The publisher builds directly into the caller-assigned names derived from the package\'s already-compiled build plan (read off `Package.buildPlan`). Returns the materialization already building. * Auto-run (standalone, default) — omit `buildInstructions`; the publisher self-assigns names and runs all phases in one pass.
2124
2368
  * @summary Create a materialization
@@ -2183,9 +2427,9 @@ class Re extends C {
2183
2427
  return U(this.configuration).materializationAction(t, e, r, a, n).then((o) => o(this.axios, this.basePath));
2184
2428
  }
2185
2429
  }
2186
- const Xa = {
2430
+ const dt = {
2187
2431
  Stop: "stop"
2188
- }, Ne = function(l) {
2432
+ }, Me = function(l) {
2189
2433
  return {
2190
2434
  /**
2191
2435
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
@@ -2235,7 +2479,7 @@ const Xa = {
2235
2479
  };
2236
2480
  },
2237
2481
  /**
2238
- * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2482
+ * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a dashboard is always returned.
2239
2483
  * @summary Get compiled Malloy model
2240
2484
  * @param {string} environmentName Name of the environment
2241
2485
  * @param {string} packageName Name of the package
@@ -2259,7 +2503,7 @@ const Xa = {
2259
2503
  };
2260
2504
  },
2261
2505
  /**
2262
- * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2506
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are not models here, with or without a surface; they are listed by list-notebooks.
2263
2507
  * @summary List package models
2264
2508
  * @param {string} environmentName Name of the environment
2265
2509
  * @param {string} packageName Name of the package
@@ -2282,11 +2526,11 @@ const Xa = {
2282
2526
  };
2283
2527
  },
2284
2528
  /**
2285
- * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2286
- * @summary Write a dashboard file into the package
2529
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy` — or a notebook file — `notebooks/<slug>.malloy`, which must carry an `## artifact` tag (an untagged file there is a shared include and is refused with 400, and so is a write over an existing file that is not a notebook) — the only paths this endpoint accepts, into the package, and reloads the package in place so it is served from the new text. This is the dashboard and notebook builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the file\'s text as the caller opened it, as `GET …/models/{path}` returned it in `sourceText`. On a package with a surface, that GET withholds `sourceText` only when the text names a source the file does not publish, and returns it anyway with `includeHiddenFilesAndSources=true`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. A notebook path over an existing file the package does not serve as a notebook answers 400 instead, with or without a hash, because that check comes before the hash. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A dashboard whose name (the file\'s basename) another file already holds is refused with 409 before anything is written, since the name is its URL and its `# drill` target. A `dashboards/` file whose text has no `# artifact` or `## artifact` tag (an `artifact` property anywhere on a tag line, outside a string) is refused with 400 before anything is written; a tag only inside a block comment passes that check but the compiled model carries none, so it is rolled back and answers 500. A tagged dashboard with no tiles saves but is not served until it has one. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2530
+ * @summary Write a dashboard or notebook file into the package
2287
2531
  * @param {string} environmentName Name of the environment
2288
2532
  * @param {string} packageName Name of the package
2289
- * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2533
+ * @param {string} path The file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60; or &#x60;notebooks/&lt;slug&gt;.malloy&#x60;
2290
2534
  * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2291
2535
  * @param {string} [versionId] Version identifier for the package
2292
2536
  * @param {*} [options] Override http request option.
@@ -2307,7 +2551,7 @@ const Xa = {
2307
2551
  }
2308
2552
  };
2309
2553
  }, w = function(l) {
2310
- const t = Ne(l);
2554
+ const t = Me(l);
2311
2555
  return {
2312
2556
  /**
2313
2557
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
@@ -2339,7 +2583,7 @@ const Xa = {
2339
2583
  return (d, m) => O(c, u, g, l)(d, p || m);
2340
2584
  },
2341
2585
  /**
2342
- * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2586
+ * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a dashboard is always returned.
2343
2587
  * @summary Get compiled Malloy model
2344
2588
  * @param {string} environmentName Name of the environment
2345
2589
  * @param {string} packageName Name of the package
@@ -2354,7 +2598,7 @@ const Xa = {
2354
2598
  return (d, m) => O(c, u, g, l)(d, p || m);
2355
2599
  },
2356
2600
  /**
2357
- * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2601
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are not models here, with or without a surface; they are listed by list-notebooks.
2358
2602
  * @summary List package models
2359
2603
  * @param {string} environmentName Name of the environment
2360
2604
  * @param {string} packageName Name of the package
@@ -2368,11 +2612,11 @@ const Xa = {
2368
2612
  return (p, d) => O(s, u, g, l)(p, i || d);
2369
2613
  },
2370
2614
  /**
2371
- * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2372
- * @summary Write a dashboard file into the package
2615
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy` — or a notebook file — `notebooks/<slug>.malloy`, which must carry an `## artifact` tag (an untagged file there is a shared include and is refused with 400, and so is a write over an existing file that is not a notebook) — the only paths this endpoint accepts, into the package, and reloads the package in place so it is served from the new text. This is the dashboard and notebook builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the file\'s text as the caller opened it, as `GET …/models/{path}` returned it in `sourceText`. On a package with a surface, that GET withholds `sourceText` only when the text names a source the file does not publish, and returns it anyway with `includeHiddenFilesAndSources=true`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. A notebook path over an existing file the package does not serve as a notebook answers 400 instead, with or without a hash, because that check comes before the hash. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A dashboard whose name (the file\'s basename) another file already holds is refused with 409 before anything is written, since the name is its URL and its `# drill` target. A `dashboards/` file whose text has no `# artifact` or `## artifact` tag (an `artifact` property anywhere on a tag line, outside a string) is refused with 400 before anything is written; a tag only inside a block comment passes that check but the compiled model carries none, so it is rolled back and answers 500. A tagged dashboard with no tiles saves but is not served until it has one. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2616
+ * @summary Write a dashboard or notebook file into the package
2373
2617
  * @param {string} environmentName Name of the environment
2374
2618
  * @param {string} packageName Name of the package
2375
- * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2619
+ * @param {string} path The file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60; or &#x60;notebooks/&lt;slug&gt;.malloy&#x60;
2376
2620
  * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2377
2621
  * @param {string} [versionId] Version identifier for the package
2378
2622
  * @param {*} [options] Override http request option.
@@ -2383,7 +2627,7 @@ const Xa = {
2383
2627
  return (d, m) => O(c, u, g, l)(d, p || m);
2384
2628
  }
2385
2629
  };
2386
- }, Za = function(l, t, e) {
2630
+ }, ht = function(l, t, e) {
2387
2631
  const r = w(l);
2388
2632
  return {
2389
2633
  /**
@@ -2414,7 +2658,7 @@ const Xa = {
2414
2658
  return r.executeQueryModel(a, n, o, s, c, i).then((p) => p(e, t));
2415
2659
  },
2416
2660
  /**
2417
- * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2661
+ * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a dashboard is always returned.
2418
2662
  * @summary Get compiled Malloy model
2419
2663
  * @param {string} environmentName Name of the environment
2420
2664
  * @param {string} packageName Name of the package
@@ -2428,7 +2672,7 @@ const Xa = {
2428
2672
  return r.getModel(a, n, o, s, c, i).then((p) => p(e, t));
2429
2673
  },
2430
2674
  /**
2431
- * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2675
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are not models here, with or without a surface; they are listed by list-notebooks.
2432
2676
  * @summary List package models
2433
2677
  * @param {string} environmentName Name of the environment
2434
2678
  * @param {string} packageName Name of the package
@@ -2441,11 +2685,11 @@ const Xa = {
2441
2685
  return r.listModels(a, n, o, s, c).then((i) => i(e, t));
2442
2686
  },
2443
2687
  /**
2444
- * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2445
- * @summary Write a dashboard file into the package
2688
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy` — or a notebook file — `notebooks/<slug>.malloy`, which must carry an `## artifact` tag (an untagged file there is a shared include and is refused with 400, and so is a write over an existing file that is not a notebook) — the only paths this endpoint accepts, into the package, and reloads the package in place so it is served from the new text. This is the dashboard and notebook builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the file\'s text as the caller opened it, as `GET …/models/{path}` returned it in `sourceText`. On a package with a surface, that GET withholds `sourceText` only when the text names a source the file does not publish, and returns it anyway with `includeHiddenFilesAndSources=true`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. A notebook path over an existing file the package does not serve as a notebook answers 400 instead, with or without a hash, because that check comes before the hash. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A dashboard whose name (the file\'s basename) another file already holds is refused with 409 before anything is written, since the name is its URL and its `# drill` target. A `dashboards/` file whose text has no `# artifact` or `## artifact` tag (an `artifact` property anywhere on a tag line, outside a string) is refused with 400 before anything is written; a tag only inside a block comment passes that check but the compiled model carries none, so it is rolled back and answers 500. A tagged dashboard with no tiles saves but is not served until it has one. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2689
+ * @summary Write a dashboard or notebook file into the package
2446
2690
  * @param {string} environmentName Name of the environment
2447
2691
  * @param {string} packageName Name of the package
2448
- * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2692
+ * @param {string} path The file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60; or &#x60;notebooks/&lt;slug&gt;.malloy&#x60;
2449
2693
  * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2450
2694
  * @param {string} [versionId] Version identifier for the package
2451
2695
  * @param {*} [options] Override http request option.
@@ -2456,7 +2700,7 @@ const Xa = {
2456
2700
  }
2457
2701
  };
2458
2702
  };
2459
- class Te extends C {
2703
+ class fe extends C {
2460
2704
  /**
2461
2705
  * Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.
2462
2706
  * @summary Compile Malloy source code
@@ -2485,7 +2729,7 @@ class Te extends C {
2485
2729
  return w(this.configuration).executeQueryModel(t, e, r, a, n, o).then((s) => s(this.axios, this.basePath));
2486
2730
  }
2487
2731
  /**
2488
- * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (`notebooks/_*.malloy` with an `## artifact` note) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish; the text of a dashboard is always returned.
2732
+ * Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model\'s structure, sources, and named queries for use in applications. On a package with a surface (a root `index.malloy`, or a legacy `explores`), a file off that surface answers 404 with the same message a query to it gets, unless `includeHiddenFilesAndSources` is true. With it, the file is returned with its `sourceText`, whatever sources the text names. Dashboard files and served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are always returned. A package with no surface, or with `queryableSources: \"all\"`, returns every file. For a file it returns, `modelDef.contents` and `modelDef.exports`, `modelInfo`, `sources` and `sourceInfos` are limited to the names the file publishes, so the surface file does not carry the hidden sources it imports. A join to a hidden source keeps only its name and the names and types of its fields. `sourceText` is left out when the text names a source the file does not publish, unless `includeHiddenFilesAndSources` is true; the text of a dashboard is always returned.
2489
2733
  * @summary Get compiled Malloy model
2490
2734
  * @param {string} environmentName Name of the environment
2491
2735
  * @param {string} packageName Name of the package
@@ -2499,7 +2743,7 @@ class Te extends C {
2499
2743
  return w(this.configuration).getModel(t, e, r, a, n, o).then((s) => s(this.axios, this.basePath));
2500
2744
  }
2501
2745
  /**
2502
- * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (`.malloy` files under `notebooks/` that carry an `## artifact` note) are not models here, with or without a surface; they are listed by list-notebooks.
2746
+ * Retrieves the Malloy models within the specified package. Each model entry includes the relative path, package name, whether the package hides the file, and any compilation errors. On a package with a surface (a root `index.malloy`, or a legacy `explores`), only the files on that surface are listed, unless `includeHiddenFilesAndSources` is true. With it, every model file is listed, and `isHidden` marks the ones the package hides. Dashboard files are listed by the dashboards route either way. Served notebooks (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) are not models here, with or without a surface; they are listed by list-notebooks.
2503
2747
  * @summary List package models
2504
2748
  * @param {string} environmentName Name of the environment
2505
2749
  * @param {string} packageName Name of the package
@@ -2512,11 +2756,11 @@ class Te extends C {
2512
2756
  return w(this.configuration).listModels(t, e, r, a, n).then((o) => o(this.axios, this.basePath));
2513
2757
  }
2514
2758
  /**
2515
- * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy`, the only paths this endpoint accepts — into the package, and reloads the package in place so the dashboard is served from the new text. This is the dashboard builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the text the caller opened, as `GET …/models/{path}` returned it in `sourceText`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2516
- * @summary Write a dashboard file into the package
2759
+ * Writes the Malloy text of a dashboard file — `dashboards/<slug>.malloy` — or a notebook file — `notebooks/<slug>.malloy`, which must carry an `## artifact` tag (an untagged file there is a shared include and is refused with 400, and so is a write over an existing file that is not a notebook) — the only paths this endpoint accepts, into the package, and reloads the package in place so it is served from the new text. This is the dashboard and notebook builder\'s save. The text is compiled first, as the file, and refused with its problems when it does not compile; nothing is written. The write is atomic (a sibling temporary file renamed over the target). If the reload that follows fails to compile the package, the previous text is restored (or a new file removed) and the package reloaded again, so a save never leaves the package serving less than it did. `expectedHash` is the SHA-256 (hex) of the file\'s text as the caller opened it, as `GET …/models/{path}` returned it in `sourceText`. On a package with a surface, that GET withholds `sourceText` only when the text names a source the file does not publish, and returns it anyway with `includeHiddenFilesAndSources=true`. When the file on disk no longer hashes to it, the write is refused with 409 and nothing is merged: the caller re-opens and reapplies its change. Omit it to CREATE the file: a file that already exists is then refused with 409 too, so an unconditional overwrite is not something a caller can ask for by leaving a field out. A notebook path over an existing file the package does not serve as a notebook answers 400 instead, with or without a hash, because that check comes before the hash. The check, the write, the reload and the restore all happen under one hold of the package lock, so two saves racing on one file cannot both pass the check, and a rollback cannot revert the other writer\'s text instead of its own. A dashboard whose name (the file\'s basename) another file already holds is refused with 409 before anything is written, since the name is its URL and its `# drill` target. A `dashboards/` file whose text has no `# artifact` or `## artifact` tag (an `artifact` property anywhere on a tag line, outside a string) is refused with 400 before anything is written; a tag only inside a block comment passes that check but the compiled model carries none, so it is rolled back and answers 500. A tagged dashboard with no tiles saves but is not served until it has one. A create answers 201 and an update 200; `created` in the body says the same thing. Refused with 403 when `publisher.config.json` has `frozenConfig: true`. Like every write on this server, it is unauthenticated and meant to sit behind an authenticating gateway; see docs/security-posture.md.
2760
+ * @summary Write a dashboard or notebook file into the package
2517
2761
  * @param {string} environmentName Name of the environment
2518
2762
  * @param {string} packageName Name of the package
2519
- * @param {string} path The dashboard file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60;
2763
+ * @param {string} path The file, &#x60;dashboards/&lt;slug&gt;.malloy&#x60; or &#x60;notebooks/&lt;slug&gt;.malloy&#x60;
2520
2764
  * @param {ModelSourceWriteRequest} modelSourceWriteRequest
2521
2765
  * @param {string} [versionId] Version identifier for the package
2522
2766
  * @param {*} [options] Override http request option.
@@ -2526,10 +2770,10 @@ class Te extends C {
2526
2770
  return w(this.configuration).updateModelSource(t, e, r, a, n, o).then((s) => s(this.axios, this.basePath));
2527
2771
  }
2528
2772
  }
2529
- const Ue = function(l) {
2773
+ const je = function(l) {
2530
2774
  return {
2531
2775
  /**
2532
- * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2776
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served notebook (tagged `kind=notebook`, or untagged-kind under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2533
2777
  * @summary Execute a specific notebook cell
2534
2778
  * @param {string} environmentName Name of the environment
2535
2779
  * @param {string} packageName Name of the package
@@ -2549,14 +2793,14 @@ const Ue = function(l) {
2549
2793
  l && (m = l.baseOptions);
2550
2794
  const S = { method: "GET", ...m, ...i }, R = {}, I = {};
2551
2795
  n !== void 0 && (I.versionId = n), o !== void 0 && (I.filter_params = o), s !== void 0 && (I.bypass_filters = s), c !== void 0 && (I.givens = c), R.Accept = "application/json", v(d, I);
2552
- let q = m && m.headers ? m.headers : {};
2553
- return S.headers = { ...R, ...q, ...i.headers }, {
2796
+ let D = m && m.headers ? m.headers : {};
2797
+ return S.headers = { ...R, ...D, ...i.headers }, {
2554
2798
  url: V(d),
2555
2799
  options: S
2556
2800
  };
2557
2801
  },
2558
2802
  /**
2559
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2803
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served notebook (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2560
2804
  * @summary Get Malloy notebook cells
2561
2805
  * @param {string} environmentName Name of the environment
2562
2806
  * @param {string} packageName Name of the package
@@ -2579,7 +2823,7 @@ const Ue = function(l) {
2579
2823
  };
2580
2824
  },
2581
2825
  /**
2582
- * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2826
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook` (or names no `kind` and sits under `notebooks/`). Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2583
2827
  * @summary List package notebooks
2584
2828
  * @param {string} environmentName Name of the environment
2585
2829
  * @param {string} packageName Name of the package
@@ -2602,10 +2846,10 @@ const Ue = function(l) {
2602
2846
  }
2603
2847
  };
2604
2848
  }, F = function(l) {
2605
- const t = Ue(l);
2849
+ const t = je(l);
2606
2850
  return {
2607
2851
  /**
2608
- * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2852
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served notebook (tagged `kind=notebook`, or untagged-kind under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2609
2853
  * @summary Execute a specific notebook cell
2610
2854
  * @param {string} environmentName Name of the environment
2611
2855
  * @param {string} packageName Name of the package
@@ -2623,7 +2867,7 @@ const Ue = function(l) {
2623
2867
  return (R, I) => O(d, u, g, l)(R, S || I);
2624
2868
  },
2625
2869
  /**
2626
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2870
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served notebook (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2627
2871
  * @summary Get Malloy notebook cells
2628
2872
  * @param {string} environmentName Name of the environment
2629
2873
  * @param {string} packageName Name of the package
@@ -2637,7 +2881,7 @@ const Ue = function(l) {
2637
2881
  return (p, d) => O(s, u, g, l)(p, i || d);
2638
2882
  },
2639
2883
  /**
2640
- * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2884
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook` (or names no `kind` and sits under `notebooks/`). Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2641
2885
  * @summary List package notebooks
2642
2886
  * @param {string} environmentName Name of the environment
2643
2887
  * @param {string} packageName Name of the package
@@ -2650,11 +2894,11 @@ const Ue = function(l) {
2650
2894
  return (i, p) => O(o, u, g, l)(i, c || p);
2651
2895
  }
2652
2896
  };
2653
- }, et = function(l, t, e) {
2897
+ }, mt = function(l, t, e) {
2654
2898
  const r = F(l);
2655
2899
  return {
2656
2900
  /**
2657
- * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2901
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served notebook (tagged `kind=notebook`, or untagged-kind under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2658
2902
  * @summary Execute a specific notebook cell
2659
2903
  * @param {string} environmentName Name of the environment
2660
2904
  * @param {string} packageName Name of the package
@@ -2671,7 +2915,7 @@ const Ue = function(l) {
2671
2915
  return r.executeNotebookCell(a, n, o, s, c, i, p, d, m).then((S) => S(e, t));
2672
2916
  },
2673
2917
  /**
2674
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2918
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served notebook (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2675
2919
  * @summary Get Malloy notebook cells
2676
2920
  * @param {string} environmentName Name of the environment
2677
2921
  * @param {string} packageName Name of the package
@@ -2684,7 +2928,7 @@ const Ue = function(l) {
2684
2928
  return r.getNotebook(a, n, o, s, c).then((i) => i(e, t));
2685
2929
  },
2686
2930
  /**
2687
- * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2931
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook` (or names no `kind` and sits under `notebooks/`). Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2688
2932
  * @summary List package notebooks
2689
2933
  * @param {string} environmentName Name of the environment
2690
2934
  * @param {string} packageName Name of the package
@@ -2697,9 +2941,9 @@ const Ue = function(l) {
2697
2941
  }
2698
2942
  };
2699
2943
  };
2700
- class we extends C {
2944
+ class Be extends C {
2701
2945
  /**
2702
- * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served `notebooks/_*.malloy` answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2946
+ * Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content. A served notebook (tagged `kind=notebook`, or untagged-kind under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface (a root `index.malloy`, or a legacy `explores`) with `queryableSources` left at `\"declared\"`, a code cell may read only sources the surface exports. A cell over a hidden source answers 404, and 404 rather than 403 even when the source is also `#(authorize)`-gated. A source an earlier cell declares on top of a published source still works. A cell\'s own source over a raw table (`duckdb.table(...)` or `.sql(...)`) has no published source under it, so it is refused. The response shows only the sources the notebook may read.
2703
2947
  * @summary Execute a specific notebook cell
2704
2948
  * @param {string} environmentName Name of the environment
2705
2949
  * @param {string} packageName Name of the package
@@ -2716,7 +2960,7 @@ class we extends C {
2716
2960
  return F(this.configuration).executeNotebookCell(t, e, r, a, n, o, s, c, i).then((p) => p(this.axios, this.basePath));
2717
2961
  }
2718
2962
  /**
2719
- * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served `notebooks/_*.malloy` (one with an `## artifact` note) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2963
+ * Retrieves a Malloy notebook with its raw cell contents (markdown and code). Cell execution should be done separately via the execute-notebook-cell endpoint. A served notebook (a `.malloy` at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook`, or names no `kind` and sits under `notebooks/`) answers here as well as a `.malloynb`. On a package with a surface, the response shows only the sources the notebook may read.
2720
2964
  * @summary Get Malloy notebook cells
2721
2965
  * @param {string} environmentName Name of the environment
2722
2966
  * @param {string} packageName Name of the package
@@ -2729,7 +2973,7 @@ class we extends C {
2729
2973
  return F(this.configuration).getNotebook(t, e, r, a, n).then((o) => o(this.axios, this.basePath));
2730
2974
  }
2731
2975
  /**
2732
- * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file directly under `notebooks/` that has a model-level `## artifact` note. Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2976
+ * Retrieves a list of all Malloy notebooks within the specified package: every `.malloynb` file, and every `.malloy` file at the top of `notebooks/` or `dashboards/` whose model-level `## artifact` tag says `kind=notebook` (or names no `kind` and sits under `notebooks/`). Each notebook entry includes the relative path, package name, title, description, and any compilation or reading error. This endpoint is useful for discovering available notebooks and checking their status.
2733
2977
  * @summary List package notebooks
2734
2978
  * @param {string} environmentName Name of the environment
2735
2979
  * @param {string} packageName Name of the package
@@ -2741,10 +2985,10 @@ class we extends C {
2741
2985
  return F(this.configuration).listNotebooks(t, e, r, a).then((n) => n(this.axios, this.basePath));
2742
2986
  }
2743
2987
  }
2744
- const at = {
2988
+ const ut = {
2745
2989
  True: "true",
2746
2990
  False: "false"
2747
- }, Ee = function(l) {
2991
+ }, Fe = function(l) {
2748
2992
  return {
2749
2993
  /**
2750
2994
  * Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
@@ -2855,7 +3099,7 @@ const at = {
2855
3099
  }
2856
3100
  };
2857
3101
  }, E = function(l) {
2858
- const t = Ee(l);
3102
+ const t = Fe(l);
2859
3103
  return {
2860
3104
  /**
2861
3105
  * Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
@@ -2920,7 +3164,7 @@ const at = {
2920
3164
  return (i, p) => O(o, u, g, l)(i, c || p);
2921
3165
  }
2922
3166
  };
2923
- }, tt = function(l, t, e) {
3167
+ }, gt = function(l, t, e) {
2924
3168
  const r = E(l);
2925
3169
  return {
2926
3170
  /**
@@ -2982,7 +3226,7 @@ const at = {
2982
3226
  }
2983
3227
  };
2984
3228
  };
2985
- class Me extends C {
3229
+ class De extends C {
2986
3230
  /**
2987
3231
  * Creates a new Malloy package within the specified environment. A package serves as a container for models, notebooks, embedded databases, and other resources. The package will be initialized with the provided metadata and can immediately accept content.
2988
3232
  * @summary Create a new package
@@ -3041,7 +3285,7 @@ class Me extends C {
3041
3285
  return E(this.configuration).updatePackage(t, e, r, a).then((n) => n(this.axios, this.basePath));
3042
3286
  }
3043
3287
  }
3044
- const fe = function(l) {
3288
+ const qe = function(l) {
3045
3289
  return {
3046
3290
  /**
3047
3291
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3119,7 +3363,7 @@ const fe = function(l) {
3119
3363
  }
3120
3364
  };
3121
3365
  }, M = function(l) {
3122
- const t = fe(l);
3366
+ const t = qe(l);
3123
3367
  return {
3124
3368
  /**
3125
3369
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
@@ -3163,7 +3407,7 @@ const fe = function(l) {
3163
3407
  return (s, c) => O(a, u, g, l)(s, o || c);
3164
3408
  }
3165
3409
  };
3166
- }, nt = function(l, t, e) {
3410
+ }, bt = function(l, t, e) {
3167
3411
  const r = M(l);
3168
3412
  return {
3169
3413
  /**
@@ -3205,7 +3449,7 @@ const fe = function(l) {
3205
3449
  }
3206
3450
  };
3207
3451
  };
3208
- class je extends C {
3452
+ class Qe extends C {
3209
3453
  /**
3210
3454
  * Drops the saved theme from the server. The next GET returns either the publisher.config.json boot seed (if present) or an empty object. Rejected with 403 when publisher.config.json has frozenConfig=true.
3211
3455
  * @summary Reset the instance theme to the boot seed or default
@@ -3244,7 +3488,7 @@ class je extends C {
3244
3488
  return M(this.configuration).updateTheme(t, e).then((r) => r(this.axios, this.basePath));
3245
3489
  }
3246
3490
  }
3247
- const Be = function(l) {
3491
+ const ze = function(l) {
3248
3492
  return {
3249
3493
  /**
3250
3494
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -3325,7 +3569,7 @@ const Be = function(l) {
3325
3569
  }
3326
3570
  };
3327
3571
  }, f = function(l) {
3328
- const t = Be(l);
3572
+ const t = ze(l);
3329
3573
  return {
3330
3574
  /**
3331
3575
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
@@ -3371,7 +3615,7 @@ const Be = function(l) {
3371
3615
  return (c, i) => O(n, u, g, l)(c, s || i);
3372
3616
  }
3373
3617
  };
3374
- }, rt = function(l, t, e) {
3618
+ }, Pt = function(l, t, e) {
3375
3619
  const r = f(l);
3376
3620
  return {
3377
3621
  /**
@@ -3415,7 +3659,7 @@ const Be = function(l) {
3415
3659
  }
3416
3660
  };
3417
3661
  };
3418
- class Fe extends C {
3662
+ class Le extends C {
3419
3663
  /**
3420
3664
  * Retrieves the current status of the file watching system. This includes whether watch mode is enabled, which environment is being watched, and the path being monitored. Useful for monitoring the development workflow and ensuring file changes are being detected.
3421
3665
  * @summary Get watch mode status
@@ -3456,7 +3700,7 @@ class Fe extends C {
3456
3700
  return f(this.configuration).streamPackageEvents(t, e, r).then((a) => a(this.axios, this.basePath));
3457
3701
  }
3458
3702
  }
3459
- class qe {
3703
+ class He {
3460
3704
  /**
3461
3705
  * parameter for apiKey security
3462
3706
  * @param name security name
@@ -3529,244 +3773,6 @@ class qe {
3529
3773
  return t !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(t);
3530
3774
  }
3531
3775
  }
3532
- const A = {
3533
- blue: "#2563eb",
3534
- indigo: "#4f46e5",
3535
- violet: "#7c3aed",
3536
- pink: "#be185d",
3537
- red: "#dc2626",
3538
- orange: "#c2410c",
3539
- amber: "#b45309",
3540
- lime: "#4d7c0f",
3541
- emerald: "#059669",
3542
- teal: "#0f766e",
3543
- cyan: "#0e7490",
3544
- slate: "#475569"
3545
- }, ot = {
3546
- environment: A.emerald,
3547
- package: A.teal,
3548
- connection: A.orange
3549
- }, st = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', ct = x(de)({
3550
- display: "flex",
3551
- flexDirection: "column",
3552
- height: "100%",
3553
- boxShadow: "none",
3554
- border: "none",
3555
- backgroundColor: "transparent"
3556
- }), lt = x(he)({
3557
- display: "flex",
3558
- flexDirection: "column",
3559
- padding: "0",
3560
- flexGrow: 1
3561
- }), it = x(me)({
3562
- padding: "0"
3563
- }), pt = x("div")(({ theme: l }) => ({
3564
- backgroundColor: l.palette.background.default,
3565
- padding: "0 8px 0px 8px",
3566
- borderRadius: "12px",
3567
- boxShadow: "none",
3568
- border: "none",
3569
- maxWidth: "1200px",
3570
- margin: "0 auto"
3571
- })), dt = x("div")({
3572
- marginBottom: "48px",
3573
- padding: "0",
3574
- backgroundColor: "transparent",
3575
- border: "none",
3576
- boxShadow: "none"
3577
- }), ht = x("div")({
3578
- backgroundColor: "transparent",
3579
- paddingTop: "12px",
3580
- paddingBottom: "2px",
3581
- borderRadius: "8px",
3582
- border: "none",
3583
- boxShadow: "none",
3584
- marginBottom: "0"
3585
- }), mt = x("div")({
3586
- height: "100%"
3587
- }), ut = x("div")({
3588
- height: "75vh",
3589
- width: "100%",
3590
- overflowY: "auto"
3591
- }), De = [
3592
- A.blue,
3593
- A.orange,
3594
- A.emerald,
3595
- A.pink,
3596
- A.violet,
3597
- A.amber,
3598
- A.cyan,
3599
- A.lime
3600
- ], Qe = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", G = {
3601
- defaultMode: "light",
3602
- allowUserToggle: !0,
3603
- palette: {
3604
- series: De,
3605
- // The chart canvas. One ground for the whole dashboard in both modes —
3606
- // canvas, card and the panel between cards are all this value, and the
3607
- // borders do the separating. See `tile`.
3608
- background: {
3609
- light: "#ffffff",
3610
- dark: "#0f172a"
3611
- },
3612
- tableHeader: {
3613
- light: "#475569",
3614
- dark: "#cbd5e1"
3615
- },
3616
- // Background of the table header row, independent of the
3617
- // tile (dashboard tile container) so the operator can theme
3618
- // the header band on its own.
3619
- tableHeaderBackground: {
3620
- light: "#f8fafc",
3621
- dark: "#1e293b"
3622
- },
3623
- tableBody: {
3624
- light: "#475569",
3625
- dark: "#e2e8f0"
3626
- },
3627
- // The padded container that wraps each chart / table in a dashboard.
3628
- //
3629
- // The SAME value as the canvas it holds and the panel it sits on, in
3630
- // both modes: a card is separated by its border and its radius, not by
3631
- // a wash. A tinted card reads as a recess — something switched off —
3632
- // and stacking card, canvas and panel as three values put three greys
3633
- // on one tile.
3634
- //
3635
- // Both modes are built the same way on purpose. They used to differ in
3636
- // structure, not just in value — light separated by border, dark by
3637
- // elevation — so a change to how a card reads had to be reasoned about
3638
- // twice and could land correct in one mode and wrong in the other.
3639
- tile: {
3640
- light: "#ffffff",
3641
- dark: "#0f172a"
3642
- },
3643
- tileTitle: {
3644
- light: "#475569",
3645
- dark: "#94a3b8"
3646
- },
3647
- // Saturated end of the choropleth / heatmap gradient. The renderer
3648
- // pairs this with a near-neutral low end. Matches the first series
3649
- // colour, so a map and a chart on one page ramp to the same hue.
3650
- mapColor: {
3651
- light: A.blue,
3652
- dark: A.blue
3653
- }
3654
- },
3655
- font: {
3656
- family: Qe,
3657
- size: 12
3658
- }
3659
- }, ze = [
3660
- "background",
3661
- "tableHeader",
3662
- "tableHeaderBackground",
3663
- "tableBody",
3664
- "tile",
3665
- "tileTitle",
3666
- "mapColor"
3667
- ];
3668
- function Z(l, t) {
3669
- const e = G.palette ?? {}, r = G.font ?? {
3670
- family: "sans-serif",
3671
- size: 12
3672
- };
3673
- let a = [...e.series ?? []], n = r.family ?? "sans-serif", o = r.size ?? 12;
3674
- const s = {
3675
- background: { ...e.background ?? {} },
3676
- tableHeader: { ...e.tableHeader ?? {} },
3677
- tableHeaderBackground: {
3678
- ...e.tableHeaderBackground ?? {}
3679
- },
3680
- tableBody: { ...e.tableBody ?? {} },
3681
- tile: { ...e.tile ?? {} },
3682
- tileTitle: { ...e.tileTitle ?? {} },
3683
- mapColor: { ...e.mapColor ?? {} }
3684
- };
3685
- for (const d of l)
3686
- if (d) {
3687
- Array.isArray(d.palette?.series) && (a = [...d.palette.series]);
3688
- for (const m of ze) {
3689
- const S = d.palette?.[m];
3690
- S && (s[m] = { ...s[m], ...S });
3691
- }
3692
- typeof d.font?.family == "string" && (n = d.font.family), typeof d.font?.size == "number" && (o = d.font.size);
3693
- }
3694
- const c = t === "dark", i = (d) => s[d][t] ?? e[d]?.[t], p = i("background");
3695
- return {
3696
- mode: t,
3697
- series: a,
3698
- font: { family: n, size: o },
3699
- background: p,
3700
- tableHeader: i("tableHeader"),
3701
- tableHeaderBackground: i("tableHeaderBackground"),
3702
- tableBody: i("tableBody"),
3703
- tile: i("tile"),
3704
- tileTitle: i("tileTitle"),
3705
- mapColor: i("mapColor"),
3706
- // Table interior follows the operator's chart background so
3707
- // tables and chart canvases share a single "viz surface" colour.
3708
- tableBackground: p,
3709
- // Derived, mode-keyed defaults. Operators don't edit these in
3710
- // v1; they're consistent borders / readable foreground text for
3711
- // each mode. If a user later asks to customise them, expose them
3712
- // on the schema and the editor and replace the literals below.
3713
- border: c ? "1px solid #334155" : "1px solid #e2e8f0",
3714
- // A card's edge, one stop darker than a table's gridline on the same
3715
- // slate ramp. See `cardBorder` on ResolvedTheme for why the two are not
3716
- // the same value.
3717
- cardBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
3718
- // Slate, not the teal-cast `#daedf3` this was: a pinned table header
3719
- // outlined in a hue no longer anywhere else on the page.
3720
- pinnedBorder: c ? "1px solid #475569" : "1px solid #cbd5e1",
3721
- valueColor: c ? "#f1f5f9" : "#0f172a",
3722
- foreground: c ? "#e2e8f0" : "#0f172a",
3723
- axisFaint: c ? "#475569" : "#cbd5e1",
3724
- // Dashboard panel background (the area BETWEEN tiles). The page's own
3725
- // ground in both modes, so the panel, the cards on it and the canvases
3726
- // inside them are one surface that borders divide up — see
3727
- // `palette.tile`.
3728
- //
3729
- // Still NOT tied to `palette.background`, which an operator may set to
3730
- // a bold accent for the chart canvas. The panel stays the neutral it is
3731
- // here so that accent cannot bleed into the surrounding chrome.
3732
- dashboardRoot: c ? "#0f172a" : "#ffffff",
3733
- // Drill link hover: the palette's anchor blue, so a drill reads as the
3734
- // same affordance as every other primary action; dark lightens it for
3735
- // contrast on the slate panel.
3736
- drillLink: c ? "#60a5fa" : A.blue
3737
- };
3738
- }
3739
- function Le(l, t, e) {
3740
- const r = t ?? l ?? "light";
3741
- return r === "auto" ? e ? "dark" : "light" : r;
3742
- }
3743
- const ee = $(void 0);
3744
- function He({
3745
- layers: l,
3746
- mode: t,
3747
- userChoice: e,
3748
- setMode: r,
3749
- allowUserToggle: a = !0,
3750
- children: n
3751
- }) {
3752
- const o = j(() => Z(l, t), [l, t]), s = j(
3753
- () => ({ theme: o, layers: l, mode: t, userChoice: e, setMode: r, allowUserToggle: a }),
3754
- [o, l, t, e, r, a]
3755
- );
3756
- return /* @__PURE__ */ B(ee.Provider, { value: s, children: n });
3757
- }
3758
- function gt() {
3759
- const l = Y(ee);
3760
- return l || {
3761
- theme: Z([], "light"),
3762
- layers: [],
3763
- mode: "light",
3764
- userChoice: void 0,
3765
- setMode: () => {
3766
- },
3767
- allowUserToggle: !1
3768
- };
3769
- }
3770
3776
  const _e = new se({
3771
3777
  defaultOptions: {
3772
3778
  queries: {
@@ -3778,7 +3784,7 @@ const _e = new se({
3778
3784
  throwOnError: !1
3779
3785
  }
3780
3786
  }
3781
- }), bt = {
3787
+ }), vt = {
3782
3788
  staleTime: 300 * 1e3,
3783
3789
  refetchOnWindowFocus: !1,
3784
3790
  refetchOnReconnect: !1
@@ -3802,7 +3808,7 @@ function Ye() {
3802
3808
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
3803
3809
  }
3804
3810
  u.defaults.baseURL || (u.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
3805
- const ae = $(void 0), $e = (l, t) => {
3811
+ const ae = K(void 0), Ke = (l, t) => {
3806
3812
  const e = `${window.location.protocol}//${window.location.host}/api/v0`, r = u.create({
3807
3813
  baseURL: l || e,
3808
3814
  withCredentials: !0,
@@ -3812,25 +3818,25 @@ const ae = $(void 0), $e = (l, t) => {
3812
3818
  const o = await t?.();
3813
3819
  return n.headers.Authorization = o || "", n;
3814
3820
  });
3815
- const a = new qe({ basePath: e });
3821
+ const a = new He({ basePath: e });
3816
3822
  return {
3817
- models: new Te(a, e, r),
3818
- publisher: new je(a, e, r),
3819
- environments: new Ie(a, e, r),
3820
- packages: new Me(a, e, r),
3821
- dashboards: new Oe(a, e, r),
3822
- dataApps: new ke(a, e, r),
3823
- notebooks: new we(a, e, r),
3824
- connections: new Pe(a, e, r),
3825
- databases: new Ae(a, e, r),
3826
- materializations: new Re(
3823
+ models: new fe(a, e, r),
3824
+ publisher: new Qe(a, e, r),
3825
+ environments: new Ue(a, e, r),
3826
+ packages: new De(a, e, r),
3827
+ dashboards: new Ce(a, e, r),
3828
+ dataApps: new xe(a, e, r),
3829
+ notebooks: new Be(a, e, r),
3830
+ connections: new ke(a, e, r),
3831
+ databases: new Ne(a, e, r),
3832
+ materializations: new Ee(
3827
3833
  a,
3828
3834
  e,
3829
3835
  r
3830
3836
  ),
3831
- watchMode: new Fe(a, e, r)
3837
+ watchMode: new Le(a, e, r)
3832
3838
  };
3833
- }, Pt = (l) => /* @__PURE__ */ B(ce, { client: _e, children: /* @__PURE__ */ B(Ke, { ...l }) }), Ke = ({
3839
+ }, Vt = (l) => /* @__PURE__ */ B(ce, { client: _e, children: /* @__PURE__ */ B($e, { ...l }) }), $e = ({
3834
3840
  children: l,
3835
3841
  getAccessToken: t,
3836
3842
  baseURL: e,
@@ -3838,7 +3844,7 @@ const ae = $(void 0), $e = (l, t) => {
3838
3844
  theme: a
3839
3845
  }) => {
3840
3846
  const n = j(
3841
- () => $e(e, t),
3847
+ () => Ke(e, t),
3842
3848
  [e, t]
3843
3849
  ), o = e || `${window.location.protocol}//${window.location.host}/api/v0`, s = le({
3844
3850
  queryKey: ["status"],
@@ -3853,21 +3859,21 @@ const ae = $(void 0), $e = (l, t) => {
3853
3859
  [i, a]
3854
3860
  ), [S, R] = W(
3855
3861
  We
3856
- ), [I, q] = W(Ye);
3862
+ ), [I, D] = W(Ye);
3857
3863
  ie(() => {
3858
3864
  if (typeof window > "u" || !window.matchMedia) return;
3859
- const N = window.matchMedia("(prefers-color-scheme: dark)"), _ = (oe) => q(oe.matches);
3865
+ const N = window.matchMedia("(prefers-color-scheme: dark)"), _ = (oe) => D(oe.matches);
3860
3866
  return N.addEventListener("change", _), () => N.removeEventListener("change", _);
3861
3867
  }, []);
3862
3868
  const te = pe((N) => {
3863
3869
  R(N), Ge(N);
3864
- }, []), H = i?.allowUserToggle ?? !0, D = H ? S : void 0, ne = j(
3865
- () => Le(
3870
+ }, []), H = i?.allowUserToggle ?? !0, q = H ? S : void 0, ne = j(
3871
+ () => Pe(
3866
3872
  i?.defaultMode,
3867
- D,
3873
+ q,
3868
3874
  I
3869
3875
  ),
3870
- [i?.defaultMode, D, I]
3876
+ [i?.defaultMode, q, I]
3871
3877
  ), re = {
3872
3878
  server: o,
3873
3879
  getAccessToken: t,
@@ -3877,135 +3883,137 @@ const ae = $(void 0), $e = (l, t) => {
3877
3883
  instanceTheme: i
3878
3884
  };
3879
3885
  return /* @__PURE__ */ B(ae.Provider, { value: re, children: /* @__PURE__ */ B(
3880
- He,
3886
+ ve,
3881
3887
  {
3882
3888
  layers: m,
3883
3889
  mode: ne,
3884
- userChoice: D,
3890
+ userChoice: q,
3885
3891
  setMode: te,
3886
3892
  allowUserToggle: H,
3887
3893
  children: l
3888
3894
  }
3889
3895
  ) });
3890
- }, vt = () => {
3896
+ }, Ot = () => {
3891
3897
  const l = Y(ae);
3892
3898
  if (l === void 0)
3893
3899
  throw new Error("useServer must be used within a ServerProvider");
3894
3900
  return l;
3895
3901
  };
3896
3902
  export {
3897
- w as $,
3898
- ta as A,
3899
- $a as B,
3900
- ra as C,
3901
- Oe as D,
3902
- X as E,
3903
- Ie as F,
3904
- Ce as G,
3905
- Ka as H,
3906
- T as I,
3907
- at as J,
3908
- ha as K,
3909
- ma as L,
3910
- ua as M,
3911
- ga as N,
3912
- ba as O,
3913
- va as P,
3914
- Pa as Q,
3915
- Va as R,
3916
- Xa as S,
3917
- Oa as T,
3918
- Re as U,
3919
- xe as V,
3920
- Ja as W,
3921
- U as X,
3922
- Te as Y,
3923
- Ne as Z,
3924
- Za as _,
3925
- na as a,
3926
- ka as a0,
3927
- Aa as a1,
3928
- ya as a2,
3929
- Sa as a3,
3930
- we as a4,
3931
- Ue as a5,
3932
- et as a6,
3933
- F as a7,
3934
- Ra as a8,
3935
- xa as a9,
3936
- Fe as aA,
3937
- Be as aB,
3938
- rt as aC,
3939
- f as aD,
3940
- _e as aE,
3941
- vt as aF,
3942
- ze as aG,
3943
- gt as aH,
3944
- Z as aI,
3945
- st as aJ,
3946
- ot as aK,
3947
- ht as aL,
3948
- pt as aM,
3949
- dt as aN,
3950
- A as aO,
3951
- G as aP,
3952
- He as aQ,
3953
- Le as aR,
3954
- bt as aS,
3955
- it as aT,
3956
- mt as aU,
3957
- ut as aV,
3958
- ct as aW,
3959
- lt as aX,
3960
- Ia as aa,
3961
- Ca as ab,
3962
- Na as ac,
3963
- Ta as ad,
3964
- Me as ae,
3965
- Ee as af,
3966
- tt as ag,
3967
- E as ah,
3968
- Ua as ai,
3969
- wa as aj,
3970
- je as ak,
3971
- fe as al,
3972
- nt as am,
3973
- M as an,
3974
- Ea as ao,
3975
- Ma as ap,
3976
- fa as aq,
3977
- ja as ar,
3978
- Ba as as,
3979
- qa as at,
3980
- Fa as au,
3981
- Da as av,
3982
- Qa as aw,
3983
- Pt as ax,
3984
- za as ay,
3985
- La as az,
3986
- oa as b,
3987
- sa as c,
3988
- qe as d,
3989
- la as e,
3990
- ia as f,
3991
- ca as g,
3992
- Pe as h,
3993
- be as i,
3994
- Ha as j,
3903
+ Me as $,
3904
+ ma as A,
3905
+ Ne as B,
3906
+ ga as C,
3907
+ Sa as D,
3908
+ Re as E,
3909
+ lt as F,
3910
+ ee as G,
3911
+ Ue as H,
3912
+ Te as I,
3913
+ it as J,
3914
+ T as K,
3915
+ ut as L,
3916
+ Ca as M,
3917
+ Ia as N,
3918
+ xa as O,
3919
+ Ra as P,
3920
+ Na as Q,
3921
+ Ua as R,
3922
+ Ta as S,
3923
+ wa as T,
3924
+ dt as U,
3925
+ Ea as V,
3926
+ Ee as W,
3927
+ we as X,
3928
+ pt as Y,
3929
+ U as Z,
3930
+ fe as _,
3931
+ ua as a,
3932
+ ht as a0,
3933
+ w as a1,
3934
+ fa as a2,
3935
+ Ba as a3,
3936
+ ja as a4,
3937
+ Ma as a5,
3938
+ Be as a6,
3939
+ je as a7,
3940
+ mt as a8,
3941
+ F as a9,
3942
+ at as aA,
3943
+ tt as aB,
3944
+ Le as aC,
3945
+ ze as aD,
3946
+ Pt as aE,
3947
+ f as aF,
3948
+ _e as aG,
3949
+ Ot as aH,
3950
+ be as aI,
3951
+ ha as aJ,
3952
+ $ as aK,
3953
+ sa as aL,
3954
+ pa as aM,
3955
+ da as aN,
3956
+ ra as aO,
3957
+ oa as aP,
3958
+ na as aQ,
3959
+ ta as aR,
3960
+ ia as aS,
3961
+ ca as aT,
3962
+ la as aU,
3963
+ A as aV,
3964
+ G as aW,
3965
+ ve as aX,
3966
+ Pe as aY,
3967
+ vt as aZ,
3968
+ Qa as aa,
3969
+ qa as ab,
3970
+ Da as ac,
3971
+ Fa as ad,
3972
+ za as ae,
3973
+ La as af,
3974
+ De as ag,
3975
+ Fe as ah,
3976
+ gt as ai,
3977
+ E as aj,
3978
+ Ha as ak,
3979
+ _a as al,
3980
+ Qe as am,
3981
+ qe as an,
3982
+ bt as ao,
3983
+ M as ap,
3984
+ Wa as aq,
3985
+ Ga as ar,
3986
+ Ya as as,
3987
+ Ka as at,
3988
+ $a as au,
3989
+ Xa as av,
3990
+ Ja as aw,
3991
+ Za as ax,
3992
+ et as ay,
3993
+ Vt as az,
3994
+ ba as b,
3995
+ Pa as c,
3996
+ He as d,
3997
+ Va as e,
3998
+ Oa as f,
3999
+ va as g,
4000
+ ke as h,
4001
+ Se as i,
4002
+ nt as j,
3995
4003
  y as k,
3996
- Wa as l,
3997
- ve as m,
3998
- _a as n,
3999
- K as o,
4000
- Ve as p,
4001
- Ga as q,
4002
- z as r,
4003
- pa as s,
4004
- ke as t,
4005
- Se as u,
4006
- Ya as v,
4007
- J as w,
4008
- da as x,
4009
- Ae as y,
4010
- ye as z
4004
+ ot as l,
4005
+ ye as m,
4006
+ rt as n,
4007
+ X as o,
4008
+ ka as p,
4009
+ Ce as q,
4010
+ Ae as r,
4011
+ st as s,
4012
+ z as t,
4013
+ ya as u,
4014
+ xe as v,
4015
+ Ie as w,
4016
+ ct as x,
4017
+ Z as y,
4018
+ Aa as z
4011
4019
  };