refactor(desktop): organize lib modules by domain

This commit is contained in:
t8y2
2026-07-04 13:53:52 +08:00
parent 90f0594e93
commit 7e7c4944e9
700 changed files with 1292 additions and 1264 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ import {
parseMongoWriteCommand,
splitMongoCommands,
splitMongoCommandRanges,
} from "../../apps/desktop/src/lib/mongoShellCommand.ts";
import { buildMongoUpdateDocument as buildMongoDocumentUpdate, formatMongoShellLiteral as formatMongoDocumentShellLiteral } from "../../apps/desktop/src/lib/mongoDocumentValues.ts";
} from "../../apps/desktop/src/lib/mongo/mongoShellCommand.ts";
import { buildMongoUpdateDocument as buildMongoDocumentUpdate, formatMongoShellLiteral as formatMongoDocumentShellLiteral } from "../../apps/desktop/src/lib/mongo/mongoDocumentValues.ts";
test("parseMongoFindCommand parses db collection find with an empty JSON filter", () => {
assert.deepEqual(parseMongoFindCommand("db.users.find({})"), {