Skip to content

Commit

Permalink
chore: fix import issue in ./scripts/radashi-db/
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Nov 22, 2024
1 parent 73a4e90 commit 6e1f4ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/radashi-db/gen-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ await execa(
},
).then(async result => {
// Write output to file
await writeFile(`${scriptDir}/src/supabase.types.ts`, result.stdout)
await writeFile(`${scriptDir}/src/supabase-types.ts`, result.stdout)
})
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/radashi-db/src/supabase.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createClient } from '@supabase/supabase-js'
import type { Database } from './supabase.types.ts'
import type { Database } from './supabase-types.ts'

if (!process.env.SUPABASE_KEY) {
throw new Error('SUPABASE_KEY is not set')
Expand All @@ -12,4 +12,4 @@ export const supabase = createClient<Database>(

process.env.SUPABASE_KEY = ''

export * from './supabase.types'
export * from './supabase-types.ts'

0 comments on commit 6e1f4ab

Please sign in to comment.