@comfyorg/comfyui-frontend-types 1.32.8 → 1.32.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +8 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5151,6 +5151,13 @@ export declare class ComfyApp {
|
|
|
5151
5151
|
* @returns Position of the output slot
|
|
5152
5152
|
*/
|
|
5153
5153
|
getOutputPos(outputSlotIndex: number): Point;
|
|
5154
|
+
/**
|
|
5155
|
+
* Get slot position using layout tree if available, fallback to node's position * Unified implementation used by both LitegraphLinkAdapter and useLinkLayoutSync
|
|
5156
|
+
* @param slotIndex The slot index
|
|
5157
|
+
* @param isInput Whether this is an input slot
|
|
5158
|
+
* @returns Position of the slot center in graph coordinates
|
|
5159
|
+
*/
|
|
5160
|
+
getSlotPosition(slotIndex: number, isInput: boolean): Point;
|
|
5154
5161
|
/** @inheritdoc */
|
|
5155
5162
|
snapToGrid(snapTo: number): boolean;
|
|
5156
5163
|
/** @see {@link snapToGrid} */
|
|
@@ -7098,6 +7105,7 @@ export declare class ComfyApp {
|
|
|
7098
7105
|
versionAdded?: string;
|
|
7099
7106
|
versionModified?: string;
|
|
7100
7107
|
sortOrder?: number;
|
|
7108
|
+
hideInVueNodes?: boolean;
|
|
7101
7109
|
}
|
|
7102
7110
|
|
|
7103
7111
|
export { Settings }
|