@rstore/nuxt-drizzle
Version:
Rstore + Nuxt + Drizzle
30 lines (27 loc) • 745 B
text/typescript
import * as _nuxt_schema from '@nuxt/schema';
declare module '@rstore/shared' {
interface CustomModelMeta {
scopeId?: string;
table?: string;
primaryKeys?: string[];
}
}
interface ModuleOptions {
/**
* Path to the drizzle config file
*/
drizzleConfigPath?: string;
/**
* Import name for the function that returns the drizzle instance
*
* @default { default: { name: 'useDrizzle', from '~~/server/utils/drizzle' } }
*/
drizzleImport?: {
default: {
name: string;
from: string;
};
};
}
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
export { type ModuleOptions, _default as default };