From 6e1f4abf278f23839736cf87f9789c8ffcf37896 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:02:53 -0500 Subject: [PATCH] chore: fix import issue in ./scripts/radashi-db/ --- scripts/radashi-db/gen-types.ts | 2 +- .../radashi-db/src/{supabase.types.ts => supabase-types.ts} | 0 scripts/radashi-db/src/supabase.ts | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename scripts/radashi-db/src/{supabase.types.ts => supabase-types.ts} (100%) diff --git a/scripts/radashi-db/gen-types.ts b/scripts/radashi-db/gen-types.ts index f845ad73..55240df8 100644 --- a/scripts/radashi-db/gen-types.ts +++ b/scripts/radashi-db/gen-types.ts @@ -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) }) diff --git a/scripts/radashi-db/src/supabase.types.ts b/scripts/radashi-db/src/supabase-types.ts similarity index 100% rename from scripts/radashi-db/src/supabase.types.ts rename to scripts/radashi-db/src/supabase-types.ts diff --git a/scripts/radashi-db/src/supabase.ts b/scripts/radashi-db/src/supabase.ts index 842fe6c8..5a5ce145 100644 --- a/scripts/radashi-db/src/supabase.ts +++ b/scripts/radashi-db/src/supabase.ts @@ -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') @@ -12,4 +12,4 @@ export const supabase = createClient( process.env.SUPABASE_KEY = '' -export * from './supabase.types' +export * from './supabase-types.ts'