added preview history

This commit is contained in:
rainlizard
2025-04-11 00:08:36 +10:00
parent fe44187854
commit 4d5f7c3af9
3 changed files with 232 additions and 2 deletions
+6 -2
View File
@@ -1,11 +1,15 @@
from . import raffle
from . import preview_history # Import the renamed module
from .raffle import Raffle
from .preview_history import PreviewHistory # Import the renamed class
NODE_CLASS_MAPPINGS = {
"Raffle": Raffle
"Raffle": Raffle,
"PreviewHistory": PreviewHistory # Add the renamed mapping
}
NODE_DISPLAY_NAME_MAPPINGS = {
"Raffle": "Raffle"
"Raffle": "Raffle",
"PreviewHistory": "Preview History (Raffle)" # Add the renamed display name
}
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']