| 1 | import type { Config, types as t } from "@marko/compiler"; |
| 2 | |
| 3 | export interface AttributeDefinition { |
| 4 | allowExpressions: boolean; |
| 5 | filePath: string; |
| 6 | name: string; |
| 7 | type?: string; |
| 8 | html?: boolean; |
| 9 | enum?: string[]; |
| 10 | pattern?: RegExp; |
| 11 | required: boolean; |
| 12 | defaultValue: unknown; |
| 13 | description?: string; |
| 14 | deprecated: boolean; |
| 15 | autocomplete: Array<{ |
| 16 | displayText: string; |
| 17 | snippet: string; |
| 18 | description: string; |
| 19 | descriptionMoreURL?: string; |
| 20 | }>; |
| 21 | } |
| 22 | export interface PluginDefinition<T = any> { |
| 23 | path?: string; |
| 24 | hook: Plugin<T>; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…