Release 0.0.5
This commit is contained in:
@@ -48,6 +48,7 @@ async function* listWorldSources() {
|
||||
const collectionsDir = path.join(dataRoot, "worlds", worldId, "data");
|
||||
const collectionNames = await fs.readdir(collectionsDir);
|
||||
for (const collectionName of collectionNames.sort()) {
|
||||
if (collectionName === "messages") continue;
|
||||
const dbPath = path.join(collectionsDir, collectionName);
|
||||
const db = new ClassicLevel(dbPath, { keyEncoding: "utf8", valueEncoding: "json" });
|
||||
await db.open();
|
||||
|
||||
Reference in New Issue
Block a user