Standardize itemTypes in queries
Relates to issue #579984 (closed)
Changes
-
Standardized
ai_catalog_flows.query.graphql: Removed singular$itemType: AiCatalogItemTypevariable declaration anditemType: $itemTypeparameter usage. Now exclusively uses$itemTypes: [AiCatalogItemType!]anditemTypes: $itemTypesfor consistency. -
Standardized
ai_catalog_agents.query.graphql: Changed fromitemType: AGENTtoitemTypes: [AGENT]to use the plural form consistently with other catalog queries. -
Verified consistency: All catalog item queries now consistently use
itemTypes(plural):-
ai_catalog_flows.query.graphql✓ -
ai_catalog_agents.query.graphql✓ -
ai_catalog_configured_items.query.graphql✓ -
get_catalog_consumer_items.query.graphql✓
-
This refactoring ensures all frontend GraphQL queries follow the same pattern for configured items, improving code consistency and maintainability.
Edited by Vanessa Otto