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
5
5
.vercel
6
6
.netlify
7
7
.wrangler
8
- /.svelte-kit
8
+ /** / .svelte-kit
9
9
/build
10
10
11
11
# OS
Original file line number Diff line number Diff line change 1
1
import { http_transport } from '$lib/mcp/index.js' ;
2
- import { db } from '$lib/server/db' ;
2
+ import { db } from '$lib/server/db/index.js ' ;
3
3
4
4
export async function handle ( { event, resolve } ) {
5
5
const mcp_response = await http_transport . respond ( event . request , {
Original file line number Diff line number Diff line change 1
1
import { createClient } from '@libsql/client' ;
2
2
import { drizzle } from 'drizzle-orm/libsql' ;
3
3
import * 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
4
6
import { DATABASE_TOKEN , DATABASE_URL } from '$env/static/private' ;
5
7
if ( ! DATABASE_URL ) throw new Error ( 'DATABASE_URL is not set' ) ;
6
8
if ( ! DATABASE_TOKEN ) throw new Error ( 'DATABASE_TOKEN is not set' ) ;
Original file line number Diff line number Diff line change 14
14
"license" : " ISC" ,
15
15
"packageManager" :
" [email protected] " ,
16
16
"type" : " module" ,
17
- "peerDependencies " : {
17
+ "dependencies " : {
18
18
"drizzle-orm" : " ^0.40.1"
19
19
}
20
20
}
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' ;
2
5
import { customType } from 'drizzle-orm/sqlite-core' ;
3
6
4
7
/**
You can’t perform that action at this time.
0 commit comments