diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..61aa0a0 --- /dev/null +++ b/__init__.py @@ -0,0 +1,7 @@ +"""ComfyUI-Datasete-Gates — custom nodes.""" +from .gates.node import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS +from .gates import routes # noqa: F401 (registers aiohttp routes on import) + +WEB_DIRECTORY = "./web" + +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] diff --git a/gates/__init__.py b/gates/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/gates/node.py b/gates/node.py new file mode 100644 index 0000000..d3d66cc --- /dev/null +++ b/gates/node.py @@ -0,0 +1,3 @@ +# gates/node.py — stub (filled in Task 9) +NODE_CLASS_MAPPINGS = {} +NODE_DISPLAY_NAME_MAPPINGS = {} diff --git a/gates/routes.py b/gates/routes.py new file mode 100644 index 0000000..91f44aa --- /dev/null +++ b/gates/routes.py @@ -0,0 +1 @@ +# gates/routes.py — stub (filled in Task 10) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d9cfe45 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,9 @@ +[project] +name = "comfyui-datasete-gates" +version = "0.1.0" +description = "Dataset Gates — Image Pool (Grid) node for ComfyUI" +requires-python = ">=3.10" + +[tool.comfy] +PublisherId = "ethanfel" +DisplayName = "ComfyUI Datasete Gates" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/web/grid_image_pool.js b/web/grid_image_pool.js new file mode 100644 index 0000000..aa3e0d6 --- /dev/null +++ b/web/grid_image_pool.js @@ -0,0 +1,2 @@ +import { app } from "../../scripts/app.js"; +app.registerExtension({ name: "datasete.gates.imagepool" });