feat: initialize monorepo with shared, server, mcp, and web packages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-02 11:28:59 +08:00
commit f644dc2dfd
29 changed files with 2660 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import { PrismaClient } from '@prisma/client';
export const prisma = new PrismaClient();

View File

@@ -0,0 +1,2 @@
export { prisma } from './db.js';
export type * from './types.js';

View File

@@ -0,0 +1,9 @@
// Shared types — will be populated as we build features
export type ApiResponse<T = unknown> = {
success: boolean;
data?: T;
error?: {
code: string;
message: string;
};
};