@malloy-publisher/server 0.12.2 → 0.12.4
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.
- package/dist/app/api-doc.yaml +96 -1
- package/dist/app/assets/{EnvironmentPage-Bur-WhHL.js → EnvironmentPage-gNvDKTtA.js} +1 -1
- package/dist/app/assets/{HomePage-C-mHsU3M.js → HomePage-lrIG8Qjk.js} +1 -1
- package/dist/app/assets/{MainPage-Dmzmn9Mt.js → MainPage-CJf3Uuul.js} +1 -1
- package/dist/app/assets/{ModelPage-ClSgGwYc.js → ModelPage-t_Ln0qr1.js} +2 -2
- package/dist/app/assets/{PackagePage-C4nKI00H.js → PackagePage-Cxa0_alv.js} +1 -1
- package/dist/app/assets/{PackageSplatRoute-D6GSpadt.js → PackageSplatRoute-FyScmoYw.js} +2 -2
- package/dist/app/assets/{RenderedResult-DEjFM1DL.es-hdq4xdyP.js → RenderedResult-DqPvGZgL.es-BNxk46Vn.js} +1 -1
- package/dist/app/assets/{RouteError-Ct5JhhH3.js → RouteError-BZUUKmNE.js} +1 -1
- package/dist/app/assets/{ThemeEditorPage-DoIC196m.js → ThemeEditorPage-vDnfPmZz.js} +1 -1
- package/dist/app/assets/{ToggleButtonGroup-9ITznW0t.js → ToggleButtonGroup-DdUWm7cB.js} +1 -1
- package/dist/app/assets/{documentRoutes-DHQw63FD.js → documentRoutes-DtWdqG6B.js} +1 -1
- package/dist/app/assets/{editPageMounted-DQ2kfKQx.js → editPageMounted-vEdUjhAX.js} +2 -2
- package/dist/app/assets/{index-DT27peli.js → index-D-htCO4q.js} +7 -7
- package/dist/app/assets/{index-Dbg1nxCx.js → index-DYHeNKEh.js} +1 -1
- package/dist/app/assets/{index-u-HKFk7y.js → index-dUom3Bdm.js} +1 -1
- package/dist/app/assets/{index-iwwnDmO4.js → index-diN_kmcj.js} +1 -1
- package/dist/app/assets/{index.es-Cu-znYwd.js → index.es-DpNxHwgw.js} +1 -1
- package/dist/app/assets/usePackageLinkNavigate-D2TepxAX.js +1 -0
- package/dist/app/assets/{usePackageRoute-D8N0M9Rp.js → usePackageRoute-CjGpnrTp.js} +1 -1
- package/dist/app/index.html +1 -1
- package/dist/instrumentation.mjs +3 -2
- package/dist/package_load_worker.mjs +52 -15
- package/dist/server.mjs +5991 -4446
- package/package.json +1 -1
- package/dist/app/assets/usePackageLinkNavigate-YsMXY8yR.js +0 -1
|
@@ -55,8 +55,9 @@ function installRecordPath(environmentPath, packageName) {
|
|
|
55
55
|
function normalizeModelPath(p) {
|
|
56
56
|
return p.replace(/\\/g, "/").replace(/^\.\//, "");
|
|
57
57
|
}
|
|
58
|
-
var API_PREFIX = "/api/v0", README_NAME = "README.md", PUBLISHER_CONFIG_NAME = "publisher.config.json", PACKAGE_MANIFEST_NAME = "publisher.json", PACKAGE_INSTALL_RECORDS_DIR = ".install-records", MODEL_FILE_SUFFIX = ".malloy", NOTEBOOK_FILE_SUFFIX = ".malloynb", GIVENS_DOCS_URL = "https://github.com/malloydata/publisher/blob/main/docs/givens.md", INDEX_MODEL_NAME = "index.malloy", DEFAULT_QUERY_ROW_LIMIT = 1000, DEFAULT_MAX_QUERY_ROWS = 1e5, DEFAULT_MAX_RESPONSE_BYTES = 50000000, DEFAULT_QUERY_TIMEOUT_MS = 300000, DEFAULT_MAX_CONCURRENT_QUERIES = 32, DEFAULT_POSTGRES_POOL_MAX = 5, DEFAULT_CALLER_HEADER = "x-publisher-caller", TEMP_DIR_PATH, PUBLISHER_DATA_DIR = "publisher_data", DEFAULT_EMBEDDING_MIN_SIMILARITY = 0.2, DEFAULT_PACKAGE_LOAD_SCHEMA_CACHE_BYTES;
|
|
58
|
+
var API_PREFIX = "/api/v0", README_NAME = "README.md", PUBLISHER_CONFIG_NAME = "publisher.config.json", PACKAGE_MANIFEST_NAME = "publisher.json", PACKAGE_INSTALL_RECORDS_DIR = ".install-records", MODEL_FILE_SUFFIX = ".malloy", NOTEBOOK_FILE_SUFFIX = ".malloynb", GIVENS_DOCS_URL = "https://github.com/malloydata/publisher/blob/main/docs/givens.md", INDEX_MODEL_NAME = "index.malloy", DEFAULT_QUERY_ROW_LIMIT = 1000, DEFAULT_MAX_QUERY_ROWS = 1e5, DEFAULT_MAX_RESPONSE_BYTES = 50000000, MAX_OVERLAY_FILES = 500, MAX_OVERLAY_BYTES, MAX_CONCURRENT_DRY_RUNS = 2, DEFAULT_QUERY_TIMEOUT_MS = 300000, DEFAULT_MAX_CONCURRENT_QUERIES = 32, DEFAULT_POSTGRES_POOL_MAX = 5, DEFAULT_CALLER_HEADER = "x-publisher-caller", TEMP_DIR_PATH, PUBLISHER_DATA_DIR = "publisher_data", DEFAULT_EMBEDDING_MIN_SIMILARITY = 0.2, DEFAULT_PACKAGE_LOAD_SCHEMA_CACHE_BYTES;
|
|
59
59
|
var init_constants = __esm(() => {
|
|
60
|
+
MAX_OVERLAY_BYTES = 8 * 1024 * 1024;
|
|
60
61
|
TEMP_DIR_PATH = os.tmpdir();
|
|
61
62
|
DEFAULT_PACKAGE_LOAD_SCHEMA_CACHE_BYTES = 16 * 1024 * 1024;
|
|
62
63
|
});
|
|
@@ -13772,7 +13773,7 @@ function toQueryTextProblem(problem) {
|
|
|
13772
13773
|
...problem.at ? { at: { range: problem.at.range } } : {}
|
|
13773
13774
|
};
|
|
13774
13775
|
}
|
|
13775
|
-
var GENERIC_INTERNAL_MESSAGE = "Internal server error.", GENERIC_UPSTREAM_MESSAGE = "Upstream connection error.", GENERIC_UNREACHABLE_MESSAGE = "The database connection is down: the database could not be reached, so the query did not run.", GENERIC_AUTH_MESSAGE = "The database rejected the connection's credentials. Check the connection's user, password, key or token.", MAX_LOGGED_DETAIL_CHARS = 2000, PACKAGE_VERSION_ERROR_STATUS, PackageVersionError, FILESYSTEM_ACCESS_DESCRIPTIONS, POSTGRES_STATEMENT_SQLSTATES, POSTGRES_UNDEFINED_TABLE = "42P01", POSTGRES_RELATION_MISSING, BuildPlanUnavailableError, NotImplementedError, BadRequestError, InvalidArgumentError, CompileRefusedError, InvalidModelPathError, RenderTagRefusedError, UnparseableTextError, EnvironmentNotFoundError, PackageNotFoundError, ModelNotFoundError, DashboardNotFoundError, SkillNotFoundError, AgentNotFoundError, ConflictError, ConnectionNotFoundError, TableNotFoundError, ConnectionError, ConnectionFailedError, UnconfiguredConnectionError, ConnectionPoolExhaustedError, DestinationNotFoundError, StorageDestinationNotFoundError, StorageCatalogNotFoundError, ConnectionAuthError, UnsupportedCatalogFormatError, ModelCompilationError, VersionFilesMissingError, PackageManifestError, MaterializationEligibilityError, ChainedUpstreamMissingError, ChainedShapeNotCarriedError, PublisherConfigError, ServerConfigurationError, FrozenConfigError, AccessDeniedError, QueryCompileError, NotQueryableError, OffSurfaceError, MaterializationNotFoundError, MaterializationConflictError, WriteConflictError, WriteRolledBackError, WriteRollbackFailedError, WriteVerifyError, InvalidStateTransitionError, ServiceUnavailableError, PackageAdmissionRefusedError, PayloadTooLargeError, ResponseUnserializableError, QueryTimeoutError;
|
|
13776
|
+
var GENERIC_INTERNAL_MESSAGE = "Internal server error.", GENERIC_UPSTREAM_MESSAGE = "Upstream connection error.", GENERIC_UNREACHABLE_MESSAGE = "The database connection is down: the database could not be reached, so the query did not run.", GENERIC_AUTH_MESSAGE = "The database rejected the connection's credentials. Check the connection's user, password, key or token.", MAX_LOGGED_DETAIL_CHARS = 2000, PACKAGE_VERSION_ERROR_STATUS, PackageVersionError, FILESYSTEM_ACCESS_DESCRIPTIONS, POSTGRES_STATEMENT_SQLSTATES, POSTGRES_UNDEFINED_TABLE = "42P01", POSTGRES_RELATION_MISSING, BuildPlanUnavailableError, NotImplementedError, BadRequestError, InvalidArgumentError, CompileRefusedError, InvalidModelPathError, RenderTagRefusedError, UnparseableTextError, EnvironmentNotFoundError, PackageNotFoundError, ModelNotFoundError, DashboardNotFoundError, SkillNotFoundError, AgentNotFoundError, ConflictError, ConnectionNotFoundError, TableNotFoundError, ConnectionError, ConnectionFailedError, UnconfiguredConnectionError, ConnectionPoolExhaustedError, DestinationNotFoundError, StorageDestinationNotFoundError, StorageCatalogNotFoundError, ConnectionAuthError, UnsupportedCatalogFormatError, ModelCompilationError, VersionFilesMissingError, PackageManifestError, MaterializationEligibilityError, ChainedUpstreamMissingError, ChainedShapeNotCarriedError, PublisherConfigError, ServerConfigurationError, FrozenConfigError, AccessDeniedError, QueryCompileError, NotQueryableError, OffSurfaceError, MaterializationNotFoundError, MaterializationConflictError, WriteConflictError, WriteRolledBackError, WriteRollbackFailedError, WriteVerifyError, InvalidStateTransitionError, ServiceUnavailableError, PackageAdmissionRefusedError, DryRunCapacityError, PayloadTooLargeError, ResponseUnserializableError, QueryTimeoutError;
|
|
13776
13777
|
var init_errors2 = __esm(() => {
|
|
13777
13778
|
init_constants();
|
|
13778
13779
|
init_logger();
|
|
@@ -14084,6 +14085,8 @@ var init_errors2 = __esm(() => {
|
|
|
14084
14085
|
};
|
|
14085
14086
|
PackageAdmissionRefusedError = class PackageAdmissionRefusedError extends ServiceUnavailableError {
|
|
14086
14087
|
};
|
|
14088
|
+
DryRunCapacityError = class DryRunCapacityError extends PackageAdmissionRefusedError {
|
|
14089
|
+
};
|
|
14087
14090
|
PayloadTooLargeError = class PayloadTooLargeError extends Error {
|
|
14088
14091
|
constructor(message) {
|
|
14089
14092
|
super(message);
|
|
@@ -14325,6 +14328,11 @@ function assertNoAuthorizeTagLike(callerText) {
|
|
|
14325
14328
|
lastRefusalKind = "whole_text";
|
|
14326
14329
|
refuseCallerAuthorizeAnnotation();
|
|
14327
14330
|
}
|
|
14331
|
+
function assertNoCallerClassificationAnnotation(callerText) {
|
|
14332
|
+
if (!CLASSIFICATION_TAG_LIKE.test(callerText))
|
|
14333
|
+
return;
|
|
14334
|
+
throw new BadRequestError("A `classification` or `carries` annotation is not permitted in " + "caller-submitted Malloy text. Classes are declared by the model " + "author on the field or source; a query is checked against them.");
|
|
14335
|
+
}
|
|
14328
14336
|
function refuseCallerAuthorizeAnnotation() {
|
|
14329
14337
|
throw new BadRequestError("An `authorize` annotation is not permitted in caller-submitted Malloy " + "text. Access gates are declared by the model author on the source; a " + "request cannot introduce, replace, or relax one. To validate a gate " + "you are authoring, save it to the package's model file and reload the " + "package — model load validates every `#(authorize)` annotation it " + "declares.");
|
|
14330
14338
|
}
|
|
@@ -14523,7 +14531,7 @@ ${rewrites}
|
|
|
14523
14531
|
` + `Test that the rewrite gates the same rows and check the row count ` + `matches what the string form served.`
|
|
14524
14532
|
});
|
|
14525
14533
|
}
|
|
14526
|
-
var AUTHORIZE_TAG_LIKE, AUTHORIZE_ANNOTATION_ANYWHERE, REGEXP_SPECIAL, PROSE_ROUTES, makeMalloyParser, parserLoader, warnedNoParser = false, lastLexed, lastRefusalKind = "lexed", lexerMissing = false, GIVEN_REF_PATTERN, SINGLE_QUOTE_ESCAPE, DOUBLE_QUOTE_ESCAPE, STRING_LITERAL_PATTERN, everyMemberOf = () => (...members) => members, ROW_LEVEL_GATE_REJECTION_CAUSES, WHOLE_BODY_QUOTED_STRING, WHOLE_BODY_SINGLE_QUOTED_STRING;
|
|
14534
|
+
var AUTHORIZE_TAG_LIKE, AUTHORIZE_ANNOTATION_ANYWHERE, REGEXP_SPECIAL, PROSE_ROUTES, makeMalloyParser, parserLoader, warnedNoParser = false, lastLexed, lastRefusalKind = "lexed", lexerMissing = false, CLASSIFICATION_TAG_LIKE, GIVEN_REF_PATTERN, SINGLE_QUOTE_ESCAPE, DOUBLE_QUOTE_ESCAPE, STRING_LITERAL_PATTERN, everyMemberOf = () => (...members) => members, ROW_LEVEL_GATE_REJECTION_CAUSES, WHOLE_BODY_QUOTED_STRING, WHOLE_BODY_SINGLE_QUOTED_STRING;
|
|
14527
14535
|
var init_authorize = __esm(() => {
|
|
14528
14536
|
init_errors2();
|
|
14529
14537
|
init_authorize_routes();
|
|
@@ -14536,6 +14544,7 @@ var init_authorize = __esm(() => {
|
|
|
14536
14544
|
text: "",
|
|
14537
14545
|
prose: []
|
|
14538
14546
|
};
|
|
14547
|
+
CLASSIFICATION_TAG_LIKE = new RegExp(String.raw`##?\|?[ \t]*(?:[([{<][ \t]*)?(?:classification|carries)(?=[)\]}>]|[ \t]|$)`, "iu");
|
|
14539
14548
|
GIVEN_REF_PATTERN = /\$([A-Za-z_][A-Za-z0-9_]*)/g;
|
|
14540
14549
|
SINGLE_QUOTE_ESCAPE = /\\(['\\])/g;
|
|
14541
14550
|
DOUBLE_QUOTE_ESCAPE = /\\(["\\])/g;
|
|
@@ -14728,6 +14737,7 @@ var init_translator_error = __esm(() => {
|
|
|
14728
14737
|
|
|
14729
14738
|
// src/service/authorize_grammar.ts
|
|
14730
14739
|
import { routeOf as routeOf3 } from "@malloydata/malloy";
|
|
14740
|
+
import { ParseUtil } from "@malloydata/malloy-tag";
|
|
14731
14741
|
function noteRoute2(text) {
|
|
14732
14742
|
return routeOf3({ value: text.trimStart() });
|
|
14733
14743
|
}
|
|
@@ -14891,7 +14901,12 @@ function parseTerm(sourceName, body, term, givenDeclaredTypes) {
|
|
|
14891
14901
|
}
|
|
14892
14902
|
}
|
|
14893
14903
|
if (leftIsLiteral) {
|
|
14894
|
-
return {
|
|
14904
|
+
return {
|
|
14905
|
+
scope: "source_level",
|
|
14906
|
+
literal: ParseUtil.parseString(left, left[0]),
|
|
14907
|
+
given,
|
|
14908
|
+
operator
|
|
14909
|
+
};
|
|
14895
14910
|
}
|
|
14896
14911
|
return {
|
|
14897
14912
|
scope: "row_level",
|
|
@@ -15150,10 +15165,13 @@ function resolveDeclaredSource(struct, modelDef) {
|
|
|
15150
15165
|
}
|
|
15151
15166
|
return sawBrokenEntry ? { kind: "unresolvable" } : { kind: "none" };
|
|
15152
15167
|
}
|
|
15168
|
+
function gateAtLevel(annotations, route) {
|
|
15169
|
+
return collectAuthorizeExprsForRoute(ownLevelNotes(annotations).map((note) => note.text), route);
|
|
15170
|
+
}
|
|
15153
15171
|
function ancestorGateExprs(struct, modelDef, route, seen = new Set) {
|
|
15154
15172
|
let inherited = struct.annotations?.inherits;
|
|
15155
15173
|
for (let depth = 0;inherited && depth < ANCESTOR_WALK_MAX_DEPTH; depth++) {
|
|
15156
|
-
const exprs2 =
|
|
15174
|
+
const exprs2 = gateAtLevel(inherited, route);
|
|
15157
15175
|
if (exprs2.length > 0)
|
|
15158
15176
|
return exprs2;
|
|
15159
15177
|
inherited = inherited.inherits;
|
|
@@ -15170,7 +15188,7 @@ function ancestorGateExprs(struct, modelDef, route, seen = new Set) {
|
|
|
15170
15188
|
}
|
|
15171
15189
|
if (declared.kind === "none" || seen.has(declared.source))
|
|
15172
15190
|
return [];
|
|
15173
|
-
const exprs =
|
|
15191
|
+
const exprs = gateAtLevel(declared.source.annotations, route);
|
|
15174
15192
|
return exprs.length > 0 ? exprs : ancestorGateExprs(declared.source, modelDef, route, seen);
|
|
15175
15193
|
}
|
|
15176
15194
|
function resolveQuerySourceBase(struct, modelDef) {
|
|
@@ -15200,18 +15218,25 @@ function effectiveAncestorGateExprs(struct, modelDef, route, seen = new Set) {
|
|
|
15200
15218
|
groups.push(["false"]);
|
|
15201
15219
|
}
|
|
15202
15220
|
} else if (!seen.has(base)) {
|
|
15203
|
-
const ownExprs =
|
|
15221
|
+
const ownExprs = gateAtLevel(base.annotations, route);
|
|
15204
15222
|
groups.push(...ownExprs.length > 0 ? [ownExprs] : effectiveAncestorGateExprs(base, modelDef, route, seen));
|
|
15205
15223
|
}
|
|
15206
15224
|
const composite = resolveCompositeResolvedBase(struct);
|
|
15207
15225
|
if (composite && !seen.has(composite)) {
|
|
15208
15226
|
const parentOwnNotes = base ? ownLevelNotes(base.annotations) : [];
|
|
15209
15227
|
const compositeOwnNotes = ownLevelNotes(composite.annotations).filter((note) => !parentOwnNotes.includes(note));
|
|
15210
|
-
const compositeOwn =
|
|
15228
|
+
const compositeOwn = gateAtLevel({ notes: compositeOwnNotes }, route);
|
|
15211
15229
|
groups.push(...compositeOwn.length > 0 ? [compositeOwn] : effectiveAncestorGateExprs(composite, modelDef, route, seen));
|
|
15212
15230
|
}
|
|
15213
15231
|
return groups;
|
|
15214
15232
|
}
|
|
15233
|
+
function gateExprsForRoute(struct, modelDef, route) {
|
|
15234
|
+
const own = gateAtLevel(struct.annotations, route);
|
|
15235
|
+
if (own.length === 0) {
|
|
15236
|
+
return effectiveAncestorGateExprs(struct, modelDef, route, new Set);
|
|
15237
|
+
}
|
|
15238
|
+
return struct.type === "query_source" ? [own, ...effectiveAncestorGateExprs(struct, modelDef, route, new Set)] : [own];
|
|
15239
|
+
}
|
|
15215
15240
|
function derivedStructsReachable(roots, modelDef) {
|
|
15216
15241
|
const seen = new Set(roots);
|
|
15217
15242
|
const found = [];
|
|
@@ -15509,8 +15534,11 @@ function assertAuthorizeGrammarValid(modelDef, authorizeMap, authorizeOwnNotes,
|
|
|
15509
15534
|
const struct = modelDef.contents[sourceName];
|
|
15510
15535
|
const ownGroupTerms = [];
|
|
15511
15536
|
const declaredAdmitAllRoutes = [];
|
|
15537
|
+
const ownRoutesSeen = new Set;
|
|
15512
15538
|
for (const { route, exprs } of groups) {
|
|
15513
|
-
const isOwn = (authorizeOwnNotes.get(sourceName)?.get(route)?.length ?? 0) > 0;
|
|
15539
|
+
const isOwn = (authorizeOwnNotes.get(sourceName)?.get(route)?.length ?? 0) > 0 && !ownRoutesSeen.has(route);
|
|
15540
|
+
if (isOwn)
|
|
15541
|
+
ownRoutesSeen.add(route);
|
|
15514
15542
|
const filteredExprs = exprs.filter((expr) => (isOwn || expr !== "false") && !isLegacyQuotedPayload(expr));
|
|
15515
15543
|
const groupTerms = [];
|
|
15516
15544
|
for (const expr of filteredExprs) {
|
|
@@ -16596,7 +16624,6 @@ function extractSourcesFromModelDef(modelDef, givens, onParseError) {
|
|
|
16596
16624
|
onParseError?.(sourceName, err);
|
|
16597
16625
|
}
|
|
16598
16626
|
}
|
|
16599
|
-
const ownNotes = ownLevelNoteTexts(struct.annotations);
|
|
16600
16627
|
const ownAuthorizeNotes = ownLevelNotes(struct.annotations).filter((note) => containsAuthorizeAnnotationTag([note.text]));
|
|
16601
16628
|
const ownNotesByRoute = new Map;
|
|
16602
16629
|
const attributedOwnNotesByRoute = new Map;
|
|
@@ -16610,8 +16637,7 @@ function extractSourcesFromModelDef(modelDef, givens, onParseError) {
|
|
|
16610
16637
|
const groupsForSource = [];
|
|
16611
16638
|
const routeGroupsByRoute = new Map;
|
|
16612
16639
|
for (const route of CANONICAL_AUTHORIZE_ROUTES) {
|
|
16613
|
-
const
|
|
16614
|
-
const groupsForRoute = ownExprsForRoute.length > 0 ? [ownExprsForRoute] : effectiveAncestorGateExprs(struct, modelDef, route);
|
|
16640
|
+
const groupsForRoute = gateExprsForRoute(struct, modelDef, route);
|
|
16615
16641
|
for (const exprs of groupsForRoute) {
|
|
16616
16642
|
groupsForSource.push({ route, exprs });
|
|
16617
16643
|
}
|
|
@@ -74838,13 +74864,20 @@ function serializeFetchOptions(options) {
|
|
|
74838
74864
|
return out;
|
|
74839
74865
|
}
|
|
74840
74866
|
function makeWorkerUrlReader(job) {
|
|
74867
|
+
const inMemory = new Map;
|
|
74868
|
+
for (const file of job.overlay ?? []) {
|
|
74869
|
+
inMemory.set(path7.resolve(job.packagePath, file.modelPath), file.source);
|
|
74870
|
+
}
|
|
74871
|
+
if (job.replacement) {
|
|
74872
|
+
inMemory.set(path7.resolve(job.packagePath, job.replacement.modelPath), job.replacement.source);
|
|
74873
|
+
}
|
|
74841
74874
|
return {
|
|
74842
74875
|
readURL: async (url) => {
|
|
74843
74876
|
if (url.protocol === "file:") {
|
|
74844
74877
|
const filePath = fileURLToPath2(url);
|
|
74845
|
-
|
|
74846
|
-
|
|
74847
|
-
|
|
74878
|
+
const held = inMemory.get(path7.resolve(filePath));
|
|
74879
|
+
if (held !== undefined)
|
|
74880
|
+
return held;
|
|
74848
74881
|
return fs5.promises.readFile(filePath, "utf8");
|
|
74849
74882
|
}
|
|
74850
74883
|
const response = await callMain((requestId) => {
|
|
@@ -75360,6 +75393,10 @@ async function loadPackage(job) {
|
|
|
75360
75393
|
if (job.replacement && !replacementMatchedExisting) {
|
|
75361
75394
|
modelPaths.push(job.replacement.modelPath);
|
|
75362
75395
|
}
|
|
75396
|
+
for (const file of job.overlay ?? []) {
|
|
75397
|
+
if (!modelPaths.includes(file.modelPath))
|
|
75398
|
+
modelPaths.push(file.modelPath);
|
|
75399
|
+
}
|
|
75363
75400
|
const compileRegionStart = performance.now();
|
|
75364
75401
|
const schemaCacheHitsAtStart = schemaCache.hits;
|
|
75365
75402
|
schemaWait.begin(job.requestId);
|