mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 01:09:46 +00:00
Add ComfyUI Examples workflows to in-app templates (#2541)
Co-authored-by: jojodecayz <121620462+jojodecayz@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
16
src/types/workflowTemplateTypes.ts
Normal file
16
src/types/workflowTemplateTypes.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export interface TemplateInfo {
|
||||
name: string
|
||||
tutorialUrl?: string
|
||||
mediaType: string
|
||||
mediaSubtype: string
|
||||
}
|
||||
|
||||
export interface WorkflowTemplates {
|
||||
moduleName: string
|
||||
templates: TemplateInfo[]
|
||||
title: string
|
||||
}
|
||||
export interface TemplateGroup {
|
||||
label: string
|
||||
modules: WorkflowTemplates[]
|
||||
}
|
||||
Reference in New Issue
Block a user