Skip to content

Commit c951440

Browse files
committed
fix(warnings): fix warning errors
1 parent 05869a4 commit c951440

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/module.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export interface ModuleOptions {
3131
injectDbCredentials: boolean
3232
projectInit: boolean
3333
installCli: boolean
34+
identityModel: string
3435
}
3536

3637
const { resolve: resolveLocal } = createResolver(import.meta.url)
@@ -67,6 +68,7 @@ export default defineNuxtModule<ModuleOptions>({
6768
injectDbCredentials: true,
6869
auth: false,
6970
oauth: false,
71+
identityModel: 'User',
7072
},
7173
async setup(options, nuxt) {
7274
const { successMessage: success, errorMessage: error, edgeColor } = useLogger()
@@ -78,6 +80,11 @@ export default defineNuxtModule<ModuleOptions>({
7880
const hasConfigFile = () => existsSync(edgeDbConfigPath)
7981
const canPrompt = nuxt.options.dev
8082

83+
// Transpile edgedb
84+
nuxt.options.build = nuxt.options.build ?? {}
85+
nuxt.options.build.transpile ??= []
86+
nuxt.options.build.transpile.push('edgedb')
87+
8188
async function piped$(
8289
command: string,
8390
args: string[],

0 commit comments

Comments
 (0)