@malloy-publisher/sdk 0.12.1 → 0.12.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 (208) hide show
  1. package/README.md +79 -6
  2. package/dist/{RenderedResult-DrNhQ2_9.cjs.js → RenderedResult-Cgw4iqev.cjs.js} +1 -1
  3. package/dist/{RenderedResult-AyM-RQaA.es.js → RenderedResult-DEjFM1DL.es.js} +2 -2
  4. package/dist/ServerProvider-BRQl_cBo.cjs.js +1 -0
  5. package/dist/{ServerProvider-a9Ki0QXO.es.js → ServerProvider-RnliA2Ao.es.js} +577 -555
  6. package/dist/builder/index.cjs.js +1 -1
  7. package/dist/builder/index.es.js +3 -3
  8. package/dist/client/api.d.ts +10 -1
  9. package/dist/client/index.cjs.js +1 -1
  10. package/dist/client/index.es.js +28 -27
  11. package/dist/components/Model/ExplorerPage.d.ts +9 -0
  12. package/dist/components/Model/Model.d.ts +27 -11
  13. package/dist/components/ModelViewer/AccessChips.d.ts +34 -0
  14. package/dist/components/ModelViewer/EmptyRow.d.ts +23 -0
  15. package/dist/components/ModelViewer/Facts.d.ts +15 -0
  16. package/dist/components/ModelViewer/FieldGroup.d.ts +31 -0
  17. package/dist/components/ModelViewer/FieldRow.d.ts +69 -0
  18. package/dist/components/ModelViewer/GivenFacts.d.ts +21 -0
  19. package/dist/components/ModelViewer/HeaderBar.d.ts +75 -0
  20. package/dist/components/ModelViewer/InlineDoc.d.ts +13 -0
  21. package/dist/components/ModelViewer/ModelGivensSection.d.ts +32 -0
  22. package/dist/components/ModelViewer/ModelSection.d.ts +21 -0
  23. package/dist/components/ModelViewer/ModelViewer.d.ts +91 -0
  24. package/dist/components/ModelViewer/QueriesGroup.d.ts +15 -0
  25. package/dist/components/ModelViewer/RowGlyph.d.ts +27 -0
  26. package/dist/components/ModelViewer/RunResult.d.ts +46 -0
  27. package/dist/components/ModelViewer/SampleValues.d.ts +20 -0
  28. package/dist/components/ModelViewer/SchemaJoin.d.ts +51 -0
  29. package/dist/components/ModelViewer/SchemaView.d.ts +52 -0
  30. package/dist/components/ModelViewer/SegmentIcons.d.ts +70 -0
  31. package/dist/components/ModelViewer/SourcesDropdown.d.ts +53 -0
  32. package/dist/components/ModelViewer/SourcesNav.d.ts +25 -0
  33. package/dist/components/ModelViewer/StatusPill.d.ts +56 -0
  34. package/dist/components/ModelViewer/ValueChip.d.ts +17 -0
  35. package/dist/components/ModelViewer/ViewRow.d.ts +36 -0
  36. package/dist/components/ModelViewer/clickableBox.d.ts +29 -0
  37. package/dist/components/ModelViewer/codeDisplay.d.ts +44 -0
  38. package/dist/components/ModelViewer/docAnnotations.d.ts +90 -0
  39. package/dist/components/ModelViewer/explorerModel.d.ts +12 -0
  40. package/dist/components/ModelViewer/extensions.d.ts +94 -0
  41. package/dist/components/ModelViewer/fieldCode.d.ts +74 -0
  42. package/dist/components/ModelViewer/fieldEntities.d.ts +45 -0
  43. package/dist/components/ModelViewer/fieldExpansion.d.ts +41 -0
  44. package/dist/components/ModelViewer/givenUsage.d.ts +71 -0
  45. package/dist/components/ModelViewer/headerCard.d.ts +31 -0
  46. package/dist/components/ModelViewer/httpStatus.d.ts +4 -0
  47. package/dist/components/ModelViewer/icons.d.ts +31 -0
  48. package/dist/components/ModelViewer/index.d.ts +9 -0
  49. package/dist/components/ModelViewer/joinAccess.d.ts +52 -0
  50. package/dist/components/ModelViewer/malloyRunText.d.ts +22 -0
  51. package/dist/components/ModelViewer/malloyText.d.ts +21 -0
  52. package/dist/components/ModelViewer/modelGivens.d.ts +61 -0
  53. package/dist/components/ModelViewer/modelGivensContext.d.ts +9 -0
  54. package/dist/components/ModelViewer/modelHeaderPresentation.d.ts +28 -0
  55. package/dist/components/ModelViewer/modelTextDeclarations.d.ts +32 -0
  56. package/dist/components/ModelViewer/modelTextParse.d.ts +27 -0
  57. package/dist/components/ModelViewer/namedQueryCode.d.ts +12 -0
  58. package/dist/components/ModelViewer/offSurface.d.ts +54 -0
  59. package/dist/components/ModelViewer/rowLayers.d.ts +30 -0
  60. package/dist/components/ModelViewer/runGate.d.ts +49 -0
  61. package/dist/components/ModelViewer/schemaModel.d.ts +109 -0
  62. package/dist/components/ModelViewer/sectionOpenCommand.d.ts +45 -0
  63. package/dist/components/ModelViewer/sourceAccess.d.ts +67 -0
  64. package/dist/components/ModelViewer/sourceLineage.d.ts +14 -0
  65. package/dist/components/ModelViewer/sourcePicker.d.ts +66 -0
  66. package/dist/components/ModelViewer/surface.d.ts +47 -0
  67. package/dist/components/ModelViewer/text.d.ts +6 -0
  68. package/dist/components/ModelViewer/theme.d.ts +63 -0
  69. package/dist/components/ModelViewer/tokens.d.ts +52 -0
  70. package/dist/components/ModelViewer/ui.d.ts +48 -0
  71. package/dist/components/ModelViewer/useDimensionSamples.d.ts +76 -0
  72. package/dist/components/ModelViewer/useModelSources.d.ts +92 -0
  73. package/dist/components/ModelViewer/useRunQuery.d.ts +115 -0
  74. package/dist/components/ReportBuilder/loadMalloy.d.ts +4 -0
  75. package/dist/components/ServerProvider.d.ts +15 -1
  76. package/dist/components/filter/utils.d.ts +1 -1
  77. package/dist/components/given/GivenInput.d.ts +7 -1
  78. package/dist/components/given/GivensPanel.d.ts +3 -1
  79. package/dist/components/given/filterSummary.d.ts +6 -0
  80. package/dist/components/given/useGivenUrlParams.d.ts +11 -0
  81. package/dist/components/index.d.ts +2 -1
  82. package/dist/components/modelPage.d.ts +36 -0
  83. package/dist/hooks/useDimensionalFilterRangeData.d.ts +9 -0
  84. package/dist/hooks/useSuggestOptions.d.ts +26 -2
  85. package/dist/index.cjs.js +47 -19
  86. package/dist/index.es.js +14281 -9879
  87. package/dist/useCompiledDocument-D88_2cGS.cjs.js +143 -0
  88. package/dist/{useCompiledDocument-Utj2u8CG.es.js → useCompiledDocument-Dmm6xkom.es.js} +6975 -6893
  89. package/dist/utils/filterCondition.d.ts +14 -0
  90. package/dist/utils/malloyLiteral.d.ts +20 -1
  91. package/package.json +2 -2
  92. package/src/components/Model/ExplorerPage.tsx +269 -0
  93. package/src/components/Model/Model.tsx +66 -250
  94. package/src/components/Model/ModelExplorer.spec.tsx +64 -1
  95. package/src/components/ModelViewer/AccessChips.tsx +149 -0
  96. package/src/components/ModelViewer/EmptyRow.tsx +71 -0
  97. package/src/components/ModelViewer/Facts.tsx +46 -0
  98. package/src/components/ModelViewer/FieldGroup.tsx +137 -0
  99. package/src/components/ModelViewer/FieldRow.tsx +566 -0
  100. package/src/components/ModelViewer/GivenFacts.tsx +89 -0
  101. package/src/components/ModelViewer/HeaderBar.tsx +362 -0
  102. package/src/components/ModelViewer/InlineDoc.tsx +50 -0
  103. package/src/components/ModelViewer/ModelGivensSection.tsx +142 -0
  104. package/src/components/ModelViewer/ModelSection.tsx +98 -0
  105. package/src/components/ModelViewer/ModelViewer.spec.tsx +937 -0
  106. package/src/components/ModelViewer/ModelViewer.tsx +777 -0
  107. package/src/components/ModelViewer/QueriesGroup.tsx +107 -0
  108. package/src/components/ModelViewer/RowGlyph.tsx +138 -0
  109. package/src/components/ModelViewer/RunResult.tsx +298 -0
  110. package/src/components/ModelViewer/SampleValues.tsx +97 -0
  111. package/src/components/ModelViewer/SchemaJoin.tsx +258 -0
  112. package/src/components/ModelViewer/SchemaView.tsx +222 -0
  113. package/src/components/ModelViewer/SegmentIcons.tsx +129 -0
  114. package/src/components/ModelViewer/SourcesDropdown.tsx +265 -0
  115. package/src/components/ModelViewer/SourcesNav.tsx +75 -0
  116. package/src/components/ModelViewer/StatusPill.tsx +145 -0
  117. package/src/components/ModelViewer/ValueChip.tsx +39 -0
  118. package/src/components/ModelViewer/ViewRow.tsx +274 -0
  119. package/src/components/ModelViewer/clickableBox.ts +59 -0
  120. package/src/components/ModelViewer/codeDisplay.spec.ts +176 -0
  121. package/src/components/ModelViewer/codeDisplay.ts +118 -0
  122. package/src/components/ModelViewer/docAnnotations.spec.ts +181 -0
  123. package/src/components/ModelViewer/docAnnotations.ts +244 -0
  124. package/src/components/ModelViewer/docAnnotations.typeDetail.spec.ts +114 -0
  125. package/src/components/ModelViewer/explorerModel.spec.ts +43 -0
  126. package/src/components/ModelViewer/explorerModel.ts +31 -0
  127. package/src/components/ModelViewer/extensions.tsx +112 -0
  128. package/src/components/ModelViewer/fieldCode.spec.ts +168 -0
  129. package/src/components/ModelViewer/fieldCode.ts +118 -0
  130. package/src/components/ModelViewer/fieldEntities.ts +63 -0
  131. package/src/components/ModelViewer/fieldExpansion.spec.ts +116 -0
  132. package/src/components/ModelViewer/fieldExpansion.ts +95 -0
  133. package/src/components/ModelViewer/givenUsage.spec.ts +304 -0
  134. package/src/components/ModelViewer/givenUsage.ts +325 -0
  135. package/src/components/ModelViewer/headerCard.tsx +102 -0
  136. package/src/components/ModelViewer/httpStatus.ts +15 -0
  137. package/src/components/ModelViewer/icons.tsx +67 -0
  138. package/src/components/ModelViewer/index.ts +26 -0
  139. package/src/components/ModelViewer/joinAccess.spec.ts +95 -0
  140. package/src/components/ModelViewer/joinAccess.ts +54 -0
  141. package/src/components/ModelViewer/malloyRunText.spec.ts +48 -0
  142. package/src/components/ModelViewer/malloyRunText.ts +51 -0
  143. package/src/components/ModelViewer/malloyText.spec.ts +47 -0
  144. package/src/components/ModelViewer/malloyText.ts +77 -0
  145. package/src/components/ModelViewer/modelGivens.ts +228 -0
  146. package/src/components/ModelViewer/modelGivensContext.ts +13 -0
  147. package/src/components/ModelViewer/modelHeaderPresentation.spec.ts +31 -0
  148. package/src/components/ModelViewer/modelHeaderPresentation.ts +41 -0
  149. package/src/components/ModelViewer/modelTextDeclarations.spec.ts +336 -0
  150. package/src/components/ModelViewer/modelTextDeclarations.ts +228 -0
  151. package/src/components/ModelViewer/modelTextParse.ts +112 -0
  152. package/src/components/ModelViewer/namedQueryCode.spec.ts +58 -0
  153. package/src/components/ModelViewer/namedQueryCode.ts +26 -0
  154. package/src/components/ModelViewer/offSurface.tsx +124 -0
  155. package/src/components/ModelViewer/rowLayers.tsx +104 -0
  156. package/src/components/ModelViewer/runGate.spec.ts +219 -0
  157. package/src/components/ModelViewer/runGate.ts +145 -0
  158. package/src/components/ModelViewer/schemaModel.defaultSource.spec.ts +126 -0
  159. package/src/components/ModelViewer/schemaModel.queries.spec.ts +37 -0
  160. package/src/components/ModelViewer/schemaModel.ts +300 -0
  161. package/src/components/ModelViewer/sectionOpenCommand.tsx +125 -0
  162. package/src/components/ModelViewer/sourceAccess.spec.ts +130 -0
  163. package/src/components/ModelViewer/sourceAccess.ts +194 -0
  164. package/src/components/ModelViewer/sourceLineage.spec.ts +73 -0
  165. package/src/components/ModelViewer/sourceLineage.ts +38 -0
  166. package/src/components/ModelViewer/sourcePicker.spec.ts +294 -0
  167. package/src/components/ModelViewer/sourcePicker.ts +162 -0
  168. package/src/components/ModelViewer/surface.ts +51 -0
  169. package/src/components/ModelViewer/text.tsx +33 -0
  170. package/src/components/ModelViewer/theme.spec.ts +38 -0
  171. package/src/components/ModelViewer/theme.ts +58 -0
  172. package/src/components/ModelViewer/tokens.ts +87 -0
  173. package/src/components/ModelViewer/ui.tsx +201 -0
  174. package/src/components/ModelViewer/useDimensionSamples.spec.tsx +139 -0
  175. package/src/components/ModelViewer/useDimensionSamples.ts +220 -0
  176. package/src/components/ModelViewer/useModelSources.spec.ts +110 -0
  177. package/src/components/ModelViewer/useModelSources.ts +238 -0
  178. package/src/components/ModelViewer/useRunQuery.spec.ts +50 -0
  179. package/src/components/ModelViewer/useRunQuery.ts +223 -0
  180. package/src/components/ReportBuilder/emptyStart.spec.ts +8 -0
  181. package/src/components/ReportBuilder/loadMalloy.ts +8 -1
  182. package/src/components/ServerProvider.tsx +27 -3
  183. package/src/components/filter/utils.ts +4 -60
  184. package/src/components/given/FilterButton.tsx +4 -1
  185. package/src/components/given/GivenInput.tsx +8 -0
  186. package/src/components/given/GivensPanel.tsx +6 -1
  187. package/src/components/given/filterSummary.spec.ts +31 -1
  188. package/src/components/given/filterSummary.ts +41 -19
  189. package/src/components/given/useGivenUrlParams.spec.tsx +32 -0
  190. package/src/components/given/useGivenUrlParams.ts +49 -14
  191. package/src/components/index.ts +6 -1
  192. package/src/components/legacy/malloynb/Notebook.spec.tsx +38 -4
  193. package/src/components/legacy/malloynb/NotebookCell.tsx +8 -2
  194. package/src/components/modelPage.spec.ts +79 -0
  195. package/src/components/modelPage.ts +48 -0
  196. package/src/hooks/useDimensionFilters.ts +3 -58
  197. package/src/hooks/useDimensionFiltersQuery.ts +3 -58
  198. package/src/hooks/useDimensionalFilterRangeData.spec.ts +57 -0
  199. package/src/hooks/useDimensionalFilterRangeData.ts +8 -63
  200. package/src/hooks/useSuggestOptions.dom.spec.ts +54 -1
  201. package/src/hooks/useSuggestOptions.spec.ts +71 -0
  202. package/src/hooks/useSuggestOptions.ts +102 -12
  203. package/src/utils/filterCondition.spec.ts +87 -0
  204. package/src/utils/filterCondition.ts +66 -0
  205. package/src/utils/malloyLiteral.spec.ts +53 -1
  206. package/src/utils/malloyLiteral.ts +47 -12
  207. package/dist/ServerProvider-BvD7PYZ7.cjs.js +0 -1
  208. package/dist/useCompiledDocument-CRhFBKv_.cjs.js +0 -142
@@ -1,9 +1,9 @@
1
- import { jsx as q } from "react/jsx-runtime";
2
- import { QueryClient as ke, QueryClientProvider as Oe, useQuery as Ae } from "@tanstack/react-query";
1
+ import { jsx as Q } from "react/jsx-runtime";
2
+ import { QueryClient as Oe, QueryClientProvider as Ae, useQuery as ye } from "@tanstack/react-query";
3
3
  import u from "axios";
4
- import { useContext as ce, useMemo as B, createContext as le, useState as re, useEffect as ye, useCallback as Ce } from "react";
5
- import { styled as j, Card as Ie, CardContent as xe, CardMedia as Re } from "@mui/material";
6
- const oe = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", U = {
4
+ import { useContext as le, useMemo as B, createContext as ie, useState as oe, useEffect as Ce, useCallback as Ie } from "react";
5
+ import { styled as j, Card as xe, CardContent as Re, CardMedia as Ne } from "@mui/material";
6
+ const se = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", U = {
7
7
  radius: { control: "6px", tile: "8px", menu: "10px", dialog: "12px" },
8
8
  size: { control: 32, chip: 24 },
9
9
  type: {
@@ -13,12 +13,12 @@ const oe = "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace", U = {
13
13
  control: { fontSize: 13, fontWeight: 500 },
14
14
  caption: { fontSize: 12, lineHeight: 1.4 },
15
15
  label: { fontSize: 12, fontWeight: 600, lineHeight: 1.4 },
16
- code: { fontSize: 11.5, fontFamily: oe }
16
+ code: { fontSize: 11.5, fontFamily: se }
17
17
  },
18
- font: { mono: oe },
18
+ font: { mono: se },
19
19
  shadow: { menu: "0 8px 24px rgba(16, 24, 40, 0.12)" }
20
20
  };
21
- function Ne(l) {
21
+ function Ue(l) {
22
22
  if (!l) return U;
23
23
  const r = { ...U.font, ...l.font }, e = { ...U.type };
24
24
  e.code = { ...e.code, fontFamily: r.mono };
@@ -48,25 +48,25 @@ const x = {
48
48
  teal: "#0f766e",
49
49
  cyan: "#0e7490",
50
50
  slate: "#475569"
51
- }, Ua = {
51
+ }, fa = {
52
52
  environment: x.emerald,
53
53
  package: x.teal,
54
54
  connection: x.orange
55
- }, Ta = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Ea = j(Ie)({
55
+ }, wa = '"JetBrains Mono", "ui-monospace", "SFMono-Regular", "Menlo", monospace', Ma = j(xe)({
56
56
  display: "flex",
57
57
  flexDirection: "column",
58
58
  height: "100%",
59
59
  boxShadow: "none",
60
60
  border: "none",
61
61
  backgroundColor: "transparent"
62
- }), fa = j(xe)({
62
+ }), Fa = j(Re)({
63
63
  display: "flex",
64
64
  flexDirection: "column",
65
65
  padding: "0",
66
66
  flexGrow: 1
67
- }), wa = j(Re)({
67
+ }), Ba = j(Ne)({
68
68
  padding: "0"
69
- }), Ma = j("div")({
69
+ }), ja = j("div")({
70
70
  backgroundColor: "transparent",
71
71
  paddingTop: "12px",
72
72
  paddingBottom: "2px",
@@ -74,13 +74,13 @@ const x = {
74
74
  border: "none",
75
75
  boxShadow: "none",
76
76
  marginBottom: "0"
77
- }), Fa = j("div")({
77
+ }), Da = j("div")({
78
78
  height: "100%"
79
- }), Ba = j("div")({
79
+ }), La = j("div")({
80
80
  height: "75vh",
81
81
  width: "100%",
82
82
  overflowY: "auto"
83
- }), Ue = {
83
+ }), Te = {
84
84
  light: {
85
85
  accent: x.blue,
86
86
  accentHover: "#1d4ed8",
@@ -91,52 +91,52 @@ const x = {
91
91
  accentHover: "#93c5fd",
92
92
  accentContrast: "#0f172a"
93
93
  }
94
- }, Te = {
94
+ }, Ee = {
95
95
  light: "#ffffff",
96
96
  dark: "#0f172a"
97
- }, Ee = 3, E = (l) => {
97
+ }, fe = 3, E = (l) => {
98
98
  const r = /^#?([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(l.trim());
99
99
  if (!r) return;
100
100
  const e = r[1].length === 3 ? [...r[1]].map((t) => t + t).join("") : r[1];
101
101
  return [0, 2, 4].map((t) => parseInt(e.slice(t, t + 2), 16));
102
- }, ie = (l) => `#${l.map((r) => Math.round(r).toString(16).padStart(2, "0")).join("")}`, W = (l, r, e) => ie(l.map((t) => t + (r - t) * e)), K = (l) => {
102
+ }, pe = (l) => `#${l.map((r) => Math.round(r).toString(16).padStart(2, "0")).join("")}`, W = (l, r, e) => pe(l.map((t) => t + (r - t) * e)), K = (l) => {
103
103
  const [r, e, t] = l.map((a) => {
104
104
  const n = a / 255;
105
105
  return n <= 0.03928 ? n / 12.92 : ((n + 0.055) / 1.055) ** 2.4;
106
106
  });
107
107
  return 0.2126 * r + 0.7152 * e + 0.0722 * t;
108
- }, Q = (l, r) => {
108
+ }, q = (l, r) => {
109
109
  const [e, t] = [K(l), K(r)].sort((a, n) => n - a);
110
110
  return (e + 0.05) / (t + 0.05);
111
111
  };
112
- function ja(l, r) {
112
+ function Qa(l, r) {
113
113
  const e = E(l), t = E(r);
114
- return e && t ? Q(e, t) : void 0;
114
+ return e && t ? q(e, t) : void 0;
115
115
  }
116
- const fe = [15, 23, 42];
117
- function $(l, r, e = Ee) {
116
+ const we = [15, 23, 42];
117
+ function $(l, r, e = fe) {
118
118
  const t = E(l), a = E(r);
119
- if (!t || !a || Q(t, a) >= e) return l;
119
+ if (!t || !a || q(t, a) >= e) return l;
120
120
  const n = K(a) < 0.5 ? 255 : 0;
121
121
  for (let o = 0.05; o < 1; o += 0.05) {
122
122
  const s = E(W(t, n, o));
123
- if (s && Q(s, a) >= e) return ie(s);
123
+ if (s && q(s, a) >= e) return pe(s);
124
124
  }
125
125
  return n === 255 ? "#ffffff" : "#000000";
126
126
  }
127
- function se(l, r, e = Te[r]) {
128
- const t = Ue[r];
127
+ function ce(l, r, e = Ee[r]) {
128
+ const t = Te[r];
129
129
  if (!l || l.toLowerCase() === x.blue) return t;
130
130
  if (!E(l))
131
131
  return r === "light" ? { ...t, accent: l, accentHover: l } : t;
132
- const a = $(l, e), n = E(a), o = r === "dark" ? W(n, 255, 0.25) : W(n, 0, 0.2), s = Q(n, [255, 255, 255]), c = Q(n, fe);
132
+ const a = $(l, e), n = E(a), o = r === "dark" ? W(n, 255, 0.25) : W(n, 0, 0.2), s = q(n, [255, 255, 255]), c = q(n, we);
133
133
  return {
134
134
  accent: a,
135
135
  accentHover: o,
136
136
  accentContrast: s >= c ? "#ffffff" : "#0f172a"
137
137
  };
138
138
  }
139
- const we = [
139
+ const Me = [
140
140
  x.blue,
141
141
  x.orange,
142
142
  x.emerald,
@@ -145,11 +145,11 @@ const we = [
145
145
  x.amber,
146
146
  x.cyan,
147
147
  x.lime
148
- ], Me = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", Y = {
148
+ ], Fe = "Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif", Y = {
149
149
  defaultMode: "light",
150
150
  allowUserToggle: !0,
151
151
  palette: {
152
- series: we,
152
+ series: Me,
153
153
  // The chart canvas. One ground for the whole dashboard in both modes —
154
154
  // canvas, card and the panel between cards are all this value, and the
155
155
  // borders do the separating. See `tile`.
@@ -235,10 +235,10 @@ const we = [
235
235
  }
236
236
  },
237
237
  font: {
238
- family: Me,
238
+ family: Fe,
239
239
  size: 12
240
240
  }
241
- }, Fe = [
241
+ }, Be = [
242
242
  "background",
243
243
  "tableHeader",
244
244
  "tableHeaderBackground",
@@ -253,7 +253,7 @@ const we = [
253
253
  "chartText",
254
254
  "value"
255
255
  ];
256
- function pe(l, r) {
256
+ function de(l, r) {
257
257
  const e = Y.palette ?? {}, t = Y.font ?? {
258
258
  family: "sans-serif",
259
259
  size: 12
@@ -282,7 +282,7 @@ function pe(l, r) {
282
282
  for (const O of l)
283
283
  if (O) {
284
284
  Array.isArray(O.palette?.series) && (a = [...O.palette.series], n = !0);
285
- for (const I of Fe) {
285
+ for (const I of Be) {
286
286
  const N = O.palette?.[I];
287
287
  N && (c[I] = { ...c[I], ...N }, N.light !== void 0 && i.light.add(I), N.dark !== void 0 && i.dark.add(I));
288
288
  }
@@ -297,7 +297,7 @@ function pe(l, r) {
297
297
  // an operator's colour too dark to see on the canvas is lifted until it
298
298
  // reads. The defaults are drawn as they always were.
299
299
  series: p && n ? a.map((O) => $(O, h)) : a,
300
- ...se(a[0], r, h),
300
+ ...ce(a[0], r, h),
301
301
  font: { family: o, size: s },
302
302
  background: h,
303
303
  tableHeader: d("tableHeader"),
@@ -345,10 +345,10 @@ function pe(l, r) {
345
345
  // contrast on the slate panel.
346
346
  // The Console's default accent, not the palette's: a drill reads as a
347
347
  // link whatever the operator picked for the data.
348
- drillLink: se(void 0, r).accent
348
+ drillLink: ce(void 0, r).accent
349
349
  };
350
350
  }
351
- function Da(l, r) {
351
+ function qa(l, r) {
352
352
  const e = r.palette?.series;
353
353
  if (!Array.isArray(e) || e.length !== 1) return r;
354
354
  const t = e[0], a = l.reduce(
@@ -365,12 +365,12 @@ function Da(l, r) {
365
365
  palette: { ...r.palette, series: [t, ...c] }
366
366
  };
367
367
  }
368
- function Be(l, r, e) {
368
+ function je(l, r, e) {
369
369
  const t = r ?? l ?? "light";
370
370
  return t === "auto" ? e ? "dark" : "light" : t;
371
371
  }
372
- const de = le(void 0);
373
- function je({
372
+ const me = ie(void 0);
373
+ function De({
374
374
  layers: l,
375
375
  mode: r,
376
376
  userChoice: e,
@@ -380,22 +380,22 @@ function je({
380
380
  children: o
381
381
  }) {
382
382
  const s = JSON.stringify(n ?? null), c = B(
383
- () => Ne(n),
383
+ () => Ue(n),
384
384
  // eslint-disable-next-line react-hooks/exhaustive-deps
385
385
  [s]
386
386
  ), i = B(
387
- () => ({ ...pe(l, r), ui: c }),
387
+ () => ({ ...de(l, r), ui: c }),
388
388
  [l, r, c]
389
389
  ), p = B(
390
390
  () => ({ theme: i, layers: l, mode: r, userChoice: e, setMode: t, allowUserToggle: a }),
391
391
  [i, l, r, e, t, a]
392
392
  );
393
- return /* @__PURE__ */ q(de.Provider, { value: p, children: o });
393
+ return /* @__PURE__ */ Q(me.Provider, { value: p, children: o });
394
394
  }
395
- function La() {
396
- const l = ce(de);
395
+ function za() {
396
+ const l = le(me);
397
397
  return l || {
398
- theme: pe([], "light"),
398
+ theme: de([], "light"),
399
399
  layers: [],
400
400
  mode: "light",
401
401
  userChoice: void 0,
@@ -411,63 +411,63 @@ class C {
411
411
  }
412
412
  configuration;
413
413
  }
414
- class De extends Error {
414
+ class Le extends Error {
415
415
  constructor(r, e) {
416
416
  super(e), this.field = r, this.name = "RequiredError";
417
417
  }
418
418
  }
419
419
  const P = {}, V = "https://example.com", m = function(l, r, e) {
420
420
  if (e == null)
421
- throw new De(r, `Required parameter ${r} was null or undefined when calling ${l}.`);
421
+ throw new Le(r, `Required parameter ${r} was null or undefined when calling ${l}.`);
422
422
  };
423
423
  function J(l, r, e = "") {
424
424
  r != null && (typeof r == "object" ? Array.isArray(r) || r instanceof Set ? r.forEach((t) => J(l, t, e)) : Object.keys(r).forEach(
425
425
  (t) => J(l, r[t], `${e}${e !== "" ? "." : ""}${t}`)
426
426
  ) : l.has(e) ? l.append(e, r) : l.set(e, r));
427
427
  }
428
- const b = function(l, ...r) {
428
+ const v = function(l, ...r) {
429
429
  const e = new URLSearchParams(l.search);
430
430
  J(e, r), l.search = e.toString();
431
- }, Le = function(l, r) {
431
+ }, Qe = function(l, r) {
432
432
  return r instanceof Set ? Array.from(r) : r;
433
433
  }, A = function(l, r, e) {
434
434
  const t = typeof l != "string";
435
- return (t && e && e.isJsonMime ? e.isJsonMime(r.headers["Content-Type"]) : t) ? JSON.stringify(l !== void 0 ? l : {}, Le) : l || "";
436
- }, v = function(l) {
435
+ return (t && e && e.isJsonMime ? e.isJsonMime(r.headers["Content-Type"]) : t) ? JSON.stringify(l !== void 0 ? l : {}, Qe) : l || "";
436
+ }, b = function(l) {
437
437
  return l.pathname + l.search + l.hash;
438
438
  }, S = function(l, r, e, t) {
439
439
  return (a = r, n = e) => {
440
440
  const o = { ...l.options, url: (a.defaults.baseURL ? "" : t?.basePath ?? n) + l.url };
441
441
  return a.request(o);
442
442
  };
443
- }, qa = {
443
+ }, Ha = {
444
444
  Bigquery: "bigquery",
445
445
  Snowflake: "snowflake",
446
446
  Postgres: "postgres",
447
447
  Gcs: "gcs",
448
448
  S3: "s3",
449
449
  Azure: "azure"
450
- }, Qa = {
450
+ }, _a = {
451
451
  ServicePrincipal: "service_principal",
452
452
  SasToken: "sas_token"
453
- }, za = {
453
+ }, Ga = {
454
454
  Error: "error",
455
455
  Warn: "warn",
456
456
  Debug: "debug"
457
- }, Ha = {
457
+ }, Wa = {
458
458
  Append: "append",
459
459
  File: "file",
460
460
  Package: "package"
461
- }, _a = {
461
+ }, Ka = {
462
462
  Success: "success",
463
463
  Error: "error"
464
- }, Ga = {
464
+ }, $a = {
465
465
  Grid: "grid",
466
466
  Linear: "linear"
467
- }, Wa = {
467
+ }, Ya = {
468
468
  Dashboard: "dashboard",
469
469
  Notebook: "notebook"
470
- }, Ka = {
470
+ }, Ja = {
471
471
  Postgres: "postgres",
472
472
  Bigquery: "bigquery",
473
473
  Snowflake: "snowflake",
@@ -479,175 +479,175 @@ const b = function(l, ...r) {
479
479
  Motherduck: "motherduck",
480
480
  Ducklake: "ducklake",
481
481
  Publisher: "publisher"
482
- }, $a = {
482
+ }, Xa = {
483
483
  Ssh: "ssh"
484
- }, Ya = {
484
+ }, Za = {
485
485
  Ok: "ok",
486
486
  Failed: "failed"
487
- }, Ja = {
487
+ }, et = {
488
488
  Grid: "grid",
489
489
  Linear: "linear"
490
- }, Xa = {
490
+ }, at = {
491
491
  Dashboard: "dashboard",
492
492
  Notebook: "notebook"
493
- }, Za = {
493
+ }, tt = {
494
494
  Query: "query",
495
495
  Text: "text"
496
- }, et = {
496
+ }, nt = {
497
497
  Viewport: "viewport"
498
- }, at = {
498
+ }, rt = {
499
499
  Embedded: "embedded",
500
500
  Materialized: "materialized"
501
- }, tt = {
501
+ }, ot = {
502
502
  Equal: "equal",
503
503
  In: "in",
504
504
  Like: "like",
505
505
  GreaterThan: "greater_than",
506
506
  LessThan: "less_than"
507
- }, nt = {
507
+ }, st = {
508
508
  Live: "live",
509
509
  StaleOk: "stale_ok",
510
510
  Fail: "fail"
511
- }, rt = {
511
+ }, ct = {
512
512
  Select: "select",
513
513
  Multiselect: "multiselect"
514
- }, ot = {
514
+ }, lt = {
515
515
  Merge: "merge",
516
516
  RangeReplace: "range_replace"
517
- }, st = {
517
+ }, it = {
518
518
  Debug: "debug",
519
519
  Info: "info",
520
520
  Warn: "warn",
521
521
  Error: "error"
522
- }, ct = {
522
+ }, pt = {
523
523
  Persist: "persist",
524
524
  Preaggregate: "preaggregate"
525
- }, lt = {
525
+ }, dt = {
526
526
  Reused: "reused",
527
527
  Recomputed: "recomputed"
528
- }, it = {
528
+ }, mt = {
529
529
  Live: "live",
530
530
  StaleOk: "stale_ok",
531
531
  Fail: "fail"
532
- }, pt = {
532
+ }, ht = {
533
533
  Delta: "delta",
534
534
  Full: "full",
535
535
  None: "none"
536
- }, dt = {
536
+ }, ut = {
537
537
  Pending: "PENDING",
538
538
  ManifestRowsReady: "MANIFEST_ROWS_READY",
539
539
  ManifestFileReady: "MANIFEST_FILE_READY",
540
540
  Failed: "FAILED",
541
541
  Cancelled: "CANCELLED"
542
- }, mt = {
542
+ }, gt = {
543
543
  Compile: "compile",
544
544
  Extraction: "extraction"
545
- }, ht = {
545
+ }, Pt = {
546
546
  Markdown: "markdown",
547
547
  Code: "code"
548
- }, ut = {
548
+ }, Vt = {
549
549
  Markdown: "markdown",
550
550
  Query: "query",
551
551
  Definition: "definition"
552
- }, gt = {
552
+ }, vt = {
553
553
  Markdown: "markdown",
554
554
  Code: "code"
555
- }, Pt = {
555
+ }, bt = {
556
556
  Markdown: "markdown",
557
557
  Query: "query",
558
558
  Definition: "definition"
559
- }, Vt = {
559
+ }, St = {
560
560
  Archive: "archive",
561
561
  Unarchive: "unarchive"
562
- }, bt = {
562
+ }, kt = {
563
563
  Version: "version",
564
564
  Package: "package"
565
- }, vt = {
565
+ }, Ot = {
566
566
  Declared: "declared",
567
567
  All: "all"
568
- }, St = {
568
+ }, At = {
569
569
  Unbound: "unbound",
570
570
  Bound: "bound",
571
571
  LiveFallback: "live_fallback"
572
- }, kt = {
572
+ }, yt = {
573
573
  Lexical: "lexical",
574
574
  Indexing: "indexing",
575
575
  Ready: "ready",
576
576
  Error: "error",
577
577
  Cooldown: "cooldown",
578
578
  TooManyEntities: "too-many-entities"
579
- }, Ot = {
579
+ }, Ct = {
580
580
  Cooldown: "cooldown",
581
581
  TooManyEntities: "too-many-entities"
582
- }, At = {
582
+ }, It = {
583
583
  Keyphrase: "keyphrase",
584
584
  SourceSummary: "source_summary"
585
- }, yt = {
585
+ }, xt = {
586
586
  Archive: "archive",
587
587
  Unarchive: "unarchive"
588
- }, Ct = {
588
+ }, Rt = {
589
589
  Unbound: "unbound",
590
590
  Bound: "bound",
591
591
  LiveFallback: "live_fallback"
592
- }, It = {
592
+ }, Nt = {
593
593
  Archive: "archive",
594
594
  Unarchive: "unarchive"
595
- }, xt = {
595
+ }, Ut = {
596
596
  Version: "version",
597
597
  Package: "package"
598
- }, Rt = {
598
+ }, Tt = {
599
599
  Declared: "declared",
600
600
  All: "all"
601
- }, Nt = {
601
+ }, Et = {
602
602
  Unbound: "unbound",
603
603
  Bound: "bound",
604
604
  LiveFallback: "live_fallback"
605
- }, Ut = {
605
+ }, ft = {
606
606
  Archive: "archive",
607
607
  Unarchive: "unarchive"
608
- }, Tt = {
608
+ }, wt = {
609
609
  Unbound: "unbound",
610
610
  Bound: "bound",
611
611
  LiveFallback: "live_fallback"
612
- }, Et = {
612
+ }, Mt = {
613
613
  Archive: "archive",
614
614
  Unarchive: "unarchive"
615
- }, ft = {
615
+ }, Ft = {
616
616
  Archive: "archive",
617
617
  Unarchive: "unarchive"
618
- }, wt = {
618
+ }, Bt = {
619
619
  Error: "error",
620
620
  Warn: "warn"
621
- }, Mt = {
621
+ }, jt = {
622
622
  Persist: "persist",
623
623
  Preaggregate: "preaggregate"
624
- }, Ft = {
624
+ }, Dt = {
625
625
  Disable: "disable",
626
626
  NoVerify: "no-verify",
627
627
  VerifyCa: "verify-ca",
628
628
  VerifyFull: "verify-full"
629
- }, Bt = {
629
+ }, Lt = {
630
630
  Interactive: "interactive",
631
631
  Materialize: "materialize",
632
632
  Index: "index",
633
633
  Ops: "ops"
634
- }, jt = {
634
+ }, Qt = {
635
635
  Query: "query",
636
636
  ServerDefault: "server_default"
637
- }, Dt = {
637
+ }, qt = {
638
638
  Storage: "storage",
639
639
  LiveFallback: "live_fallback"
640
- }, Lt = {
640
+ }, zt = {
641
641
  Malloynb: "malloynb",
642
642
  Malloy: "malloy"
643
- }, qt = {
643
+ }, Ht = {
644
644
  Snapshot: "SNAPSHOT",
645
645
  Copy: "COPY"
646
- }, Qt = {
646
+ }, _t = {
647
647
  Storage: "storage",
648
648
  Colocated: "colocated",
649
649
  Preaggregate: "preaggregate"
650
- }, zt = {
650
+ }, Gt = {
651
651
  FreeParameter: "free_parameter",
652
652
  Given: "given",
653
653
  GivenInPersistedQuery: "given_in_persisted_query",
@@ -663,46 +663,49 @@ const b = function(l, ...r) {
663
663
  NotDuckdbPortable: "not_duckdb_portable",
664
664
  PublicSurfaceUnknown: "public_surface_unknown",
665
665
  ReadOnlyDialect: "read_only_dialect"
666
- }, Ht = {
666
+ }, Wt = {
667
667
  Grid: "grid",
668
668
  Linear: "linear"
669
- }, _t = {
669
+ }, Kt = {
670
670
  Malloynb: "malloynb",
671
671
  Malloy: "malloy"
672
- }, Gt = {
672
+ }, $t = {
673
673
  Grid: "grid",
674
674
  Linear: "linear"
675
- }, Wt = {
675
+ }, Yt = {
676
676
  Query: "query",
677
677
  Text: "text"
678
- }, Kt = {
678
+ }, Jt = {
679
679
  Publish: "publish",
680
680
  OnDemand: "on_demand",
681
681
  Scheduler: "scheduler"
682
- }, $t = {
682
+ }, Xt = {
683
683
  Config: "config",
684
684
  CredentialChain: "credential_chain"
685
- }, Yt = {
685
+ }, Zt = {
686
686
  Initializing: "initializing",
687
687
  Serving: "serving",
688
688
  Draining: "draining",
689
689
  Throttled: "throttled"
690
- }, Jt = {
690
+ }, en = {
691
691
  Off: "off",
692
692
  On: "on"
693
- }, Xt = {
693
+ }, an = {
694
694
  OnPublish: "on-publish",
695
695
  Explicit: "explicit"
696
- }, Zt = {
696
+ }, tn = {
697
+ Explorer: "explorer",
698
+ Viewer: "viewer"
699
+ }, nn = {
697
700
  Bundled: "bundled",
698
701
  Package: "package"
699
- }, en = {
702
+ }, rn = {
700
703
  Bundled: "bundled",
701
704
  Package: "package"
702
- }, an = {
705
+ }, on = {
703
706
  Persist: "persist",
704
707
  Preaggregate: "preaggregate"
705
- }, tn = {
708
+ }, sn = {
706
709
  Light: "light",
707
710
  Dark: "dark",
708
711
  Auto: "auto"
@@ -725,10 +728,10 @@ const b = function(l, ...r) {
725
728
  let i;
726
729
  l && (i = l.baseOptions);
727
730
  const p = { method: "GET", ...i, ...o }, d = {}, h = {};
728
- a !== void 0 && (h.skills = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", b(c, h);
731
+ a !== void 0 && (h.skills = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", v(c, h);
729
732
  let k = i && i.headers ? i.headers : {};
730
733
  return p.headers = { ...d, ...k, ...o.headers }, {
731
- url: v(c),
734
+ url: b(c),
732
735
  options: p
733
736
  };
734
737
  },
@@ -749,10 +752,10 @@ const b = function(l, ...r) {
749
752
  let i;
750
753
  l && (i = l.baseOptions);
751
754
  const p = { method: "GET", ...i, ...o }, d = {}, h = {};
752
- n !== void 0 && (h.versionId = n), d.Accept = "application/json", b(c, h);
755
+ n !== void 0 && (h.versionId = n), d.Accept = "application/json", v(c, h);
753
756
  let k = i && i.headers ? i.headers : {};
754
757
  return p.headers = { ...d, ...k, ...o.headers }, {
755
- url: v(c),
758
+ url: b(c),
756
759
  options: p
757
760
  };
758
761
  },
@@ -771,10 +774,10 @@ const b = function(l, ...r) {
771
774
  let s;
772
775
  l && (s = l.baseOptions);
773
776
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
774
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
777
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
775
778
  let d = s && s.headers ? s.headers : {};
776
779
  return c.headers = { ...i, ...d, ...a.headers }, {
777
- url: v(o),
780
+ url: b(o),
778
781
  options: c
779
782
  };
780
783
  }
@@ -826,7 +829,7 @@ const b = function(l, ...r) {
826
829
  return (i, p) => S(o, u, g, l)(i, c || p);
827
830
  }
828
831
  };
829
- }, nn = function(l, r, e) {
832
+ }, cn = function(l, r, e) {
830
833
  const t = z(l);
831
834
  return {
832
835
  /**
@@ -871,7 +874,7 @@ const b = function(l, ...r) {
871
874
  }
872
875
  };
873
876
  };
874
- class Qe extends C {
877
+ class ze extends C {
875
878
  /**
876
879
  * Returns one agent with its instructions, its own skill files and each schedule\'s task text, plus `source`, which pins the package load and the agent\'s own content so a runner can prove which bytes ran. Publisher serves the definition and runs nothing: the caller\'s own harness executes it, and schedules are never fired by the server. 404 when no agent of that name is served.
877
880
  * @summary Get one agent, resolved
@@ -913,10 +916,10 @@ class Qe extends C {
913
916
  return z(this.configuration).listAgents(r, e, t, a).then((n) => n(this.axios, this.basePath));
914
917
  }
915
918
  }
916
- const rn = {
919
+ const ln = {
917
920
  Full: "full",
918
921
  Summary: "summary"
919
- }, ze = function(l) {
922
+ }, He = function(l) {
920
923
  return {
921
924
  /**
922
925
  * Creates a new database connection in the specified environment.
@@ -933,10 +936,10 @@ const rn = {
933
936
  let s;
934
937
  l && (s = l.baseOptions);
935
938
  const c = { method: "POST", ...s, ...a }, i = {}, p = {};
936
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
939
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
937
940
  let d = s && s.headers ? s.headers : {};
938
941
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
939
- url: v(o),
942
+ url: b(o),
940
943
  options: c
941
944
  };
942
945
  },
@@ -954,10 +957,10 @@ const rn = {
954
957
  let o;
955
958
  l && (o = l.baseOptions);
956
959
  const s = { method: "DELETE", ...o, ...t }, c = {}, i = {};
957
- c.Accept = "application/json", b(n, i);
960
+ c.Accept = "application/json", v(n, i);
958
961
  let p = o && o.headers ? o.headers : {};
959
962
  return s.headers = { ...c, ...p, ...t.headers }, {
960
- url: v(n),
963
+ url: b(n),
961
964
  options: s
962
965
  };
963
966
  },
@@ -975,10 +978,10 @@ const rn = {
975
978
  let o;
976
979
  l && (o = l.baseOptions);
977
980
  const s = { method: "GET", ...o, ...t }, c = {}, i = {};
978
- c.Accept = "application/json", b(n, i);
981
+ c.Accept = "application/json", v(n, i);
979
982
  let p = o && o.headers ? o.headers : {};
980
983
  return s.headers = { ...c, ...p, ...t.headers }, {
981
- url: v(n),
984
+ url: b(n),
982
985
  options: s
983
986
  };
984
987
  },
@@ -998,10 +1001,10 @@ const rn = {
998
1001
  let c;
999
1002
  l && (c = l.baseOptions);
1000
1003
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
1001
- p.Accept = "application/json", b(s, d);
1004
+ p.Accept = "application/json", v(s, d);
1002
1005
  let h = c && c.headers ? c.headers : {};
1003
1006
  return i.headers = { ...p, ...h, ...n.headers }, {
1004
- url: v(s),
1007
+ url: b(s),
1005
1008
  options: i
1006
1009
  };
1007
1010
  },
@@ -1023,10 +1026,10 @@ const rn = {
1023
1026
  let p;
1024
1027
  l && (p = l.baseOptions);
1025
1028
  const d = { method: "GET", ...p, ...s }, h = {}, k = {};
1026
- o !== void 0 && (k.versionId = o), h.Accept = "application/json", b(i, k);
1029
+ o !== void 0 && (k.versionId = o), h.Accept = "application/json", v(i, k);
1027
1030
  let O = p && p.headers ? p.headers : {};
1028
1031
  return d.headers = { ...h, ...O, ...s.headers }, {
1029
- url: v(i),
1032
+ url: b(i),
1030
1033
  options: d
1031
1034
  };
1032
1035
  },
@@ -1043,10 +1046,10 @@ const rn = {
1043
1046
  let n;
1044
1047
  l && (n = l.baseOptions);
1045
1048
  const o = { method: "GET", ...n, ...e }, s = {}, c = {};
1046
- s.Accept = "application/json", b(a, c);
1049
+ s.Accept = "application/json", v(a, c);
1047
1050
  let i = n && n.headers ? n.headers : {};
1048
1051
  return o.headers = { ...s, ...i, ...e.headers }, {
1049
- url: v(a),
1052
+ url: b(a),
1050
1053
  options: o
1051
1054
  };
1052
1055
  },
@@ -1064,10 +1067,10 @@ const rn = {
1064
1067
  let o;
1065
1068
  l && (o = l.baseOptions);
1066
1069
  const s = { method: "GET", ...o, ...t }, c = {}, i = {};
1067
- c.Accept = "application/json", b(n, i);
1070
+ c.Accept = "application/json", v(n, i);
1068
1071
  let p = o && o.headers ? o.headers : {};
1069
1072
  return s.headers = { ...c, ...p, ...t.headers }, {
1070
- url: v(n),
1073
+ url: b(n),
1071
1074
  options: s
1072
1075
  };
1073
1076
  },
@@ -1087,10 +1090,10 @@ const rn = {
1087
1090
  let c;
1088
1091
  l && (c = l.baseOptions);
1089
1092
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
1090
- a !== void 0 && (d.versionId = a), p.Accept = "application/json", b(s, d);
1093
+ a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
1091
1094
  let h = c && c.headers ? c.headers : {};
1092
1095
  return i.headers = { ...p, ...h, ...n.headers }, {
1093
- url: v(s),
1096
+ url: b(s),
1094
1097
  options: i
1095
1098
  };
1096
1099
  },
@@ -1110,10 +1113,10 @@ const rn = {
1110
1113
  let c;
1111
1114
  l && (c = l.baseOptions);
1112
1115
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
1113
- a && (d.tableNames = a), p.Accept = "application/json", b(s, d);
1116
+ a && (d.tableNames = a), p.Accept = "application/json", v(s, d);
1114
1117
  let h = c && c.headers ? c.headers : {};
1115
1118
  return i.headers = { ...p, ...h, ...n.headers }, {
1116
- url: v(s),
1119
+ url: b(s),
1117
1120
  options: i
1118
1121
  };
1119
1122
  },
@@ -1135,10 +1138,10 @@ const rn = {
1135
1138
  let p;
1136
1139
  l && (p = l.baseOptions);
1137
1140
  const d = { method: "GET", ...p, ...s }, h = {}, k = {};
1138
- n && (k.tableNames = n), o !== void 0 && (k.versionId = o), h.Accept = "application/json", b(i, k);
1141
+ n && (k.tableNames = n), o !== void 0 && (k.versionId = o), h.Accept = "application/json", v(i, k);
1139
1142
  let O = p && p.headers ? p.headers : {};
1140
1143
  return d.headers = { ...h, ...O, ...s.headers }, {
1141
- url: v(i),
1144
+ url: b(i),
1142
1145
  options: d
1143
1146
  };
1144
1147
  },
@@ -1157,10 +1160,10 @@ const rn = {
1157
1160
  let s;
1158
1161
  l && (s = l.baseOptions);
1159
1162
  const c = { method: "POST", ...s, ...a }, i = {}, p = {};
1160
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
1163
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1161
1164
  let d = s && s.headers ? s.headers : {};
1162
1165
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
1163
- url: v(o),
1166
+ url: b(o),
1164
1167
  options: c
1165
1168
  };
1166
1169
  },
@@ -1181,10 +1184,10 @@ const rn = {
1181
1184
  let i;
1182
1185
  l && (i = l.baseOptions);
1183
1186
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
1184
- n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", b(c, h);
1187
+ n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", v(c, h);
1185
1188
  let k = i && i.headers ? i.headers : {};
1186
1189
  return p.headers = { ...d, ...k, ...o.headers }, p.data = A(a, p, l), {
1187
- url: v(c),
1190
+ url: b(c),
1188
1191
  options: p
1189
1192
  };
1190
1193
  },
@@ -1203,10 +1206,10 @@ const rn = {
1203
1206
  let s;
1204
1207
  l && (s = l.baseOptions);
1205
1208
  const c = { method: "POST", ...s, ...a }, i = {}, p = {};
1206
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
1209
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1207
1210
  let d = s && s.headers ? s.headers : {};
1208
1211
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
1209
- url: v(o),
1212
+ url: b(o),
1210
1213
  options: c
1211
1214
  };
1212
1215
  },
@@ -1227,10 +1230,10 @@ const rn = {
1227
1230
  let i;
1228
1231
  l && (i = l.baseOptions);
1229
1232
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
1230
- n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", b(c, h);
1233
+ n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", v(c, h);
1231
1234
  let k = i && i.headers ? i.headers : {};
1232
1235
  return p.headers = { ...d, ...k, ...o.headers }, p.data = A(a, p, l), {
1233
- url: v(c),
1236
+ url: b(c),
1234
1237
  options: p
1235
1238
  };
1236
1239
  },
@@ -1249,10 +1252,10 @@ const rn = {
1249
1252
  let s;
1250
1253
  l && (s = l.baseOptions);
1251
1254
  const c = { method: "POST", ...s, ...a }, i = {}, p = {};
1252
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
1255
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1253
1256
  let d = s && s.headers ? s.headers : {};
1254
1257
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
1255
- url: v(o),
1258
+ url: b(o),
1256
1259
  options: c
1257
1260
  };
1258
1261
  },
@@ -1273,10 +1276,10 @@ const rn = {
1273
1276
  let i;
1274
1277
  l && (i = l.baseOptions);
1275
1278
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
1276
- n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", b(c, h);
1279
+ n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", v(c, h);
1277
1280
  let k = i && i.headers ? i.headers : {};
1278
1281
  return p.headers = { ...d, ...k, ...o.headers }, p.data = A(a, p, l), {
1279
- url: v(c),
1282
+ url: b(c),
1280
1283
  options: p
1281
1284
  };
1282
1285
  },
@@ -1295,16 +1298,16 @@ const rn = {
1295
1298
  let s;
1296
1299
  l && (s = l.baseOptions);
1297
1300
  const c = { method: "PATCH", ...s, ...a }, i = {}, p = {};
1298
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
1301
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
1299
1302
  let d = s && s.headers ? s.headers : {};
1300
1303
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
1301
- url: v(o),
1304
+ url: b(o),
1302
1305
  options: c
1303
1306
  };
1304
1307
  }
1305
1308
  };
1306
1309
  }, y = function(l) {
1307
- const r = ze(l);
1310
+ const r = He(l);
1308
1311
  return {
1309
1312
  /**
1310
1313
  * Creates a new database connection in the specified environment.
@@ -1538,7 +1541,7 @@ const rn = {
1538
1541
  return (i, p) => S(o, u, g, l)(i, c || p);
1539
1542
  }
1540
1543
  };
1541
- }, on = function(l, r, e) {
1544
+ }, pn = function(l, r, e) {
1542
1545
  const t = y(l);
1543
1546
  return {
1544
1547
  /**
@@ -1757,7 +1760,7 @@ const rn = {
1757
1760
  }
1758
1761
  };
1759
1762
  };
1760
- class He extends C {
1763
+ class _e extends C {
1761
1764
  /**
1762
1765
  * Creates a new database connection in the specified environment.
1763
1766
  * @summary Create a new database connection
@@ -1973,7 +1976,7 @@ class He extends C {
1973
1976
  return y(this.configuration).updateConnection(r, e, t, a).then((n) => n(this.axios, this.basePath));
1974
1977
  }
1975
1978
  }
1976
- const _e = function(l) {
1979
+ const Ge = function(l) {
1977
1980
  return {
1978
1981
  /**
1979
1982
  * 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.
@@ -1988,16 +1991,16 @@ const _e = function(l) {
1988
1991
  let n;
1989
1992
  l && (n = l.baseOptions);
1990
1993
  const o = { method: "POST", ...n, ...e }, s = {}, c = {};
1991
- s["Content-Type"] = "application/json", s.Accept = "application/json", b(a, c);
1994
+ s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, c);
1992
1995
  let i = n && n.headers ? n.headers : {};
1993
1996
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(r, o, l), {
1994
- url: v(a),
1997
+ url: b(a),
1995
1998
  options: o
1996
1999
  };
1997
2000
  }
1998
2001
  };
1999
- }, me = function(l) {
2000
- const r = _e(l);
2002
+ }, he = function(l) {
2003
+ const r = Ge(l);
2001
2004
  return {
2002
2005
  /**
2003
2006
  * 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.
@@ -2011,8 +2014,8 @@ const _e = function(l) {
2011
2014
  return (s, c) => S(a, u, g, l)(s, o || c);
2012
2015
  }
2013
2016
  };
2014
- }, sn = function(l, r, e) {
2015
- const t = me(l);
2017
+ }, dn = function(l, r, e) {
2018
+ const t = he(l);
2016
2019
  return {
2017
2020
  /**
2018
2021
  * 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.
@@ -2026,7 +2029,7 @@ const _e = function(l) {
2026
2029
  }
2027
2030
  };
2028
2031
  };
2029
- class cn extends C {
2032
+ class mn extends C {
2030
2033
  /**
2031
2034
  * 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.
2032
2035
  * @summary Test database connection configuration
@@ -2035,10 +2038,10 @@ class cn extends C {
2035
2038
  * @throws {RequiredError}
2036
2039
  */
2037
2040
  testConnectionConfiguration(r, e) {
2038
- return me(this.configuration).testConnectionConfiguration(r, e).then((t) => t(this.axios, this.basePath));
2041
+ return he(this.configuration).testConnectionConfiguration(r, e).then((t) => t(this.axios, this.basePath));
2039
2042
  }
2040
2043
  }
2041
- const Ge = function(l) {
2044
+ const We = function(l) {
2042
2045
  return {
2043
2046
  /**
2044
2047
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it 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. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
@@ -2057,10 +2060,10 @@ const Ge = function(l) {
2057
2060
  let c;
2058
2061
  l && (c = l.baseOptions);
2059
2062
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
2060
- a !== void 0 && (d.versionId = a), p.Accept = "application/json", b(s, d);
2063
+ a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
2061
2064
  let h = c && c.headers ? c.headers : {};
2062
2065
  return i.headers = { ...p, ...h, ...n.headers }, {
2063
- url: v(s),
2066
+ url: b(s),
2064
2067
  options: i
2065
2068
  };
2066
2069
  },
@@ -2080,16 +2083,16 @@ const Ge = function(l) {
2080
2083
  let s;
2081
2084
  l && (s = l.baseOptions);
2082
2085
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
2083
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
2086
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
2084
2087
  let d = s && s.headers ? s.headers : {};
2085
2088
  return c.headers = { ...i, ...d, ...a.headers }, {
2086
- url: v(o),
2089
+ url: b(o),
2087
2090
  options: c
2088
2091
  };
2089
2092
  }
2090
2093
  };
2091
2094
  }, X = function(l) {
2092
- const r = Ge(l);
2095
+ const r = We(l);
2093
2096
  return {
2094
2097
  /**
2095
2098
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it 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. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
@@ -2121,7 +2124,7 @@ const Ge = function(l) {
2121
2124
  return (i, p) => S(o, u, g, l)(i, c || p);
2122
2125
  }
2123
2126
  };
2124
- }, ln = function(l, r, e) {
2127
+ }, hn = function(l, r, e) {
2125
2128
  const t = X(l);
2126
2129
  return {
2127
2130
  /**
@@ -2153,7 +2156,7 @@ const Ge = function(l) {
2153
2156
  }
2154
2157
  };
2155
2158
  };
2156
- class We extends C {
2159
+ class Ke extends C {
2157
2160
  /**
2158
2161
  * **DEPRECATED**: use get-report, which addresses a report by its path. Retrieves everything a viewer needs to render one grid report: the artifact tag\'s declarations plus the control contract derived from the givens its query references. Running it 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. `dashboardName` is a basename, which is not an identity: it resolves only when exactly one grid report in the package has it. When several do, the answer is 409 naming every matching path; address the report by path with get-report instead. **Contract change since reports.** This route never answered 409 before: a dashboard lived directly under `dashboards/`, so its name was unique. A grid report may now live anywhere, two may share a basename, and a client of this route must handle 409. The match also covers grid reports outside `dashboards/`.
2159
2162
  * @summary Get a dashboard manifest (deprecated; use get-report)
@@ -2182,7 +2185,7 @@ class We extends C {
2182
2185
  return X(this.configuration).listDashboards(r, e, t, a).then((n) => n(this.axios, this.basePath));
2183
2186
  }
2184
2187
  }
2185
- const Ke = function(l) {
2188
+ const $e = function(l) {
2186
2189
  return {
2187
2190
  /**
2188
2191
  * 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.
@@ -2199,16 +2202,16 @@ const Ke = function(l) {
2199
2202
  let s;
2200
2203
  l && (s = l.baseOptions);
2201
2204
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
2202
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
2205
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
2203
2206
  let d = s && s.headers ? s.headers : {};
2204
2207
  return c.headers = { ...i, ...d, ...a.headers }, {
2205
- url: v(o),
2208
+ url: b(o),
2206
2209
  options: c
2207
2210
  };
2208
2211
  }
2209
2212
  };
2210
- }, he = function(l) {
2211
- const r = Ke(l);
2213
+ }, ue = function(l) {
2214
+ const r = $e(l);
2212
2215
  return {
2213
2216
  /**
2214
2217
  * 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.
@@ -2224,8 +2227,8 @@ const Ke = function(l) {
2224
2227
  return (i, p) => S(o, u, g, l)(i, c || p);
2225
2228
  }
2226
2229
  };
2227
- }, pn = function(l, r, e) {
2228
- const t = he(l);
2230
+ }, un = function(l, r, e) {
2231
+ const t = ue(l);
2229
2232
  return {
2230
2233
  /**
2231
2234
  * 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.
@@ -2241,7 +2244,7 @@ const Ke = function(l) {
2241
2244
  }
2242
2245
  };
2243
2246
  };
2244
- class $e extends C {
2247
+ class Ye extends C {
2245
2248
  /**
2246
2249
  * 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.
2247
2250
  * @summary List package data apps
@@ -2252,10 +2255,10 @@ class $e extends C {
2252
2255
  * @throws {RequiredError}
2253
2256
  */
2254
2257
  listDataApps(r, e, t, a) {
2255
- return he(this.configuration).listDataApps(r, e, t, a).then((n) => n(this.axios, this.basePath));
2258
+ return ue(this.configuration).listDataApps(r, e, t, a).then((n) => n(this.axios, this.basePath));
2256
2259
  }
2257
2260
  }
2258
- const Ye = function(l) {
2261
+ const Je = function(l) {
2259
2262
  return {
2260
2263
  /**
2261
2264
  * 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.
@@ -2272,16 +2275,16 @@ const Ye = function(l) {
2272
2275
  let s;
2273
2276
  l && (s = l.baseOptions);
2274
2277
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
2275
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
2278
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
2276
2279
  let d = s && s.headers ? s.headers : {};
2277
2280
  return c.headers = { ...i, ...d, ...a.headers }, {
2278
- url: v(o),
2281
+ url: b(o),
2279
2282
  options: c
2280
2283
  };
2281
2284
  }
2282
2285
  };
2283
- }, ue = function(l) {
2284
- const r = Ye(l);
2286
+ }, ge = function(l) {
2287
+ const r = Je(l);
2285
2288
  return {
2286
2289
  /**
2287
2290
  * 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.
@@ -2297,8 +2300,8 @@ const Ye = function(l) {
2297
2300
  return (i, p) => S(o, u, g, l)(i, c || p);
2298
2301
  }
2299
2302
  };
2300
- }, dn = function(l, r, e) {
2301
- const t = ue(l);
2303
+ }, gn = function(l, r, e) {
2304
+ const t = ge(l);
2302
2305
  return {
2303
2306
  /**
2304
2307
  * 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.
@@ -2314,7 +2317,7 @@ const Ye = function(l) {
2314
2317
  }
2315
2318
  };
2316
2319
  };
2317
- class Je extends C {
2320
+ class Xe extends C {
2318
2321
  /**
2319
2322
  * 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.
2320
2323
  * @summary List embedded databases
@@ -2325,10 +2328,10 @@ class Je extends C {
2325
2328
  * @throws {RequiredError}
2326
2329
  */
2327
2330
  listDatabases(r, e, t, a) {
2328
- return ue(this.configuration).listDatabases(r, e, t, a).then((n) => n(this.axios, this.basePath));
2331
+ return ge(this.configuration).listDatabases(r, e, t, a).then((n) => n(this.axios, this.basePath));
2329
2332
  }
2330
2333
  }
2331
- const Xe = function(l) {
2334
+ const Ze = function(l) {
2332
2335
  return {
2333
2336
  /**
2334
2337
  * 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.
@@ -2343,10 +2346,10 @@ const Xe = function(l) {
2343
2346
  let n;
2344
2347
  l && (n = l.baseOptions);
2345
2348
  const o = { method: "POST", ...n, ...e }, s = {}, c = {};
2346
- s["Content-Type"] = "application/json", s.Accept = "application/json", b(a, c);
2349
+ s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, c);
2347
2350
  let i = n && n.headers ? n.headers : {};
2348
2351
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(r, o, l), {
2349
- url: v(a),
2352
+ url: b(a),
2350
2353
  options: o
2351
2354
  };
2352
2355
  },
@@ -2363,10 +2366,10 @@ const Xe = function(l) {
2363
2366
  let n;
2364
2367
  l && (n = l.baseOptions);
2365
2368
  const o = { method: "DELETE", ...n, ...e }, s = {}, c = {};
2366
- s.Accept = "application/json", b(a, c);
2369
+ s.Accept = "application/json", v(a, c);
2367
2370
  let i = n && n.headers ? n.headers : {};
2368
2371
  return o.headers = { ...s, ...i, ...e.headers }, {
2369
- url: v(a),
2372
+ url: b(a),
2370
2373
  options: o
2371
2374
  };
2372
2375
  },
@@ -2384,10 +2387,10 @@ const Xe = function(l) {
2384
2387
  let o;
2385
2388
  l && (o = l.baseOptions);
2386
2389
  const s = { method: "GET", ...o, ...t }, c = {}, i = {};
2387
- e !== void 0 && (i.reload = e), c.Accept = "application/json", b(n, i);
2390
+ e !== void 0 && (i.reload = e), c.Accept = "application/json", v(n, i);
2388
2391
  let p = o && o.headers ? o.headers : {};
2389
2392
  return s.headers = { ...c, ...p, ...t.headers }, {
2390
- url: v(n),
2393
+ url: b(n),
2391
2394
  options: s
2392
2395
  };
2393
2396
  },
@@ -2402,10 +2405,10 @@ const Xe = function(l) {
2402
2405
  let a;
2403
2406
  l && (a = l.baseOptions);
2404
2407
  const n = { method: "GET", ...a, ...r }, o = {}, s = {};
2405
- o.Accept = "application/json", b(t, s);
2408
+ o.Accept = "application/json", v(t, s);
2406
2409
  let c = a && a.headers ? a.headers : {};
2407
2410
  return n.headers = { ...o, ...c, ...r.headers }, {
2408
- url: v(t),
2411
+ url: b(t),
2409
2412
  options: n
2410
2413
  };
2411
2414
  },
@@ -2423,16 +2426,16 @@ const Xe = function(l) {
2423
2426
  let o;
2424
2427
  l && (o = l.baseOptions);
2425
2428
  const s = { method: "PATCH", ...o, ...t }, c = {}, i = {};
2426
- c["Content-Type"] = "application/json", c.Accept = "application/json", b(n, i);
2429
+ c["Content-Type"] = "application/json", c.Accept = "application/json", v(n, i);
2427
2430
  let p = o && o.headers ? o.headers : {};
2428
2431
  return s.headers = { ...c, ...p, ...t.headers }, s.data = A(e, s, l), {
2429
- url: v(n),
2432
+ url: b(n),
2430
2433
  options: s
2431
2434
  };
2432
2435
  }
2433
2436
  };
2434
2437
  }, w = function(l) {
2435
- const r = Xe(l);
2438
+ const r = Ze(l);
2436
2439
  return {
2437
2440
  /**
2438
2441
  * 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.
@@ -2491,7 +2494,7 @@ const Xe = function(l) {
2491
2494
  return (c, i) => S(n, u, g, l)(c, s || i);
2492
2495
  }
2493
2496
  };
2494
- }, mn = function(l, r, e) {
2497
+ }, Pn = function(l, r, e) {
2495
2498
  const t = w(l);
2496
2499
  return {
2497
2500
  /**
@@ -2547,7 +2550,7 @@ const Xe = function(l) {
2547
2550
  }
2548
2551
  };
2549
2552
  };
2550
- class Ze extends C {
2553
+ class ea extends C {
2551
2554
  /**
2552
2555
  * 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.
2553
2556
  * @summary Create a new environment
@@ -2600,7 +2603,7 @@ class Ze extends C {
2600
2603
  return w(this.configuration).updateEnvironment(r, e, t).then((a) => a(this.axios, this.basePath));
2601
2604
  }
2602
2605
  }
2603
- const ea = function(l) {
2606
+ const aa = function(l) {
2604
2607
  return {
2605
2608
  /**
2606
2609
  * 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.
@@ -2617,10 +2620,10 @@ const ea = function(l) {
2617
2620
  let s;
2618
2621
  l && (s = l.baseOptions);
2619
2622
  const c = { method: "POST", ...s, ...a }, i = {}, p = {};
2620
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
2623
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
2621
2624
  let d = s && s.headers ? s.headers : {};
2622
2625
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
2623
- url: v(o),
2626
+ url: b(o),
2624
2627
  options: c
2625
2628
  };
2626
2629
  },
@@ -2641,10 +2644,10 @@ const ea = function(l) {
2641
2644
  let i;
2642
2645
  l && (i = l.baseOptions);
2643
2646
  const p = { method: "DELETE", ...i, ...o }, d = {}, h = {};
2644
- a !== void 0 && (h.dropTables = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", b(c, h);
2647
+ a !== void 0 && (h.dropTables = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", v(c, h);
2645
2648
  let k = i && i.headers ? i.headers : {};
2646
2649
  return p.headers = { ...d, ...k, ...o.headers }, {
2647
- url: v(c),
2650
+ url: b(c),
2648
2651
  options: p
2649
2652
  };
2650
2653
  },
@@ -2664,10 +2667,10 @@ const ea = function(l) {
2664
2667
  let c;
2665
2668
  l && (c = l.baseOptions);
2666
2669
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
2667
- a !== void 0 && (d.versionId = a), p.Accept = "application/json", b(s, d);
2670
+ a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
2668
2671
  let h = c && c.headers ? c.headers : {};
2669
2672
  return i.headers = { ...p, ...h, ...n.headers }, {
2670
- url: v(s),
2673
+ url: b(s),
2671
2674
  options: i
2672
2675
  };
2673
2676
  },
@@ -2688,10 +2691,10 @@ const ea = function(l) {
2688
2691
  let i;
2689
2692
  l && (i = l.baseOptions);
2690
2693
  const p = { method: "GET", ...i, ...o }, d = {}, h = {};
2691
- t !== void 0 && (h.limit = t), a !== void 0 && (h.offset = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", b(c, h);
2694
+ t !== void 0 && (h.limit = t), a !== void 0 && (h.offset = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", v(c, h);
2692
2695
  let k = i && i.headers ? i.headers : {};
2693
2696
  return p.headers = { ...d, ...k, ...o.headers }, {
2694
- url: v(c),
2697
+ url: b(c),
2695
2698
  options: p
2696
2699
  };
2697
2700
  },
@@ -2712,16 +2715,16 @@ const ea = function(l) {
2712
2715
  let i;
2713
2716
  l && (i = l.baseOptions);
2714
2717
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
2715
- a !== void 0 && (h.action = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", b(c, h);
2718
+ a !== void 0 && (h.action = a), n !== void 0 && (h.versionId = n), d.Accept = "application/json", v(c, h);
2716
2719
  let k = i && i.headers ? i.headers : {};
2717
2720
  return p.headers = { ...d, ...k, ...o.headers }, {
2718
- url: v(c),
2721
+ url: b(c),
2719
2722
  options: p
2720
2723
  };
2721
2724
  }
2722
2725
  };
2723
2726
  }, M = function(l) {
2724
- const r = ea(l);
2727
+ const r = aa(l);
2725
2728
  return {
2726
2729
  /**
2727
2730
  * 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.
@@ -2796,7 +2799,7 @@ const ea = function(l) {
2796
2799
  return (d, h) => S(c, u, g, l)(d, p || h);
2797
2800
  }
2798
2801
  };
2799
- }, hn = function(l, r, e) {
2802
+ }, Vn = function(l, r, e) {
2800
2803
  const t = M(l);
2801
2804
  return {
2802
2805
  /**
@@ -2868,7 +2871,7 @@ const ea = function(l) {
2868
2871
  }
2869
2872
  };
2870
2873
  };
2871
- class aa extends C {
2874
+ class ta extends C {
2872
2875
  /**
2873
2876
  * 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.
2874
2877
  * @summary Create a materialization
@@ -2937,9 +2940,9 @@ class aa extends C {
2937
2940
  return M(this.configuration).materializationAction(r, e, t, a, n, o).then((s) => s(this.axios, this.basePath));
2938
2941
  }
2939
2942
  }
2940
- const un = {
2943
+ const vn = {
2941
2944
  Stop: "stop"
2942
- }, ta = function(l) {
2945
+ }, na = function(l) {
2943
2946
  return {
2944
2947
  /**
2945
2948
  * 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. When the submitted source (scope `append`) carries a model-level `## artifact` tag, it is read as a document and the response gains a `document`: the cells and manifest the same text would serve once saved, read from the submitted text alone so the model\'s own `run:` statements and `##` notes never mix in. The compile runs nothing, including a control\'s `suggest` query. A cell or tile whose source the caller may not read is not compiled at all and comes back `restricted` with no diagnostic; the rest of the document compiles. A tile expression that uses a construct `append` refuses (a data root of its own, such as `duckdb.table(...)`) is refused with 400, and a tile that does not parse is reported as a `tile-does-not-compile` problem. Submitted text that is a document (it carries the tag, at scope `append`) and writes a render tag turning a value into a URL (`# image`, `# link`), or HTML in a `# label`, is refused with 400 before anything compiles, for a field, view or query alike, because other viewers run it; plain `append` text without the tag, and a model file, keep the tags they define themselves. The same refusal covers an annotation that reads `@env.` (in a `##` note too), one the tag parser rejects or that exceeds 8,192 characters, text that frees a column (`except:`, `rename:`) and declares one of the same name in the same extend chain, and one with over 1,000 annotations or 64 KB of them. This removes the author-written paths only: the renderer\'s other value-to-HTML sinks are not covered by it. A cell that names a source that is both gated and hidden from the caller answers 404 for the whole request, as it does without a document. In a document, problem positions are lines of the submitted text, problems carry no `model` tag, and `includeSql` returns no `sql`. The document\'s `layout` follows the one rule every report follows (see list-reports): the tag\'s `layout=`, else its deprecated `kind=` (`dashboard` is grid, `notebook` is linear), else grid when the tag lists `tiles` or carries a `dashboard { … }` grid tag, else linear. Where a file lives never decides it.
@@ -2958,10 +2961,10 @@ const un = {
2958
2961
  let i;
2959
2962
  l && (i = l.baseOptions);
2960
2963
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
2961
- n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", b(c, h);
2964
+ n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", v(c, h);
2962
2965
  let k = i && i.headers ? i.headers : {};
2963
2966
  return p.headers = { ...d, ...k, ...o.headers }, p.data = A(a, p, l), {
2964
- url: v(c),
2967
+ url: b(c),
2965
2968
  options: p
2966
2969
  };
2967
2970
  },
@@ -2982,10 +2985,10 @@ const un = {
2982
2985
  let i;
2983
2986
  l && (i = l.baseOptions);
2984
2987
  const p = { method: "POST", ...i, ...o }, d = {}, h = {};
2985
- n !== void 0 && (h.includeHiddenFilesAndSources = n), d["Content-Type"] = "application/json", d.Accept = "application/json", b(c, h);
2988
+ n !== void 0 && (h.includeHiddenFilesAndSources = n), d["Content-Type"] = "application/json", d.Accept = "application/json", v(c, h);
2986
2989
  let k = i && i.headers ? i.headers : {};
2987
2990
  return p.headers = { ...d, ...k, ...o.headers }, p.data = A(a, p, l), {
2988
- url: v(c),
2991
+ url: b(c),
2989
2992
  options: p
2990
2993
  };
2991
2994
  },
@@ -3007,10 +3010,10 @@ const un = {
3007
3010
  let p;
3008
3011
  l && (p = l.baseOptions);
3009
3012
  const d = { method: "GET", ...p, ...s }, h = {}, k = {};
3010
- a !== void 0 && (k.versionId = a), n !== void 0 && (k.includeHiddenFilesAndSources = n), o !== void 0 && (k.givens = o), h.Accept = "application/json", b(i, k);
3013
+ a !== void 0 && (k.versionId = a), n !== void 0 && (k.includeHiddenFilesAndSources = n), o !== void 0 && (k.givens = o), h.Accept = "application/json", v(i, k);
3011
3014
  let O = p && p.headers ? p.headers : {};
3012
3015
  return d.headers = { ...h, ...O, ...s.headers }, {
3013
- url: v(i),
3016
+ url: b(i),
3014
3017
  options: d
3015
3018
  };
3016
3019
  },
@@ -3030,10 +3033,10 @@ const un = {
3030
3033
  let c;
3031
3034
  l && (c = l.baseOptions);
3032
3035
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
3033
- t !== void 0 && (d.versionId = t), a !== void 0 && (d.includeHiddenFilesAndSources = a), p.Accept = "application/json", b(s, d);
3036
+ t !== void 0 && (d.versionId = t), a !== void 0 && (d.includeHiddenFilesAndSources = a), p.Accept = "application/json", v(s, d);
3034
3037
  let h = c && c.headers ? c.headers : {};
3035
3038
  return i.headers = { ...p, ...h, ...n.headers }, {
3036
- url: v(s),
3039
+ url: b(s),
3037
3040
  options: i
3038
3041
  };
3039
3042
  },
@@ -3054,16 +3057,16 @@ const un = {
3054
3057
  let i;
3055
3058
  l && (i = l.baseOptions);
3056
3059
  const p = { method: "PUT", ...i, ...o }, d = {}, h = {};
3057
- n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", b(c, h);
3060
+ n !== void 0 && (h.versionId = n), d["Content-Type"] = "application/json", d.Accept = "application/json", v(c, h);
3058
3061
  let k = i && i.headers ? i.headers : {};
3059
3062
  return p.headers = { ...d, ...k, ...o.headers }, p.data = A(a, p, l), {
3060
- url: v(c),
3063
+ url: b(c),
3061
3064
  options: p
3062
3065
  };
3063
3066
  }
3064
3067
  };
3065
3068
  }, F = function(l) {
3066
- const r = ta(l);
3069
+ const r = na(l);
3067
3070
  return {
3068
3071
  /**
3069
3072
  * 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. When the submitted source (scope `append`) carries a model-level `## artifact` tag, it is read as a document and the response gains a `document`: the cells and manifest the same text would serve once saved, read from the submitted text alone so the model\'s own `run:` statements and `##` notes never mix in. The compile runs nothing, including a control\'s `suggest` query. A cell or tile whose source the caller may not read is not compiled at all and comes back `restricted` with no diagnostic; the rest of the document compiles. A tile expression that uses a construct `append` refuses (a data root of its own, such as `duckdb.table(...)`) is refused with 400, and a tile that does not parse is reported as a `tile-does-not-compile` problem. Submitted text that is a document (it carries the tag, at scope `append`) and writes a render tag turning a value into a URL (`# image`, `# link`), or HTML in a `# label`, is refused with 400 before anything compiles, for a field, view or query alike, because other viewers run it; plain `append` text without the tag, and a model file, keep the tags they define themselves. The same refusal covers an annotation that reads `@env.` (in a `##` note too), one the tag parser rejects or that exceeds 8,192 characters, text that frees a column (`except:`, `rename:`) and declares one of the same name in the same extend chain, and one with over 1,000 annotations or 64 KB of them. This removes the author-written paths only: the renderer\'s other value-to-HTML sinks are not covered by it. A cell that names a source that is both gated and hidden from the caller answers 404 for the whole request, as it does without a document. In a document, problem positions are lines of the submitted text, problems carry no `model` tag, and `includeSql` returns no `sql`. The document\'s `layout` follows the one rule every report follows (see list-reports): the tag\'s `layout=`, else its deprecated `kind=` (`dashboard` is grid, `notebook` is linear), else grid when the tag lists `tiles` or carries a `dashboard { … }` grid tag, else linear. Where a file lives never decides it.
@@ -3141,7 +3144,7 @@ const un = {
3141
3144
  return (d, h) => S(c, u, g, l)(d, p || h);
3142
3145
  }
3143
3146
  };
3144
- }, gn = function(l, r, e) {
3147
+ }, bn = function(l, r, e) {
3145
3148
  const t = F(l);
3146
3149
  return {
3147
3150
  /**
@@ -3216,7 +3219,7 @@ const un = {
3216
3219
  }
3217
3220
  };
3218
3221
  };
3219
- class na extends C {
3222
+ class ra extends C {
3220
3223
  /**
3221
3224
  * 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. When the submitted source (scope `append`) carries a model-level `## artifact` tag, it is read as a document and the response gains a `document`: the cells and manifest the same text would serve once saved, read from the submitted text alone so the model\'s own `run:` statements and `##` notes never mix in. The compile runs nothing, including a control\'s `suggest` query. A cell or tile whose source the caller may not read is not compiled at all and comes back `restricted` with no diagnostic; the rest of the document compiles. A tile expression that uses a construct `append` refuses (a data root of its own, such as `duckdb.table(...)`) is refused with 400, and a tile that does not parse is reported as a `tile-does-not-compile` problem. Submitted text that is a document (it carries the tag, at scope `append`) and writes a render tag turning a value into a URL (`# image`, `# link`), or HTML in a `# label`, is refused with 400 before anything compiles, for a field, view or query alike, because other viewers run it; plain `append` text without the tag, and a model file, keep the tags they define themselves. The same refusal covers an annotation that reads `@env.` (in a `##` note too), one the tag parser rejects or that exceeds 8,192 characters, text that frees a column (`except:`, `rename:`) and declares one of the same name in the same extend chain, and one with over 1,000 annotations or 64 KB of them. This removes the author-written paths only: the renderer\'s other value-to-HTML sinks are not covered by it. A cell that names a source that is both gated and hidden from the caller answers 404 for the whole request, as it does without a document. In a document, problem positions are lines of the submitted text, problems carry no `model` tag, and `includeSql` returns no `sql`. The document\'s `layout` follows the one rule every report follows (see list-reports): the tag\'s `layout=`, else its deprecated `kind=` (`dashboard` is grid, `notebook` is linear), else grid when the tag lists `tiles` or carries a `dashboard { … }` grid tag, else linear. Where a file lives never decides it.
3222
3225
  * @summary Compile Malloy source code
@@ -3288,7 +3291,7 @@ class na extends C {
3288
3291
  return F(this.configuration).updateModelSource(r, e, t, a, n, o).then((s) => s(this.axios, this.basePath));
3289
3292
  }
3290
3293
  }
3291
- const ra = function(l) {
3294
+ const oa = function(l) {
3292
3295
  return {
3293
3296
  /**
3294
3297
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report 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 linear `.malloy` report, wherever it lives, 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.
@@ -3311,10 +3314,10 @@ const ra = function(l) {
3311
3314
  let h;
3312
3315
  l && (h = l.baseOptions);
3313
3316
  const k = { method: "GET", ...h, ...i }, O = {}, I = {};
3314
- 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), O.Accept = "application/json", b(d, I);
3317
+ 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), O.Accept = "application/json", v(d, I);
3315
3318
  let N = h && h.headers ? h.headers : {};
3316
3319
  return k.headers = { ...O, ...N, ...i.headers }, {
3317
- url: v(d),
3320
+ url: b(d),
3318
3321
  options: k
3319
3322
  };
3320
3323
  },
@@ -3335,10 +3338,10 @@ const ra = function(l) {
3335
3338
  let c;
3336
3339
  l && (c = l.baseOptions);
3337
3340
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
3338
- a !== void 0 && (d.versionId = a), p.Accept = "application/json", b(s, d);
3341
+ a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
3339
3342
  let h = c && c.headers ? c.headers : {};
3340
3343
  return i.headers = { ...p, ...h, ...n.headers }, {
3341
- url: v(s),
3344
+ url: b(s),
3342
3345
  options: i
3343
3346
  };
3344
3347
  },
@@ -3358,16 +3361,16 @@ const ra = function(l) {
3358
3361
  let s;
3359
3362
  l && (s = l.baseOptions);
3360
3363
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
3361
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
3364
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3362
3365
  let d = s && s.headers ? s.headers : {};
3363
3366
  return c.headers = { ...i, ...d, ...a.headers }, {
3364
- url: v(o),
3367
+ url: b(o),
3365
3368
  options: c
3366
3369
  };
3367
3370
  }
3368
3371
  };
3369
3372
  }, H = function(l) {
3370
- const r = ra(l);
3373
+ const r = oa(l);
3371
3374
  return {
3372
3375
  /**
3373
3376
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report 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 linear `.malloy` report, wherever it lives, 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.
@@ -3418,7 +3421,7 @@ const ra = function(l) {
3418
3421
  return (i, p) => S(o, u, g, l)(i, c || p);
3419
3422
  }
3420
3423
  };
3421
- }, Pn = function(l, r, e) {
3424
+ }, Sn = function(l, r, e) {
3422
3425
  const t = H(l);
3423
3426
  return {
3424
3427
  /**
@@ -3468,7 +3471,7 @@ const ra = function(l) {
3468
3471
  }
3469
3472
  };
3470
3473
  };
3471
- class oa extends C {
3474
+ class sa extends C {
3472
3475
  /**
3473
3476
  * **DEPRECATED**: removed with the other notebook routes. For a `.malloy` report, run a cell through the model query endpoint instead: the report\'s path as the model, the cell\'s `text` (from get-report) as `query`, and `givens` in the body, which applies the same surface, `#(authorize)` and row-level gates. A `.malloynb` has no other route. Executes a specific cell in a linear report 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 linear `.malloy` report, wherever it lives, 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.
3474
3477
  * @summary Execute a specific notebook cell (deprecated)
@@ -3515,10 +3518,10 @@ class oa extends C {
3515
3518
  return H(this.configuration).listNotebooks(r, e, t, a).then((n) => n(this.axios, this.basePath));
3516
3519
  }
3517
3520
  }
3518
- const Vn = {
3521
+ const kn = {
3519
3522
  True: "true",
3520
3523
  False: "false"
3521
- }, sa = function(l) {
3524
+ }, ca = function(l) {
3522
3525
  return {
3523
3526
  /**
3524
3527
  * 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. ## Versioned publish Package versioning is a server setting, `PUBLISHER_PACKAGE_VERSIONING` (`off` by default; `ServerStatus.packageVersioning` reports it), and a transition: a later release removes the setting and always publishes versions. With it off, a request that carries a `location` installs the package in place, replacing the previous publish, as before versions, whatever its `publisher.json` declares; the package has no versions, and the server logs a warning that names it. A package that already has published versions refuses that with 409 (`reason` `PACKAGE_IS_VERSIONED`). With it on, a request that carries a `location` publishes an immutable version of the package: the one its own `publisher.json` declares. The request takes no version parameter: the version is that field, the way `npm publish` reads `package.json`, so bumping it is the release action. - A `publisher.json` with no `version` is refused with 400 (`reason` `MANIFEST_VERSION_MISSING`), and one whose `version` is not a semantic version with 400 (`reason` `MANIFEST_VERSION_INVALID`). Nothing is written. - Publishing a version the package already has, with different content, is refused with 409 (`reason` `VERSION_CONFLICT`). The same content again succeeds and writes no files, so re-loading a version onto a server that already holds it is safe to retry; a non-null `manifestLocation` on that request binds the version to it. A re-load leaves `latest` where it is, so a retried publish never undoes a rollback; it sets `latest` only for a package that has none. Re-publishing an archived version is refused with 410 (`reason` `VERSION_ARCHIVED`): unarchive it instead. - A version that does not pass the publish checks (the same ones an unversioned publish applies) is refused with 400, and the versions already published keep serving. - Under `versionPromotion: \"on-publish\"` (the default), the new version becomes the package\'s `latest` unless a higher version already is. Under `\"explicit\"`, publish never moves `latest`; `PUT .../packages/{packageName}/latest` does. - A package mounted for watch mode is the author\'s own source directory, so it cannot hold immutable versions: publishing a version of it is refused with 400. - The request\'s `description`, when sent, is the package\'s description. Each version keeps the `description` from its own publisher.json. A request without a `location` registers a directory already in the environment as a single unversioned package, as packages loaded from `publisher.config.json` are with versioning off. A package that already has versions refuses that with 409 (`reason` `PACKAGE_IS_VERSIONED`).
@@ -3534,10 +3537,10 @@ const Vn = {
3534
3537
  let o;
3535
3538
  l && (o = l.baseOptions);
3536
3539
  const s = { method: "POST", ...o, ...t }, c = {}, i = {};
3537
- c["Content-Type"] = "application/json", c.Accept = "application/json", b(n, i);
3540
+ c["Content-Type"] = "application/json", c.Accept = "application/json", v(n, i);
3538
3541
  let p = o && o.headers ? o.headers : {};
3539
3542
  return s.headers = { ...c, ...p, ...t.headers }, s.data = A(e, s, l), {
3540
- url: v(n),
3543
+ url: b(n),
3541
3544
  options: s
3542
3545
  };
3543
3546
  },
@@ -3555,10 +3558,10 @@ const Vn = {
3555
3558
  let o;
3556
3559
  l && (o = l.baseOptions);
3557
3560
  const s = { method: "DELETE", ...o, ...t }, c = {}, i = {};
3558
- c.Accept = "application/json", b(n, i);
3561
+ c.Accept = "application/json", v(n, i);
3559
3562
  let p = o && o.headers ? o.headers : {};
3560
3563
  return s.headers = { ...c, ...p, ...t.headers }, {
3561
- url: v(n),
3564
+ url: b(n),
3562
3565
  options: s
3563
3566
  };
3564
3567
  },
@@ -3578,10 +3581,10 @@ const Vn = {
3578
3581
  let c;
3579
3582
  l && (c = l.baseOptions);
3580
3583
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
3581
- t !== void 0 && (d.versionId = t), a !== void 0 && (d.reload = a), p.Accept = "application/json", b(s, d);
3584
+ t !== void 0 && (d.versionId = t), a !== void 0 && (d.reload = a), p.Accept = "application/json", v(s, d);
3582
3585
  let h = c && c.headers ? c.headers : {};
3583
3586
  return i.headers = { ...p, ...h, ...n.headers }, {
3584
- url: v(s),
3587
+ url: b(s),
3585
3588
  options: i
3586
3589
  };
3587
3590
  },
@@ -3600,10 +3603,10 @@ const Vn = {
3600
3603
  let s;
3601
3604
  l && (s = l.baseOptions);
3602
3605
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
3603
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
3606
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3604
3607
  let d = s && s.headers ? s.headers : {};
3605
3608
  return c.headers = { ...i, ...d, ...a.headers }, {
3606
- url: v(o),
3609
+ url: b(o),
3607
3610
  options: c
3608
3611
  };
3609
3612
  },
@@ -3622,10 +3625,10 @@ const Vn = {
3622
3625
  let s;
3623
3626
  l && (s = l.baseOptions);
3624
3627
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
3625
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
3628
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3626
3629
  let d = s && s.headers ? s.headers : {};
3627
3630
  return c.headers = { ...i, ...d, ...a.headers }, {
3628
- url: v(o),
3631
+ url: b(o),
3629
3632
  options: c
3630
3633
  };
3631
3634
  },
@@ -3644,10 +3647,10 @@ const Vn = {
3644
3647
  let s;
3645
3648
  l && (s = l.baseOptions);
3646
3649
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
3647
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
3650
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3648
3651
  let d = s && s.headers ? s.headers : {};
3649
3652
  return c.headers = { ...i, ...d, ...a.headers }, {
3650
- url: v(o),
3653
+ url: b(o),
3651
3654
  options: c
3652
3655
  };
3653
3656
  },
@@ -3667,10 +3670,10 @@ const Vn = {
3667
3670
  let c;
3668
3671
  l && (c = l.baseOptions);
3669
3672
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
3670
- t !== void 0 && (d.versionId = t), a !== void 0 && (d.includeHiddenFilesAndSources = a), p.Accept = "application/json", b(s, d);
3673
+ t !== void 0 && (d.versionId = t), a !== void 0 && (d.includeHiddenFilesAndSources = a), p.Accept = "application/json", v(s, d);
3671
3674
  let h = c && c.headers ? c.headers : {};
3672
3675
  return i.headers = { ...p, ...h, ...n.headers }, {
3673
- url: v(s),
3676
+ url: b(s),
3674
3677
  options: i
3675
3678
  };
3676
3679
  },
@@ -3689,10 +3692,10 @@ const Vn = {
3689
3692
  let s;
3690
3693
  l && (s = l.baseOptions);
3691
3694
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
3692
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
3695
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
3693
3696
  let d = s && s.headers ? s.headers : {};
3694
3697
  return c.headers = { ...i, ...d, ...a.headers }, {
3695
- url: v(o),
3698
+ url: b(o),
3696
3699
  options: c
3697
3700
  };
3698
3701
  },
@@ -3709,10 +3712,10 @@ const Vn = {
3709
3712
  let n;
3710
3713
  l && (n = l.baseOptions);
3711
3714
  const o = { method: "GET", ...n, ...e }, s = {}, c = {};
3712
- s.Accept = "application/json", b(a, c);
3715
+ s.Accept = "application/json", v(a, c);
3713
3716
  let i = n && n.headers ? n.headers : {};
3714
3717
  return o.headers = { ...s, ...i, ...e.headers }, {
3715
- url: v(a),
3718
+ url: b(a),
3716
3719
  options: o
3717
3720
  };
3718
3721
  },
@@ -3732,16 +3735,16 @@ const Vn = {
3732
3735
  let s;
3733
3736
  l && (s = l.baseOptions);
3734
3737
  const c = { method: "PATCH", ...s, ...a }, i = {}, p = {};
3735
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
3738
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
3736
3739
  let d = s && s.headers ? s.headers : {};
3737
3740
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
3738
- url: v(o),
3741
+ url: b(o),
3739
3742
  options: c
3740
3743
  };
3741
3744
  }
3742
3745
  };
3743
3746
  }, R = function(l) {
3744
- const r = sa(l);
3747
+ const r = ca(l);
3745
3748
  return {
3746
3749
  /**
3747
3750
  * 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. ## Versioned publish Package versioning is a server setting, `PUBLISHER_PACKAGE_VERSIONING` (`off` by default; `ServerStatus.packageVersioning` reports it), and a transition: a later release removes the setting and always publishes versions. With it off, a request that carries a `location` installs the package in place, replacing the previous publish, as before versions, whatever its `publisher.json` declares; the package has no versions, and the server logs a warning that names it. A package that already has published versions refuses that with 409 (`reason` `PACKAGE_IS_VERSIONED`). With it on, a request that carries a `location` publishes an immutable version of the package: the one its own `publisher.json` declares. The request takes no version parameter: the version is that field, the way `npm publish` reads `package.json`, so bumping it is the release action. - A `publisher.json` with no `version` is refused with 400 (`reason` `MANIFEST_VERSION_MISSING`), and one whose `version` is not a semantic version with 400 (`reason` `MANIFEST_VERSION_INVALID`). Nothing is written. - Publishing a version the package already has, with different content, is refused with 409 (`reason` `VERSION_CONFLICT`). The same content again succeeds and writes no files, so re-loading a version onto a server that already holds it is safe to retry; a non-null `manifestLocation` on that request binds the version to it. A re-load leaves `latest` where it is, so a retried publish never undoes a rollback; it sets `latest` only for a package that has none. Re-publishing an archived version is refused with 410 (`reason` `VERSION_ARCHIVED`): unarchive it instead. - A version that does not pass the publish checks (the same ones an unversioned publish applies) is refused with 400, and the versions already published keep serving. - Under `versionPromotion: \"on-publish\"` (the default), the new version becomes the package\'s `latest` unless a higher version already is. Under `\"explicit\"`, publish never moves `latest`; `PUT .../packages/{packageName}/latest` does. - A package mounted for watch mode is the author\'s own source directory, so it cannot hold immutable versions: publishing a version of it is refused with 400. - The request\'s `description`, when sent, is the package\'s description. Each version keeps the `description` from its own publisher.json. A request without a `location` registers a directory already in the environment as a single unversioned package, as packages loaded from `publisher.config.json` are with versioning off. A package that already has versions refuses that with 409 (`reason` `PACKAGE_IS_VERSIONED`).
@@ -3873,7 +3876,7 @@ const Vn = {
3873
3876
  return (i, p) => S(o, u, g, l)(i, c || p);
3874
3877
  }
3875
3878
  };
3876
- }, bn = function(l, r, e) {
3879
+ }, On = function(l, r, e) {
3877
3880
  const t = R(l);
3878
3881
  return {
3879
3882
  /**
@@ -3997,7 +4000,7 @@ const Vn = {
3997
4000
  }
3998
4001
  };
3999
4002
  };
4000
- class ca extends C {
4003
+ class la extends C {
4001
4004
  /**
4002
4005
  * 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. ## Versioned publish Package versioning is a server setting, `PUBLISHER_PACKAGE_VERSIONING` (`off` by default; `ServerStatus.packageVersioning` reports it), and a transition: a later release removes the setting and always publishes versions. With it off, a request that carries a `location` installs the package in place, replacing the previous publish, as before versions, whatever its `publisher.json` declares; the package has no versions, and the server logs a warning that names it. A package that already has published versions refuses that with 409 (`reason` `PACKAGE_IS_VERSIONED`). With it on, a request that carries a `location` publishes an immutable version of the package: the one its own `publisher.json` declares. The request takes no version parameter: the version is that field, the way `npm publish` reads `package.json`, so bumping it is the release action. - A `publisher.json` with no `version` is refused with 400 (`reason` `MANIFEST_VERSION_MISSING`), and one whose `version` is not a semantic version with 400 (`reason` `MANIFEST_VERSION_INVALID`). Nothing is written. - Publishing a version the package already has, with different content, is refused with 409 (`reason` `VERSION_CONFLICT`). The same content again succeeds and writes no files, so re-loading a version onto a server that already holds it is safe to retry; a non-null `manifestLocation` on that request binds the version to it. A re-load leaves `latest` where it is, so a retried publish never undoes a rollback; it sets `latest` only for a package that has none. Re-publishing an archived version is refused with 410 (`reason` `VERSION_ARCHIVED`): unarchive it instead. - A version that does not pass the publish checks (the same ones an unversioned publish applies) is refused with 400, and the versions already published keep serving. - Under `versionPromotion: \"on-publish\"` (the default), the new version becomes the package\'s `latest` unless a higher version already is. Under `\"explicit\"`, publish never moves `latest`; `PUT .../packages/{packageName}/latest` does. - A package mounted for watch mode is the author\'s own source directory, so it cannot hold immutable versions: publishing a version of it is refused with 400. - The request\'s `description`, when sent, is the package\'s description. Each version keeps the `description` from its own publisher.json. A request without a `location` registers a directory already in the environment as a single unversioned package, as packages loaded from `publisher.config.json` are with versioning off. A package that already has versions refuses that with 409 (`reason` `PACKAGE_IS_VERSIONED`).
4003
4006
  * @summary Create a new package
@@ -4118,7 +4121,7 @@ class ca extends C {
4118
4121
  return R(this.configuration).updatePackage(r, e, t, a).then((n) => n(this.axios, this.basePath));
4119
4122
  }
4120
4123
  }
4121
- const la = function(l) {
4124
+ const ia = function(l) {
4122
4125
  return {
4123
4126
  /**
4124
4127
  * 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.
@@ -4131,10 +4134,10 @@ const la = function(l) {
4131
4134
  let a;
4132
4135
  l && (a = l.baseOptions);
4133
4136
  const n = { method: "DELETE", ...a, ...r }, o = {}, s = {};
4134
- o.Accept = "application/json", b(t, s);
4137
+ o.Accept = "application/json", v(t, s);
4135
4138
  let c = a && a.headers ? a.headers : {};
4136
4139
  return n.headers = { ...o, ...c, ...r.headers }, {
4137
- url: v(t),
4140
+ url: b(t),
4138
4141
  options: n
4139
4142
  };
4140
4143
  },
@@ -4150,10 +4153,10 @@ const la = function(l) {
4150
4153
  let n;
4151
4154
  l && (n = l.baseOptions);
4152
4155
  const o = { method: "GET", ...n, ...e }, s = {}, c = {};
4153
- r !== void 0 && (c.includeLoading = r), s.Accept = "application/json", b(a, c);
4156
+ r !== void 0 && (c.includeLoading = r), s.Accept = "application/json", v(a, c);
4154
4157
  let i = n && n.headers ? n.headers : {};
4155
4158
  return o.headers = { ...s, ...i, ...e.headers }, {
4156
- url: v(a),
4159
+ url: b(a),
4157
4160
  options: o
4158
4161
  };
4159
4162
  },
@@ -4168,10 +4171,10 @@ const la = function(l) {
4168
4171
  let a;
4169
4172
  l && (a = l.baseOptions);
4170
4173
  const n = { method: "GET", ...a, ...r }, o = {}, s = {};
4171
- o.Accept = "application/json", b(t, s);
4174
+ o.Accept = "application/json", v(t, s);
4172
4175
  let c = a && a.headers ? a.headers : {};
4173
4176
  return n.headers = { ...o, ...c, ...r.headers }, {
4174
- url: v(t),
4177
+ url: b(t),
4175
4178
  options: n
4176
4179
  };
4177
4180
  },
@@ -4188,16 +4191,16 @@ const la = function(l) {
4188
4191
  let n;
4189
4192
  l && (n = l.baseOptions);
4190
4193
  const o = { method: "PUT", ...n, ...e }, s = {}, c = {};
4191
- s["Content-Type"] = "application/json", s.Accept = "application/json", b(a, c);
4194
+ s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, c);
4192
4195
  let i = n && n.headers ? n.headers : {};
4193
4196
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(r, o, l), {
4194
- url: v(a),
4197
+ url: b(a),
4195
4198
  options: o
4196
4199
  };
4197
4200
  }
4198
4201
  };
4199
4202
  }, D = function(l) {
4200
- const r = la(l);
4203
+ const r = ia(l);
4201
4204
  return {
4202
4205
  /**
4203
4206
  * 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.
@@ -4242,7 +4245,7 @@ const la = function(l) {
4242
4245
  return (s, c) => S(a, u, g, l)(s, o || c);
4243
4246
  }
4244
4247
  };
4245
- }, vn = function(l, r, e) {
4248
+ }, An = function(l, r, e) {
4246
4249
  const t = D(l);
4247
4250
  return {
4248
4251
  /**
@@ -4285,7 +4288,7 @@ const la = function(l) {
4285
4288
  }
4286
4289
  };
4287
4290
  };
4288
- class ia extends C {
4291
+ class pa extends C {
4289
4292
  /**
4290
4293
  * 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.
4291
4294
  * @summary Reset the instance theme to the boot seed or default
@@ -4325,7 +4328,7 @@ class ia extends C {
4325
4328
  return D(this.configuration).updateTheme(r, e).then((t) => t(this.axios, this.basePath));
4326
4329
  }
4327
4330
  }
4328
- const pa = function(l) {
4331
+ const da = function(l) {
4329
4332
  return {
4330
4333
  /**
4331
4334
  * Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells as get-notebook returned them, run through the deprecated execute-notebook-cell.
@@ -4343,10 +4346,10 @@ const pa = function(l) {
4343
4346
  let c;
4344
4347
  l && (c = l.baseOptions);
4345
4348
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
4346
- a !== void 0 && (d.versionId = a), p.Accept = "application/json", b(s, d);
4349
+ a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
4347
4350
  let h = c && c.headers ? c.headers : {};
4348
4351
  return i.headers = { ...p, ...h, ...n.headers }, {
4349
- url: v(s),
4352
+ url: b(s),
4350
4353
  options: i
4351
4354
  };
4352
4355
  },
@@ -4365,16 +4368,16 @@ const pa = function(l) {
4365
4368
  let s;
4366
4369
  l && (s = l.baseOptions);
4367
4370
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
4368
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
4371
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
4369
4372
  let d = s && s.headers ? s.headers : {};
4370
4373
  return c.headers = { ...i, ...d, ...a.headers }, {
4371
- url: v(o),
4374
+ url: b(o),
4372
4375
  options: c
4373
4376
  };
4374
4377
  }
4375
4378
  };
4376
4379
  }, Z = function(l) {
4377
- const r = pa(l);
4380
+ const r = da(l);
4378
4381
  return {
4379
4382
  /**
4380
4383
  * Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells as get-notebook returned them, run through the deprecated execute-notebook-cell.
@@ -4404,7 +4407,7 @@ const pa = function(l) {
4404
4407
  return (i, p) => S(o, u, g, l)(i, c || p);
4405
4408
  }
4406
4409
  };
4407
- }, Sn = function(l, r, e) {
4410
+ }, yn = function(l, r, e) {
4408
4411
  const t = Z(l);
4409
4412
  return {
4410
4413
  /**
@@ -4434,7 +4437,7 @@ const pa = function(l) {
4434
4437
  }
4435
4438
  };
4436
4439
  };
4437
- class da extends C {
4440
+ class ma extends C {
4438
4441
  /**
4439
4442
  * Everything a viewer needs to render one report, addressed by its path in the package, including its extension, exactly as list-reports gives it (`sales/q3.malloy`). A `.malloy` report, of either layout, carries the manifest fields (`tiles` or `query`, `dashboardColumns`, `startingGivens`, `autorun`, `givens`): its tiles run through the model query endpoint with `givens`, using `path` as the model. A `.malloynb`, the one cell format left, carries `notebook` instead: its cells as get-notebook returned them, run through the deprecated execute-notebook-cell.
4440
4443
  * @summary Get a report manifest
@@ -4461,7 +4464,7 @@ class da extends C {
4461
4464
  return Z(this.configuration).listReports(r, e, t, a).then((n) => n(this.axios, this.basePath));
4462
4465
  }
4463
4466
  }
4464
- const ma = function(l) {
4467
+ const ha = function(l) {
4465
4468
  return {
4466
4469
  /**
4467
4470
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
@@ -4479,10 +4482,10 @@ const ma = function(l) {
4479
4482
  let c;
4480
4483
  l && (c = l.baseOptions);
4481
4484
  const i = { method: "GET", ...c, ...n }, p = {}, d = {};
4482
- a !== void 0 && (d.versionId = a), p.Accept = "application/json", b(s, d);
4485
+ a !== void 0 && (d.versionId = a), p.Accept = "application/json", v(s, d);
4483
4486
  let h = c && c.headers ? c.headers : {};
4484
4487
  return i.headers = { ...p, ...h, ...n.headers }, {
4485
- url: v(s),
4488
+ url: b(s),
4486
4489
  options: i
4487
4490
  };
4488
4491
  },
@@ -4501,16 +4504,16 @@ const ma = function(l) {
4501
4504
  let s;
4502
4505
  l && (s = l.baseOptions);
4503
4506
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
4504
- t !== void 0 && (p.versionId = t), i.Accept = "application/json", b(o, p);
4507
+ t !== void 0 && (p.versionId = t), i.Accept = "application/json", v(o, p);
4505
4508
  let d = s && s.headers ? s.headers : {};
4506
4509
  return c.headers = { ...i, ...d, ...a.headers }, {
4507
- url: v(o),
4510
+ url: b(o),
4508
4511
  options: c
4509
4512
  };
4510
4513
  }
4511
4514
  };
4512
4515
  }, ee = function(l) {
4513
- const r = ma(l);
4516
+ const r = ha(l);
4514
4517
  return {
4515
4518
  /**
4516
4519
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
@@ -4540,7 +4543,7 @@ const ma = function(l) {
4540
4543
  return (i, p) => S(o, u, g, l)(i, c || p);
4541
4544
  }
4542
4545
  };
4543
- }, kn = function(l, r, e) {
4546
+ }, Cn = function(l, r, e) {
4544
4547
  const t = ee(l);
4545
4548
  return {
4546
4549
  /**
@@ -4570,7 +4573,7 @@ const ma = function(l) {
4570
4573
  }
4571
4574
  };
4572
4575
  };
4573
- class On extends C {
4576
+ class In extends C {
4574
4577
  /**
4575
4578
  * Returns one skill in force for this package, including its full Markdown. `skillName` is a name from the listing, exactly as spelled there; a reference file is addressed as `<skill>/<stem>`. The slash may be sent literally or as `%2F`; a literal `%` in a name must be sent as `%25`. 404 when no skill of that name is in force.
4576
4579
  * @summary Get one agent skill, with its body
@@ -4597,7 +4600,7 @@ class On extends C {
4597
4600
  return ee(this.configuration).listSkills(r, e, t, a).then((n) => n(this.axios, this.basePath));
4598
4601
  }
4599
4602
  }
4600
- const ha = function(l) {
4603
+ const ua = function(l) {
4601
4604
  return {
4602
4605
  /**
4603
4606
  * **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
@@ -4615,10 +4618,10 @@ const ha = function(l) {
4615
4618
  let s;
4616
4619
  l && (s = l.baseOptions);
4617
4620
  const c = { method: "POST", ...s, ...a }, i = {}, p = {};
4618
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
4621
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
4619
4622
  let d = s && s.headers ? s.headers : {};
4620
4623
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
4621
- url: v(o),
4624
+ url: b(o),
4622
4625
  options: c
4623
4626
  };
4624
4627
  },
@@ -4639,10 +4642,10 @@ const ha = function(l) {
4639
4642
  let c;
4640
4643
  l && (c = l.baseOptions);
4641
4644
  const i = { method: "DELETE", ...c, ...n }, p = {}, d = {};
4642
- p.Accept = "application/json", b(s, d);
4645
+ p.Accept = "application/json", v(s, d);
4643
4646
  let h = c && c.headers ? c.headers : {};
4644
4647
  return i.headers = { ...p, ...h, ...n.headers }, {
4645
- url: v(s),
4648
+ url: b(s),
4646
4649
  options: i
4647
4650
  };
4648
4651
  },
@@ -4662,16 +4665,16 @@ const ha = function(l) {
4662
4665
  let s;
4663
4666
  l && (s = l.baseOptions);
4664
4667
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
4665
- i.Accept = "application/json", b(o, p);
4668
+ i.Accept = "application/json", v(o, p);
4666
4669
  let d = s && s.headers ? s.headers : {};
4667
4670
  return c.headers = { ...i, ...d, ...a.headers }, {
4668
- url: v(o),
4671
+ url: b(o),
4669
4672
  options: c
4670
4673
  };
4671
4674
  }
4672
4675
  };
4673
4676
  }, _ = function(l) {
4674
- const r = ha(l);
4677
+ const r = ua(l);
4675
4678
  return {
4676
4679
  /**
4677
4680
  * **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
@@ -4717,7 +4720,7 @@ const ha = function(l) {
4717
4720
  return (i, p) => S(o, u, g, l)(i, c || p);
4718
4721
  }
4719
4722
  };
4720
- }, An = function(l, r, e) {
4723
+ }, xn = function(l, r, e) {
4721
4724
  const t = _(l);
4722
4725
  return {
4723
4726
  /**
@@ -4762,7 +4765,7 @@ const ha = function(l) {
4762
4765
  }
4763
4766
  };
4764
4767
  };
4765
- class yn extends C {
4768
+ class Rn extends C {
4766
4769
  /**
4767
4770
  * **DEPRECATED**: use the admin API\'s `DELETE /catalogs/{catalogName}/snapshots?olderThan=…` (`admin-api-doc.yaml`), whose file-deletion grace is the catalog\'s own setting; this route is removed in a later release. Reclaims the object-storage bytes that dropped and rewritten tables leave behind in a DuckLake destination. Runs, in order: 1. `ducklake_expire_snapshots(older_than => snapshotsOlderThan)` — forgets snapshots older than the cutoff (never the latest) and schedules for deletion the files only they referenced. Snapshots that remain are what time travel can still read, so this cutoff is the recovery window for a dropped table. 2. `ducklake_cleanup_old_files(older_than => filesOlderThan)` — deletes the files scheduled for deletion before the cutoff. The age counts from when step 1 scheduled the file, so this protects readers still scanning a file from a snapshot that was just expired. Only files the catalog itself recorded and then retired are deleted. It does not run `CHECKPOINT` or `ducklake_delete_orphaned_files`, which also delete untracked files — another catalog\'s, when two share a data path, or a concurrent build\'s not-yet-committed output. Synchronous. Refused with 400 for a destination that is not DuckLake.
4768
4771
  * @summary Reclaim storage behind dropped tables in a DuckLake destination
@@ -4804,7 +4807,7 @@ class yn extends C {
4804
4807
  return _(this.configuration).listStorageDestinationTables(r, e, t, a).then((n) => n(this.axios, this.basePath));
4805
4808
  }
4806
4809
  }
4807
- const ua = function(l) {
4810
+ const ga = function(l) {
4808
4811
  return {
4809
4812
  /**
4810
4813
  * Removes one version for good, where an archive only takes it out of service. The version is unloaded from memory, and its row and its files are deleted; other versions are untouched. Then, in the background, its own auto-runs still running are stopped and the tables its own auto-runs built under `scope: version` are reclaimed with their run records, as an archive reclaims them. Nothing is dropped before the delete commits, so a refused delete changes nothing. It cannot be undone, and it frees the version id: a later publish of the same version is a new version, with whatever content it carries. An archived version can be deleted too; that is how its files are reclaimed. Deleting the package\'s only version deletes the package with it (its row, run records and ledger), so no package is left with no version; while a publish of another version of the package is running, the package is left to that publish. Each table is tried once: one that could not be dropped is left. Tables another run of the package still references are kept, as is an orchestrated run (its tables, and a build of it still running), which the caller that instructed it owns. A delete is refused with 409 when: - the version is the package\'s `latest` and other versions remain (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service and archived versions remain (`reason` `VERSION_IS_LAST_ACTIVE`): a package that has versions always keeps one in service. Delete the archived versions first, or delete the package.
@@ -4821,10 +4824,10 @@ const ua = function(l) {
4821
4824
  let s;
4822
4825
  l && (s = l.baseOptions);
4823
4826
  const c = { method: "DELETE", ...s, ...a }, i = {}, p = {};
4824
- i.Accept = "application/json", b(o, p);
4827
+ i.Accept = "application/json", v(o, p);
4825
4828
  let d = s && s.headers ? s.headers : {};
4826
4829
  return c.headers = { ...i, ...d, ...a.headers }, {
4827
- url: v(o),
4830
+ url: b(o),
4828
4831
  options: c
4829
4832
  };
4830
4833
  },
@@ -4843,10 +4846,10 @@ const ua = function(l) {
4843
4846
  let s;
4844
4847
  l && (s = l.baseOptions);
4845
4848
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
4846
- i.Accept = "application/json", b(o, p);
4849
+ i.Accept = "application/json", v(o, p);
4847
4850
  let d = s && s.headers ? s.headers : {};
4848
4851
  return c.headers = { ...i, ...d, ...a.headers }, {
4849
- url: v(o),
4852
+ url: b(o),
4850
4853
  options: c
4851
4854
  };
4852
4855
  },
@@ -4864,10 +4867,10 @@ const ua = function(l) {
4864
4867
  let o;
4865
4868
  l && (o = l.baseOptions);
4866
4869
  const s = { method: "GET", ...o, ...t }, c = {}, i = {};
4867
- c.Accept = "application/json", b(n, i);
4870
+ c.Accept = "application/json", v(n, i);
4868
4871
  let p = o && o.headers ? o.headers : {};
4869
4872
  return s.headers = { ...c, ...p, ...t.headers }, {
4870
- url: v(n),
4873
+ url: b(n),
4871
4874
  options: s
4872
4875
  };
4873
4876
  },
@@ -4886,10 +4889,10 @@ const ua = function(l) {
4886
4889
  let s;
4887
4890
  l && (s = l.baseOptions);
4888
4891
  const c = { method: "PUT", ...s, ...a }, i = {}, p = {};
4889
- i["Content-Type"] = "application/json", i.Accept = "application/json", b(o, p);
4892
+ i["Content-Type"] = "application/json", i.Accept = "application/json", v(o, p);
4890
4893
  let d = s && s.headers ? s.headers : {};
4891
4894
  return c.headers = { ...i, ...d, ...a.headers }, c.data = A(t, c, l), {
4892
- url: v(o),
4895
+ url: b(o),
4893
4896
  options: c
4894
4897
  };
4895
4898
  },
@@ -4909,10 +4912,10 @@ const ua = function(l) {
4909
4912
  let c;
4910
4913
  l && (c = l.baseOptions);
4911
4914
  const i = { method: "PUT", ...c, ...n }, p = {}, d = {};
4912
- p["Content-Type"] = "application/json", p.Accept = "application/json", b(s, d);
4915
+ p["Content-Type"] = "application/json", p.Accept = "application/json", v(s, d);
4913
4916
  let h = c && c.headers ? c.headers : {};
4914
4917
  return i.headers = { ...p, ...h, ...n.headers }, i.data = A(a, i, l), {
4915
- url: v(s),
4918
+ url: b(s),
4916
4919
  options: i
4917
4920
  };
4918
4921
  },
@@ -4932,16 +4935,16 @@ const ua = function(l) {
4932
4935
  let c;
4933
4936
  l && (c = l.baseOptions);
4934
4937
  const i = { method: "PATCH", ...c, ...n }, p = {}, d = {};
4935
- p["Content-Type"] = "application/json", p.Accept = "application/json", b(s, d);
4938
+ p["Content-Type"] = "application/json", p.Accept = "application/json", v(s, d);
4936
4939
  let h = c && c.headers ? c.headers : {};
4937
4940
  return i.headers = { ...p, ...h, ...n.headers }, i.data = A(a, i, l), {
4938
- url: v(s),
4941
+ url: b(s),
4939
4942
  options: i
4940
4943
  };
4941
4944
  }
4942
4945
  };
4943
4946
  }, T = function(l) {
4944
- const r = ua(l);
4947
+ const r = ga(l);
4945
4948
  return {
4946
4949
  /**
4947
4950
  * Removes one version for good, where an archive only takes it out of service. The version is unloaded from memory, and its row and its files are deleted; other versions are untouched. Then, in the background, its own auto-runs still running are stopped and the tables its own auto-runs built under `scope: version` are reclaimed with their run records, as an archive reclaims them. Nothing is dropped before the delete commits, so a refused delete changes nothing. It cannot be undone, and it frees the version id: a later publish of the same version is a new version, with whatever content it carries. An archived version can be deleted too; that is how its files are reclaimed. Deleting the package\'s only version deletes the package with it (its row, run records and ledger), so no package is left with no version; while a publish of another version of the package is running, the package is left to that publish. Each table is tried once: one that could not be dropped is left. Tables another run of the package still references are kept, as is an orchestrated run (its tables, and a build of it still running), which the caller that instructed it owns. A delete is refused with 409 when: - the version is the package\'s `latest` and other versions remain (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service and archived versions remain (`reason` `VERSION_IS_LAST_ACTIVE`): a package that has versions always keeps one in service. Delete the archived versions first, or delete the package.
@@ -5023,7 +5026,7 @@ const ua = function(l) {
5023
5026
  return (p, d) => S(s, u, g, l)(p, i || d);
5024
5027
  }
5025
5028
  };
5026
- }, Cn = function(l, r, e) {
5029
+ }, Nn = function(l, r, e) {
5027
5030
  const t = T(l);
5028
5031
  return {
5029
5032
  /**
@@ -5101,7 +5104,7 @@ const ua = function(l) {
5101
5104
  }
5102
5105
  };
5103
5106
  };
5104
- class ga extends C {
5107
+ class Pa extends C {
5105
5108
  /**
5106
5109
  * Removes one version for good, where an archive only takes it out of service. The version is unloaded from memory, and its row and its files are deleted; other versions are untouched. Then, in the background, its own auto-runs still running are stopped and the tables its own auto-runs built under `scope: version` are reclaimed with their run records, as an archive reclaims them. Nothing is dropped before the delete commits, so a refused delete changes nothing. It cannot be undone, and it frees the version id: a later publish of the same version is a new version, with whatever content it carries. An archived version can be deleted too; that is how its files are reclaimed. Deleting the package\'s only version deletes the package with it (its row, run records and ledger), so no package is left with no version; while a publish of another version of the package is running, the package is left to that publish. Each table is tried once: one that could not be dropped is left. Tables another run of the package still references are kept, as is an orchestrated run (its tables, and a build of it still running), which the caller that instructed it owns. A delete is refused with 409 when: - the version is the package\'s `latest` and other versions remain (`reason` `VERSION_IS_LATEST`): move `latest` first; - it is the package\'s last version in service and archived versions remain (`reason` `VERSION_IS_LAST_ACTIVE`): a package that has versions always keeps one in service. Delete the archived versions first, or delete the package.
5107
5110
  * @summary Delete a version
@@ -5176,7 +5179,7 @@ class ga extends C {
5176
5179
  return T(this.configuration).updatePackageVersion(r, e, t, a, n).then((o) => o(this.axios, this.basePath));
5177
5180
  }
5178
5181
  }
5179
- const Pa = function(l) {
5182
+ const Va = function(l) {
5180
5183
  return {
5181
5184
  /**
5182
5185
  * **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
@@ -5190,10 +5193,10 @@ const Pa = function(l) {
5190
5193
  let a;
5191
5194
  l && (a = l.baseOptions);
5192
5195
  const n = { method: "GET", ...a, ...r }, o = {}, s = {};
5193
- o.Accept = "application/json", b(t, s);
5196
+ o.Accept = "application/json", v(t, s);
5194
5197
  let c = a && a.headers ? a.headers : {};
5195
5198
  return n.headers = { ...o, ...c, ...r.headers }, {
5196
- url: v(t),
5199
+ url: b(t),
5197
5200
  options: n
5198
5201
  };
5199
5202
  },
@@ -5211,10 +5214,10 @@ const Pa = function(l) {
5211
5214
  let n;
5212
5215
  l && (n = l.baseOptions);
5213
5216
  const o = { method: "POST", ...n, ...e }, s = {}, c = {};
5214
- s["Content-Type"] = "application/json", s.Accept = "application/json", b(a, c);
5217
+ s["Content-Type"] = "application/json", s.Accept = "application/json", v(a, c);
5215
5218
  let i = n && n.headers ? n.headers : {};
5216
5219
  return o.headers = { ...s, ...i, ...e.headers }, o.data = A(r, o, l), {
5217
- url: v(a),
5220
+ url: b(a),
5218
5221
  options: o
5219
5222
  };
5220
5223
  },
@@ -5230,10 +5233,10 @@ const Pa = function(l) {
5230
5233
  let a;
5231
5234
  l && (a = l.baseOptions);
5232
5235
  const n = { method: "POST", ...a, ...r }, o = {}, s = {};
5233
- o.Accept = "application/json", b(t, s);
5236
+ o.Accept = "application/json", v(t, s);
5234
5237
  let c = a && a.headers ? a.headers : {};
5235
5238
  return n.headers = { ...o, ...c, ...r.headers }, {
5236
- url: v(t),
5239
+ url: b(t),
5237
5240
  options: n
5238
5241
  };
5239
5242
  },
@@ -5252,16 +5255,16 @@ const Pa = function(l) {
5252
5255
  let s;
5253
5256
  l && (s = l.baseOptions);
5254
5257
  const c = { method: "GET", ...s, ...a }, i = {}, p = {};
5255
- t !== void 0 && (p.versionId = t), i.Accept = "text/event-stream,application/json", b(o, p);
5258
+ t !== void 0 && (p.versionId = t), i.Accept = "text/event-stream,application/json", v(o, p);
5256
5259
  let d = s && s.headers ? s.headers : {};
5257
5260
  return c.headers = { ...i, ...d, ...a.headers }, {
5258
- url: v(o),
5261
+ url: b(o),
5259
5262
  options: c
5260
5263
  };
5261
5264
  }
5262
5265
  };
5263
5266
  }, L = function(l) {
5264
- const r = Pa(l);
5267
+ const r = Va(l);
5265
5268
  return {
5266
5269
  /**
5267
5270
  * **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
@@ -5311,7 +5314,7 @@ const Pa = function(l) {
5311
5314
  return (i, p) => S(o, u, g, l)(i, c || p);
5312
5315
  }
5313
5316
  };
5314
- }, In = function(l, r, e) {
5317
+ }, Un = function(l, r, e) {
5315
5318
  const t = L(l);
5316
5319
  return {
5317
5320
  /**
@@ -5359,7 +5362,7 @@ const Pa = function(l) {
5359
5362
  }
5360
5363
  };
5361
5364
  };
5362
- class Va extends C {
5365
+ class va extends C {
5363
5366
  /**
5364
5367
  * **DEPRECATED**: use the admin API\'s `GET /watch-mode` (`admin-api-doc.yaml`); watch mode is an operator\'s control, not part of serving. This route is removed in a later release. 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.
5365
5368
  * @summary Get watch mode status
@@ -5477,7 +5480,7 @@ class ba {
5477
5480
  return r !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(r);
5478
5481
  }
5479
5482
  }
5480
- const va = new ke({
5483
+ const Sa = new Oe({
5481
5484
  defaultOptions: {
5482
5485
  queries: {
5483
5486
  // Not retried: `useQueryWithApiError` surfaces a failure the moment it
@@ -5496,12 +5499,25 @@ const va = new ke({
5496
5499
  throwOnError: !1
5497
5500
  }
5498
5501
  }
5499
- }), xn = {
5502
+ }), Tn = {
5500
5503
  staleTime: 300 * 1e3,
5501
5504
  refetchOnWindowFocus: !1,
5502
5505
  refetchOnReconnect: !1
5503
- }, ae = "publisher:themeMode";
5504
- function Sa() {
5506
+ };
5507
+ function ka(l, r) {
5508
+ return r || l?.modelPage === "viewer" ? "viewer" : "explorer";
5509
+ }
5510
+ function Oa(l) {
5511
+ return {
5512
+ modelPage: ka(
5513
+ l.data,
5514
+ l.isError && l.data === void 0
5515
+ ),
5516
+ isLoadingStatus: l.isPending
5517
+ };
5518
+ }
5519
+ const ae = "publisher:themeMode";
5520
+ function Aa() {
5505
5521
  if (!(typeof window > "u"))
5506
5522
  try {
5507
5523
  const l = window.localStorage.getItem(ae);
@@ -5509,18 +5525,18 @@ function Sa() {
5509
5525
  } catch {
5510
5526
  }
5511
5527
  }
5512
- function ka(l) {
5528
+ function ya(l) {
5513
5529
  if (!(typeof window > "u"))
5514
5530
  try {
5515
5531
  l === void 0 ? window.localStorage.removeItem(ae) : window.localStorage.setItem(ae, l);
5516
5532
  } catch {
5517
5533
  }
5518
5534
  }
5519
- function Oa() {
5535
+ function Ca() {
5520
5536
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia("(prefers-color-scheme: dark)").matches;
5521
5537
  }
5522
5538
  u.defaults.baseURL || (u.defaults.baseURL = "IfYouAreSeeingThis_baseURL_IsNotSet");
5523
- const ge = le(void 0), Aa = (l, r) => {
5539
+ const Pe = ie(void 0), Ia = (l, r) => {
5524
5540
  const e = `${window.location.protocol}//${window.location.host}/api/v0`, t = u.create({
5525
5541
  baseURL: l || e,
5526
5542
  withCredentials: !0,
@@ -5532,26 +5548,26 @@ const ge = le(void 0), Aa = (l, r) => {
5532
5548
  });
5533
5549
  const a = new ba({ basePath: e });
5534
5550
  return {
5535
- models: new na(a, e, t),
5536
- publisher: new ia(a, e, t),
5537
- environments: new Ze(a, e, t),
5538
- packages: new ca(a, e, t),
5539
- agents: new Qe(a, e, t),
5540
- dashboards: new We(a, e, t),
5541
- dataApps: new $e(a, e, t),
5542
- notebooks: new oa(a, e, t),
5543
- reports: new da(a, e, t),
5544
- connections: new He(a, e, t),
5545
- databases: new Je(a, e, t),
5546
- materializations: new aa(
5551
+ models: new ra(a, e, t),
5552
+ publisher: new pa(a, e, t),
5553
+ environments: new ea(a, e, t),
5554
+ packages: new la(a, e, t),
5555
+ agents: new ze(a, e, t),
5556
+ dashboards: new Ke(a, e, t),
5557
+ dataApps: new Ye(a, e, t),
5558
+ notebooks: new sa(a, e, t),
5559
+ reports: new ma(a, e, t),
5560
+ connections: new _e(a, e, t),
5561
+ databases: new Xe(a, e, t),
5562
+ materializations: new ta(
5547
5563
  a,
5548
5564
  e,
5549
5565
  t
5550
5566
  ),
5551
- watchMode: new Va(a, e, t),
5552
- versions: new ga(a, e, t)
5567
+ watchMode: new va(a, e, t),
5568
+ versions: new Pa(a, e, t)
5553
5569
  };
5554
- }, Rn = (l) => /* @__PURE__ */ q(Oe, { client: va, children: /* @__PURE__ */ q(ya, { ...l }) }), ya = ({
5570
+ }, En = (l) => /* @__PURE__ */ Q(Ae, { client: Sa, children: /* @__PURE__ */ Q(xa, { ...l }) }), xa = ({
5555
5571
  children: l,
5556
5572
  getAccessToken: r,
5557
5573
  baseURL: e,
@@ -5560,227 +5576,233 @@ const ge = le(void 0), Aa = (l, r) => {
5560
5576
  ui: n
5561
5577
  }) => {
5562
5578
  const o = B(
5563
- () => Aa(e, r),
5579
+ () => Ia(e, r),
5564
5580
  [e, r]
5565
- ), s = e || `${window.location.protocol}//${window.location.host}/api/v0`, c = Ae({
5566
- queryKey: ["status"],
5581
+ ), s = e || `${window.location.protocol}//${window.location.host}/api/v0`, c = ye({
5582
+ queryKey: ["status", s],
5583
+ // Retried, unlike the client's other reads: the model page depends on
5584
+ // the answer for the whole session, and one dropped request would
5585
+ // otherwise settle it.
5586
+ retry: 3,
5567
5587
  queryFn: async () => (await o.publisher.getStatus()).data
5568
5588
  });
5569
5589
  c.error && console.error("Failed to fetch publisher status:", c.error);
5570
- const i = c.data?.frozenConfig, p = c.data?.theme, d = c.isLoading;
5571
- let h;
5572
- c.isLoading || c.error ? h = t : i ? h = !1 : h = t ?? !0;
5573
- const k = B(
5590
+ const i = c.data?.frozenConfig, p = c.data?.theme, { modelPage: d, isLoadingStatus: h } = Oa(c);
5591
+ let k;
5592
+ c.isLoading || c.error ? k = t : i ? k = !1 : k = t ?? !0;
5593
+ const O = B(
5574
5594
  () => [p, a],
5575
5595
  [p, a]
5576
- ), [O, I] = re(
5577
- Sa
5578
- ), [N, Pe] = re(Oa);
5579
- ye(() => {
5596
+ ), [I, N] = oe(
5597
+ Aa
5598
+ ), [te, Ve] = oe(Ca);
5599
+ Ce(() => {
5580
5600
  if (typeof window > "u" || !window.matchMedia) return;
5581
- const f = window.matchMedia("(prefers-color-scheme: dark)"), ne = (Se) => Pe(Se.matches);
5582
- return f.addEventListener("change", ne), () => f.removeEventListener("change", ne);
5601
+ const f = window.matchMedia("(prefers-color-scheme: dark)"), re = (ke) => Ve(ke.matches);
5602
+ return f.addEventListener("change", re), () => f.removeEventListener("change", re);
5583
5603
  }, []);
5584
- const Ve = Ce((f) => {
5585
- I(f), ka(f);
5586
- }, []), te = p?.allowUserToggle ?? !0, G = te ? O : void 0, be = B(
5587
- () => Be(
5604
+ const ve = Ie((f) => {
5605
+ N(f), ya(f);
5606
+ }, []), ne = p?.allowUserToggle ?? !0, G = ne ? I : void 0, be = B(
5607
+ () => je(
5588
5608
  p?.defaultMode,
5589
5609
  G,
5590
- N
5610
+ te
5591
5611
  ),
5592
- [p?.defaultMode, G, N]
5593
- ), ve = {
5612
+ [p?.defaultMode, G, te]
5613
+ ), Se = {
5594
5614
  server: s,
5595
5615
  getAccessToken: r,
5596
5616
  apiClients: o,
5597
- mutable: h,
5598
- isLoadingStatus: d,
5599
- instanceTheme: p
5617
+ mutable: k,
5618
+ isLoadingStatus: h,
5619
+ instanceTheme: p,
5620
+ modelPage: d
5600
5621
  };
5601
- return /* @__PURE__ */ q(ge.Provider, { value: ve, children: /* @__PURE__ */ q(
5602
- je,
5622
+ return /* @__PURE__ */ Q(Pe.Provider, { value: Se, children: /* @__PURE__ */ Q(
5623
+ De,
5603
5624
  {
5604
- layers: k,
5625
+ layers: O,
5605
5626
  mode: be,
5606
5627
  userChoice: G,
5607
- setMode: Ve,
5608
- allowUserToggle: te,
5628
+ setMode: ve,
5629
+ allowUserToggle: ne,
5609
5630
  ...n ? { ui: n } : {},
5610
5631
  children: l
5611
5632
  }
5612
5633
  ) });
5613
- }, Nn = () => {
5614
- const l = ce(ge);
5634
+ }, fn = () => {
5635
+ const l = le(Pe);
5615
5636
  if (l === void 0)
5616
5637
  throw new Error("useServer must be used within a ServerProvider");
5617
5638
  return l;
5618
5639
  };
5619
5640
  export {
5620
- pt as $,
5621
- Qe as A,
5641
+ ht as $,
5642
+ ze as A,
5622
5643
  X as B,
5623
- za as C,
5624
- Xa as D,
5625
- et as E,
5626
- $e as F,
5627
- Ke as G,
5628
- pn as H,
5629
- he as I,
5630
- at as J,
5631
- Je as K,
5632
- Ye as L,
5633
- dn as M,
5634
- ue as N,
5635
- Ze as O,
5636
- Xe as P,
5637
- mn as Q,
5644
+ Ga as C,
5645
+ at as D,
5646
+ nt as E,
5647
+ Ye as F,
5648
+ $e as G,
5649
+ un as H,
5650
+ ue as I,
5651
+ rt as J,
5652
+ Xe as K,
5653
+ Je as L,
5654
+ gn as M,
5655
+ ge as N,
5656
+ ea as O,
5657
+ Ze as P,
5658
+ Pn as Q,
5638
5659
  w as R,
5639
- Vn as S,
5640
- tt as T,
5641
- nt as U,
5642
- rn as V,
5643
- rt as W,
5644
- ot as X,
5645
- st as Y,
5646
- it as Z,
5647
- ct as _,
5660
+ kn as S,
5661
+ ot as T,
5662
+ st as U,
5663
+ ln as V,
5664
+ ct as W,
5665
+ lt as X,
5666
+ it as Y,
5667
+ mt as Z,
5668
+ pt as _,
5648
5669
  qe as a,
5649
- Kt as a$,
5650
- lt as a0,
5651
- un as a1,
5652
- dt as a2,
5653
- aa as a3,
5654
- ea as a4,
5655
- hn as a5,
5670
+ Jt as a$,
5671
+ dt as a0,
5672
+ vn as a1,
5673
+ ut as a2,
5674
+ ta as a3,
5675
+ aa as a4,
5676
+ Vn as a5,
5656
5677
  M as a6,
5657
- mt as a7,
5658
- na as a8,
5659
- ta as a9,
5660
- ft as aA,
5661
- wt as aB,
5662
- ca as aC,
5663
- sa as aD,
5664
- bn as aE,
5678
+ gt as a7,
5679
+ ra as a8,
5680
+ na as a9,
5681
+ Ft as aA,
5682
+ Bt as aB,
5683
+ la as aC,
5684
+ ca as aD,
5685
+ On as aE,
5665
5686
  R as aF,
5666
- Mt as aG,
5667
- Ft as aH,
5668
- ia as aI,
5669
- la as aJ,
5670
- vn as aK,
5687
+ jt as aG,
5688
+ Dt as aH,
5689
+ pa as aI,
5690
+ ia as aJ,
5691
+ An as aK,
5671
5692
  D as aL,
5672
- Bt as aM,
5673
- jt as aN,
5674
- Dt as aO,
5675
- Lt as aP,
5676
- qt as aQ,
5677
- zt as aR,
5678
- Qt as aS,
5679
- _t as aT,
5680
- Ht as aU,
5681
- Gt as aV,
5682
- Wt as aW,
5683
- da as aX,
5684
- pa as aY,
5685
- Sn as aZ,
5693
+ Lt as aM,
5694
+ Qt as aN,
5695
+ qt as aO,
5696
+ zt as aP,
5697
+ Ht as aQ,
5698
+ Gt as aR,
5699
+ _t as aS,
5700
+ Kt as aT,
5701
+ Wt as aU,
5702
+ $t as aV,
5703
+ Yt as aW,
5704
+ ma as aX,
5705
+ da as aY,
5706
+ yn as aZ,
5686
5707
  Z as a_,
5687
- gn as aa,
5708
+ bn as aa,
5688
5709
  F as ab,
5689
- ut as ac,
5690
- Pt as ad,
5691
- gt as ae,
5692
- ht as af,
5693
- oa as ag,
5694
- ra as ah,
5695
- Pn as ai,
5710
+ Vt as ac,
5711
+ bt as ad,
5712
+ vt as ae,
5713
+ Pt as af,
5714
+ sa as ag,
5715
+ oa as ah,
5716
+ Sn as ai,
5696
5717
  H as aj,
5697
- Vt as ak,
5698
- Ot as al,
5699
- At as am,
5700
- kt as an,
5701
- St as ao,
5702
- vt as ap,
5703
- bt as aq,
5704
- yt as ar,
5705
- Ct as as,
5706
- It as at,
5707
- Ut as au,
5708
- Tt as av,
5709
- Nt as aw,
5710
- Rt as ax,
5711
- xt as ay,
5712
- Et as az,
5713
- nn as b,
5714
- $t as b0,
5715
- Rn as b1,
5716
- Yt as b2,
5717
- Jt as b3,
5718
- Xt as b4,
5719
- Zt as b5,
5720
- en as b6,
5721
- On as b7,
5722
- ma as b8,
5723
- kn as b9,
5724
- Fa as bA,
5718
+ St as ak,
5719
+ Ct as al,
5720
+ It as am,
5721
+ yt as an,
5722
+ At as ao,
5723
+ Ot as ap,
5724
+ kt as aq,
5725
+ xt as ar,
5726
+ Rt as as,
5727
+ Nt as at,
5728
+ ft as au,
5729
+ wt as av,
5730
+ Et as aw,
5731
+ Tt as ax,
5732
+ Ut as ay,
5733
+ Mt as az,
5734
+ cn as b,
5735
+ Xt as b0,
5736
+ En as b1,
5737
+ tn as b2,
5738
+ Zt as b3,
5739
+ en as b4,
5740
+ an as b5,
5741
+ nn as b6,
5742
+ rn as b7,
5743
+ In as b8,
5744
+ ha as b9,
5745
+ ja as bA,
5725
5746
  Ba as bB,
5726
- Ea as bC,
5727
- fa as bD,
5728
- x as bE,
5729
- Y as bF,
5730
- je as bG,
5731
- se as bH,
5732
- ja as bI,
5733
- Ne as bJ,
5734
- Be as bK,
5735
- xn as bL,
5736
- ee as ba,
5737
- yn as bb,
5738
- ha as bc,
5739
- An as bd,
5740
- _ as be,
5741
- an as bf,
5742
- tn as bg,
5743
- ga as bh,
5744
- ua as bi,
5745
- Cn as bj,
5746
- T as bk,
5747
- Va as bl,
5748
- Pa as bm,
5749
- In as bn,
5750
- L as bo,
5751
- va as bp,
5752
- La as bq,
5753
- Nn as br,
5754
- Fe as bs,
5755
- pe as bt,
5756
- Da as bu,
5757
- U as bv,
5758
- Ta as bw,
5759
- Ua as bx,
5760
- Ma as by,
5761
- wa as bz,
5747
+ Da as bC,
5748
+ La as bD,
5749
+ Ma as bE,
5750
+ Fa as bF,
5751
+ Y as bG,
5752
+ De as bH,
5753
+ ce as bI,
5754
+ Qa as bJ,
5755
+ Ue as bK,
5756
+ je as bL,
5757
+ Tn as bM,
5758
+ Cn as ba,
5759
+ ee as bb,
5760
+ Rn as bc,
5761
+ ua as bd,
5762
+ xn as be,
5763
+ _ as bf,
5764
+ on as bg,
5765
+ sn as bh,
5766
+ Pa as bi,
5767
+ ga as bj,
5768
+ Nn as bk,
5769
+ T as bl,
5770
+ va as bm,
5771
+ Va as bn,
5772
+ Un as bo,
5773
+ L as bp,
5774
+ Sa as bq,
5775
+ za as br,
5776
+ fn as bs,
5777
+ Be as bt,
5778
+ de as bu,
5779
+ qa as bv,
5780
+ U as bw,
5781
+ wa as bx,
5782
+ fa as by,
5783
+ x as bz,
5762
5784
  z as c,
5763
- qa as d,
5764
- Qa as e,
5765
- Ha as f,
5766
- _a as g,
5767
- Wa as h,
5768
- Ga as i,
5785
+ Ha as d,
5786
+ _a as e,
5787
+ Wa as f,
5788
+ Ka as g,
5789
+ Ya as h,
5790
+ $a as i,
5769
5791
  ba as j,
5770
- $a as k,
5771
- Ya as l,
5772
- Ka as m,
5773
- He as n,
5774
- ze as o,
5775
- on as p,
5792
+ Xa as k,
5793
+ Za as l,
5794
+ Ja as m,
5795
+ _e as n,
5796
+ He as o,
5797
+ pn as p,
5776
5798
  y as q,
5777
- cn as r,
5778
- _e as s,
5779
- sn as t,
5780
- me as u,
5781
- Ja as v,
5782
- Za as w,
5783
- We as x,
5784
- Ge as y,
5785
- ln as z
5799
+ mn as r,
5800
+ Ge as s,
5801
+ dn as t,
5802
+ he as u,
5803
+ et as v,
5804
+ tt as w,
5805
+ Ke as x,
5806
+ We as y,
5807
+ hn as z
5786
5808
  };