BE: Remove the deprecated itemType field from GraphQL schema

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Overview

Remove the deprecated itemType field from the GraphQL schema for AI Catalog items.

Background

As discussed in MR !212078 (merged), the frontend has been standardized to use itemTypes (plural) instead of itemType (singular) across all GraphQL queries. The backend can now deprecate and remove the singular itemType field.

Changes Required

  • Mark itemType field as deprecated in the GraphQL schema
  • Remove itemType field from the GraphQL schema (or keep as deprecated based on backwards compatibility requirements)
  • Verify no remaining backend usage of the singular field

Related Issues

Acceptance Criteria

  • itemType field is removed or deprecated from GraphQL schema
  • All backend code updated to use itemTypes (plural) only
  • No breaking changes for existing API consumers (if deprecation is preferred)
  • Tests updated to reflect changes
Edited by 🤖 GitLab Bot 🤖