File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed
Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ node_modules
55.vercel
66.netlify
77.wrangler
8- /.svelte-kit
8+ /** / .svelte-kit
99/build
1010
1111# OS
Original file line number Diff line number Diff line change 11import { http_transport } from '$lib/mcp/index.js' ;
2- import { db } from '$lib/server/db' ;
2+ import { db } from '$lib/server/db/index.js ' ;
33
44export async function handle ( { event, resolve } ) {
55 const mcp_response = await http_transport . respond ( event . request , {
Original file line number Diff line number Diff line change 11import { createClient } from '@libsql/client' ;
22import { drizzle } from 'drizzle-orm/libsql' ;
33import * as schema from './schema.js' ;
4+ // let's disable it for the moment...i can't figure out a way to make it wotk with eslint
5+ // eslint-disable-next-line import/extensions
46import { DATABASE_TOKEN , DATABASE_URL } from '$env/static/private' ;
57if ( ! DATABASE_URL ) throw new Error ( 'DATABASE_URL is not set' ) ;
68if ( ! DATABASE_TOKEN ) throw new Error ( 'DATABASE_TOKEN is not set' ) ;
Original file line number Diff line number Diff line change 1414 "license" : " ISC" ,
1515 "packageManager" :
" [email protected] " ,
1616 "type" : " module" ,
17- "peerDependencies " : {
17+ "dependencies " : {
1818 "drizzle-orm" : " ^0.40.1"
1919 }
2020}
Original file line number Diff line number Diff line change 1- import { sql , Column } from 'drizzle-orm' ;
1+ /**
2+ * @import { Column } from 'drizzle-orm';
3+ */
4+ import { sql } from 'drizzle-orm' ;
25import { customType } from 'drizzle-orm/sqlite-core' ;
36
47/**
You can’t perform that action at this time.
0 commit comments