File size: 1,451 Bytes
5b97e57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from .proportional_dimension_node import NODE_CLASS_MAPPINGS as pd_class_mappings, NODE_DISPLAY_NAME_MAPPINGS as pd_display_mappings
from .string_replace_nodes import NODE_CLASS_MAPPINGS as sr_class_mappings, NODE_DISPLAY_NAME_MAPPINGS as sr_display_mappings
from .vace_looper_fade_mask_node import NODE_CLASS_MAPPINGS as vls_class_mappings, NODE_DISPLAY_NAME_MAPPINGS as vls_display_mappings
from .dynamic_string_concat_node import NODE_CLASS_MAPPINGS as dsc_class_mappings, NODE_DISPLAY_NAME_MAPPINGS as dsc_display_mappings
from .dynamic_lora_stack_node import NODE_CLASS_MAPPINGS as dls_class_mappings, NODE_DISPLAY_NAME_MAPPINGS as dls_display_mappings
from .fast_node_bypasser import NODE_CLASS_MAPPINGS as fnb_class_mappings, NODE_DISPLAY_NAME_MAPPINGS as fnb_display_mappings

# Combine the mappings
NODE_CLASS_MAPPINGS = {
    **dls_class_mappings,
    **dsc_class_mappings,
    **pd_class_mappings,
    **sr_class_mappings,
    **vls_class_mappings,
    **fnb_class_mappings
}

NODE_DISPLAY_NAME_MAPPINGS = {
    **dls_display_mappings,
    **dsc_display_mappings,
    **pd_display_mappings,
    **sr_display_mappings,
    **vls_display_mappings,
    **fnb_display_mappings
}

WEB_DIRECTORY = "./web"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']

print("### MoonPack Custom Nodes registered (Modular):")
for name in NODE_CLASS_MAPPINGS.keys():
    print(f"###   - {name}")