chore: isolate frontend and backend via npm workspaces and @mmapp/contracts
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b9a75b6831
commit
dfbaa859ad
26 files changed
+2917
-3633
No files matched your search
@@ -16,7 +16,7 @@ import {
|
||||
putRulesSchema,
|
||||
putTelegramSchema,
|
||||
testTelegramSchema,
|
||||
} from "../../../packages/contracts/dist/alerts.js"
|
||||
} from "@mmapp/contracts/alerts"
|
||||
|
||||
const alertsRoutes: FastifyPluginAsyncZod = async (app) => {
|
||||
app.get("/alerts", async (_req, reply) => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { FastifyPluginAsyncZod } from "@fastify/type-provider-zod"
|
||||
import { appendEventsSchema, listEventsQuerySchema } from "../../../packages/contracts/dist/events.js"
|
||||
import { appendEventsSchema, listEventsQuerySchema } from "@mmapp/contracts/events"
|
||||
import { appendEvents, readEvents } from "../modules/events/service/events-service.js"
|
||||
|
||||
const eventsRoutes: FastifyPluginAsyncZod = async (app) => {
|
||||
|
||||
Reference in new issue
Block a user