-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix product type translations (#1163)
* Fix product type translations * Update changelog
- Loading branch information
Showing
35 changed files
with
661 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
src/fragments/types/AttributeChoicesTranslationFragment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
import { AttributeInputTypeEnum } from "./../../types/globalTypes"; | ||
|
||
// ==================================================== | ||
// GraphQL fragment: AttributeChoicesTranslationFragment | ||
// ==================================================== | ||
|
||
export interface AttributeChoicesTranslationFragment_pageInfo { | ||
__typename: "PageInfo"; | ||
endCursor: string | null; | ||
hasNextPage: boolean; | ||
hasPreviousPage: boolean; | ||
startCursor: string | null; | ||
} | ||
|
||
export interface AttributeChoicesTranslationFragment_edges_node_translation { | ||
__typename: "AttributeValueTranslation"; | ||
id: string; | ||
name: string; | ||
richText: any | null; | ||
} | ||
|
||
export interface AttributeChoicesTranslationFragment_edges_node { | ||
__typename: "AttributeValue"; | ||
id: string; | ||
name: string | null; | ||
richText: any | null; | ||
inputType: AttributeInputTypeEnum | null; | ||
translation: AttributeChoicesTranslationFragment_edges_node_translation | null; | ||
} | ||
|
||
export interface AttributeChoicesTranslationFragment_edges { | ||
__typename: "AttributeValueCountableEdge"; | ||
cursor: string; | ||
node: AttributeChoicesTranslationFragment_edges_node; | ||
} | ||
|
||
export interface AttributeChoicesTranslationFragment { | ||
__typename: "AttributeValueCountableConnection"; | ||
pageInfo: AttributeChoicesTranslationFragment_pageInfo; | ||
edges: AttributeChoicesTranslationFragment_edges[]; | ||
} |
66 changes: 66 additions & 0 deletions
66
src/fragments/types/AttributeTranslationDetailsFragment.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// @generated | ||
// This file was automatically generated and should not be edited. | ||
|
||
import { AttributeInputTypeEnum } from "./../../types/globalTypes"; | ||
|
||
// ==================================================== | ||
// GraphQL fragment: AttributeTranslationDetailsFragment | ||
// ==================================================== | ||
|
||
export interface AttributeTranslationDetailsFragment_translation { | ||
__typename: "AttributeTranslation"; | ||
id: string; | ||
name: string; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment_attribute_choices_pageInfo { | ||
__typename: "PageInfo"; | ||
endCursor: string | null; | ||
hasNextPage: boolean; | ||
hasPreviousPage: boolean; | ||
startCursor: string | null; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment_attribute_choices_edges_node_translation { | ||
__typename: "AttributeValueTranslation"; | ||
id: string; | ||
name: string; | ||
richText: any | null; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment_attribute_choices_edges_node { | ||
__typename: "AttributeValue"; | ||
id: string; | ||
name: string | null; | ||
richText: any | null; | ||
inputType: AttributeInputTypeEnum | null; | ||
translation: AttributeTranslationDetailsFragment_attribute_choices_edges_node_translation | null; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment_attribute_choices_edges { | ||
__typename: "AttributeValueCountableEdge"; | ||
cursor: string; | ||
node: AttributeTranslationDetailsFragment_attribute_choices_edges_node; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment_attribute_choices { | ||
__typename: "AttributeValueCountableConnection"; | ||
pageInfo: AttributeTranslationDetailsFragment_attribute_choices_pageInfo; | ||
edges: AttributeTranslationDetailsFragment_attribute_choices_edges[]; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment_attribute { | ||
__typename: "Attribute"; | ||
id: string; | ||
name: string | null; | ||
inputType: AttributeInputTypeEnum | null; | ||
choices: AttributeTranslationDetailsFragment_attribute_choices | null; | ||
} | ||
|
||
export interface AttributeTranslationDetailsFragment { | ||
__typename: "AttributeTranslatableContent"; | ||
translation: AttributeTranslationDetailsFragment_translation | null; | ||
attribute: AttributeTranslationDetailsFragment_attribute | null; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.