Standardize itemTypes in queries

Relates to issue #579984 (closed)

Changes

  • Standardized ai_catalog_flows.query.graphql: Removed singular $itemType: AiCatalogItemType variable declaration and itemType: $itemType parameter usage. Now exclusively uses $itemTypes: [AiCatalogItemType!] and itemTypes: $itemTypes for consistency.

  • Standardized ai_catalog_agents.query.graphql: Changed from itemType: AGENT to itemTypes: [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

Merge request reports

Loading