generate schema

This commit is contained in:
Zotov Ivan Yuryevich
2026-04-08 22:33:20 +03:00
parent 8b100c18b7
commit d0ff2907cb
3 changed files with 337 additions and 20 deletions

View File

@@ -75,6 +75,48 @@ type CategoryRelationResponseCollection {
nodes: [Category!]!
}
type ComponentCardsAdvantage {
color: ComponentSharedColor
description: String
icon: ComponentSharedIcon
id: ID!
title: String
}
input ComponentCardsAdvantageFiltersInput {
and: [ComponentCardsAdvantageFiltersInput]
color: ComponentSharedColorFiltersInput
description: StringFilterInput
icon: ComponentSharedIconFiltersInput
not: ComponentCardsAdvantageFiltersInput
or: [ComponentCardsAdvantageFiltersInput]
title: StringFilterInput
}
type ComponentCardsCase {
badge: String
color: ComponentSharedColor
description: String
footnote: String
icon: ComponentSharedIcon
id: ID!
pretitle: String
title: String
}
input ComponentCardsCaseFiltersInput {
and: [ComponentCardsCaseFiltersInput]
badge: StringFilterInput
color: ComponentSharedColorFiltersInput
description: StringFilterInput
footnote: StringFilterInput
icon: ComponentSharedIconFiltersInput
not: ComponentCardsCaseFiltersInput
or: [ComponentCardsCaseFiltersInput]
pretitle: StringFilterInput
title: StringFilterInput
}
type ComponentCardsService {
category: Category
color: ComponentSharedColor
@@ -95,6 +137,41 @@ input ComponentCardsServiceFiltersInput {
title: StringFilterInput
}
type ComponentCardsSolution {
category: Category
description: String
footnote: String
icon: ComponentSharedIcon
id: ID!
title: String
}
input ComponentCardsSolutionFiltersInput {
and: [ComponentCardsSolutionFiltersInput]
category: CategoryFiltersInput
description: StringFilterInput
footnote: StringFilterInput
icon: ComponentSharedIconFiltersInput
not: ComponentCardsSolutionFiltersInput
or: [ComponentCardsSolutionFiltersInput]
title: StringFilterInput
}
type ComponentSectionsAbout {
cards(filters: ComponentCardsAdvantageFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentCardsAdvantage]
description: String
id: ID!
partners(filters: ComponentSharedStringFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentSharedString]
title: String
}
type ComponentSectionsCases {
cards(filters: ComponentCardsCaseFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentCardsCase]
description: String
id: ID!
title: String
}
type ComponentSectionsHomeHero {
badge: String
description: String
@@ -110,6 +187,13 @@ type ComponentSectionsServices {
title: String
}
type ComponentSectionsSolutions {
cards(filters: ComponentCardsSolutionFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentCardsSolution]
description: String
id: ID!
title: String
}
type ComponentSharedAttribute {
id: ID!
key: String
@@ -285,7 +369,7 @@ input FloatFilterInput {
startsWith: Float
}
union GenericMorph = Category | ComponentCardsService | ComponentSectionsHomeHero | ComponentSectionsServices | ComponentSharedAttribute | ComponentSharedColor | ComponentSharedContact | ComponentSharedIcon | ComponentSharedString | HomePage | I18NLocale | ReviewWorkflowsWorkflow | ReviewWorkflowsWorkflowStage | SiteConfig | UploadFile | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser | Vendor
union GenericMorph = Category | ComponentCardsAdvantage | ComponentCardsCase | ComponentCardsService | ComponentCardsSolution | ComponentSectionsAbout | ComponentSectionsCases | ComponentSectionsHomeHero | ComponentSectionsServices | ComponentSectionsSolutions | ComponentSharedAttribute | ComponentSharedColor | ComponentSharedContact | ComponentSharedIcon | ComponentSharedString | HomePage | I18NLocale | ReviewWorkflowsWorkflow | ReviewWorkflowsWorkflowStage | SiteConfig | UploadFile | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser | Vendor
type HomePage {
createdAt: DateTime
@@ -300,7 +384,7 @@ input HomePageInput {
sections: [HomePageSectionsDynamicZoneInput!]
}
union HomePageSectionsDynamicZone = ComponentSectionsHomeHero | ComponentSectionsServices | Error
union HomePageSectionsDynamicZone = ComponentSectionsAbout | ComponentSectionsCases | ComponentSectionsHomeHero | ComponentSectionsServices | ComponentSectionsSolutions | Error
scalar HomePageSectionsDynamicZoneInput