refactor(monorepo): decouple api and webui into workspaces packages

This commit is contained in:
yiling
2026-06-01 23:35:00 +08:00
parent e3f4fa219e
commit 1f341c15d0
288 changed files with 18024 additions and 21178 deletions
+5
View File
@@ -0,0 +1,5 @@
export function arrayMove<T>(array: T[], from: number, to: number): T[] {
const newArray = array.slice()
newArray.splice(to, 0, newArray.splice(from, 1)[0])
return newArray
}