refactor(cli): split commands/platform.ts into platform/{shared,app-info,records,record-actions,index}.ts

Verbatim code moves grouped by concern: app metadata & permissions,
record query + ledger audit, and record write actions (incl. batch
safe edit). No behavior change: tsc clean, 316 tests pass.
This commit is contained in:
gitea committed 2026-10-04 14:14:57 +08:00
1 parent c8450b9908
commit 6cb05ebc37
7 files changed
+317 -286

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import { describe, expect, it, spyOn, afterEach } from "bun:test";
import { handlePlatformCommand } from "./platform.js";
import { handlePlatformCommand } from "./platform/index.js";
import * as api from "../../domains/datalink/api.js";
import * as services from "../../domains/datalink/services.js";
import * as helpers from "../helpers.js";