@whizzes/wsfc 0.0.1-early-dev-3 → 0.0.1-early-dev-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
@@ -426,6 +426,8 @@ export type Mutation = {
|
|
426
426
|
orderCustomerUpdate: OrderCustomerUpdate;
|
427
427
|
/** Add line item to an order. */
|
428
428
|
orderLineItemAdd: OrderLineItemAdd;
|
429
|
+
/** Appends a Category to a Product */
|
430
|
+
productCategoryAppend: ProductCategoryAppend;
|
429
431
|
/** Creates a Product */
|
430
432
|
productCreate: ProductCreate;
|
431
433
|
/**
|
@@ -507,6 +509,12 @@ export type MutationOrderLineItemAddArgs = {
|
|
507
509
|
};
|
508
510
|
|
509
511
|
|
512
|
+
export type MutationProductCategoryAppendArgs = {
|
513
|
+
channel: Scalars['ChannelCode']['input'];
|
514
|
+
input: ProductCategoryAppendInput;
|
515
|
+
};
|
516
|
+
|
517
|
+
|
510
518
|
export type MutationProductCreateArgs = {
|
511
519
|
channel: Scalars['ChannelCode']['input'];
|
512
520
|
input: ProductCreateInput;
|
@@ -673,7 +681,6 @@ export type Price = {
|
|
673
681
|
/** Platform Product */
|
674
682
|
export type Product = {
|
675
683
|
__typename?: 'Product';
|
676
|
-
categoryId?: Maybe<Scalars['UUID']['output']>;
|
677
684
|
channelCode: Scalars['ChannelCode']['output'];
|
678
685
|
createdAt: Scalars['DateTime']['output'];
|
679
686
|
defaultVariant: Variant;
|
@@ -687,6 +694,16 @@ export type Product = {
|
|
687
694
|
updatedAt: Scalars['DateTime']['output'];
|
688
695
|
};
|
689
696
|
|
697
|
+
export type ProductCategoryAppend = {
|
698
|
+
__typename?: 'ProductCategoryAppend';
|
699
|
+
error?: Maybe<ProductError>;
|
700
|
+
};
|
701
|
+
|
702
|
+
export type ProductCategoryAppendInput = {
|
703
|
+
categoryId: Scalars['UUID']['input'];
|
704
|
+
productId: Scalars['UUID']['input'];
|
705
|
+
};
|
706
|
+
|
690
707
|
export type ProductConnection = {
|
691
708
|
__typename?: 'ProductConnection';
|
692
709
|
/** A list of edges. */
|
@@ -923,9 +940,9 @@ export type ProductsListQueryVariables = Exact<{
|
|
923
940
|
}>;
|
924
941
|
|
925
942
|
|
926
|
-
export type ProductsListQuery = { __typename?: 'Query', products: { __typename?: 'ProductConnection', edges: Array<{ __typename?: 'ProductEdge', node: { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, defaultVariantId: any, position: number,
|
943
|
+
export type ProductsListQuery = { __typename?: 'Query', products: { __typename?: 'ProductConnection', edges: Array<{ __typename?: 'ProductEdge', node: { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, defaultVariantId: any, position: number, defaultVariant: { __typename?: 'Variant', id: any, channelCode: any, sku?: string | null, productId: any, requiresShipping: boolean, images: Array<{ __typename?: 'Image', id: any, channelCode: any, height: number, width: number, url: string, thumbnailUrl?: string | null, size: number, mimeType: MimeType, useCase: UseCase, createdAt: any, updatedAt: any }>, prices: Array<{ __typename?: 'Price', variantId: any, channelCode: any, currency: Iso4217, price: any }> } } }> } };
|
927
944
|
|
928
|
-
export type ProductsListFieldsFragment = { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, defaultVariantId: any, position: number,
|
945
|
+
export type ProductsListFieldsFragment = { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, defaultVariantId: any, position: number, defaultVariant: { __typename?: 'Variant', id: any, channelCode: any, sku?: string | null, productId: any, requiresShipping: boolean, images: Array<{ __typename?: 'Image', id: any, channelCode: any, height: number, width: number, url: string, thumbnailUrl?: string | null, size: number, mimeType: MimeType, useCase: UseCase, createdAt: any, updatedAt: any }>, prices: Array<{ __typename?: 'Price', variantId: any, channelCode: any, currency: Iso4217, price: any }> } };
|
929
946
|
|
930
947
|
export const ProductsListFieldsFragmentDoc = gql`
|
931
948
|
fragment ProductsListFields on Product {
|
@@ -962,7 +979,6 @@ export const ProductsListFieldsFragmentDoc = gql`
|
|
962
979
|
}
|
963
980
|
}
|
964
981
|
position
|
965
|
-
categoryId
|
966
982
|
}
|
967
983
|
`;
|
968
984
|
export const ProductsListDocument = gql`
|