Initial Commit with directus extension endpoint template

This commit is contained in:
2025-10-25 12:15:02 +08:00
commit ef07c35825
5 changed files with 5687 additions and 0 deletions

8
src/index.ts Normal file
View File

@ -0,0 +1,8 @@
import { defineEndpoint } from "@directus/extensions-sdk";
export default defineEndpoint({
id: "wechat-service",
handler: (router) => {
router.get("/", (_req, res) => res.send("Hello, Wechat!"));
},
});