@malloy-publisher/sdk 0.0.239 → 0.0.241

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 (43) hide show
  1. package/bunfig.toml +4 -0
  2. package/dist/ServerProvider-D40U1tBk.cjs.js +1 -0
  3. package/dist/{ServerProvider-kzoOMXNx.es.js → ServerProvider-FQ4I4dKu.es.js} +250 -241
  4. package/dist/client/api.d.ts +181 -109
  5. package/dist/client/configuration.d.ts +1 -1
  6. package/dist/client/index.cjs.js +1 -1
  7. package/dist/client/index.d.ts +1 -1
  8. package/dist/client/index.es.js +70 -68
  9. package/dist/components/{PageViewer/PageViewer.d.ts → DataAppViewer/DataAppViewer.d.ts} +6 -6
  10. package/dist/components/DataAppViewer/index.d.ts +1 -0
  11. package/dist/components/Package/ContentTypeIcon.d.ts +1 -1
  12. package/dist/components/ServerProvider.d.ts +2 -2
  13. package/dist/components/index.d.ts +1 -1
  14. package/dist/{core-DtPGM_JB.cjs.js → core-2tUy-45C.cjs.js} +1 -1
  15. package/dist/{core-BGHaIj_q.es.js → core-KFsKleo0.es.js} +1 -1
  16. package/dist/hooks/useGivensForm.d.ts +8 -4
  17. package/dist/{index-B2gBd2gP.cjs.js → index-C0EfXZ-k.cjs.js} +31 -31
  18. package/dist/{index-CEteIhTc.es.js → index-D2sq6csh.es.js} +1825 -1829
  19. package/dist/index.cjs.js +1 -1
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.es.js +34 -34
  22. package/dist/utils/{pageEmbed.d.ts → dataAppEmbed.d.ts} +7 -7
  23. package/package.json +7 -4
  24. package/src/components/{PageViewer/PageViewer.tsx → DataAppViewer/DataAppViewer.tsx} +41 -36
  25. package/src/components/DataAppViewer/index.ts +1 -0
  26. package/src/components/Package/ContentTypeIcon.tsx +2 -2
  27. package/src/components/Package/Package.tsx +28 -30
  28. package/src/components/ServerProvider.tsx +2 -2
  29. package/src/components/given/GivenInput.spec.tsx +206 -0
  30. package/src/components/given/GivenInput.tsx +6 -1
  31. package/src/components/index.ts +1 -1
  32. package/src/hooks/useGivensForm.spec.ts +99 -0
  33. package/src/hooks/useGivensForm.ts +14 -5
  34. package/src/index.ts +1 -1
  35. package/src/utils/{pageEmbed.spec.ts → dataAppEmbed.spec.ts} +1 -1
  36. package/src/utils/{pageEmbed.ts → dataAppEmbed.ts} +9 -9
  37. package/test/README.md +130 -0
  38. package/test/setup.ts +26 -0
  39. package/tsconfig.json +12 -1
  40. package/tsconfig.spec.json +22 -0
  41. package/dist/ServerProvider-nJNqhxy6.cjs.js +0 -1
  42. package/dist/components/PageViewer/index.d.ts +0 -1
  43. package/src/components/PageViewer/index.ts +0 -1
@@ -260,6 +260,12 @@ export interface BuildInstructions {
260
260
  * @memberof BuildInstructions
261
261
  */
262
262
  'strictUpstreams'?: boolean;
263
+ /**
264
+ * The incremental ledger for this run, supplied by the caller: each entry is a `ManifestEntry.ledger` an earlier run reported, returned unmodified. Absent, the publisher uses its own ledger store — today\'s behavior, every existing caller. Present (even empty), it IS the ledger for this run: boundaries are read from here, the local store is neither read nor written, and an incremental source with no entry here seeds. An entry that does not validate against this run is a 400 (see `LedgerEntry`); an entry for a source being `reseed`-ed is ignored. For an orchestrator that dispatches one package\'s refreshes across interchangeable workers: the local store is per-process, so a refresh landing on a worker that has never built the table would otherwise re-seed a source whose whole purpose is not being rebuilt.
265
+ * @type {Array<LedgerEntry>}
266
+ * @memberof BuildInstructions
267
+ */
268
+ 'ledger'?: Array<LedgerEntry>;
263
269
  }
264
270
  /**
265
271
  * Build output. Maps each sourceEntityId a build produced to its physical table. Returned inline; the caller persists it.
@@ -794,6 +800,47 @@ export interface CreateMaterializationRequest {
794
800
  */
795
801
  'runContext'?: RunContext | null;
796
802
  }
803
+ /**
804
+ * An in-package HTML data app within a Malloy package - a static page served from the package\'s public/ directory
805
+ * @export
806
+ * @interface DataApp
807
+ */
808
+ export interface DataApp {
809
+ /**
810
+ * Canonical URL to the served data app. Root-relative and does NOT carry the /api/v0 prefix, because a data app is a static asset served off the server root rather than an API resource.
811
+ * @type {string}
812
+ * @memberof DataApp
813
+ */
814
+ 'resource'?: string;
815
+ /**
816
+ * Name of the package containing this data app
817
+ * @type {string}
818
+ * @memberof DataApp
819
+ */
820
+ 'packageName'?: string;
821
+ /**
822
+ * Relative path to the HTML file within its package directory
823
+ * @type {string}
824
+ * @memberof DataApp
825
+ */
826
+ 'path'?: string;
827
+ /**
828
+ * Title extracted from the file\'s <title> tag, or the path if not present
829
+ * @type {string}
830
+ * @memberof DataApp
831
+ */
832
+ 'title'?: string;
833
+ /**
834
+ * Layout hint read from a <meta name=\"publisher:fit\"> tag in the page <head>. \"viewport\" tells the embedded viewer to fill the available height instead of auto-sizing to the content height, for full-screen apps like slide decks. Omitted for an ordinary content-driven app, which keeps content-height auto-sizing.
835
+ * @type {string}
836
+ * @memberof DataApp
837
+ */
838
+ 'fit'?: DataAppFitEnum;
839
+ }
840
+ export declare const DataAppFitEnum: {
841
+ readonly Viewport: "viewport";
842
+ };
843
+ export type DataAppFitEnum = typeof DataAppFitEnum[keyof typeof DataAppFitEnum];
797
844
  /**
798
845
  * Embedded database within a Malloy package
799
846
  * @export
@@ -1208,6 +1255,66 @@ export interface GivenSuggest {
1208
1255
  */
1209
1256
  'dimension'?: string;
1210
1257
  }
1258
+ /**
1259
+ * One incremental source\'s `covered_through` boundary: the table it belongs to, the boundary itself, and the source definition it was measured under. Reported on the manifest entry of every incrementally refreshed source. A caller that owns the ledger stores each one and returns it verbatim in `BuildInstructions.ledger` on the next run — only the publisher derives these values. A returned entry is validated at create time: one naming a table the run does not instruct, or whose `sourceEntityId` is no longer the source\'s, is a 400. After a publish or rollback that changes the source, delete the entry (the source seeds) or set `reseed`.
1260
+ * @export
1261
+ * @interface LedgerEntry
1262
+ */
1263
+ export interface LedgerEntry {
1264
+ /**
1265
+ * With `physicalTableName`, the table the boundary belongs to.
1266
+ * @type {string}
1267
+ * @memberof LedgerEntry
1268
+ */
1269
+ 'connectionName': string;
1270
+ /**
1271
+ * The table\'s logical (unquoted) name, as the manifest reports it.
1272
+ * @type {string}
1273
+ * @memberof LedgerEntry
1274
+ */
1275
+ 'physicalTableName': string;
1276
+ /**
1277
+ * Exclusive upper end of the watermark range the table holds, as canonical scalar text. The next delta starts here.
1278
+ * @type {string}
1279
+ * @memberof LedgerEntry
1280
+ */
1281
+ 'coveredThrough': string;
1282
+ /**
1283
+ * The Malloy type of `coveredThrough` (`date`, `timestamp`, `number`, `string`).
1284
+ * @type {string}
1285
+ * @memberof LedgerEntry
1286
+ */
1287
+ 'coveredThroughType': string;
1288
+ /**
1289
+ * The source\'s `watermark=` dimension the boundary measures.
1290
+ * @type {string}
1291
+ * @memberof LedgerEntry
1292
+ */
1293
+ 'watermark': string;
1294
+ /**
1295
+ * The source\'s `merge_key=` dimensions, in declared order. Absent for a keyless (range-replace) source.
1296
+ * @type {Array<string>}
1297
+ * @memberof LedgerEntry
1298
+ */
1299
+ 'mergeKeys'?: Array<string>;
1300
+ /**
1301
+ * How a delta is applied — `merge` when the source declares `merge_key=`, `range_replace` otherwise.
1302
+ * @type {string}
1303
+ * @memberof LedgerEntry
1304
+ */
1305
+ 'strategy': LedgerEntryStrategyEnum;
1306
+ /**
1307
+ * The publisher\'s CONTENT address for the source when the boundary was measured (`PersistSourcePlan.sourceEntityId`, a fingerprint of the build SQL) — NOT the caller-assigned `BuildInstruction.sourceEntityId`. The match is what guarantees a boundary is never applied to a table whose definition has moved on since it was measured.
1308
+ * @type {string}
1309
+ * @memberof LedgerEntry
1310
+ */
1311
+ 'sourceEntityId': string;
1312
+ }
1313
+ export declare const LedgerEntryStrategyEnum: {
1314
+ readonly Merge: "merge";
1315
+ readonly RangeReplace: "range_replace";
1316
+ };
1317
+ export type LedgerEntryStrategyEnum = typeof LedgerEntryStrategyEnum[keyof typeof LedgerEntryStrategyEnum];
1211
1318
  /**
1212
1319
  * A log message from render tag validation
1213
1320
  * @export
@@ -1363,17 +1470,17 @@ export interface ManifestEntry {
1363
1470
  */
1364
1471
  'freshnessFallback'?: ManifestEntryFreshnessFallbackEnum;
1365
1472
  /**
1366
- * For a source declaring `refresh=\"incremental\"`, the EXCLUSIVE upper end of the watermark range this table is now known to contain — the boundary the next refresh will start from. Canonical scalar text (`2024-07-01`, `2024-07-01 12:00:00`, `41`), interpreted per `coveredThroughType`. Reported so a caller can observe and verify incremental progress rather than infer it: a value that advanced between runs is a delta that applied. Absent for a non-incremental source, and for an incremental one whose source is empty (no boundary is derivable, so none is recorded).
1367
- * @type {string}
1473
+ * For a source refreshed incrementally, the `covered_through` boundary now in force — where the next refresh starts. Present whether the source advanced, rebuilt, or had nothing to do, so incremental progress is something a caller reads rather than infers: a `coveredThrough` that moved between runs is a delta that applied. Absent for a non-incremental source, and for an incremental one whose source is empty (no boundary is derivable, so none is recorded).
1474
+ * @type {LedgerEntry}
1368
1475
  * @memberof ManifestEntry
1369
1476
  */
1370
- 'coveredThrough'?: string;
1477
+ 'ledger'?: LedgerEntry;
1371
1478
  /**
1372
- * The Malloy type of `coveredThrough` (`date`, `timestamp`, `number`, `string`), which decides how its text is compared and rendered. Present exactly when `coveredThrough` is.
1479
+ * What this run\'s refresh DID to the table, for a source declaring `refresh=\"incremental\"`: advanced it in place by a bounded range (`delta`), rebuilt it (`full`), or applied nothing because the watermark had not moved (`none`, which leaves the boundary in `ledger` in force). Reported because it cannot be inferred: every fallback the publisher applies — no recorded boundary, a table the delta path cannot build on, `reseed` — answers success and rebuilds, so a source quietly rebuilding on every run is otherwise indistinguishable from one advancing. Present exactly when the source is refreshed incrementally, so absent means only that it is not: a source declaring `refresh=\"full\"`, or one whose declaration the delta path cannot act on at all (an unsupported dialect, `storage=`), which the publish gate rejects anyway.
1373
1480
  * @type {string}
1374
1481
  * @memberof ManifestEntry
1375
1482
  */
1376
- 'coveredThroughType'?: string;
1483
+ 'refresh'?: ManifestEntryRefreshEnum;
1377
1484
  }
1378
1485
  export declare const ManifestEntryFreshnessFallbackEnum: {
1379
1486
  readonly Live: "live";
@@ -1381,6 +1488,12 @@ export declare const ManifestEntryFreshnessFallbackEnum: {
1381
1488
  readonly Fail: "fail";
1382
1489
  };
1383
1490
  export type ManifestEntryFreshnessFallbackEnum = typeof ManifestEntryFreshnessFallbackEnum[keyof typeof ManifestEntryFreshnessFallbackEnum];
1491
+ export declare const ManifestEntryRefreshEnum: {
1492
+ readonly Delta: "delta";
1493
+ readonly Full: "full";
1494
+ readonly None: "none";
1495
+ };
1496
+ export type ManifestEntryRefreshEnum = typeof ManifestEntryRefreshEnum[keyof typeof ManifestEntryRefreshEnum];
1384
1497
  /**
1385
1498
  * A reference to an already-materialized persist upstream that the built sources may read but which is not rebuilt in this run.
1386
1499
  * @export
@@ -1908,47 +2021,6 @@ export declare const PackageWarningsInnerSeverityEnum: {
1908
2021
  readonly Warn: "warn";
1909
2022
  };
1910
2023
  export type PackageWarningsInnerSeverityEnum = typeof PackageWarningsInnerSeverityEnum[keyof typeof PackageWarningsInnerSeverityEnum];
1911
- /**
1912
- * Static HTML page (in-package data app) within a Malloy package
1913
- * @export
1914
- * @interface Page
1915
- */
1916
- export interface Page {
1917
- /**
1918
- * Canonical URL to the served page. Root-relative and does NOT carry the /api/v0 prefix, because pages are static assets served off the server root rather than API resources.
1919
- * @type {string}
1920
- * @memberof Page
1921
- */
1922
- 'resource'?: string;
1923
- /**
1924
- * Name of the package containing this page
1925
- * @type {string}
1926
- * @memberof Page
1927
- */
1928
- 'packageName'?: string;
1929
- /**
1930
- * Relative path to the HTML file within its package directory
1931
- * @type {string}
1932
- * @memberof Page
1933
- */
1934
- 'path'?: string;
1935
- /**
1936
- * Title extracted from the file\'s <title> tag, or the path if not present
1937
- * @type {string}
1938
- * @memberof Page
1939
- */
1940
- 'title'?: string;
1941
- /**
1942
- * Layout hint read from a <meta name=\"publisher:fit\"> tag in the page <head>. \"viewport\" tells the embedded page viewer to fill the available height instead of auto-sizing to the page\'s content height, for full-screen apps like slide decks. Omitted for ordinary content pages, which keep content-height auto-sizing.
1943
- * @type {string}
1944
- * @memberof Page
1945
- */
1946
- 'fit'?: PageFitEnum;
1947
- }
1948
- export declare const PageFitEnum: {
1949
- readonly Viewport: "viewport";
1950
- };
1951
- export type PageFitEnum = typeof PageFitEnum[keyof typeof PageFitEnum];
1952
2024
  /**
1953
2025
  *
1954
2026
  * @export
@@ -4047,6 +4119,69 @@ export declare class ConnectionsTestApi extends BaseAPI {
4047
4119
  */
4048
4120
  testConnectionConfiguration(connection: Connection, options?: RawAxiosRequestConfig): Promise< AxiosResponse<ConnectionStatus, any, {}>>;
4049
4121
  }
4122
+ /**
4123
+ * DataAppsApi - axios parameter creator
4124
+ * @export
4125
+ */
4126
+ export declare const DataAppsApiAxiosParamCreator: (configuration?: Configuration) => {
4127
+ /**
4128
+ * 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.
4129
+ * @summary List package data apps
4130
+ * @param {string} environmentName Name of the environment
4131
+ * @param {string} packageName Name of the package
4132
+ * @param {*} [options] Override http request option.
4133
+ * @throws {RequiredError}
4134
+ */
4135
+ listDataApps: (environmentName: string, packageName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4136
+ };
4137
+ /**
4138
+ * DataAppsApi - functional programming interface
4139
+ * @export
4140
+ */
4141
+ export declare const DataAppsApiFp: (configuration?: Configuration) => {
4142
+ /**
4143
+ * 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.
4144
+ * @summary List package data apps
4145
+ * @param {string} environmentName Name of the environment
4146
+ * @param {string} packageName Name of the package
4147
+ * @param {*} [options] Override http request option.
4148
+ * @throws {RequiredError}
4149
+ */
4150
+ listDataApps(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DataApp>>>;
4151
+ };
4152
+ /**
4153
+ * DataAppsApi - factory interface
4154
+ * @export
4155
+ */
4156
+ export declare const DataAppsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
4157
+ /**
4158
+ * 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.
4159
+ * @summary List package data apps
4160
+ * @param {string} environmentName Name of the environment
4161
+ * @param {string} packageName Name of the package
4162
+ * @param {*} [options] Override http request option.
4163
+ * @throws {RequiredError}
4164
+ */
4165
+ listDataApps(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<DataApp>>;
4166
+ };
4167
+ /**
4168
+ * DataAppsApi - object-oriented interface
4169
+ * @export
4170
+ * @class DataAppsApi
4171
+ * @extends {BaseAPI}
4172
+ */
4173
+ export declare class DataAppsApi extends BaseAPI {
4174
+ /**
4175
+ * 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.
4176
+ * @summary List package data apps
4177
+ * @param {string} environmentName Name of the environment
4178
+ * @param {string} packageName Name of the package
4179
+ * @param {*} [options] Override http request option.
4180
+ * @throws {RequiredError}
4181
+ * @memberof DataAppsApi
4182
+ */
4183
+ listDataApps(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<DataApp[], any, {}>>;
4184
+ }
4050
4185
  /**
4051
4186
  * DatabasesApi - axios parameter creator
4052
4187
  * @export
@@ -5202,69 +5337,6 @@ export declare class PackagesApi extends BaseAPI {
5202
5337
  */
5203
5338
  updatePackage(environmentName: string, packageName: string, _package: Package, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Package, any, {}>>;
5204
5339
  }
5205
- /**
5206
- * PagesApi - axios parameter creator
5207
- * @export
5208
- */
5209
- export declare const PagesApiAxiosParamCreator: (configuration?: Configuration) => {
5210
- /**
5211
- * Retrieves a list of all static HTML pages (in-package data apps) within the specified package. Each page entry includes the relative path, the package name, a canonical resource URL, and the page title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Pages\" section on the package detail view, and by anyone who wants to discover in-package data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
5212
- * @summary List package pages
5213
- * @param {string} environmentName Name of the environment
5214
- * @param {string} packageName Name of the package
5215
- * @param {*} [options] Override http request option.
5216
- * @throws {RequiredError}
5217
- */
5218
- listPages: (environmentName: string, packageName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5219
- };
5220
- /**
5221
- * PagesApi - functional programming interface
5222
- * @export
5223
- */
5224
- export declare const PagesApiFp: (configuration?: Configuration) => {
5225
- /**
5226
- * Retrieves a list of all static HTML pages (in-package data apps) within the specified package. Each page entry includes the relative path, the package name, a canonical resource URL, and the page title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Pages\" section on the package detail view, and by anyone who wants to discover in-package data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
5227
- * @summary List package pages
5228
- * @param {string} environmentName Name of the environment
5229
- * @param {string} packageName Name of the package
5230
- * @param {*} [options] Override http request option.
5231
- * @throws {RequiredError}
5232
- */
5233
- listPages(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Page>>>;
5234
- };
5235
- /**
5236
- * PagesApi - factory interface
5237
- * @export
5238
- */
5239
- export declare const PagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5240
- /**
5241
- * Retrieves a list of all static HTML pages (in-package data apps) within the specified package. Each page entry includes the relative path, the package name, a canonical resource URL, and the page title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Pages\" section on the package detail view, and by anyone who wants to discover in-package data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
5242
- * @summary List package pages
5243
- * @param {string} environmentName Name of the environment
5244
- * @param {string} packageName Name of the package
5245
- * @param {*} [options] Override http request option.
5246
- * @throws {RequiredError}
5247
- */
5248
- listPages(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Page>>;
5249
- };
5250
- /**
5251
- * PagesApi - object-oriented interface
5252
- * @export
5253
- * @class PagesApi
5254
- * @extends {BaseAPI}
5255
- */
5256
- export declare class PagesApi extends BaseAPI {
5257
- /**
5258
- * Retrieves a list of all static HTML pages (in-package data apps) within the specified package. Each page entry includes the relative path, the package name, a canonical resource URL, and the page title (extracted from the file\'s <title> tag, falling back to the path). Used by the Publisher SPA to surface a clickable \"Pages\" section on the package detail view, and by anyone who wants to discover in-package data apps programmatically without scraping the directory. Recursive depth is capped server-side to keep this cheap on large packages.
5259
- * @summary List package pages
5260
- * @param {string} environmentName Name of the environment
5261
- * @param {string} packageName Name of the package
5262
- * @param {*} [options] Override http request option.
5263
- * @throws {RequiredError}
5264
- * @memberof PagesApi
5265
- */
5266
- listPages(environmentName: string, packageName: string, options?: RawAxiosRequestConfig): Promise< AxiosResponse<Page[], any, {}>>;
5267
- }
5268
5340
  /**
5269
5341
  * PublisherApi - axios parameter creator
5270
5342
  * @export
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Malloy Publisher - Semantic Model Serving API
3
- * The Malloy Publisher - Semantic Model Serving API provides access to Malloy packages and everything they contain. A Malloy package is a directory with a `publisher.json` manifest at its root, holding Malloy models (`.malloy` files), notebooks (`.malloynb` files), embedded data (`.parquet`, `.csv`, and `.xlsx` files), and optionally an HTML data app under `public/`. ## Key Features - **Discovery**: List environments, packages, and the models, notebooks, pages, and data a package contains - **Query Execution**: Run queries against models, execute notebooks a cell at a time, and compile-check Malloy without running it - **Pages**: In-package HTML data apps served from a package\'s `public/` directory - **Materializations**: Persist Malloy sources as tables, on a schedule or on demand - **Connection Management**: Configure and test warehouse connections, and browse their schemas and tables - **Watch Mode**: File watching, and a change-event stream for development workflows ## Resource Hierarchy The API follows a hierarchical resource structure: ``` Server ├── /status, /theme server state, and the UI theme ├── /connections/test validate a connection config ├── /watch-mode/… development file watching └── Environments ├── Connections schemas, tables, and ad-hoc SQL └── Packages ├── Models query and compile ├── Notebooks execute a cell at a time ├── Pages static HTML data apps from public/ ├── Databases embedded data files ├── Materializations persisted sources ├── Connections package-scoped connection access └── Events SSE stream of file changes ``` For worked examples, see the packages this server bundles (https://github.com/malloydata/publisher/tree/main/examples); the package format is documented in docs/packages.md (https://github.com/malloydata/publisher/blob/main/docs/packages.md).
3
+ * The Malloy Publisher - Semantic Model Serving API provides access to Malloy packages and everything they contain. A Malloy package is a directory with a `publisher.json` manifest at its root, holding Malloy models (`.malloy` files), notebooks (`.malloynb` files), embedded data (`.parquet`, `.csv`, and `.xlsx` files), and optionally an HTML data app under `public/`. ## Key Features - **Discovery**: List environments, packages, and the models, notebooks, data apps, and data a package contains - **Query Execution**: Run queries against models, execute notebooks a cell at a time, and compile-check Malloy without running it - **Data Apps**: In-package HTML data apps served from a package\'s `public/` directory - **Materializations**: Persist Malloy sources as tables, on a schedule or on demand - **Connection Management**: Configure and test warehouse connections, and browse their schemas and tables - **Watch Mode**: File watching, and a change-event stream for development workflows ## Resource Hierarchy The API follows a hierarchical resource structure: ``` Server ├── /status, /theme server state, and the UI theme ├── /connections/test validate a connection config ├── /watch-mode/… development file watching └── Environments ├── Connections schemas, tables, and ad-hoc SQL └── Packages ├── Models query and compile ├── Notebooks execute a cell at a time ├── Data Apps static HTML data apps from public/ ├── Databases embedded data files ├── Materializations persisted sources ├── Connections package-scoped connection access └── Events SSE stream of file changes ``` For worked examples, see the packages this server bundles (https://github.com/malloydata/publisher/tree/main/examples); the package format is documented in docs/packages.md (https://github.com/malloydata/publisher/blob/main/docs/packages.md).
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-nJNqhxy6.cjs.js");exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PageFitEnum=e.PageFitEnum;exports.PagesApi=e.PagesApi;exports.PagesApiAxiosParamCreator=e.PagesApiAxiosParamCreator;exports.PagesApiFactory=e.PagesApiFactory;exports.PagesApiFp=e.PagesApiFp;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.Realization=e.Realization;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.useServer=e.useServer;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ServerProvider-D40U1tBk.cjs.js");exports.AttachedDatabaseTypeEnum=e.AttachedDatabaseTypeEnum;exports.AzureConnectionAuthTypeEnum=e.AzureConnectionAuthTypeEnum;exports.CompileProblemSeverityEnum=e.CompileProblemSeverityEnum;exports.CompileResultStatusEnum=e.CompileResultStatusEnum;exports.Configuration=e.Configuration;exports.ConnectionProxyTypeEnum=e.ConnectionProxyTypeEnum;exports.ConnectionStatusStatusEnum=e.ConnectionStatusStatusEnum;exports.ConnectionTypeEnum=e.ConnectionTypeEnum;exports.ConnectionsApi=e.ConnectionsApi;exports.ConnectionsApiAxiosParamCreator=e.ConnectionsApiAxiosParamCreator;exports.ConnectionsApiFactory=e.ConnectionsApiFactory;exports.ConnectionsApiFp=e.ConnectionsApiFp;exports.ConnectionsTestApi=e.ConnectionsTestApi;exports.ConnectionsTestApiAxiosParamCreator=e.ConnectionsTestApiAxiosParamCreator;exports.ConnectionsTestApiFactory=e.ConnectionsTestApiFactory;exports.ConnectionsTestApiFp=e.ConnectionsTestApiFp;exports.DataAppFitEnum=e.DataAppFitEnum;exports.DataAppsApi=e.DataAppsApi;exports.DataAppsApiAxiosParamCreator=e.DataAppsApiAxiosParamCreator;exports.DataAppsApiFactory=e.DataAppsApiFactory;exports.DataAppsApiFp=e.DataAppsApiFp;exports.DatabaseTypeEnum=e.DatabaseTypeEnum;exports.DatabasesApi=e.DatabasesApi;exports.DatabasesApiAxiosParamCreator=e.DatabasesApiAxiosParamCreator;exports.DatabasesApiFactory=e.DatabasesApiFactory;exports.DatabasesApiFp=e.DatabasesApiFp;exports.EnvironmentsApi=e.EnvironmentsApi;exports.EnvironmentsApiAxiosParamCreator=e.EnvironmentsApiAxiosParamCreator;exports.EnvironmentsApiFactory=e.EnvironmentsApiFactory;exports.EnvironmentsApiFp=e.EnvironmentsApiFp;exports.ExecuteNotebookCellBypassFiltersEnum=e.ExecuteNotebookCellBypassFiltersEnum;exports.FilterTypeEnum=e.FilterTypeEnum;exports.FreshnessFallbackEnum=e.FreshnessFallbackEnum;exports.GivenControlEnum=e.GivenControlEnum;exports.LedgerEntryStrategyEnum=e.LedgerEntryStrategyEnum;exports.LogMessageSeverityEnum=e.LogMessageSeverityEnum;exports.ManifestEntryFreshnessFallbackEnum=e.ManifestEntryFreshnessFallbackEnum;exports.ManifestEntryRefreshEnum=e.ManifestEntryRefreshEnum;exports.MaterializationActionActionEnum=e.MaterializationActionActionEnum;exports.MaterializationStatus=e.MaterializationStatus;exports.MaterializationsApi=e.MaterializationsApi;exports.MaterializationsApiAxiosParamCreator=e.MaterializationsApiAxiosParamCreator;exports.MaterializationsApiFactory=e.MaterializationsApiFactory;exports.MaterializationsApiFp=e.MaterializationsApiFp;exports.ModelsApi=e.ModelsApi;exports.ModelsApiAxiosParamCreator=e.ModelsApiAxiosParamCreator;exports.ModelsApiFactory=e.ModelsApiFactory;exports.ModelsApiFp=e.ModelsApiFp;exports.NotebookCellResultTypeEnum=e.NotebookCellResultTypeEnum;exports.NotebookCellTypeEnum=e.NotebookCellTypeEnum;exports.NotebooksApi=e.NotebooksApi;exports.NotebooksApiAxiosParamCreator=e.NotebooksApiAxiosParamCreator;exports.NotebooksApiFactory=e.NotebooksApiFactory;exports.NotebooksApiFp=e.NotebooksApiFp;exports.PackageManifestBindingStatusEnum=e.PackageManifestBindingStatusEnum;exports.PackageQueryableSourcesEnum=e.PackageQueryableSourcesEnum;exports.PackageScopeEnum=e.PackageScopeEnum;exports.PackageWarningsInnerSeverityEnum=e.PackageWarningsInnerSeverityEnum;exports.PackagesApi=e.PackagesApi;exports.PackagesApiAxiosParamCreator=e.PackagesApiAxiosParamCreator;exports.PackagesApiFactory=e.PackagesApiFactory;exports.PackagesApiFp=e.PackagesApiFp;exports.PostgresConnectionSslmodeEnum=e.PostgresConnectionSslmodeEnum;exports.PublisherApi=e.PublisherApi;exports.PublisherApiAxiosParamCreator=e.PublisherApiAxiosParamCreator;exports.PublisherApiFactory=e.PublisherApiFactory;exports.PublisherApiFp=e.PublisherApiFp;exports.QueryClass=e.QueryClass;exports.QueryResultQueryRowLimitSourceEnum=e.QueryResultQueryRowLimitSourceEnum;exports.Realization=e.Realization;exports.RunContextTriggerEnum=e.RunContextTriggerEnum;exports.ServerProvider=e.ServerProvider;exports.ServerStatusOperationalStateEnum=e.ServerStatusOperationalStateEnum;exports.ThemeDefaultModeEnum=e.ThemeDefaultModeEnum;exports.WatchModeApi=e.WatchModeApi;exports.WatchModeApiAxiosParamCreator=e.WatchModeApiAxiosParamCreator;exports.WatchModeApiFactory=e.WatchModeApiFactory;exports.WatchModeApiFp=e.WatchModeApiFp;exports.globalQueryClient=e.globalQueryClient;exports.useServer=e.useServer;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Malloy Publisher - Semantic Model Serving API
3
- * The Malloy Publisher - Semantic Model Serving API provides access to Malloy packages and everything they contain. A Malloy package is a directory with a `publisher.json` manifest at its root, holding Malloy models (`.malloy` files), notebooks (`.malloynb` files), embedded data (`.parquet`, `.csv`, and `.xlsx` files), and optionally an HTML data app under `public/`. ## Key Features - **Discovery**: List environments, packages, and the models, notebooks, pages, and data a package contains - **Query Execution**: Run queries against models, execute notebooks a cell at a time, and compile-check Malloy without running it - **Pages**: In-package HTML data apps served from a package\'s `public/` directory - **Materializations**: Persist Malloy sources as tables, on a schedule or on demand - **Connection Management**: Configure and test warehouse connections, and browse their schemas and tables - **Watch Mode**: File watching, and a change-event stream for development workflows ## Resource Hierarchy The API follows a hierarchical resource structure: ``` Server ├── /status, /theme server state, and the UI theme ├── /connections/test validate a connection config ├── /watch-mode/… development file watching └── Environments ├── Connections schemas, tables, and ad-hoc SQL └── Packages ├── Models query and compile ├── Notebooks execute a cell at a time ├── Pages static HTML data apps from public/ ├── Databases embedded data files ├── Materializations persisted sources ├── Connections package-scoped connection access └── Events SSE stream of file changes ``` For worked examples, see the packages this server bundles (https://github.com/malloydata/publisher/tree/main/examples); the package format is documented in docs/packages.md (https://github.com/malloydata/publisher/blob/main/docs/packages.md).
3
+ * The Malloy Publisher - Semantic Model Serving API provides access to Malloy packages and everything they contain. A Malloy package is a directory with a `publisher.json` manifest at its root, holding Malloy models (`.malloy` files), notebooks (`.malloynb` files), embedded data (`.parquet`, `.csv`, and `.xlsx` files), and optionally an HTML data app under `public/`. ## Key Features - **Discovery**: List environments, packages, and the models, notebooks, data apps, and data a package contains - **Query Execution**: Run queries against models, execute notebooks a cell at a time, and compile-check Malloy without running it - **Data Apps**: In-package HTML data apps served from a package\'s `public/` directory - **Materializations**: Persist Malloy sources as tables, on a schedule or on demand - **Connection Management**: Configure and test warehouse connections, and browse their schemas and tables - **Watch Mode**: File watching, and a change-event stream for development workflows ## Resource Hierarchy The API follows a hierarchical resource structure: ``` Server ├── /status, /theme server state, and the UI theme ├── /connections/test validate a connection config ├── /watch-mode/… development file watching └── Environments ├── Connections schemas, tables, and ad-hoc SQL └── Packages ├── Models query and compile ├── Notebooks execute a cell at a time ├── Data Apps static HTML data apps from public/ ├── Databases embedded data files ├── Materializations persisted sources ├── Connections package-scoped connection access └── Events SSE stream of file changes ``` For worked examples, see the packages this server bundles (https://github.com/malloydata/publisher/tree/main/examples); the package format is documented in docs/packages.md (https://github.com/malloydata/publisher/blob/main/docs/packages.md).
4
4
  *
5
5
  * The version of the OpenAPI document: v0
6
6
  *
@@ -1,9 +1,9 @@
1
- import { A as e, a as o, C as i, b as t, an as n, d as r, e as p, c as A, v as u, r as m, t as c, s as l, z as C, w as E, y as P, x as y, D as F, I as b, B as g, H as k, E as M, U as S, J as x, O as d, K as h, a6 as T, F as v, f as z, G as D, L as N, M as f, Z as R, h as Q, Y as W, V as B, X as L, W as j, a1 as w, _ as G, a0 as I, $ as O, i as q, N as H, a5 as J, a2 as K, a4 as U, a3 as V, k as X, j as Y, P as Z, l as _, aa as $, a7 as aa, a9 as sa, a8 as ea, m as oa, ae as ia, ab as ta, ad as na, ac as ra, n as pa, ai as Aa, af as ua, ah as ma, ag as ca, Q as la, o as Ca, R as Ea, p as Pa, S as ya, q as Fa, T as ba, am as ga, aj as ka, al as Ma, ak as Sa, g as xa, u as da } from "../ServerProvider-kzoOMXNx.es.js";
1
+ import { A as e, a as t, C as o, b as i, ap as n, d as r, e as p, c as A, x as u, t as m, w as c, v as l, E, y as C, B as y, z as F, D as P, K as b, H as g, J as M, I as k, f as S, W as d, O as h, V as x, U as T, _ as v, X as D, Z as f, Y as z, ac as N, F as R, h as Q, G as W, L, i as B, M as j, j as w, a3 as G, k as I, a2 as O, $ as q, a1 as H, a0 as J, a7 as K, a4 as U, a6 as V, a5 as X, l as Y, N as Z, ab as _, a8 as $, aa, a9 as sa, n as ea, m as ta, P as oa, o as ia, ag as na, ad as ra, af as pa, ae as Aa, p as ua, ak as ma, ah as ca, aj as la, ai as Ea, Q as Ca, q as ya, R as Fa, r as Pa, S as ba, s as ga, T as Ma, ao as ka, al as Sa, an as da, am as ha, g as xa, u as Ta } from "../ServerProvider-FQ4I4dKu.es.js";
2
2
  export {
3
3
  e as AttachedDatabaseTypeEnum,
4
- o as AzureConnectionAuthTypeEnum,
5
- i as CompileProblemSeverityEnum,
6
- t as CompileResultStatusEnum,
4
+ t as AzureConnectionAuthTypeEnum,
5
+ o as CompileProblemSeverityEnum,
6
+ i as CompileResultStatusEnum,
7
7
  n as Configuration,
8
8
  r as ConnectionProxyTypeEnum,
9
9
  p as ConnectionStatusStatusEnum,
@@ -12,70 +12,72 @@ export {
12
12
  m as ConnectionsApiAxiosParamCreator,
13
13
  c as ConnectionsApiFactory,
14
14
  l as ConnectionsApiFp,
15
- C as ConnectionsTestApi,
16
- E as ConnectionsTestApiAxiosParamCreator,
17
- P as ConnectionsTestApiFactory,
18
- y as ConnectionsTestApiFp,
19
- F as DatabaseTypeEnum,
20
- b as DatabasesApi,
21
- g as DatabasesApiAxiosParamCreator,
22
- k as DatabasesApiFactory,
23
- M as DatabasesApiFp,
24
- S as EnvironmentsApi,
25
- x as EnvironmentsApiAxiosParamCreator,
26
- d as EnvironmentsApiFactory,
27
- h as EnvironmentsApiFp,
28
- T as ExecuteNotebookCellBypassFiltersEnum,
29
- v as FilterTypeEnum,
30
- z as FreshnessFallbackEnum,
31
- D as GivenControlEnum,
32
- N as LogMessageSeverityEnum,
33
- f as ManifestEntryFreshnessFallbackEnum,
34
- R as MaterializationActionActionEnum,
35
- Q as MaterializationStatus,
36
- W as MaterializationsApi,
37
- B as MaterializationsApiAxiosParamCreator,
38
- L as MaterializationsApiFactory,
39
- j as MaterializationsApiFp,
40
- w as ModelsApi,
41
- G as ModelsApiAxiosParamCreator,
42
- I as ModelsApiFactory,
43
- O as ModelsApiFp,
44
- q as NotebookCellResultTypeEnum,
45
- H as NotebookCellTypeEnum,
46
- J as NotebooksApi,
47
- K as NotebooksApiAxiosParamCreator,
48
- U as NotebooksApiFactory,
49
- V as NotebooksApiFp,
50
- X as PackageManifestBindingStatusEnum,
51
- Y as PackageQueryableSourcesEnum,
52
- Z as PackageScopeEnum,
53
- _ as PackageWarningsInnerSeverityEnum,
54
- $ as PackagesApi,
55
- aa as PackagesApiAxiosParamCreator,
56
- sa as PackagesApiFactory,
57
- ea as PackagesApiFp,
58
- oa as PageFitEnum,
59
- ia as PagesApi,
60
- ta as PagesApiAxiosParamCreator,
61
- na as PagesApiFactory,
62
- ra as PagesApiFp,
63
- pa as PostgresConnectionSslmodeEnum,
64
- Aa as PublisherApi,
65
- ua as PublisherApiAxiosParamCreator,
66
- ma as PublisherApiFactory,
67
- ca as PublisherApiFp,
68
- la as QueryClass,
69
- Ca as QueryResultQueryRowLimitSourceEnum,
70
- Ea as Realization,
15
+ E as ConnectionsTestApi,
16
+ C as ConnectionsTestApiAxiosParamCreator,
17
+ y as ConnectionsTestApiFactory,
18
+ F as ConnectionsTestApiFp,
19
+ P as DataAppFitEnum,
20
+ b as DataAppsApi,
21
+ g as DataAppsApiAxiosParamCreator,
22
+ M as DataAppsApiFactory,
23
+ k as DataAppsApiFp,
24
+ S as DatabaseTypeEnum,
25
+ d as DatabasesApi,
26
+ h as DatabasesApiAxiosParamCreator,
27
+ x as DatabasesApiFactory,
28
+ T as DatabasesApiFp,
29
+ v as EnvironmentsApi,
30
+ D as EnvironmentsApiAxiosParamCreator,
31
+ f as EnvironmentsApiFactory,
32
+ z as EnvironmentsApiFp,
33
+ N as ExecuteNotebookCellBypassFiltersEnum,
34
+ R as FilterTypeEnum,
35
+ Q as FreshnessFallbackEnum,
36
+ W as GivenControlEnum,
37
+ L as LedgerEntryStrategyEnum,
38
+ B as LogMessageSeverityEnum,
39
+ j as ManifestEntryFreshnessFallbackEnum,
40
+ w as ManifestEntryRefreshEnum,
41
+ G as MaterializationActionActionEnum,
42
+ I as MaterializationStatus,
43
+ O as MaterializationsApi,
44
+ q as MaterializationsApiAxiosParamCreator,
45
+ H as MaterializationsApiFactory,
46
+ J as MaterializationsApiFp,
47
+ K as ModelsApi,
48
+ U as ModelsApiAxiosParamCreator,
49
+ V as ModelsApiFactory,
50
+ X as ModelsApiFp,
51
+ Y as NotebookCellResultTypeEnum,
52
+ Z as NotebookCellTypeEnum,
53
+ _ as NotebooksApi,
54
+ $ as NotebooksApiAxiosParamCreator,
55
+ aa as NotebooksApiFactory,
56
+ sa as NotebooksApiFp,
57
+ ea as PackageManifestBindingStatusEnum,
58
+ ta as PackageQueryableSourcesEnum,
59
+ oa as PackageScopeEnum,
60
+ ia as PackageWarningsInnerSeverityEnum,
61
+ na as PackagesApi,
62
+ ra as PackagesApiAxiosParamCreator,
63
+ pa as PackagesApiFactory,
64
+ Aa as PackagesApiFp,
65
+ ua as PostgresConnectionSslmodeEnum,
66
+ ma as PublisherApi,
67
+ ca as PublisherApiAxiosParamCreator,
68
+ la as PublisherApiFactory,
69
+ Ea as PublisherApiFp,
70
+ Ca as QueryClass,
71
+ ya as QueryResultQueryRowLimitSourceEnum,
72
+ Fa as Realization,
71
73
  Pa as RunContextTriggerEnum,
72
- ya as ServerProvider,
73
- Fa as ServerStatusOperationalStateEnum,
74
- ba as ThemeDefaultModeEnum,
75
- ga as WatchModeApi,
76
- ka as WatchModeApiAxiosParamCreator,
77
- Ma as WatchModeApiFactory,
78
- Sa as WatchModeApiFp,
74
+ ba as ServerProvider,
75
+ ga as ServerStatusOperationalStateEnum,
76
+ Ma as ThemeDefaultModeEnum,
77
+ ka as WatchModeApi,
78
+ Sa as WatchModeApiAxiosParamCreator,
79
+ da as WatchModeApiFactory,
80
+ ha as WatchModeApiFp,
79
81
  xa as globalQueryClient,
80
- da as useServer
82
+ Ta as useServer
81
83
  };
@@ -1,23 +1,23 @@
1
- interface PageViewerProps {
1
+ interface DataAppViewerProps {
2
2
  resourceUri: string;
3
3
  }
4
4
  /**
5
- * Renders an in-package HTML page (from the Publisher static-file route)
5
+ * Renders an in-package HTML data app (from the Publisher static-file route)
6
6
  * inside an iframe, wrapped in light SPA chrome — title, breadcrumb-ish
7
7
  * label, and an "open standalone" escape hatch.
8
8
  *
9
9
  * The iframe `src` points at the Publisher worker's standalone URL on the
10
10
  * data origin (derived from `useServer().server`, which may differ from
11
- * the SPA origin in multi-host deployments). The page's `publisher.js`
11
+ * the SPA origin in multi-host deployments). The app's `publisher.js`
12
12
  * runtime postMessages `{ type: "publisher:resize", height }` as content
13
13
  * height changes; we listen and resize the iframe to match so embedded
14
14
  * dashboards don't get a nested scrollbar.
15
15
  *
16
16
  * Full-screen apps (e.g. slide decks) can opt out of content-height sizing
17
17
  * with `<meta name="publisher:fit" content="viewport">`, surfaced as
18
- * `Page.fit === "viewport"`. The iframe then fills the available viewport
19
- * height (matching the standalone view) instead of collapsing to the page's
18
+ * `DataApp.fit === "viewport"`. The iframe then fills the available viewport
19
+ * height (matching the standalone view) instead of collapsing to the app's
20
20
  * near-zero reported content height.
21
21
  */
22
- export default function PageViewer({ resourceUri }: PageViewerProps): import("react/jsx-runtime").JSX.Element;
22
+ export default function DataAppViewer({ resourceUri }: DataAppViewerProps): import("react/jsx-runtime").JSX.Element;
23
23
  export {};
@@ -0,0 +1 @@
1
+ export { default as DataAppViewer } from './DataAppViewer';
@@ -1,5 +1,5 @@
1
1
  import { SvgIconProps } from '@mui/material/SvgIcon';
2
- type ContentType = "report" | "model" | "data" | "materialization" | "page";
2
+ type ContentType = "report" | "model" | "data" | "materialization" | "dataApp";
3
3
  interface ContentTypeIconProps extends Omit<SvgIconProps, "fontSize"> {
4
4
  type: ContentType;
5
5
  /** Pixel size of the rendered icon. */
@@ -1,5 +1,5 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { ConnectionsApi, DatabasesApi, EnvironmentsApi, MaterializationsApi, ModelsApi, NotebooksApi, PackagesApi, PagesApi, PublisherApi, WatchModeApi } from '../client';
2
+ import { ConnectionsApi, DataAppsApi, DatabasesApi, EnvironmentsApi, MaterializationsApi, ModelsApi, NotebooksApi, PackagesApi, PublisherApi, WatchModeApi } from '../client';
3
3
  import { Theme } from '../theme/types';
4
4
  export interface ServerContextValue {
5
5
  server: string;
@@ -47,7 +47,7 @@ declare const getApiClients: (baseURL?: string, accessToken?: () => Promise<stri
47
47
  publisher: PublisherApi;
48
48
  environments: EnvironmentsApi;
49
49
  packages: PackagesApi;
50
- pages: PagesApi;
50
+ dataApps: DataAppsApi;
51
51
  notebooks: NotebooksApi;
52
52
  connections: ConnectionsApi;
53
53
  databases: DatabasesApi;
@@ -1,5 +1,6 @@
1
1
  export { AnalyzePackageButton } from './AnalyzePackageButton';
2
2
  export { useRouterClickHandler } from './click_helper';
3
+ export * from './DataAppViewer';
3
4
  export * from './Environment';
4
5
  export * from './filter';
5
6
  export * from './Home';
@@ -8,7 +9,6 @@ export * from './Materializations';
8
9
  export * from './Model';
9
10
  export * from './Notebook';
10
11
  export * from './Package';
11
- export * from './PageViewer';
12
12
  export * from './QueryResult';
13
13
  export * from './RenderedResult';
14
14
  export { ServerProvider, useServer } from './ServerProvider';