/** * Shrimp 服务端入口 — 包含 Express + Mongoose + JWT 实现 * * 在 core 之上额外暴露: * - ShrimpServer:Express Router + JWT 鉴权 + Mongo 连接 * - MongoShrimpCrud:Mongoose 数据源 * - 内置 User/Role/OperationLog 的 Mongoose Schema * * 这一入口需要消费方安装 peer 依赖:express / mongoose / jsonwebtoken / bcrypt。 * 不需要这些时请改从 'shrimp-server' 导入,不会触发任何 peer。 */ // 再导出所有 core 的符号,'shrimp-server/server' 单一入口就够用 export * from "./core" // ===== 服务端实现(Express + Mongoose + JWT) ===== export { ShrimpServer, UserSchema, RoleSchema, OperationLogSchema, } from "./ShrimpServer" // ===== Mongoose 数据源 ===== export { MongoShrimpCrud } from "./MongoShrimpCrud"