@malloy-publisher/sdk 0.9.3 → 0.9.5

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 (53) hide show
  1. package/dist/{RenderedResult-DwB0-9Yx.es.js → RenderedResult-BUb2Xvr2.es.js} +34 -19
  2. package/dist/{RenderedResult-hKjFEqaN.cjs.js → RenderedResult-qnpbr4tc.cjs.js} +15 -3
  3. package/dist/{ServerProvider-CcSrGaRN.es.js → ServerProvider-C6QQVKPm.es.js} +149 -141
  4. package/dist/ServerProvider-Gj-im5VD.cjs.js +1 -0
  5. package/dist/builder/index.cjs.js +82 -82
  6. package/dist/builder/index.es.js +3242 -3188
  7. package/dist/client/api.d.ts +49 -10
  8. package/dist/client/index.cjs.js +1 -1
  9. package/dist/client/index.es.js +57 -56
  10. package/dist/components/DashboardBuilder/AddTileDialog.d.ts +8 -5
  11. package/dist/components/DashboardBuilder/DashboardBuilder.d.ts +3 -1
  12. package/dist/components/DashboardBuilder/addTileToDocument.d.ts +14 -0
  13. package/dist/components/DashboardBuilder/catalog.d.ts +5 -1
  14. package/dist/components/DashboardBuilder/imports.d.ts +11 -12
  15. package/dist/components/DashboardBuilder/spliceDocument.d.ts +2 -0
  16. package/dist/components/DashboardBuilder/useDashboardEditor.d.ts +2 -0
  17. package/dist/components/DashboardBuilder/useTileEditing.d.ts +3 -1
  18. package/dist/index.cjs.js +1 -1
  19. package/dist/index.es.js +5 -5
  20. package/dist/theme/buildVegaThemeOverride.d.ts +7 -3
  21. package/dist/{useCompiledDocument-BU6d8FPp.es.js → useCompiledDocument-0sxonf6N.es.js} +3707 -3686
  22. package/dist/{useCompiledDocument-pOg2W-Yt.cjs.js → useCompiledDocument-tBejqZ7s.cjs.js} +31 -31
  23. package/package.json +2 -1
  24. package/src/components/DashboardBuilder/AddTileDialog.tsx +16 -11
  25. package/src/components/DashboardBuilder/DashboardBuilder.sources.spec.tsx +13 -5
  26. package/src/components/DashboardBuilder/DashboardBuilder.tsx +5 -0
  27. package/src/components/DashboardBuilder/DashboardEditor.emptyStart.spec.tsx +3 -0
  28. package/src/components/DashboardBuilder/DashboardEditor.resourceUri.spec.tsx +3 -0
  29. package/src/components/DashboardBuilder/DashboardEditor.spec.tsx +10 -2
  30. package/src/components/DashboardBuilder/DashboardEditor.textSource.spec.tsx +79 -3
  31. package/src/components/DashboardBuilder/EditorSurface.tsx +30 -2
  32. package/src/components/DashboardBuilder/addTile.compile.spec.ts +184 -0
  33. package/src/components/DashboardBuilder/addTileToDocument.spec.ts +58 -0
  34. package/src/components/DashboardBuilder/addTileToDocument.ts +64 -0
  35. package/src/components/DashboardBuilder/catalog.aggregate.spec.ts +1 -0
  36. package/src/components/DashboardBuilder/catalog.spec.ts +79 -3
  37. package/src/components/DashboardBuilder/catalog.ts +23 -5
  38. package/src/components/DashboardBuilder/imports.spec.ts +56 -0
  39. package/src/components/DashboardBuilder/imports.ts +16 -13
  40. package/src/components/DashboardBuilder/preview.spec.ts +21 -0
  41. package/src/components/DashboardBuilder/preview.ts +10 -1
  42. package/src/components/DashboardBuilder/spliceDocument.spec.ts +24 -9
  43. package/src/components/DashboardBuilder/spliceDocument.ts +18 -6
  44. package/src/components/DashboardBuilder/useDashboardEditor.ts +6 -2
  45. package/src/components/DashboardBuilder/useTileEditing.ts +13 -48
  46. package/src/components/RenderedResult/RenderedResult.tsx +12 -0
  47. package/src/components/given/GivenInput.tsx +39 -16
  48. package/src/components/given/utils.spec.ts +5 -0
  49. package/src/components/given/utils.ts +1 -1
  50. package/src/theme/buildVegaThemeOverride.spec.ts +11 -1
  51. package/src/theme/buildVegaThemeOverride.ts +10 -3
  52. package/src/timezone_runs.spec.ts +64 -0
  53. package/dist/ServerProvider-Gbf1YPOP.cjs.js +0 -1
@@ -468,92 +468,95 @@ const v = function(c, ...t) {
468
468
  Persist: "persist",
469
469
  Preaggregate: "preaggregate"
470
470
  }, Ha = {
471
+ Reused: "reused",
472
+ Recomputed: "recomputed"
473
+ }, _a = {
471
474
  Live: "live",
472
475
  StaleOk: "stale_ok",
473
476
  Fail: "fail"
474
- }, _a = {
477
+ }, Wa = {
475
478
  Delta: "delta",
476
479
  Full: "full",
477
480
  None: "none"
478
- }, Wa = {
481
+ }, Ga = {
479
482
  Pending: "PENDING",
480
483
  ManifestRowsReady: "MANIFEST_ROWS_READY",
481
484
  ManifestFileReady: "MANIFEST_FILE_READY",
482
485
  Failed: "FAILED",
483
486
  Cancelled: "CANCELLED"
484
- }, Ga = {
487
+ }, $a = {
485
488
  Markdown: "markdown",
486
489
  Code: "code"
487
- }, $a = {
490
+ }, Ka = {
488
491
  Markdown: "markdown",
489
492
  Query: "query",
490
493
  Definition: "definition"
491
- }, Ka = {
494
+ }, Ya = {
492
495
  Markdown: "markdown",
493
496
  Code: "code"
494
- }, Ya = {
497
+ }, Ja = {
495
498
  Markdown: "markdown",
496
499
  Query: "query",
497
500
  Definition: "definition"
498
- }, Ja = {
501
+ }, Xa = {
499
502
  Version: "version",
500
503
  Package: "package"
501
- }, Xa = {
504
+ }, Za = {
502
505
  Declared: "declared",
503
506
  All: "all"
504
- }, Za = {
507
+ }, et = {
505
508
  Unbound: "unbound",
506
509
  Bound: "bound",
507
510
  LiveFallback: "live_fallback"
508
- }, et = {
511
+ }, at = {
509
512
  Lexical: "lexical",
510
513
  Indexing: "indexing",
511
514
  Ready: "ready",
512
515
  Error: "error",
513
516
  Cooldown: "cooldown",
514
517
  TooManyEntities: "too-many-entities"
515
- }, at = {
518
+ }, tt = {
516
519
  Cooldown: "cooldown",
517
520
  TooManyEntities: "too-many-entities"
518
- }, tt = {
521
+ }, nt = {
519
522
  Keyphrase: "keyphrase",
520
523
  SourceSummary: "source_summary"
521
- }, nt = {
524
+ }, rt = {
522
525
  Persist: "persist",
523
526
  Preaggregate: "preaggregate"
524
- }, rt = {
527
+ }, ot = {
525
528
  Error: "error",
526
529
  Warn: "warn"
527
- }, ot = {
530
+ }, st = {
528
531
  Persist: "persist",
529
532
  Preaggregate: "preaggregate"
530
- }, st = {
533
+ }, ct = {
531
534
  Disable: "disable",
532
535
  NoVerify: "no-verify",
533
536
  VerifyCa: "verify-ca",
534
537
  VerifyFull: "verify-full"
535
- }, ct = {
538
+ }, lt = {
536
539
  Interactive: "interactive",
537
540
  Materialize: "materialize",
538
541
  Index: "index",
539
542
  Ops: "ops"
540
- }, lt = {
543
+ }, it = {
541
544
  Query: "query",
542
545
  ServerDefault: "server_default"
543
- }, it = {
546
+ }, pt = {
544
547
  Storage: "storage",
545
548
  LiveFallback: "live_fallback"
546
- }, pt = {
549
+ }, dt = {
547
550
  Malloynb: "malloynb",
548
551
  Malloy: "malloy"
549
- }, dt = {
552
+ }, ht = {
550
553
  Snapshot: "SNAPSHOT",
551
554
  Copy: "COPY"
552
- }, ht = {
555
+ }, mt = {
553
556
  Storage: "storage",
554
557
  Colocated: "colocated",
555
558
  Preaggregate: "preaggregate"
556
- }, mt = {
559
+ }, ut = {
557
560
  FreeParameter: "free_parameter",
558
561
  Given: "given",
559
562
  GivenInPersistedQuery: "given_in_persisted_query",
@@ -568,19 +571,19 @@ const v = function(c, ...t) {
568
571
  Authorize: "authorize",
569
572
  NotDuckdbPortable: "not_duckdb_portable",
570
573
  PublicSurfaceUnknown: "public_surface_unknown"
571
- }, ut = {
574
+ }, gt = {
572
575
  Publish: "publish",
573
576
  OnDemand: "on_demand",
574
577
  Scheduler: "scheduler"
575
- }, gt = {
578
+ }, bt = {
576
579
  Config: "config",
577
580
  CredentialChain: "credential_chain"
578
- }, bt = {
581
+ }, Pt = {
579
582
  Initializing: "initializing",
580
583
  Serving: "serving",
581
584
  Draining: "draining",
582
585
  Throttled: "throttled"
583
- }, Pt = {
586
+ }, vt = {
584
587
  Light: "light",
585
588
  Dark: "dark",
586
589
  Auto: "auto"
@@ -1194,7 +1197,7 @@ const v = function(c, ...t) {
1194
1197
  return (i, p) => O(o, u, g, c)(i, l || p);
1195
1198
  }
1196
1199
  };
1197
- }, vt = function(c, t, e) {
1200
+ }, Vt = function(c, t, e) {
1198
1201
  const n = A(c);
1199
1202
  return {
1200
1203
  /**
@@ -1655,7 +1658,7 @@ const fe = function(c) {
1655
1658
  return (s, l) => O(a, u, g, c)(s, o || l);
1656
1659
  }
1657
1660
  };
1658
- }, Vt = function(c, t, e) {
1661
+ }, Ot = function(c, t, e) {
1659
1662
  const n = oe(c);
1660
1663
  return {
1661
1664
  /**
@@ -1670,7 +1673,7 @@ const fe = function(c) {
1670
1673
  }
1671
1674
  };
1672
1675
  };
1673
- class Ot extends x {
1676
+ class St extends x {
1674
1677
  /**
1675
1678
  * 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.
1676
1679
  * @summary Test database connection configuration
@@ -1761,7 +1764,7 @@ const Me = function(c) {
1761
1764
  return (i, p) => O(o, u, g, c)(i, l || p);
1762
1765
  }
1763
1766
  };
1764
- }, St = function(c, t, e) {
1767
+ }, kt = function(c, t, e) {
1765
1768
  const n = G(c);
1766
1769
  return {
1767
1770
  /**
@@ -1858,7 +1861,7 @@ const je = function(c) {
1858
1861
  return (l, i) => O(r, u, g, c)(l, s || i);
1859
1862
  }
1860
1863
  };
1861
- }, kt = function(c, t, e) {
1864
+ }, yt = function(c, t, e) {
1862
1865
  const n = se(c);
1863
1866
  return {
1864
1867
  /**
@@ -1929,7 +1932,7 @@ const De = function(c) {
1929
1932
  return (i, p) => O(o, u, g, c)(i, l || p);
1930
1933
  }
1931
1934
  };
1932
- }, yt = function(c, t, e) {
1935
+ }, At = function(c, t, e) {
1933
1936
  const n = ce(c);
1934
1937
  return {
1935
1938
  /**
@@ -2123,7 +2126,7 @@ const Qe = function(c) {
2123
2126
  return (l, i) => O(r, u, g, c)(l, s || i);
2124
2127
  }
2125
2128
  };
2126
- }, At = function(c, t, e) {
2129
+ }, Ct = function(c, t, e) {
2127
2130
  const n = w(c);
2128
2131
  return {
2129
2132
  /**
@@ -2420,7 +2423,7 @@ const Le = function(c) {
2420
2423
  return (p, d) => O(s, u, g, c)(p, i || d);
2421
2424
  }
2422
2425
  };
2423
- }, Ct = function(c, t, e) {
2426
+ }, It = function(c, t, e) {
2424
2427
  const n = E(c);
2425
2428
  return {
2426
2429
  /**
@@ -2553,7 +2556,7 @@ class He extends x {
2553
2556
  return E(this.configuration).materializationAction(t, e, n, a, r).then((o) => o(this.axios, this.basePath));
2554
2557
  }
2555
2558
  }
2556
- const It = {
2559
+ const xt = {
2557
2560
  Stop: "stop"
2558
2561
  }, _e = function(c) {
2559
2562
  return {
@@ -2581,7 +2584,7 @@ const It = {
2581
2584
  };
2582
2585
  },
2583
2586
  /**
2584
- * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets.
2587
+ * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
2585
2588
  * @summary Execute Malloy query
2586
2589
  * @param {string} environmentName Name of the environment
2587
2590
  * @param {string} packageName Name of the package
@@ -2694,7 +2697,7 @@ const It = {
2694
2697
  return (p, d) => O(s, u, g, c)(p, i || d);
2695
2698
  },
2696
2699
  /**
2697
- * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets.
2700
+ * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
2698
2701
  * @summary Execute Malloy query
2699
2702
  * @param {string} environmentName Name of the environment
2700
2703
  * @param {string} packageName Name of the package
@@ -2753,7 +2756,7 @@ const It = {
2753
2756
  return (d, m) => O(l, u, g, c)(d, p || m);
2754
2757
  }
2755
2758
  };
2756
- }, xt = function(c, t, e) {
2759
+ }, Rt = function(c, t, e) {
2757
2760
  const n = f(c);
2758
2761
  return {
2759
2762
  /**
@@ -2770,7 +2773,7 @@ const It = {
2770
2773
  return n.compileModelSource(a, r, o, s, l).then((i) => i(e, t));
2771
2774
  },
2772
2775
  /**
2773
- * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets.
2776
+ * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
2774
2777
  * @summary Execute Malloy query
2775
2778
  * @param {string} environmentName Name of the environment
2776
2779
  * @param {string} packageName Name of the package
@@ -2841,7 +2844,7 @@ class We extends x {
2841
2844
  return f(this.configuration).compileModelSource(t, e, n, a, r).then((o) => o(this.axios, this.basePath));
2842
2845
  }
2843
2846
  /**
2844
- * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets.
2847
+ * Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration. Ad-hoc query text that does not compile is a 400 whose `problems` locate each error in the submitted text. On a package with a discovery surface this holds when every `run:` in the text targets a source on the surface, or one the text derives only from such sources; text reaching any other source is answered with the 404 a hidden or missing source gets. Text that fails only at the grammar and names no source to run (for example `run` with no colon) is also a 400, because a grammar error says nothing about the model, unless the model carries any `#(authorize)` or `#(access_filter)`, or the text joins a source off the surface.
2845
2848
  * @summary Execute Malloy query
2846
2849
  * @param {string} environmentName Name of the environment
2847
2850
  * @param {string} packageName Name of the package
@@ -3020,7 +3023,7 @@ const Ge = function(c) {
3020
3023
  return (i, p) => O(o, u, g, c)(i, l || p);
3021
3024
  }
3022
3025
  };
3023
- }, Rt = function(c, t, e) {
3026
+ }, Nt = function(c, t, e) {
3024
3027
  const n = Q(c);
3025
3028
  return {
3026
3029
  /**
@@ -3111,7 +3114,7 @@ class $e extends x {
3111
3114
  return Q(this.configuration).listNotebooks(t, e, n, a).then((r) => r(this.axios, this.basePath));
3112
3115
  }
3113
3116
  }
3114
- const Nt = {
3117
+ const Tt = {
3115
3118
  True: "true",
3116
3119
  False: "false"
3117
3120
  }, Ke = function(c) {
@@ -3290,7 +3293,7 @@ const Nt = {
3290
3293
  return (i, p) => O(o, u, g, c)(i, l || p);
3291
3294
  }
3292
3295
  };
3293
- }, Tt = function(c, t, e) {
3296
+ }, Ut = function(c, t, e) {
3294
3297
  const n = M(c);
3295
3298
  return {
3296
3299
  /**
@@ -3434,19 +3437,20 @@ const Je = function(c) {
3434
3437
  /**
3435
3438
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
3436
3439
  * @summary Get server status and health information
3440
+ * @param {boolean} [includeLoading] Also list, in each environment\'s `packages`, a package that is loading here for the first time and so cannot serve yet, as its `name` and `status` only. Off by default: a listed package has always meant one that can serve here, and only a caller that reads `Package.status` can tell the two apart. A package being reloaded while it serves is listed either way.
3437
3441
  * @param {*} [options] Override http request option.
3438
3442
  * @throws {RequiredError}
3439
3443
  */
3440
- getStatus: async (t = {}) => {
3441
- const e = "/status", n = new URL(e, P);
3442
- let a;
3443
- c && (a = c.baseOptions);
3444
- const r = { method: "GET", ...a, ...t }, o = {}, s = {};
3445
- o.Accept = "application/json", v(n, s);
3446
- let l = a && a.headers ? a.headers : {};
3447
- return r.headers = { ...o, ...l, ...t.headers }, {
3448
- url: V(n),
3449
- options: r
3444
+ getStatus: async (t, e = {}) => {
3445
+ const n = "/status", a = new URL(n, P);
3446
+ let r;
3447
+ c && (r = c.baseOptions);
3448
+ const o = { method: "GET", ...r, ...e }, s = {}, l = {};
3449
+ t !== void 0 && (l.includeLoading = t), s.Accept = "application/json", v(a, l);
3450
+ let i = r && r.headers ? r.headers : {};
3451
+ return o.headers = { ...s, ...i, ...e.headers }, {
3452
+ url: V(a),
3453
+ options: o
3450
3454
  };
3451
3455
  },
3452
3456
  /**
@@ -3504,12 +3508,13 @@ const Je = function(c) {
3504
3508
  /**
3505
3509
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
3506
3510
  * @summary Get server status and health information
3511
+ * @param {boolean} [includeLoading] Also list, in each environment\'s `packages`, a package that is loading here for the first time and so cannot serve yet, as its `name` and `status` only. Off by default: a listed package has always meant one that can serve here, and only a caller that reads `Package.status` can tell the two apart. A package being reloaded while it serves is listed either way.
3507
3512
  * @param {*} [options] Override http request option.
3508
3513
  * @throws {RequiredError}
3509
3514
  */
3510
- async getStatus(e) {
3511
- const n = await t.getStatus(e), a = c?.serverIndex ?? 0, r = b["PublisherApi.getStatus"]?.[a]?.url;
3512
- return (o, s) => O(n, u, g, c)(o, r || s);
3515
+ async getStatus(e, n) {
3516
+ const a = await t.getStatus(e, n), r = c?.serverIndex ?? 0, o = b["PublisherApi.getStatus"]?.[r]?.url;
3517
+ return (s, l) => O(a, u, g, c)(s, o || l);
3513
3518
  },
3514
3519
  /**
3515
3520
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3533,7 +3538,7 @@ const Je = function(c) {
3533
3538
  return (s, l) => O(a, u, g, c)(s, o || l);
3534
3539
  }
3535
3540
  };
3536
- }, Ut = function(c, t, e) {
3541
+ }, wt = function(c, t, e) {
3537
3542
  const n = B(c);
3538
3543
  return {
3539
3544
  /**
@@ -3548,11 +3553,12 @@ const Je = function(c) {
3548
3553
  /**
3549
3554
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
3550
3555
  * @summary Get server status and health information
3556
+ * @param {boolean} [includeLoading] Also list, in each environment\'s `packages`, a package that is loading here for the first time and so cannot serve yet, as its `name` and `status` only. Off by default: a listed package has always meant one that can serve here, and only a caller that reads `Package.status` can tell the two apart. A package being reloaded while it serves is listed either way.
3551
3557
  * @param {*} [options] Override http request option.
3552
3558
  * @throws {RequiredError}
3553
3559
  */
3554
- getStatus(a) {
3555
- return n.getStatus(a).then((r) => r(e, t));
3560
+ getStatus(a, r) {
3561
+ return n.getStatus(a, r).then((o) => o(e, t));
3556
3562
  },
3557
3563
  /**
3558
3564
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3588,11 +3594,12 @@ class Xe extends x {
3588
3594
  /**
3589
3595
  * Returns the current status of the Malloy Publisher server, including initialization state, available environments, and server timestamp. This endpoint is useful for health checks and monitoring server availability.
3590
3596
  * @summary Get server status and health information
3597
+ * @param {boolean} [includeLoading] Also list, in each environment\'s `packages`, a package that is loading here for the first time and so cannot serve yet, as its `name` and `status` only. Off by default: a listed package has always meant one that can serve here, and only a caller that reads `Package.status` can tell the two apart. A package being reloaded while it serves is listed either way.
3591
3598
  * @param {*} [options] Override http request option.
3592
3599
  * @throws {RequiredError}
3593
3600
  */
3594
- getStatus(t) {
3595
- return B(this.configuration).getStatus(t).then((e) => e(this.axios, this.basePath));
3601
+ getStatus(t, e) {
3602
+ return B(this.configuration).getStatus(t, e).then((n) => n(this.axios, this.basePath));
3596
3603
  }
3597
3604
  /**
3598
3605
  * Returns the theme used by the Malloy renderer for charts/tables/dashboards. Reflects edits made via the in-app Theme Editor (persisted to the server\'s internal DuckDB metadata store via the shared StorageManager). Empty object when no theme has been configured.
@@ -3741,7 +3748,7 @@ const Ze = function(c) {
3741
3748
  return (l, i) => O(r, u, g, c)(l, s || i);
3742
3749
  }
3743
3750
  };
3744
- }, wt = function(c, t, e) {
3751
+ }, Et = function(c, t, e) {
3745
3752
  const n = j(c);
3746
3753
  return {
3747
3754
  /**
@@ -3918,7 +3925,7 @@ const ta = new me({
3918
3925
  throwOnError: !1
3919
3926
  }
3920
3927
  }
3921
- }), Et = {
3928
+ }), ft = {
3922
3929
  staleTime: 300 * 1e3,
3923
3930
  refetchOnWindowFocus: !1,
3924
3931
  refetchOnReconnect: !1
@@ -3970,7 +3977,7 @@ const le = ae(void 0), sa = (c, t) => {
3970
3977
  ),
3971
3978
  watchMode: new ea(a, e, n)
3972
3979
  };
3973
- }, ft = (c) => /* @__PURE__ */ D(ue, { client: ta, children: /* @__PURE__ */ D(ca, { ...c }) }), ca = ({
3980
+ }, Mt = (c) => /* @__PURE__ */ D(ue, { client: ta, children: /* @__PURE__ */ D(ca, { ...c }) }), ca = ({
3974
3981
  children: c,
3975
3982
  getAccessToken: t,
3976
3983
  baseURL: e,
@@ -4027,110 +4034,111 @@ const le = ae(void 0), sa = (c, t) => {
4027
4034
  children: c
4028
4035
  }
4029
4036
  ) });
4030
- }, Mt = () => {
4037
+ }, Bt = () => {
4031
4038
  const c = ee(le);
4032
4039
  if (c === void 0)
4033
4040
  throw new Error("useServer must be used within a ServerProvider");
4034
4041
  return c;
4035
4042
  };
4036
4043
  export {
4037
- We as $,
4044
+ E as $,
4038
4045
  Ca as A,
4039
4046
  ja as B,
4040
4047
  xa as C,
4041
4048
  fa as D,
4042
4049
  qe as E,
4043
4050
  De as F,
4044
- yt as G,
4051
+ At as G,
4045
4052
  ce as H,
4046
4053
  ze as I,
4047
4054
  Qe as J,
4048
- At as K,
4055
+ Ct as K,
4049
4056
  w as L,
4050
- Nt as M,
4057
+ Tt as M,
4051
4058
  Fa as N,
4052
4059
  Da as O,
4053
4060
  qa as P,
4054
4061
  Qa as Q,
4055
4062
  za as R,
4056
- Ha as S,
4063
+ _a as S,
4057
4064
  La as T,
4058
- _a as U,
4059
- It as V,
4060
- Wa as W,
4061
- He as X,
4062
- Le as Y,
4063
- Ct as Z,
4064
- E as _,
4065
+ Wa as U,
4066
+ Ha as V,
4067
+ xt as W,
4068
+ Ga as X,
4069
+ He as Y,
4070
+ Le as Z,
4071
+ It as _,
4065
4072
  Ia as a,
4066
- X as a$,
4067
- _e as a0,
4068
- xt as a1,
4069
- f as a2,
4070
- $a as a3,
4071
- Ya as a4,
4072
- Ka as a5,
4073
- Ga as a6,
4074
- $e as a7,
4075
- Ge as a8,
4076
- Rt as a9,
4077
- ut as aA,
4073
+ Ne as a$,
4074
+ We as a0,
4075
+ _e as a1,
4076
+ Rt as a2,
4077
+ f as a3,
4078
+ Ka as a4,
4079
+ Ja as a5,
4080
+ Ya as a6,
4081
+ $a as a7,
4082
+ $e as a8,
4083
+ Ge as a9,
4084
+ mt as aA,
4078
4085
  gt as aB,
4079
- ft as aC,
4080
- bt as aD,
4086
+ bt as aC,
4087
+ Mt as aD,
4081
4088
  Pt as aE,
4082
- ea as aF,
4083
- Ze as aG,
4084
- wt as aH,
4085
- j as aI,
4086
- ta as aJ,
4087
- Aa as aK,
4088
- Mt as aL,
4089
- xe as aM,
4090
- ne as aN,
4091
- ua as aO,
4092
- ma as aP,
4093
- Oa as aQ,
4094
- Pa as aR,
4095
- Sa as aS,
4096
- ka as aT,
4097
- ga as aU,
4098
- ba as aV,
4099
- va as aW,
4100
- Va as aX,
4101
- I as aY,
4102
- Z as aZ,
4103
- Ne as a_,
4104
- Q as aa,
4105
- at as ab,
4089
+ vt as aF,
4090
+ ea as aG,
4091
+ Ze as aH,
4092
+ Et as aI,
4093
+ j as aJ,
4094
+ ta as aK,
4095
+ Aa as aL,
4096
+ Bt as aM,
4097
+ xe as aN,
4098
+ ne as aO,
4099
+ ua as aP,
4100
+ ma as aQ,
4101
+ Oa as aR,
4102
+ Pa as aS,
4103
+ Sa as aT,
4104
+ ka as aU,
4105
+ ga as aV,
4106
+ ba as aW,
4107
+ va as aX,
4108
+ Va as aY,
4109
+ I as aZ,
4110
+ Z as a_,
4111
+ Nt as aa,
4112
+ Q as ab,
4106
4113
  tt as ac,
4107
- et as ad,
4108
- Za as ae,
4109
- Xa as af,
4110
- Ja as ag,
4111
- nt as ah,
4114
+ nt as ad,
4115
+ at as ae,
4116
+ et as af,
4117
+ Za as ag,
4118
+ Xa as ah,
4112
4119
  rt as ai,
4113
- Ye as aj,
4114
- Ke as ak,
4115
- Tt as al,
4116
- M as am,
4117
- ot as an,
4120
+ ot as aj,
4121
+ Ye as ak,
4122
+ Ke as al,
4123
+ Ut as am,
4124
+ M as an,
4118
4125
  st as ao,
4119
- Xe as ap,
4120
- Je as aq,
4121
- Ut as ar,
4122
- B as as,
4123
- ct as at,
4126
+ ct as ap,
4127
+ Xe as aq,
4128
+ Je as ar,
4129
+ wt as as,
4130
+ B as at,
4124
4131
  lt as au,
4125
4132
  it as av,
4126
4133
  pt as aw,
4127
4134
  dt as ax,
4128
- mt as ay,
4129
- ht as az,
4135
+ ht as ay,
4136
+ ut as az,
4130
4137
  Ra as b,
4131
- ya as b0,
4132
- Re as b1,
4133
- Et as b2,
4138
+ X as b0,
4139
+ ya as b1,
4140
+ Re as b2,
4141
+ ft as b3,
4134
4142
  Na as c,
4135
4143
  Ta as d,
4136
4144
  aa as e,
@@ -4139,20 +4147,20 @@ export {
4139
4147
  Ua as h,
4140
4148
  Ee as i,
4141
4149
  we as j,
4142
- vt as k,
4150
+ Vt as k,
4143
4151
  A as l,
4144
- Ot as m,
4152
+ St as m,
4145
4153
  fe as n,
4146
- Vt as o,
4154
+ Ot as o,
4147
4155
  oe as p,
4148
4156
  Ma as q,
4149
4157
  Be as r,
4150
4158
  Me as s,
4151
- St as t,
4159
+ kt as t,
4152
4160
  G as u,
4153
4161
  Ba as v,
4154
4162
  Fe as w,
4155
4163
  je as x,
4156
- kt as y,
4164
+ yt as y,
4157
4165
  se as z
4158
4166
  };