@eidos.space/eidos-file 2.0.4 → 2.0.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 (29) hide show
  1. package/dist/{adapter-contract-CkvahNz_.d.mts → adapter-contract-CNigdeQ7.d.mts} +4 -2
  2. package/dist/adapter-contract-CNigdeQ7.d.mts.map +1 -0
  3. package/dist/better-sqlite3.d.mts +2 -2
  4. package/dist/better-sqlite3.mjs +1 -1
  5. package/dist/browser.d.mts +3 -3
  6. package/dist/browser.mjs +2 -2
  7. package/dist/csv.d.mts +1 -1
  8. package/dist/index.d.mts +7 -5
  9. package/dist/index.d.mts.map +1 -1
  10. package/dist/index.mjs +6 -5
  11. package/dist/index.mjs.map +1 -1
  12. package/dist/node-sqlite.d.mts +3 -3
  13. package/dist/node-sqlite.mjs +2 -2
  14. package/dist/{runtime-P50mnJpM.mjs → runtime-ApHTYmlB.mjs} +81 -17
  15. package/dist/runtime-ApHTYmlB.mjs.map +1 -0
  16. package/dist/{runtime-DLuj4nKL.d.mts → runtime-BSYpcOBe.d.mts} +3 -1
  17. package/dist/runtime-BSYpcOBe.d.mts.map +1 -0
  18. package/dist/{sqlite-wasm-DBAIvsId.mjs → sqlite-wasm-yva8rnt5.mjs} +2 -2
  19. package/dist/{sqlite-wasm-DBAIvsId.mjs.map → sqlite-wasm-yva8rnt5.mjs.map} +1 -1
  20. package/dist/{system-metadata-merge-1qWkqwQz.mjs → system-metadata-merge-Bz6nPbrn.mjs} +2 -2
  21. package/dist/{system-metadata-merge-1qWkqwQz.mjs.map → system-metadata-merge-Bz6nPbrn.mjs.map} +1 -1
  22. package/dist/{system-metadata-merge-EzBzKRJS.d.mts → system-metadata-merge-DeHwokcY.d.mts} +2 -2
  23. package/dist/{system-metadata-merge-EzBzKRJS.d.mts.map → system-metadata-merge-DeHwokcY.d.mts.map} +1 -1
  24. package/dist/{temporal-QVadI6iZ.d.mts → temporal-CnuhXeP8.d.mts} +3 -3
  25. package/dist/{temporal-QVadI6iZ.d.mts.map → temporal-CnuhXeP8.d.mts.map} +1 -1
  26. package/package.json +1 -1
  27. package/dist/adapter-contract-CkvahNz_.d.mts.map +0 -1
  28. package/dist/runtime-DLuj4nKL.d.mts.map +0 -1
  29. package/dist/runtime-P50mnJpM.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
- import { Ct as EidosFileValidationResult, Gt as EidosFileRunResult, Kt as EidosFileSqlParams, Ut as EidosFileConnection, a as CreateEidosFileOptions, qt as EidosFileSqlPrimitive, t as EidosFileRuntime } from "./runtime-DLuj4nKL.mjs";
2
- import { C as ScalarDefinition, S as RunResult, T as SqlValue, a as ConnectionCapabilities, o as ConnectionPort, s as ConnectionSnapshot, w as SnapshotContext, x as QueryResult } from "./adapter-contract-CkvahNz_.mjs";
3
- import { c as EidosSystemMergeResult } from "./system-metadata-merge-EzBzKRJS.mjs";
1
+ import { Ct as EidosFileValidationResult, Gt as EidosFileRunResult, Kt as EidosFileSqlParams, Ut as EidosFileConnection, a as CreateEidosFileOptions, qt as EidosFileSqlPrimitive, t as EidosFileRuntime } from "./runtime-BSYpcOBe.mjs";
2
+ import { C as ScalarDefinition, S as RunResult, T as SqlValue, a as ConnectionCapabilities, o as ConnectionPort, s as ConnectionSnapshot, w as SnapshotContext, x as QueryResult } from "./adapter-contract-CNigdeQ7.mjs";
3
+ import { c as EidosSystemMergeResult } from "./system-metadata-merge-DeHwokcY.mjs";
4
4
  import { DatabaseSync } from "node:sqlite";
5
5
 
6
6
  //#region src/node-sqlite.d.ts
@@ -1,6 +1,6 @@
1
1
  import { F as EidosFileError } from "./select-options-DSzDn3qm.mjs";
2
- import { H as EIDOS_FILE_EXTENSION, ct as EidosAdapterError, ft as exactConnectionBindingCount, g as parseNonNegativeInt64, l as initializeEidosFileSchema, lt as assertExactConnectionBindings, m as MemoryByteSource, mt as sqlValueToNative, n as validateEidosFile, pt as nativeToSqlValue, rt as SQLITE_HEADER, t as EidosFileRuntime } from "./runtime-P50mnJpM.mjs";
3
- import { n as mergeEidosSystemMetadata } from "./system-metadata-merge-1qWkqwQz.mjs";
2
+ import { U as EIDOS_FILE_EXTENSION, g as parseNonNegativeInt64, ht as sqlValueToNative, it as SQLITE_HEADER, l as initializeEidosFileSchema, lt as EidosAdapterError, m as MemoryByteSource, mt as nativeToSqlValue, n as validateEidosFile, pt as exactConnectionBindingCount, t as EidosFileRuntime, ut as assertExactConnectionBindings } from "./runtime-ApHTYmlB.mjs";
3
+ import { n as mergeEidosSystemMetadata } from "./system-metadata-merge-Bz6nPbrn.mjs";
4
4
  import { closeSync, existsSync, openSync, readSync, statSync } from "node:fs";
5
5
  import path from "node:path";
6
6
  import { DatabaseSync, constants } from "node:sqlite";
@@ -1333,6 +1333,10 @@ const FILTER_OPERATORS$1 = new Set([
1333
1333
  "is-between",
1334
1334
  "is-relative-to-today"
1335
1335
  ]);
1336
+ /** Returns whether a persisted compatibility filter operator is executable. */
1337
+ function isEidosFileFilterOperator(value) {
1338
+ return FILTER_OPERATORS$1.has(value);
1339
+ }
1336
1340
  const MAX_QUERY_DEPTH = 8;
1337
1341
  const MAX_QUERY_FILTER_NODES = 100;
1338
1342
  const MAX_QUERY_SORTS = 32;
@@ -1357,7 +1361,7 @@ function assertEidosFileRowQuery(value) {
1357
1361
  filter.children.forEach((child) => visit(child, depth + 1));
1358
1362
  return;
1359
1363
  }
1360
- if (filter.type !== "rule" || typeof filter.field !== "string" || !FILTER_OPERATORS$1.has(filter.operator)) throw new EidosFileError("invalid-query", "Invalid filter rule");
1364
+ if (filter.type !== "rule" || typeof filter.field !== "string" || !isEidosFileFilterOperator(filter.operator)) throw new EidosFileError("invalid-query", "Invalid filter rule");
1361
1365
  if (filter.operator === "is-relative-to-today") {
1362
1366
  if (!isRelativeDateValue(filter.value)) throw new EidosFileError("invalid-query", "Relative date filter value is invalid");
1363
1367
  return;
@@ -1389,7 +1393,7 @@ function normalizeFilterNode(value, depth) {
1389
1393
  if (depth > MAX_QUERY_DEPTH || typeof value !== "object" || value === null) return null;
1390
1394
  const candidate = value;
1391
1395
  if (candidate.type === "rule") {
1392
- if (typeof candidate.field !== "string" || !FILTER_OPERATORS$1.has(candidate.operator)) return null;
1396
+ if (typeof candidate.field !== "string" || !isEidosFileFilterOperator(candidate.operator)) return null;
1393
1397
  const values = candidate.operator === "is-relative-to-today" && isRelativeDateValue(candidate.value) ? {
1394
1398
  direction: candidate.value.direction,
1395
1399
  unit: candidate.value.unit
@@ -3253,16 +3257,23 @@ function validateEidosFile(connection, options = {}) {
3253
3257
  const layout = parseEidosFileJson(view.layout_json);
3254
3258
  if (!query || Array.isArray(query) || typeof query !== "object") throw new Error("View query_json must be an object");
3255
3259
  if (!layout || Array.isArray(layout) || typeof layout !== "object") throw new Error("View layout_json must be an object");
3260
+ let unsupportedQuery = Object.keys(query).some((key) => key !== "filter" && key !== "sort");
3256
3261
  const checkFilter = (value) => {
3257
3262
  if (!value || typeof value !== "object" || Array.isArray(value)) throw new Error("View filter nodes must be objects");
3258
3263
  const node = value;
3259
3264
  if (Array.isArray(node.args)) {
3260
- if (node.op !== "and" && node.op !== "or") throw new Error("View filter group has an invalid op");
3265
+ if (typeof node.op !== "string") throw new Error("View filter group has an invalid op");
3266
+ if (node.op !== "and" && node.op !== "or" || Object.keys(node).some((key) => key !== "op" && key !== "args")) unsupportedQuery = true;
3261
3267
  node.args.forEach(checkFilter);
3262
3268
  return;
3263
3269
  }
3264
3270
  if (typeof node.field !== "string" || !fieldIds.has(node.field)) throw new Error("View filter references an unknown Field ID");
3265
- if (typeof node.op !== "string" || !FILTER_OPERATORS.has(node.op)) throw new Error("View filter rule has an invalid operator");
3271
+ if (typeof node.op !== "string") throw new Error("View filter rule has an invalid operator");
3272
+ if (!FILTER_OPERATORS.has(node.op)) {
3273
+ unsupportedQuery = true;
3274
+ return;
3275
+ }
3276
+ if (Object.keys(node).some((key) => key !== "field" && key !== "op" && key !== "value")) unsupportedQuery = true;
3266
3277
  const field = fieldsById.get(node.field);
3267
3278
  if ((field.storageCodec === "json_array" || field.storageCodec === "relation") && [
3268
3279
  "greater-than",
@@ -3281,23 +3292,30 @@ function validateEidosFile(connection, options = {}) {
3281
3292
  if (node.op === "is-relative-to-today") {
3282
3293
  if (field.type !== "date" && field.type !== "datetime" && field.type !== "created-time" && field.type !== "last-edited-time") throw new Error("View relative filter requires a Date or Datetime Field");
3283
3294
  const relative = node.value;
3284
- if (!relative || typeof relative !== "object" || Array.isArray(relative) || ![
3295
+ if (!relative || typeof relative !== "object" || Array.isArray(relative)) throw new Error("View relative filter value is invalid");
3296
+ const relativeValue = relative;
3297
+ if (typeof relativeValue.direction !== "string" || typeof relativeValue.unit !== "string") throw new Error("View relative filter value is invalid");
3298
+ if (![
3285
3299
  "past",
3286
3300
  "next",
3287
3301
  "this"
3288
- ].includes(String(relative.direction)) || ![
3302
+ ].includes(relativeValue.direction) || ![
3289
3303
  "day",
3290
3304
  "week",
3291
3305
  "month",
3292
3306
  "year"
3293
- ].includes(String(relative.unit))) throw new Error("View relative filter value is invalid");
3307
+ ].includes(relativeValue.unit) || Object.keys(relativeValue).some((key) => key !== "direction" && key !== "unit")) unsupportedQuery = true;
3294
3308
  }
3295
3309
  };
3296
3310
  if ("filter" in query) checkFilter(query.filter);
3297
3311
  if ("sort" in query) {
3298
3312
  if (!Array.isArray(query.sort)) throw new Error("View sort must be an array");
3299
- for (const item of query.sort) if (!item || Array.isArray(item) || typeof item !== "object" || typeof item.field !== "string" || !fieldIds.has(item.field) || item.direction !== "asc" && item.direction !== "desc" || item.nulls !== "first" && item.nulls !== "last") throw new Error("View sort contains an invalid Field reference or direction");
3313
+ for (const item of query.sort) {
3314
+ if (!item || Array.isArray(item) || typeof item !== "object" || typeof item.field !== "string" || !fieldIds.has(item.field)) throw new Error("View sort contains an invalid Field reference or direction");
3315
+ if (item.direction !== "asc" && item.direction !== "desc" || item.nulls !== void 0 && item.nulls !== "first" && item.nulls !== "last" || Object.keys(item).some((key) => key !== "field" && key !== "direction" && key !== "nulls")) unsupportedQuery = true;
3316
+ }
3300
3317
  }
3318
+ if (unsupportedQuery) add(warnings, "view-query-unsupported", `View ${view.id} uses query semantics from a newer Eidos version`);
3301
3319
  for (const key of [
3302
3320
  "cardFields",
3303
3321
  "fieldOrder",
@@ -3729,6 +3747,46 @@ function filterFromStorage(value, fields) {
3729
3747
  };
3730
3748
  return normalizeEidosFileFilter(convert(value));
3731
3749
  }
3750
+ function storedViewQueryStatus(query, fields) {
3751
+ const fieldIds = new Set(fields.flatMap((field) => field.id ? [field.id] : []));
3752
+ if (Object.keys(query).some((key) => key !== "filter" && key !== "sort")) return "unsupported";
3753
+ const supportedScalar = (value) => value === null || typeof value === "string" || typeof value === "number" || typeof value === "boolean";
3754
+ const supportedRuleValue = (operator, value) => {
3755
+ if (operator === "is-relative-to-today") {
3756
+ if (!value || typeof value !== "object" || Array.isArray(value)) return false;
3757
+ const relative = value;
3758
+ return Object.keys(relative).every((key) => key === "direction" || key === "unit") && [
3759
+ "past",
3760
+ "next",
3761
+ "this"
3762
+ ].includes(String(relative.direction)) && [
3763
+ "day",
3764
+ "week",
3765
+ "month",
3766
+ "year"
3767
+ ].includes(String(relative.unit));
3768
+ }
3769
+ if (operator === "is-between") return Array.isArray(value) && value.length === 2 && value.every(supportedScalar);
3770
+ return value === void 0 || supportedScalar(value) || Array.isArray(value) && value.every(supportedScalar);
3771
+ };
3772
+ const filterSupported = (value) => {
3773
+ if (!value || typeof value !== "object" || Array.isArray(value)) return false;
3774
+ const node = value;
3775
+ if (Array.isArray(node.args)) return (node.op === "and" || node.op === "or") && Object.keys(node).every((key) => key === "op" || key === "args") && node.args.every(filterSupported);
3776
+ if (typeof node.field !== "string" || !fieldIds.has(node.field) || !isEidosFileFilterOperator(node.op) || Object.keys(node).some((key) => key !== "field" && key !== "op" && key !== "value")) return false;
3777
+ return supportedRuleValue(node.op, node.value);
3778
+ };
3779
+ if ("filter" in query && !filterSupported(query.filter)) return "unsupported";
3780
+ if ("sort" in query) {
3781
+ if (!Array.isArray(query.sort)) return "unsupported";
3782
+ for (const value of query.sort) {
3783
+ if (!value || typeof value !== "object" || Array.isArray(value)) return "unsupported";
3784
+ const sort = value;
3785
+ if (typeof sort.field !== "string" || !fieldIds.has(sort.field) || sort.direction !== "asc" && sort.direction !== "desc" || sort.nulls !== void 0 && sort.nulls !== "first" && sort.nulls !== "last" || Object.keys(sort).some((key) => key !== "field" && key !== "direction" && key !== "nulls")) return "unsupported";
3786
+ }
3787
+ }
3788
+ return "supported";
3789
+ }
3732
3790
  var EidosFileRuntime = class {
3733
3791
  mutationDepth = 0;
3734
3792
  mutationInstant = null;
@@ -4767,6 +4825,7 @@ var EidosFileRuntime = class {
4767
4825
  const fields = this.listFields(tableId);
4768
4826
  const query = jsonObject(row.query_json);
4769
4827
  const layout = jsonObject(row.layout_json);
4828
+ const queryStatus = storedViewQueryStatus(query, fields);
4770
4829
  const storedSorts = normalizeEidosFileSorts(query.sort);
4771
4830
  const fieldIds = new Set(fields.flatMap((field) => field.id ? [field.id] : []));
4772
4831
  const fieldOrder = Array.isArray(layout.fieldOrder) ? layout.fieldOrder.flatMap((value) => typeof value === "string" && fieldIds.has(value) ? [value] : []) : [];
@@ -4776,10 +4835,11 @@ var EidosFileRuntime = class {
4776
4835
  name: row.name,
4777
4836
  type: row.type,
4778
4837
  tableId,
4779
- query: "",
4838
+ queryStatus,
4839
+ query: row.query_json,
4780
4840
  properties,
4781
- filter: filterFromStorage(query.filter, fields),
4782
- sorts: storedSorts.filter((sort) => fieldIds.has(sort.field)),
4841
+ filter: queryStatus === "supported" ? filterFromStorage(query.filter, fields) : null,
4842
+ sorts: queryStatus === "supported" ? storedSorts.filter((sort) => fieldIds.has(sort.field)) : [],
4783
4843
  orderMap: Object.fromEntries(fieldOrder.map((fieldId, index) => [fieldId, index])),
4784
4844
  hiddenFields: Array.isArray(layout.hiddenFields) ? layout.hiddenFields.flatMap((value) => typeof value === "string" && fieldIds.has(value) ? [value] : []) : [],
4785
4845
  position: row.position,
@@ -4860,7 +4920,8 @@ var EidosFileRuntime = class {
4860
4920
  });
4861
4921
  }
4862
4922
  updateView(viewId, changes) {
4863
- const current = this.mapView(this.viewRow(viewId));
4923
+ const currentRow = this.viewRow(viewId);
4924
+ const current = this.mapView(currentRow);
4864
4925
  const fields = this.listFields(current.tableId);
4865
4926
  const name = assertEidosFileDisplayName(changes.name ?? current.name, "View name");
4866
4927
  const foldedName = name.replace(/[A-Z]/g, (character) => character.toLowerCase());
@@ -4875,6 +4936,8 @@ var EidosFileRuntime = class {
4875
4936
  orderMap: changes.orderMap === void 0 ? current.orderMap : changes.orderMap,
4876
4937
  hiddenFields: changes.hiddenFields === void 0 ? current.hiddenFields : changes.hiddenFields
4877
4938
  };
4939
+ const queryChanged = changes.filter !== void 0 || changes.sorts !== void 0;
4940
+ const layoutChanged = changes.properties !== void 0 || changes.orderMap !== void 0 || changes.hiddenFields !== void 0;
4878
4941
  return this.mutate(() => {
4879
4942
  const fieldByKey = new Map(fields.flatMap((field) => field.id ? [[field.tableColumnName, field.id], [field.id, field.id]] : []));
4880
4943
  const sorts = normalizeEidosFileSorts(next.sorts).flatMap((sort) => {
@@ -4902,11 +4965,11 @@ var EidosFileRuntime = class {
4902
4965
  WHERE id = ?`, [
4903
4966
  next.name,
4904
4967
  next.type,
4905
- canonicalizeEidosFileJson({
4968
+ queryChanged ? canonicalizeEidosFileJson({
4906
4969
  ...filterToStorage(next.filter, fields) ? { filter: filterToStorage(next.filter, fields) } : {},
4907
4970
  ...sorts.length ? { sort: sorts } : {}
4908
- }),
4909
- canonicalizeEidosFileJson(layout),
4971
+ }) : currentRow.query_json,
4972
+ layoutChanged ? canonicalizeEidosFileJson(layout) : currentRow.layout_json,
4910
4973
  stablePosition(next.position, current.position ?? 0),
4911
4974
  this.operationInstant(),
4912
4975
  viewId
@@ -4916,6 +4979,7 @@ var EidosFileRuntime = class {
4916
4979
  }
4917
4980
  duplicateView(viewId, name) {
4918
4981
  const view = this.mapView(this.viewRow(viewId));
4982
+ if (view.queryStatus === "unsupported") throw new EidosFileError("unsupported-feature", "This View uses a saved query from a newer Eidos version");
4919
4983
  return this.createView(view.tableId, {
4920
4984
  name: name ?? `${view.name} copy`,
4921
4985
  type: view.type,
@@ -6125,6 +6189,6 @@ function fieldValueTypeForScan(field) {
6125
6189
  return field.type;
6126
6190
  }
6127
6191
  //#endregion
6128
- export { EIDOS_FILE_SCHEMA_VERSION as $, eidosFileLookupStorageCodec as A, rewriteEidosFileFormulaFieldReferences as B, normalizeEidosFileRowQuery as C, eidosFileLookupAggregateSupportsTarget as D, eidosFileFieldStoresJsonArray as E, EIDOS_FILE_FORMULA_FUNCTION_NAMES as F, EIDOS_FILE_FORMAT as G, EIDOS_FILE_EXTENSION as H, compileEidosFileFormula as I, EIDOS_FILE_LOOKUP_FIELDS_TABLE as J, EIDOS_FILE_FORMAT_VERSION as K, compileEidosFileFormulaFields as L, eidosFileLookupTargetValueType as M, eidosFileLookupValueType as N, eidosFileLookupDisplayType as O, EIDOS_FILE_FORMULA_FIELD_FUNCTION_NAMES as P, EIDOS_FILE_REQUIRED_TABLES as Q, compileEidosFileFormulaSource as R, normalizeEidosFileFilter as S, removeEidosFileFilterField as T, EIDOS_FILE_FEATURES_TABLE as U, EIDOS_FILE_APPLICATION_ID as V, EIDOS_FILE_FIELDS_TABLE as W, EIDOS_FILE_MIME_TYPE as X, EIDOS_FILE_META_TABLE as Y, EIDOS_FILE_RELATION_FIELDS_TABLE as Z, assertEidosFileRowQuery as _, EIDOS_FILE_FORMAT_VERSION_TEXT as a, eidosFileColumnStatLabel as at, eidosFileRowQueryPredicateColumns as b, incrementEidosFileRevision as c, EidosAdapterError as ct, decodeEidosFileRelationDisplay as d, assertUnicodeString as dt, EIDOS_FILE_SYSTEM_COLUMNS as et, decodeEidosFileRelationIds as f, exactConnectionBindingCount as ft, parseNonNegativeInt64 as g, cancellationPortFromSignal as h, scanStableRowPages as i, hasEidosFileSqliteHeader as it, eidosFileLookupTargetDisplayType as j, eidosFileLookupElementType as k, initializeEidosFileSchema as l, assertExactConnectionBindings as lt, MemoryByteSource as m, sqlValueToNative as mt, validateEidosFile as n, EIDOS_FILE_VIEWS_TABLE as nt, EIDOS_FILE_SCHEMA_SQL as o, eidosFileColumnStatTypesForField as ot, encodeEidosFileRelationIds as p, nativeToSqlValue as pt, EIDOS_FILE_FORMULA_FIELDS_TABLE as q, smallestDependencyCycle as r, SQLITE_HEADER as rt, configureEidosFileConnection as s, ConnectionPortEidosFileConnection as st, EidosFileRuntime as t, EIDOS_FILE_TABLES_TABLE as tt, setEidosFileMetadata as u, assertInt64Decimal as ut, compileEidosFileRowQuery as v, normalizeEidosFileSorts as w, eidosFileSortExpression as x, eidosFileRowQueryAffectedByFieldChanges as y, eidosFileFormulaReferences as z };
6192
+ export { EIDOS_FILE_REQUIRED_TABLES as $, eidosFileLookupElementType as A, eidosFileFormulaReferences as B, normalizeEidosFileFilter as C, eidosFileFieldStoresJsonArray as D, removeEidosFileFilterField as E, EIDOS_FILE_FORMULA_FIELD_FUNCTION_NAMES as F, EIDOS_FILE_FIELDS_TABLE as G, EIDOS_FILE_APPLICATION_ID as H, EIDOS_FILE_FORMULA_FUNCTION_NAMES as I, EIDOS_FILE_FORMULA_FIELDS_TABLE as J, EIDOS_FILE_FORMAT as K, compileEidosFileFormula as L, eidosFileLookupTargetDisplayType as M, eidosFileLookupTargetValueType as N, eidosFileLookupAggregateSupportsTarget as O, eidosFileLookupValueType as P, EIDOS_FILE_RELATION_FIELDS_TABLE as Q, compileEidosFileFormulaFields as R, isEidosFileFilterOperator as S, normalizeEidosFileSorts as T, EIDOS_FILE_EXTENSION as U, rewriteEidosFileFormulaFieldReferences as V, EIDOS_FILE_FEATURES_TABLE as W, EIDOS_FILE_META_TABLE as X, EIDOS_FILE_LOOKUP_FIELDS_TABLE as Y, EIDOS_FILE_MIME_TYPE as Z, assertEidosFileRowQuery as _, EIDOS_FILE_FORMAT_VERSION_TEXT as a, hasEidosFileSqliteHeader as at, eidosFileRowQueryPredicateColumns as b, incrementEidosFileRevision as c, ConnectionPortEidosFileConnection as ct, decodeEidosFileRelationDisplay as d, assertInt64Decimal as dt, EIDOS_FILE_SCHEMA_VERSION as et, decodeEidosFileRelationIds as f, assertUnicodeString as ft, parseNonNegativeInt64 as g, cancellationPortFromSignal as h, sqlValueToNative as ht, scanStableRowPages as i, SQLITE_HEADER as it, eidosFileLookupStorageCodec as j, eidosFileLookupDisplayType as k, initializeEidosFileSchema as l, EidosAdapterError as lt, MemoryByteSource as m, nativeToSqlValue as mt, validateEidosFile as n, EIDOS_FILE_TABLES_TABLE as nt, EIDOS_FILE_SCHEMA_SQL as o, eidosFileColumnStatLabel as ot, encodeEidosFileRelationIds as p, exactConnectionBindingCount as pt, EIDOS_FILE_FORMAT_VERSION as q, smallestDependencyCycle as r, EIDOS_FILE_VIEWS_TABLE as rt, configureEidosFileConnection as s, eidosFileColumnStatTypesForField as st, EidosFileRuntime as t, EIDOS_FILE_SYSTEM_COLUMNS as tt, setEidosFileMetadata as u, assertExactConnectionBindings as ut, compileEidosFileRowQuery as v, normalizeEidosFileRowQuery as w, eidosFileSortExpression as x, eidosFileRowQueryAffectedByFieldChanges as y, compileEidosFileFormulaSource as z };
6129
6193
 
6130
- //# sourceMappingURL=runtime-P50mnJpM.mjs.map
6194
+ //# sourceMappingURL=runtime-ApHTYmlB.mjs.map