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:
bymyself
2026-02-05 15:46:04 -08:00
parent 411f9d09d8
commit 4b1ce305d8

View File

@@ -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({