feat(noc): implement NOC API module and sync strategy task

This commit is contained in:
2026-03-30 14:32:12 +08:00
parent ed93363de1
commit 3125bc1002
7 changed files with 1605 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ import { division } from "./division";
import { event } from "./event";
import { profile } from "./profile";
import { resident } from "./resident";
import { noc } from "./noc";
const isProduction = process.env.NODE_ENV === "production";
@@ -35,6 +36,7 @@ const api = new Elysia({
},
},
)
.use(noc)
.use(apiMiddleware)
.use(apikey)
.use(profile)