Spaces:
Running
on
L40S
Running
on
L40S
File size: 1,779 Bytes
4450790 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
import type { AdjustedMouseEvent, LGraphNode, Vector2 } from "./litegraph.js";
import type {Constructor} from "./index.js";
import type {RgthreeBaseVirtualNode} from '../comfyui/base_node.js'
export type AdjustedMouseCustomEvent = CustomEvent<{ originalEvent: AdjustedMouseEvent }>;
export interface RgthreeBaseNodeConstructor extends Constructor<RgthreeBaseNode> {
static type: string;
static category: string;
static comfyClass: string;
static exposedActions: string[];
}
export interface RgthreeBaseVirtualNodeConstructor extends Constructor<RgthreeBaseVirtualNode> {
static type: string;
static category: string;
static _category: string;
}
export interface RgthreeBaseServerNodeConstructor extends Constructor<RgthreeBaseServerNode> {
static nodeType: ComfyNodeConstructor;
static nodeData: ComfyObjectInfo;
static __registeredForOverride__: boolean;
onRegisteredForOverride(comfyClass: any, rgthreeClass: any) : void;
}
export type RgthreeModelInfo = {
file?: string;
name?: string;
type?: string;
baseModel?: string;
baseModelFile?: string;
links?: string[];
strengthMin?: number;
strengthMax?: number;
triggerWords?: string[];
trainedWords?: {
word: string;
count?: number;
civitai?: boolean
user?: boolean
}[];
description?: string;
sha256?: string;
path?: string;
images?: {
url: string;
civitaiUrl?: string;
steps?: string|number;
cfg?: string|number;
type?: 'image'|'video';
sampler?: string;
model?: string;
seed?: string;
negative?: string;
positive?: string;
resources?: {name?: string, type?: string, weight?: string|number}[];
}[]
userTags?: string[];
userNote?: string;
raw?: any;
// This one is just on the client.
filterDir?: string;
}
|