refactor: Migrate the project functionality and optimize the code structure

This commit is contained in:
hayden
2024-10-12 17:31:11 +08:00
committed by hayden
parent d96aff80c2
commit c1747a79f3
71 changed files with 6741 additions and 1320 deletions

7
src/scripts/comfyAPI.ts Normal file
View File

@@ -0,0 +1,7 @@
export const app = window.comfyAPI.app.app
export const api = window.comfyAPI.api.api
export const $el = window.comfyAPI.ui.$el
export const ComfyApp = window.comfyAPI.app.ComfyApp
export const ComfyButton = window.comfyAPI.button.ComfyButton