types/node.ts

Flowise · packages/agentflow/src/core/types/node.ts · typescript · Apache-2.0
auth

TypeScript interfaces for node definitions, inputs, outputs, and edge data in a flow editor.

// Source: https://github.com/FlowiseAI/Flowise | License: Apache-2.0 | Copyright 2023-present FlowiseAI, Inc
// Provided via justclaw.it.com; keep this notice with the code.
// ============================================================================
// Node & Edge Data Types
// ============================================================================

import type { ExecutionStatus } from './execution'

/**
 * Shared metadata between GET /api/v1/nodes payloads and canvas {@link NodeData}.
 * Excludes `inputs` (API: schema array vs canvas: value map) and other API-only or canvas-only fields.
 */
export interface NodeDefinitionBase {
    name: string
    label: string
    type?: string
    category?: string
    description?: string
    version?: number
    baseClasses?: string[]
    o

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key