Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef50de41e5 |
@@ -0,0 +1,4 @@
|
|||||||
|
/** @typedef {import('../../../web/scripts/api.js').api} API*/
|
||||||
|
import { api as _api } from '../../scripts/api.js';
|
||||||
|
/** @type {API} */
|
||||||
|
export const api = _api;
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
/** @typedef {import('../../../web/scripts/app.js').ComfyApp} ComfyApp*/
|
||||||
|
import { app as _app } from '../../scripts/app.js';
|
||||||
|
/** @type {ComfyApp} */
|
||||||
|
export const app = _app;
|
||||||
+6
-7
@@ -1,11 +1,8 @@
|
|||||||
import { app } from "../../scripts/app.js";
|
import { app } from "./app.js";
|
||||||
import { api } from "../../scripts/api.js";
|
import { api } from "./api.js";
|
||||||
// import { LGraphNode } from "../../scripts/widgets.js";
|
import { ComfyWidgets, LGraphNode } from "./widgets.js";
|
||||||
LGraphNode = LiteGraph.LGraphNode;
|
|
||||||
import { ComfyDialog, $el } from "../../scripts/ui.js";
|
|
||||||
|
|
||||||
import { generateDependencyGraph } from "https://esm.sh/[email protected]";
|
import { generateDependencyGraph } from "https://esm.sh/[email protected]";
|
||||||
import { ComfyDeploy } from "https://esm.sh/comfydeploy@2.0.0-beta.69";
|
import { ComfyDeploy } from "https://esm.sh/comfydeploy@0.0.19-beta.30";
|
||||||
|
|
||||||
const styles = `
|
const styles = `
|
||||||
.comfydeploy-menu-item {
|
.comfydeploy-menu-item {
|
||||||
@@ -1290,6 +1287,8 @@ function addButton() {
|
|||||||
|
|
||||||
app.registerExtension(ext);
|
app.registerExtension(ext);
|
||||||
|
|
||||||
|
import { ComfyDialog, $el } from "../../scripts/ui.js";
|
||||||
|
|
||||||
export class InfoDialog extends ComfyDialog {
|
export class InfoDialog extends ComfyDialog {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
// /** @typedef {import('../../../web/scripts/api.js').api} API*/
|
||||||
|
// import { api as _api } from "../../scripts/api.js";
|
||||||
|
// /** @type {API} */
|
||||||
|
// export const api = _api;
|
||||||
|
|
||||||
|
/** @typedef {typeof import('../../../web/scripts/widgets.js').ComfyWidgets} Widgets*/
|
||||||
|
import { ComfyWidgets as _ComfyWidgets } from "../../scripts/widgets.js";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {Widgets}
|
||||||
|
*/
|
||||||
|
export const ComfyWidgets = _ComfyWidgets;
|
||||||
|
|
||||||
|
// import { LGraphNode as _LGraphNode } from "../../types/litegraph.js";
|
||||||
|
|
||||||
|
/** @typedef {typeof import('../../../web/types/litegraph.js').LGraphNode} LGraphNode*/
|
||||||
|
/** @type {LGraphNode}*/
|
||||||
|
export const LGraphNode = LiteGraph.LGraphNode;
|
||||||
Reference in New Issue
Block a user