Added some features :D, Codex limits are burned out by GPT 6 Astra D:

This commit is contained in:
2026-10-05 19:33:00 +05:00
parent b33db48b63
commit 923abdc472
23 changed files with 538 additions and 53 deletions

View File

@@ -49,6 +49,9 @@ test("contributions can contain one panorama, while new maps still need five", (
);
});
test("clients cannot choose other uploads' media or claim server-assigned provenance", () => {
const mapPath = `${root}/maps/${child}.webp`;
assert.equal(datasetSchema.parse({ ...manifest, mapPath }).mapPath, mapPath);
assert.throws(() => parseUploadManifest({ ...manifest, mapPath }));
for (const field of ["assetRoot", "assetId", "contributorId", "source"])
assert.throws(() =>
parseUploadManifest({