@rstore/nuxt-drizzle
Version:
Rstore + Nuxt + Drizzle
36 lines (33 loc) • 826 B
TypeScript
import * as _nuxt_schema from '@nuxt/schema';
export * from '../dist/runtime/types.js';
interface ModuleOptions {
/**
* Path to the drizzle config file
*/
drizzleConfigPath?: string;
/**
* Import name for the function that returns the drizzle instance
*
* @default { name: 'useDrizzle', from '~~/server/utils/drizzle' }
*/
drizzleImport?: {
name: string;
from: string;
/**
* @deprecated
*/
default: {
name: string;
from: string;
};
};
/**
* Generated REST API path
*
* @default '/api/rstore'
*/
apiPath?: string;
}
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
export { _default as default };
export type { ModuleOptions };