|
@@ -262,7 +262,8 @@ export interface FacetValue extends Node {
|
|
|
id: string;
|
|
id: string;
|
|
|
createdAt: DateTime;
|
|
createdAt: DateTime;
|
|
|
updatedAt: DateTime;
|
|
updatedAt: DateTime;
|
|
|
- languageCode?: LanguageCode | null;
|
|
|
|
|
|
|
+ languageCode: LanguageCode;
|
|
|
|
|
+ facet: Facet;
|
|
|
name: string;
|
|
name: string;
|
|
|
code: string;
|
|
code: string;
|
|
|
translations: FacetValueTranslation[];
|
|
translations: FacetValueTranslation[];
|
|
@@ -1267,6 +1268,7 @@ export interface UpdateProductInput {
|
|
|
export interface UpdateProductVariantInput {
|
|
export interface UpdateProductVariantInput {
|
|
|
id: string;
|
|
id: string;
|
|
|
translations?: ProductVariantTranslationInput[] | null;
|
|
translations?: ProductVariantTranslationInput[] | null;
|
|
|
|
|
+ facetValueIds?: string[] | null;
|
|
|
sku?: string | null;
|
|
sku?: string | null;
|
|
|
taxCategoryId?: string | null;
|
|
taxCategoryId?: string | null;
|
|
|
price?: number | null;
|
|
price?: number | null;
|
|
@@ -2869,7 +2871,8 @@ export namespace FacetValueResolvers {
|
|
|
id?: IdResolver<string, any, Context>;
|
|
id?: IdResolver<string, any, Context>;
|
|
|
createdAt?: CreatedAtResolver<DateTime, any, Context>;
|
|
createdAt?: CreatedAtResolver<DateTime, any, Context>;
|
|
|
updatedAt?: UpdatedAtResolver<DateTime, any, Context>;
|
|
updatedAt?: UpdatedAtResolver<DateTime, any, Context>;
|
|
|
- languageCode?: LanguageCodeResolver<LanguageCode | null, any, Context>;
|
|
|
|
|
|
|
+ languageCode?: LanguageCodeResolver<LanguageCode, any, Context>;
|
|
|
|
|
+ facet?: FacetResolver<Facet, any, Context>;
|
|
|
name?: NameResolver<string, any, Context>;
|
|
name?: NameResolver<string, any, Context>;
|
|
|
code?: CodeResolver<string, any, Context>;
|
|
code?: CodeResolver<string, any, Context>;
|
|
|
translations?: TranslationsResolver<FacetValueTranslation[], any, Context>;
|
|
translations?: TranslationsResolver<FacetValueTranslation[], any, Context>;
|
|
@@ -2879,11 +2882,12 @@ export namespace FacetValueResolvers {
|
|
|
export type IdResolver<R = string, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
export type IdResolver<R = string, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
|
export type CreatedAtResolver<R = DateTime, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
export type CreatedAtResolver<R = DateTime, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
|
export type UpdatedAtResolver<R = DateTime, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
export type UpdatedAtResolver<R = DateTime, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
|
- export type LanguageCodeResolver<R = LanguageCode | null, Parent = any, Context = any> = Resolver<
|
|
|
|
|
|
|
+ export type LanguageCodeResolver<R = LanguageCode, Parent = any, Context = any> = Resolver<
|
|
|
R,
|
|
R,
|
|
|
Parent,
|
|
Parent,
|
|
|
Context
|
|
Context
|
|
|
>;
|
|
>;
|
|
|
|
|
+ export type FacetResolver<R = Facet, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
|
export type NameResolver<R = string, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
export type NameResolver<R = string, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
|
export type CodeResolver<R = string, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
export type CodeResolver<R = string, Parent = any, Context = any> = Resolver<R, Parent, Context>;
|
|
|
export type TranslationsResolver<R = FacetValueTranslation[], Parent = any, Context = any> = Resolver<
|
|
export type TranslationsResolver<R = FacetValueTranslation[], Parent = any, Context = any> = Resolver<
|
|
@@ -6030,10 +6034,11 @@ export namespace FacetValue {
|
|
|
export type Fragment = {
|
|
export type Fragment = {
|
|
|
__typename?: 'FacetValue';
|
|
__typename?: 'FacetValue';
|
|
|
id: string;
|
|
id: string;
|
|
|
- languageCode?: LanguageCode | null;
|
|
|
|
|
|
|
+ languageCode: LanguageCode;
|
|
|
code: string;
|
|
code: string;
|
|
|
name: string;
|
|
name: string;
|
|
|
translations: Translations[];
|
|
translations: Translations[];
|
|
|
|
|
+ facet: Facet;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type Translations = {
|
|
export type Translations = {
|
|
@@ -6042,6 +6047,12 @@ export namespace FacetValue {
|
|
|
languageCode: LanguageCode;
|
|
languageCode: LanguageCode;
|
|
|
name: string;
|
|
name: string;
|
|
|
};
|
|
};
|
|
|
|
|
+
|
|
|
|
|
+ export type Facet = {
|
|
|
|
|
+ __typename?: 'Facet';
|
|
|
|
|
+ id: string;
|
|
|
|
|
+ name: string;
|
|
|
|
|
+ };
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export namespace FacetWithValues {
|
|
export namespace FacetWithValues {
|
|
@@ -6249,6 +6260,13 @@ export namespace ProductVariant {
|
|
|
id: string;
|
|
id: string;
|
|
|
code: string;
|
|
code: string;
|
|
|
name: string;
|
|
name: string;
|
|
|
|
|
+ facet: Facet;
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
|
|
+ export type Facet = {
|
|
|
|
|
+ __typename?: 'Facet';
|
|
|
|
|
+ id: string;
|
|
|
|
|
+ name: string;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type Translations = {
|
|
export type Translations = {
|