scripts

package
v0.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package scripts owns only the embedded source for built-in JS graph nodes. Graph-layer declarations such as node type, ports, and bridge requirements live in sdk/graph/node/scriptnode's builtin catalog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuiltinTypes

func BuiltinTypes() []string

BuiltinTypes returns the list of all built-in JS node type names, derived automatically from the embedded .js files.

func Get

func Get(nodeType string) (string, error)

Get returns the JS source for a built-in node type.

func IsBuiltin

func IsBuiltin(nodeType string) bool

IsBuiltin reports whether the given node type has a built-in JS script.

func MustGet

func MustGet(nodeType string) string

MustGet is like Get but panics on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL