MCPcopy
hub / github.com/marko-js/marko / AttributeDefinition

Interface AttributeDefinition

packages/compiler/babel-utils.d.ts:3–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Config, types as t } from "@marko/compiler";
2
3export 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}
22export interface PluginDefinition<T = any> {
23 path?: string;
24 hook: Plugin<T>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…