MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / DesignNodeBase

Interface DesignNodeBase

packages/plugins/src/index.ts:14–23  ·  view source on GitHub ↗

* Common fields available on every design node we expose.

Source from the content-addressed store, hash-verified

12 * Common fields available on every design node we expose.
13 */
14interface DesignNodeBase {
15 /** Human-friendly node name shown in Figma. */
16 name: string
17
18 /** Discriminant describing the concrete node type. */
19 type: SupportedDesignNodeType
20
21 /** Whether the node is visible in the current document. */
22 visible: boolean
23}
24
25/**
26 * Union of every design node variant exposed to plugins.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected