mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
Rename essentials_category to main_category in schema
Amp-Thread-ID: https://ampcode.com/threads/T-019c2b69-81c1-71c3-8096-450a39e20910
This commit is contained in:
@@ -287,10 +287,10 @@ export const zComfyNodeDef = z.object({
|
||||
*/
|
||||
price_badge: zPriceBadge.optional(),
|
||||
/**
|
||||
* Optional category for the Essentials tab in the node library.
|
||||
* Path-based like category field (e.g., 'Basic', 'Image Tools/Editing').
|
||||
* Optional main category for top-level tabs in the node library
|
||||
* (e.g., 'Basic', 'Image Tools', 'Partner Nodes').
|
||||
*/
|
||||
essentials_category: z.string().optional()
|
||||
main_category: z.string().optional()
|
||||
})
|
||||
|
||||
export const zAutogrowOptions = z.object({
|
||||
|
||||
Reference in New Issue
Block a user