| 28 | ] |
| 29 | |
| 30 | export interface ModuleOptions { |
| 31 | defaultConfig?: boolean |
| 32 | configFile?: string |
| 33 | /** |
| 34 | * When true FormKit will not install itself globally and will instead inject |
| 35 | * a `<FormKitLazyProvider>` around components that use FormKit. Additionally |
| 36 | * when true FormKit enables auto-imports for the following: |
| 37 | * |
| 38 | * - `<FormKit>` |
| 39 | * - `<FormKitProvider>` |
| 40 | * - `<FormKitMessages>` |
| 41 | * - `<FormKitSummary>` |
| 42 | * - `<FormKitSchema>` |
| 43 | * - `getNode()` |
| 44 | * - `createInput()` |
| 45 | * - `setErrors`, |
| 46 | * - `clearErrors`, |
| 47 | * - `submitForm`, |
| 48 | * - `reset`, |
| 49 | * - `FormKitNode` |
| 50 | * |
| 51 | * @experimental |
| 52 | */ |
| 53 | autoImport?: boolean |
| 54 | } |
| 55 | |
| 56 | const module: NuxtModule<ModuleOptions> = defineNuxtModule<ModuleOptions>({ |
| 57 | meta: { |
nothing calls this directly
no outgoing calls
no test coverage detected