feat: add native Symcon archive trends and explicit room naming

This commit is contained in:
jhartworks committed 2026-11-11 12:00:51 +01:00
1 parent a4d195ba10
commit 9276d1c28a
8 files changed
+1057 -584

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ export function validateSymconPackage(root = fileURLToPath(new URL("../", import
assert.match(php, new RegExp(`class\\s+${entry.name}\\s+extends\\s+IPSModuleStrict\\b`), "Module PHP class is missing or mismatched");
const form = readJson(join(directory, "form.json"));
assert.ok(Array.isArray(form.elements) && Array.isArray(form.actions), "Module form must contain elements and actions");
for (const asset of ["nextfloor-designer.js", "nextfloor-3d.js", "nextfloor-editor.js", "nextfloor-card-editor.js"]) {
for (const asset of ["nextfloor-designer.js", "nextfloor-3d.js", "nextfloor-editor.js", "nextfloor-card-editor.js", "nextfloor-trend.js"]) {
assert.ok(readFileSync(join(directory, "assets", asset)).length > 0, `Missing build asset: ${asset}`);
}
modules.push(module);