|
@@ -455,6 +455,7 @@ export type CreateCollectionTranslationInput = {
|
|
|
name: Scalars['String'];
|
|
name: Scalars['String'];
|
|
|
slug: Scalars['String'];
|
|
slug: Scalars['String'];
|
|
|
description: Scalars['String'];
|
|
description: Scalars['String'];
|
|
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type CreateCountryInput = {
|
|
export type CreateCountryInput = {
|
|
@@ -2783,6 +2784,7 @@ export type Query = {
|
|
|
channel?: Maybe<Channel>;
|
|
channel?: Maybe<Channel>;
|
|
|
activeChannel: Channel;
|
|
activeChannel: Channel;
|
|
|
collections: CollectionList;
|
|
collections: CollectionList;
|
|
|
|
|
+ /** Get a Collection either by id or slug. If neither id nor slug is speicified, an error will result. */
|
|
|
collection?: Maybe<Collection>;
|
|
collection?: Maybe<Collection>;
|
|
|
collectionFilters: Array<ConfigurableOperationDefinition>;
|
|
collectionFilters: Array<ConfigurableOperationDefinition>;
|
|
|
countries: CountryList;
|
|
countries: CountryList;
|
|
@@ -2853,7 +2855,8 @@ export type QueryCollectionsArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type QueryCollectionArgs = {
|
|
export type QueryCollectionArgs = {
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type QueryCountriesArgs = {
|
|
export type QueryCountriesArgs = {
|
|
@@ -3419,6 +3422,7 @@ export type UpdateCollectionTranslationInput = {
|
|
|
name?: Maybe<Scalars['String']>;
|
|
name?: Maybe<Scalars['String']>;
|
|
|
slug?: Maybe<Scalars['String']>;
|
|
slug?: Maybe<Scalars['String']>;
|
|
|
description?: Maybe<Scalars['String']>;
|
|
description?: Maybe<Scalars['String']>;
|
|
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type UpdateCountryInput = {
|
|
export type UpdateCountryInput = {
|
|
@@ -3710,7 +3714,8 @@ export type GetProductsWithVariantIdsQuery = { __typename?: 'Query' } & {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type GetCollectionQueryVariables = {
|
|
export type GetCollectionQueryVariables = {
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type GetCollectionQuery = { __typename?: 'Query' } & {
|
|
export type GetCollectionQuery = { __typename?: 'Query' } & {
|
|
@@ -5457,16 +5462,17 @@ export type DisableProductMutation = { __typename?: 'Mutation' } & {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type GetCollectionVariantsQueryVariables = {
|
|
export type GetCollectionVariantsQueryVariables = {
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
|
|
+ id?: Maybe<Scalars['ID']>;
|
|
|
|
|
+ slug?: Maybe<Scalars['String']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type GetCollectionVariantsQuery = { __typename?: 'Query' } & {
|
|
export type GetCollectionVariantsQuery = { __typename?: 'Query' } & {
|
|
|
collection?: Maybe<
|
|
collection?: Maybe<
|
|
|
- { __typename?: 'Collection' } & {
|
|
|
|
|
- productVariants: { __typename?: 'ProductVariantList' } & {
|
|
|
|
|
- items: Array<{ __typename?: 'ProductVariant' } & Pick<ProductVariant, 'id' | 'name'>>;
|
|
|
|
|
- };
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ { __typename?: 'Collection' } & Pick<Collection, 'id'> & {
|
|
|
|
|
+ productVariants: { __typename?: 'ProductVariantList' } & {
|
|
|
|
|
+ items: Array<{ __typename?: 'ProductVariant' } & Pick<ProductVariant, 'id' | 'name'>>;
|
|
|
|
|
+ };
|
|
|
|
|
+ }
|
|
|
>;
|
|
>;
|
|
|
};
|
|
};
|
|
|
|
|
|