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

@@ -115,6 +115,50 @@ export type CategoryRelationResponseCollection = {
nodes: Array<Category>;
};
export type ComponentCardsAdvantage = {
__typename?: 'ComponentCardsAdvantage';
color?: Maybe<ComponentSharedColor>;
description?: Maybe<Scalars['String']['output']>;
icon?: Maybe<ComponentSharedIcon>;
id: Scalars['ID']['output'];
title?: Maybe<Scalars['String']['output']>;
};
export type ComponentCardsAdvantageFiltersInput = {
and?: InputMaybe<Array<InputMaybe<ComponentCardsAdvantageFiltersInput>>>;
color?: InputMaybe<ComponentSharedColorFiltersInput>;
description?: InputMaybe<StringFilterInput>;
icon?: InputMaybe<ComponentSharedIconFiltersInput>;
not?: InputMaybe<ComponentCardsAdvantageFiltersInput>;
or?: InputMaybe<Array<InputMaybe<ComponentCardsAdvantageFiltersInput>>>;
title?: InputMaybe<StringFilterInput>;
};
export type ComponentCardsCase = {
__typename?: 'ComponentCardsCase';
badge?: Maybe<Scalars['String']['output']>;
color?: Maybe<ComponentSharedColor>;
description?: Maybe<Scalars['String']['output']>;
footnote?: Maybe<Scalars['String']['output']>;
icon?: Maybe<ComponentSharedIcon>;
id: Scalars['ID']['output'];
pretitle?: Maybe<Scalars['String']['output']>;
title?: Maybe<Scalars['String']['output']>;
};
export type ComponentCardsCaseFiltersInput = {
and?: InputMaybe<Array<InputMaybe<ComponentCardsCaseFiltersInput>>>;
badge?: InputMaybe<StringFilterInput>;
color?: InputMaybe<ComponentSharedColorFiltersInput>;
description?: InputMaybe<StringFilterInput>;
footnote?: InputMaybe<StringFilterInput>;
icon?: InputMaybe<ComponentSharedIconFiltersInput>;
not?: InputMaybe<ComponentCardsCaseFiltersInput>;
or?: InputMaybe<Array<InputMaybe<ComponentCardsCaseFiltersInput>>>;
pretitle?: InputMaybe<StringFilterInput>;
title?: InputMaybe<StringFilterInput>;
};
export type ComponentCardsService = {
__typename?: 'ComponentCardsService';
category?: Maybe<Category>;
@@ -136,6 +180,65 @@ export type ComponentCardsServiceFiltersInput = {
title?: InputMaybe<StringFilterInput>;
};
export type ComponentCardsSolution = {
__typename?: 'ComponentCardsSolution';
category?: Maybe<Category>;
description?: Maybe<Scalars['String']['output']>;
footnote?: Maybe<Scalars['String']['output']>;
icon?: Maybe<ComponentSharedIcon>;
id: Scalars['ID']['output'];
title?: Maybe<Scalars['String']['output']>;
};
export type ComponentCardsSolutionFiltersInput = {
and?: InputMaybe<Array<InputMaybe<ComponentCardsSolutionFiltersInput>>>;
category?: InputMaybe<CategoryFiltersInput>;
description?: InputMaybe<StringFilterInput>;
footnote?: InputMaybe<StringFilterInput>;
icon?: InputMaybe<ComponentSharedIconFiltersInput>;
not?: InputMaybe<ComponentCardsSolutionFiltersInput>;
or?: InputMaybe<Array<InputMaybe<ComponentCardsSolutionFiltersInput>>>;
title?: InputMaybe<StringFilterInput>;
};
export type ComponentSectionsAbout = {
__typename?: 'ComponentSectionsAbout';
cards?: Maybe<Array<Maybe<ComponentCardsAdvantage>>>;
description?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
partners?: Maybe<Array<Maybe<ComponentSharedString>>>;
title?: Maybe<Scalars['String']['output']>;
};
export type ComponentSectionsAboutCardsArgs = {
filters?: InputMaybe<ComponentCardsAdvantageFiltersInput>;
pagination?: InputMaybe<PaginationArg>;
sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type ComponentSectionsAboutPartnersArgs = {
filters?: InputMaybe<ComponentSharedStringFiltersInput>;
pagination?: InputMaybe<PaginationArg>;
sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type ComponentSectionsCases = {
__typename?: 'ComponentSectionsCases';
cards?: Maybe<Array<Maybe<ComponentCardsCase>>>;
description?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
title?: Maybe<Scalars['String']['output']>;
};
export type ComponentSectionsCasesCardsArgs = {
filters?: InputMaybe<ComponentCardsCaseFiltersInput>;
pagination?: InputMaybe<PaginationArg>;
sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type ComponentSectionsHomeHero = {
__typename?: 'ComponentSectionsHomeHero';
badge?: Maybe<Scalars['String']['output']>;
@@ -167,6 +270,21 @@ export type ComponentSectionsServicesCardsArgs = {
sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type ComponentSectionsSolutions = {
__typename?: 'ComponentSectionsSolutions';
cards?: Maybe<Array<Maybe<ComponentCardsSolution>>>;
description?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
title?: Maybe<Scalars['String']['output']>;
};
export type ComponentSectionsSolutionsCardsArgs = {
filters?: InputMaybe<ComponentCardsSolutionFiltersInput>;
pagination?: InputMaybe<PaginationArg>;
sort?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
};
export type ComponentSharedAttribute = {
__typename?: 'ComponentSharedAttribute';
id: Scalars['ID']['output'];
@@ -344,7 +462,7 @@ export type FloatFilterInput = {
startsWith?: InputMaybe<Scalars['Float']['input']>;
};
export type GenericMorph = Category | ComponentCardsService | ComponentSectionsHomeHero | ComponentSectionsServices | ComponentSharedAttribute | ComponentSharedColor | ComponentSharedContact | ComponentSharedIcon | ComponentSharedString | HomePage | I18NLocale | ReviewWorkflowsWorkflow | ReviewWorkflowsWorkflowStage | SiteConfig | UploadFile | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser | Vendor;
export type 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;
export type HomePage = {
__typename?: 'HomePage';
@@ -360,7 +478,7 @@ export type HomePageInput = {
sections?: InputMaybe<Array<Scalars['HomePageSectionsDynamicZoneInput']['input']>>;
};
export type HomePageSectionsDynamicZone = ComponentSectionsHomeHero | ComponentSectionsServices | Error;
export type HomePageSectionsDynamicZone = ComponentSectionsAbout | ComponentSectionsCases | ComponentSectionsHomeHero | ComponentSectionsServices | ComponentSectionsSolutions | Error;
export type I18NLocale = {
__typename?: 'I18NLocale';
@@ -1416,12 +1534,15 @@ export type CategoriesListQueryVariables = Exact<{ [key: string]: never; }>;
export type CategoriesListQuery = { __typename?: 'Query', categories: Array<{ __typename?: 'Category', documentId: string, slug: string, title?: string | null, sortOrder: number, group: Enum_Category_Group, badge?: string | null } | null> };
export type HomePageQueryVariables = Exact<{ [key: string]: never; }>;
export type HomePageQueryQueryVariables = Exact<{ [key: string]: never; }>;
export type HomePageQuery = { __typename?: 'Query', homePage?: { __typename?: 'HomePage', sections?: Array<
| { __typename?: 'ComponentSectionsHomeHero', title?: string | null, description?: string | null, badge?: string | null, stats?: Array<{ __typename?: 'ComponentSharedAttribute', id: string, key?: string | null, value?: string | null } | null> | null }
| { __typename?: 'ComponentSectionsServices', title?: string | null, description?: string | null, cards?: Array<{ __typename?: 'ComponentCardsService', id: string, title?: string | null, description?: string | null, color?: { __typename?: 'ComponentSharedColor', value?: Enum_Componentsharedcolor_Value | null } | null, icon?: { __typename?: 'ComponentSharedIcon', value?: Enum_Componentsharedicon_Value | null } | null, category?: { __typename?: 'Category', slug: string } | null } | null> | null }
export type HomePageQueryQuery = { __typename?: 'Query', homePage?: { __typename?: 'HomePage', sections?: Array<
| { __typename?: 'ComponentSectionsAbout', id: string, title?: string | null, description?: string | null, partners?: Array<{ __typename?: 'ComponentSharedString', id: string, value: string } | null> | null, cards?: Array<{ __typename?: 'ComponentCardsAdvantage', id: string, title?: string | null, description?: string | null, color?: { __typename?: 'ComponentSharedColor', value?: Enum_Componentsharedcolor_Value | null } | null, icon?: { __typename?: 'ComponentSharedIcon', value?: Enum_Componentsharedicon_Value | null } | null } | null> | null }
| { __typename?: 'ComponentSectionsCases', id: string, title?: string | null, description?: string | null, cards?: Array<{ __typename?: 'ComponentCardsCase', id: string, title?: string | null, description?: string | null, pretitle?: string | null, badge?: string | null, color?: { __typename?: 'ComponentSharedColor', value?: Enum_Componentsharedcolor_Value | null } | null, icon?: { __typename?: 'ComponentSharedIcon', value?: Enum_Componentsharedicon_Value | null } | null } | null> | null }
| { __typename?: 'ComponentSectionsHomeHero', id: string, title?: string | null, description?: string | null, badge?: string | null, stats?: Array<{ __typename?: 'ComponentSharedAttribute', id: string, key?: string | null, value?: string | null } | null> | null }
| { __typename?: 'ComponentSectionsServices', id: string, title?: string | null, description?: string | null, cards?: Array<{ __typename?: 'ComponentCardsService', id: string, title?: string | null, description?: string | null, icon?: { __typename?: 'ComponentSharedIcon', value?: Enum_Componentsharedicon_Value | null } | null, color?: { __typename?: 'ComponentSharedColor', value?: Enum_Componentsharedcolor_Value | null } | null, category?: { __typename?: 'Category', slug: string } | null } | null> | null }
| { __typename?: 'ComponentSectionsSolutions', id: string, title?: string | null, description?: string | null, cards?: Array<{ __typename?: 'ComponentCardsSolution', id: string, title?: string | null, description?: string | null, icon?: { __typename?: 'ComponentSharedIcon', value?: Enum_Componentsharedicon_Value | null } | null, category?: { __typename?: 'Category', slug: string } | null } | null> | null }
| { __typename?: 'Error' }
| null> | null } | null };
@@ -1456,11 +1577,12 @@ export const CategoriesListDocument = new TypedDocumentString(`
}
}
`) as unknown as TypedDocumentString<CategoriesListQuery, CategoriesListQueryVariables>;
export const HomePageDocument = new TypedDocumentString(`
query HomePage {
export const HomePageQueryDocument = new TypedDocumentString(`
query HomePageQuery {
homePage {
sections {
... on ComponentSectionsHomeHero {
id
title
description
badge
@@ -1471,8 +1593,66 @@ export const HomePageDocument = new TypedDocumentString(`
}
}
... on ComponentSectionsServices {
id
title
description
cards {
id
title
description
icon {
value
}
color {
value
}
category {
slug
}
}
}
... on ComponentSectionsSolutions {
id
title
description
cards {
id
title
description
icon {
value
}
category {
slug
}
}
}
... on ComponentSectionsCases {
id
title
description
cards {
id
title
description
pretitle
badge
color {
value
}
icon {
value
}
}
}
... on ComponentSectionsAbout {
id
title
description
partners(pagination: {pageSize: 100}) {
id
value
}
cards {
id
title
@@ -1483,12 +1663,9 @@ export const HomePageDocument = new TypedDocumentString(`
icon {
value
}
category {
slug
}
}
}
}
}
}
`) as unknown as TypedDocumentString<HomePageQuery, HomePageQueryVariables>;
`) as unknown as TypedDocumentString<HomePageQueryQuery, HomePageQueryQueryVariables>;