refactor(catalog): use structured product toggles
This commit is contained in:
@@ -404,8 +404,14 @@ export type Product = {
|
||||
id: Scalars['ID']['output'];
|
||||
isActive: Scalars['Boolean']['output'];
|
||||
isCustomizable: Scalars['Boolean']['output'];
|
||||
lengthM?: Maybe<Scalars['Int']['output']>;
|
||||
name: Scalars['String']['output'];
|
||||
productType?: Maybe<Scalars['String']['output']>;
|
||||
quantityPerBox?: Maybe<Scalars['String']['output']>;
|
||||
sku: Scalars['String']['output'];
|
||||
sleeveBrand?: Maybe<Scalars['String']['output']>;
|
||||
thicknessMicron?: Maybe<Scalars['Int']['output']>;
|
||||
widthMm?: Maybe<Scalars['Int']['output']>;
|
||||
};
|
||||
|
||||
export type ProductWarehouseBalance = {
|
||||
@@ -639,7 +645,7 @@ export type VerifyLoginCodeMutation = { __typename?: 'Mutation', verifyLoginCode
|
||||
export type ClientProductsQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type ClientProductsQuery = { __typename?: 'Query', clientProducts: Array<{ __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, isCustomizable: boolean, availableInWarehouses: Array<{ __typename?: 'ProductWarehouseBalance', availableQty: number, warehouse: { __typename?: 'Warehouse', id: string, code: string, name: string } }> }> };
|
||||
export type ClientProductsQuery = { __typename?: 'Query', clientProducts: Array<{ __typename?: 'Product', id: string, sku: string, name: string, description?: string | null, productType?: string | null, widthMm?: number | null, lengthM?: number | null, thicknessMicron?: number | null, sleeveBrand?: string | null, quantityPerBox?: string | null, isCustomizable: boolean, availableInWarehouses: Array<{ __typename?: 'ProductWarehouseBalance', availableQty: number, warehouse: { __typename?: 'Warehouse', id: string, code: string, name: string } }> }> };
|
||||
|
||||
export type MyMessengerConnectionsQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
@@ -920,6 +926,12 @@ export const ClientProductsDocument = gql`
|
||||
sku
|
||||
name
|
||||
description
|
||||
productType
|
||||
widthMm
|
||||
lengthM
|
||||
thicknessMicron
|
||||
sleeveBrand
|
||||
quantityPerBox
|
||||
isCustomizable
|
||||
availableInWarehouses {
|
||||
availableQty
|
||||
|
||||
Reference in New Issue
Block a user