@@ -3,6 +3,42 @@ import { getNodeSource } from "@/types/nodeSource";
33import Fuse , { IFuseOptions , FuseSearchOptions } from "fuse.js" ;
44import _ from "lodash" ;
55
6+ export const SYSTEM_NODE_DEFS : ComfyNodeDef [ ] = [
7+ {
8+ name : "PrimitiveNode" ,
9+ display_name : "Primitive" ,
10+ category : "utils" ,
11+ input : { required : { } , optional : { } } ,
12+ output : [ "*" ] ,
13+ output_name : [ "connect to widget input" ] ,
14+ output_is_list : [ false ] ,
15+ python_module : "nodes" ,
16+ description : "Primitive values like numbers, strings, and booleans." ,
17+ } ,
18+ {
19+ name : "Reroute" ,
20+ display_name : "Reroute" ,
21+ category : "utils" ,
22+ input : { required : { "" : [ "*" ] } , optional : { } } ,
23+ output : [ "*" ] ,
24+ output_name : [ "" ] ,
25+ output_is_list : [ false ] ,
26+ python_module : "nodes" ,
27+ description : "Reroute the connection to another node." ,
28+ } ,
29+ {
30+ name : "Note" ,
31+ display_name : "Note" ,
32+ category : "utils" ,
33+ input : { required : { } , optional : { } } ,
34+ output : [ ] ,
35+ output_name : [ ] ,
36+ output_is_list : [ ] ,
37+ python_module : "nodes" ,
38+ description : "Node that add notes to your project" ,
39+ } ,
40+ ] ;
41+
642export class FuseSearch < T > {
743 private fuse : Fuse < T > ;
844 public readonly data : T [ ] ;
0 commit comments