Skip to content

Commit dda89f7

Browse files
committed
fix: fix config and standardize imports to supabase type defs
1 parent fd43a35 commit dda89f7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/components/PendingProductsTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { TableColumn } from '@nuxt/ui';
33
import type { AsyncDataRequestStatus } from '#app';
44
import { objectToCamel } from 'ts-case-convert';
55
6-
import type { Tables } from '../../types/database.types';
6+
import type { Tables } from '~~/types/database.types';
77
88
const ULink = resolveComponent('ULink');
99

app/components/SitesTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { TableColumn } from '@nuxt/ui';
33
import type { AsyncDataRequestStatus } from '#app';
44
import { objectToCamel } from 'ts-case-convert';
55
6-
import type { Tables } from '../../types/database.types';
6+
import type { Tables } from '~~/types/database.types';
77
88
const client = useSupabaseClient();
99

nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ export default defineNuxtConfig({
5454
callback: '/confirm',
5555
include: ['/admin(/*)?'],
5656
},
57-
types: './types/database.types.ts',
57+
types: '~~/types/database.types.ts',
5858
},
5959
});

0 commit comments

Comments
 (0)