@dokamerce/web-sdk 0.25.0 → 0.27.0
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/dist/graphql/__generated__/gateway.d.ts +987 -133
- package/dist/graphql/__generated__/gateway.js +325 -24
- package/dist/graphql/__generated__/gateway.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web-sdk/src/main.js +8 -6
- package/dist/web-sdk/src/main.js.map +1 -1
- package/dist/web-sdk/src/services/index.d.ts +2 -0
- package/dist/web-sdk/src/services/index.js +2 -0
- package/dist/web-sdk/src/services/index.js.map +1 -1
- package/dist/web-sdk/src/services/posts.d.ts +9 -0
- package/dist/web-sdk/src/services/posts.js +35 -0
- package/dist/web-sdk/src/services/posts.js.map +1 -0
- package/dist/web-sdk/src/services/products-reviews.d.ts +11 -0
- package/dist/web-sdk/src/services/products-reviews.js +47 -0
- package/dist/web-sdk/src/services/products-reviews.js.map +1 -0
- package/dist/web-sdk/src/typings/sdk.typing.d.ts +10 -8
- package/package.json +1 -1
|
@@ -539,6 +539,12 @@ export type CreateProductInput = {
|
|
|
539
539
|
warrantyTime?: InputMaybe<Scalars['String']['input']>;
|
|
540
540
|
warrantyType?: InputMaybe<Scalars['String']['input']>;
|
|
541
541
|
};
|
|
542
|
+
export type CreateProductReviewInput = {
|
|
543
|
+
content?: InputMaybe<Scalars['String']['input']>;
|
|
544
|
+
productId: Scalars['ID']['input'];
|
|
545
|
+
rating?: InputMaybe<Scalars['Float']['input']>;
|
|
546
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
547
|
+
};
|
|
542
548
|
export type CreateSellerInput = {
|
|
543
549
|
active: Scalars['Boolean']['input'];
|
|
544
550
|
name: Scalars['String']['input'];
|
|
@@ -820,6 +826,19 @@ export type IdArrayFilter = {
|
|
|
820
826
|
none?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
821
827
|
some?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
822
828
|
};
|
|
829
|
+
export type IdFilter = {
|
|
830
|
+
contains?: InputMaybe<Scalars['ID']['input']>;
|
|
831
|
+
endsWith?: InputMaybe<Scalars['ID']['input']>;
|
|
832
|
+
equals?: InputMaybe<Scalars['ID']['input']>;
|
|
833
|
+
greaterThan?: InputMaybe<Scalars['ID']['input']>;
|
|
834
|
+
greaterThanOrEquals?: InputMaybe<Scalars['ID']['input']>;
|
|
835
|
+
in?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
836
|
+
lessThan?: InputMaybe<Scalars['ID']['input']>;
|
|
837
|
+
lessThanOrEquals?: InputMaybe<Scalars['ID']['input']>;
|
|
838
|
+
not?: InputMaybe<Scalars['ID']['input']>;
|
|
839
|
+
notIn?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
840
|
+
startsWith?: InputMaybe<Scalars['ID']['input']>;
|
|
841
|
+
};
|
|
823
842
|
export type InfiniteAttributeEdge = {
|
|
824
843
|
__typename?: 'InfiniteAttributeEdge';
|
|
825
844
|
cursor: Scalars['String']['output'];
|
|
@@ -937,11 +956,31 @@ export type InfinitePageInfo = {
|
|
|
937
956
|
hasPreviousPage: Scalars['Boolean']['output'];
|
|
938
957
|
startCursor?: Maybe<Scalars['String']['output']>;
|
|
939
958
|
};
|
|
959
|
+
export type InfinitePostEdge = {
|
|
960
|
+
__typename?: 'InfinitePostEdge';
|
|
961
|
+
cursor: Scalars['String']['output'];
|
|
962
|
+
node: Post;
|
|
963
|
+
};
|
|
964
|
+
export type InfinitePostsConnection = {
|
|
965
|
+
__typename?: 'InfinitePostsConnection';
|
|
966
|
+
edges: Array<InfinitePostEdge>;
|
|
967
|
+
pageInfo: InfinitePageInfo;
|
|
968
|
+
};
|
|
940
969
|
export type InfiniteProductEdge = {
|
|
941
970
|
__typename?: 'InfiniteProductEdge';
|
|
942
971
|
cursor: Scalars['String']['output'];
|
|
943
972
|
node: Product;
|
|
944
973
|
};
|
|
974
|
+
export type InfiniteProductReviewEdge = {
|
|
975
|
+
__typename?: 'InfiniteProductReviewEdge';
|
|
976
|
+
cursor: Scalars['String']['output'];
|
|
977
|
+
node: ProductReview;
|
|
978
|
+
};
|
|
979
|
+
export type InfiniteProductReviewsConnection = {
|
|
980
|
+
__typename?: 'InfiniteProductReviewsConnection';
|
|
981
|
+
edges: Array<InfiniteProductReviewEdge>;
|
|
982
|
+
pageInfo: InfinitePageInfo;
|
|
983
|
+
};
|
|
945
984
|
export type InfiniteProductsConnection = {
|
|
946
985
|
__typename?: 'InfiniteProductsConnection';
|
|
947
986
|
edges: Array<InfiniteProductEdge>;
|
|
@@ -1024,11 +1063,13 @@ export type Mutation = {
|
|
|
1024
1063
|
createCustomerEmailAddress: CustomerEmailAddress;
|
|
1025
1064
|
createCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
1026
1065
|
createProduct: Product;
|
|
1066
|
+
createProductReview: ProductReview;
|
|
1027
1067
|
createSeller: Seller;
|
|
1028
1068
|
deleteCustomerAddress: Status;
|
|
1029
1069
|
deleteCustomerEmailAddress: Status;
|
|
1030
1070
|
deleteCustomerTelephoneNumber: Status;
|
|
1031
1071
|
deleteProduct: Status;
|
|
1072
|
+
deleteProductReview: Status;
|
|
1032
1073
|
deleteSeller: Status;
|
|
1033
1074
|
finalizeOrder: Order;
|
|
1034
1075
|
initiateFileUpload: FileUpload;
|
|
@@ -1040,6 +1081,7 @@ export type Mutation = {
|
|
|
1040
1081
|
updateCustomerEmailAddress: CustomerEmailAddress;
|
|
1041
1082
|
updateCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
1042
1083
|
updateProduct: Product;
|
|
1084
|
+
updateProductReview: ProductReview;
|
|
1043
1085
|
updateSeller: Seller;
|
|
1044
1086
|
};
|
|
1045
1087
|
export type MutationAddToCartArgs = {
|
|
@@ -1068,6 +1110,10 @@ export type MutationCreateCustomerTelephoneNumberArgs = {
|
|
|
1068
1110
|
export type MutationCreateProductArgs = {
|
|
1069
1111
|
data: CreateProductInput;
|
|
1070
1112
|
};
|
|
1113
|
+
export type MutationCreateProductReviewArgs = {
|
|
1114
|
+
customerId: Scalars['ID']['input'];
|
|
1115
|
+
data: CreateProductReviewInput;
|
|
1116
|
+
};
|
|
1071
1117
|
export type MutationCreateSellerArgs = {
|
|
1072
1118
|
data: CreateSellerInput;
|
|
1073
1119
|
};
|
|
@@ -1086,6 +1132,10 @@ export type MutationDeleteCustomerTelephoneNumberArgs = {
|
|
|
1086
1132
|
export type MutationDeleteProductArgs = {
|
|
1087
1133
|
id: Scalars['ID']['input'];
|
|
1088
1134
|
};
|
|
1135
|
+
export type MutationDeleteProductReviewArgs = {
|
|
1136
|
+
customerId: Scalars['ID']['input'];
|
|
1137
|
+
id: Scalars['ID']['input'];
|
|
1138
|
+
};
|
|
1089
1139
|
export type MutationDeleteSellerArgs = {
|
|
1090
1140
|
id: Scalars['ID']['input'];
|
|
1091
1141
|
};
|
|
@@ -1131,6 +1181,11 @@ export type MutationUpdateProductArgs = {
|
|
|
1131
1181
|
data: UpdateProductInput;
|
|
1132
1182
|
id: Scalars['ID']['input'];
|
|
1133
1183
|
};
|
|
1184
|
+
export type MutationUpdateProductReviewArgs = {
|
|
1185
|
+
customerId: Scalars['ID']['input'];
|
|
1186
|
+
data: UpdateProductReviewInput;
|
|
1187
|
+
id: Scalars['ID']['input'];
|
|
1188
|
+
};
|
|
1134
1189
|
export type MutationUpdateSellerArgs = {
|
|
1135
1190
|
data: UpdateSellerInput;
|
|
1136
1191
|
id: Scalars['ID']['input'];
|
|
@@ -1295,11 +1350,31 @@ export type PaginatedPageInfo = {
|
|
|
1295
1350
|
totalEdges: Scalars['Float']['output'];
|
|
1296
1351
|
totalPages: Scalars['Float']['output'];
|
|
1297
1352
|
};
|
|
1353
|
+
export type PaginatedPostEdge = {
|
|
1354
|
+
__typename?: 'PaginatedPostEdge';
|
|
1355
|
+
cursor: Scalars['String']['output'];
|
|
1356
|
+
node: Post;
|
|
1357
|
+
};
|
|
1358
|
+
export type PaginatedPostsConnection = {
|
|
1359
|
+
__typename?: 'PaginatedPostsConnection';
|
|
1360
|
+
edges: Array<PaginatedPostEdge>;
|
|
1361
|
+
pageInfo: PaginatedPageInfo;
|
|
1362
|
+
};
|
|
1298
1363
|
export type PaginatedProductEdge = {
|
|
1299
1364
|
__typename?: 'PaginatedProductEdge';
|
|
1300
1365
|
cursor: Scalars['String']['output'];
|
|
1301
1366
|
node: Product;
|
|
1302
1367
|
};
|
|
1368
|
+
export type PaginatedProductReviewEdge = {
|
|
1369
|
+
__typename?: 'PaginatedProductReviewEdge';
|
|
1370
|
+
cursor: Scalars['String']['output'];
|
|
1371
|
+
node: ProductReview;
|
|
1372
|
+
};
|
|
1373
|
+
export type PaginatedProductReviewsConnection = {
|
|
1374
|
+
__typename?: 'PaginatedProductReviewsConnection';
|
|
1375
|
+
edges: Array<PaginatedProductReviewEdge>;
|
|
1376
|
+
pageInfo: PaginatedPageInfo;
|
|
1377
|
+
};
|
|
1303
1378
|
export type PaginatedProductsConnection = {
|
|
1304
1379
|
__typename?: 'PaginatedProductsConnection';
|
|
1305
1380
|
edges: Array<PaginatedProductEdge>;
|
|
@@ -1335,6 +1410,57 @@ export type PaginatedTagsConnection = {
|
|
|
1335
1410
|
edges: Array<PaginatedTagEdge>;
|
|
1336
1411
|
pageInfo: PaginatedPageInfo;
|
|
1337
1412
|
};
|
|
1413
|
+
export type Post = {
|
|
1414
|
+
__typename?: 'Post';
|
|
1415
|
+
author?: Maybe<User>;
|
|
1416
|
+
category?: Maybe<PostCategory>;
|
|
1417
|
+
comments?: Maybe<Array<PostComment>>;
|
|
1418
|
+
content?: Maybe<Scalars['String']['output']>;
|
|
1419
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1420
|
+
excerpt: Scalars['String']['output'];
|
|
1421
|
+
id: Scalars['ID']['output'];
|
|
1422
|
+
image?: Maybe<File>;
|
|
1423
|
+
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1424
|
+
slug: Scalars['String']['output'];
|
|
1425
|
+
tags?: Maybe<Array<Tag>>;
|
|
1426
|
+
title: Scalars['String']['output'];
|
|
1427
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1428
|
+
};
|
|
1429
|
+
export type PostCategory = {
|
|
1430
|
+
__typename?: 'PostCategory';
|
|
1431
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1432
|
+
id: Scalars['ID']['output'];
|
|
1433
|
+
name: Scalars['String']['output'];
|
|
1434
|
+
slug: Scalars['String']['output'];
|
|
1435
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1436
|
+
};
|
|
1437
|
+
export type PostComment = {
|
|
1438
|
+
__typename?: 'PostComment';
|
|
1439
|
+
author: Customer;
|
|
1440
|
+
content?: Maybe<Scalars['String']['output']>;
|
|
1441
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1442
|
+
id: Scalars['ID']['output'];
|
|
1443
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1444
|
+
};
|
|
1445
|
+
export declare enum PostFieldsEnum {
|
|
1446
|
+
Content = "content",
|
|
1447
|
+
CreatedAt = "createdAt",
|
|
1448
|
+
Excerpt = "excerpt",
|
|
1449
|
+
Id = "id",
|
|
1450
|
+
Slug = "slug",
|
|
1451
|
+
Title = "title",
|
|
1452
|
+
UpdatedAt = "updatedAt"
|
|
1453
|
+
}
|
|
1454
|
+
export type PostFilter = {
|
|
1455
|
+
id?: InputMaybe<IdArrayFilter>;
|
|
1456
|
+
name?: InputMaybe<StringFilter>;
|
|
1457
|
+
published?: InputMaybe<BooleanFilter>;
|
|
1458
|
+
slug?: InputMaybe<StringFilter>;
|
|
1459
|
+
};
|
|
1460
|
+
export type PostSort = {
|
|
1461
|
+
field: PostFieldsEnum;
|
|
1462
|
+
order?: InputMaybe<SortOrderEnum>;
|
|
1463
|
+
};
|
|
1338
1464
|
export type Product = {
|
|
1339
1465
|
__typename?: 'Product';
|
|
1340
1466
|
active: Scalars['Boolean']['output'];
|
|
@@ -1356,6 +1482,7 @@ export type Product = {
|
|
|
1356
1482
|
name: Scalars['String']['output'];
|
|
1357
1483
|
price: Scalars['Float']['output'];
|
|
1358
1484
|
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1485
|
+
reviews: Array<ProductReview>;
|
|
1359
1486
|
sellers: Array<ProductSeller>;
|
|
1360
1487
|
slug: Scalars['String']['output'];
|
|
1361
1488
|
soldCount: Scalars['Int']['output'];
|
|
@@ -1430,6 +1557,7 @@ export type ProductFilter = {
|
|
|
1430
1557
|
name?: InputMaybe<StringFilter>;
|
|
1431
1558
|
price?: InputMaybe<NumberFilter>;
|
|
1432
1559
|
publishedAt?: InputMaybe<DateTimeFilter>;
|
|
1560
|
+
sellers?: InputMaybe<IdArrayFilter>;
|
|
1433
1561
|
slug?: InputMaybe<StringFilter>;
|
|
1434
1562
|
soldCount?: InputMaybe<NumberFilter>;
|
|
1435
1563
|
status?: InputMaybe<ProductStatusEnumFilter>;
|
|
@@ -1437,6 +1565,29 @@ export type ProductFilter = {
|
|
|
1437
1565
|
type?: InputMaybe<ProductTypeEnumFilter>;
|
|
1438
1566
|
views?: InputMaybe<NumberFilter>;
|
|
1439
1567
|
};
|
|
1568
|
+
export type ProductReview = {
|
|
1569
|
+
__typename?: 'ProductReview';
|
|
1570
|
+
content?: Maybe<Scalars['String']['output']>;
|
|
1571
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1572
|
+
customer?: Maybe<Customer>;
|
|
1573
|
+
id: Scalars['ID']['output'];
|
|
1574
|
+
product?: Maybe<Product>;
|
|
1575
|
+
rating?: Maybe<Scalars['Float']['output']>;
|
|
1576
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
1577
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1578
|
+
};
|
|
1579
|
+
export type ProductReviewFilter = {
|
|
1580
|
+
content?: InputMaybe<StringFilter>;
|
|
1581
|
+
customerId?: InputMaybe<IdFilter>;
|
|
1582
|
+
id?: InputMaybe<IdArrayFilter>;
|
|
1583
|
+
productId?: InputMaybe<IdFilter>;
|
|
1584
|
+
rating?: InputMaybe<NumberFilter>;
|
|
1585
|
+
title?: InputMaybe<StringFilter>;
|
|
1586
|
+
};
|
|
1587
|
+
export type ProductReviewSort = {
|
|
1588
|
+
field: ReviewFieldsEnum;
|
|
1589
|
+
order?: InputMaybe<SortOrderEnum>;
|
|
1590
|
+
};
|
|
1440
1591
|
export type ProductSeller = {
|
|
1441
1592
|
__typename?: 'ProductSeller';
|
|
1442
1593
|
active?: Maybe<Scalars['Boolean']['output']>;
|
|
@@ -1533,6 +1684,8 @@ export type Query = {
|
|
|
1533
1684
|
infiniteCustomers: InfiniteCustomersConnection;
|
|
1534
1685
|
infiniteMetrics: InfiniteMetricsConnection;
|
|
1535
1686
|
infiniteOrders: InfiniteOrdersConnection;
|
|
1687
|
+
infinitePosts: InfinitePostsConnection;
|
|
1688
|
+
infiniteProductReviews: InfiniteProductReviewsConnection;
|
|
1536
1689
|
infiniteProducts: InfiniteProductsConnection;
|
|
1537
1690
|
infiniteSellers: InfiniteSellersConnection;
|
|
1538
1691
|
infiniteSizes: InfiniteSizesConnection;
|
|
@@ -1550,10 +1703,13 @@ export type Query = {
|
|
|
1550
1703
|
paginatedCustomers?: Maybe<PaginatedCustomersConnection>;
|
|
1551
1704
|
paginatedMetrics?: Maybe<PaginatedMetricsConnection>;
|
|
1552
1705
|
paginatedOrders?: Maybe<PaginatedOrdersConnection>;
|
|
1706
|
+
paginatedPosts?: Maybe<PaginatedPostsConnection>;
|
|
1707
|
+
paginatedProductReviews?: Maybe<PaginatedProductReviewsConnection>;
|
|
1553
1708
|
paginatedProducts?: Maybe<PaginatedProductsConnection>;
|
|
1554
1709
|
paginatedSellers?: Maybe<PaginatedSellersConnection>;
|
|
1555
1710
|
paginatedSizes?: Maybe<PaginatedSizesConnection>;
|
|
1556
1711
|
paginatedTags?: Maybe<PaginatedTagsConnection>;
|
|
1712
|
+
post?: Maybe<Post>;
|
|
1557
1713
|
product?: Maybe<Product>;
|
|
1558
1714
|
seller?: Maybe<Seller>;
|
|
1559
1715
|
size?: Maybe<Array<SizeGroup>>;
|
|
@@ -1676,6 +1832,22 @@ export type QueryInfiniteOrdersArgs = {
|
|
|
1676
1832
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1677
1833
|
sort?: InputMaybe<Array<OrderSort>>;
|
|
1678
1834
|
};
|
|
1835
|
+
export type QueryInfinitePostsArgs = {
|
|
1836
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1837
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1838
|
+
filter?: InputMaybe<PostFilter>;
|
|
1839
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1840
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1841
|
+
sort?: InputMaybe<Array<PostSort>>;
|
|
1842
|
+
};
|
|
1843
|
+
export type QueryInfiniteProductReviewsArgs = {
|
|
1844
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1845
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1846
|
+
filter?: InputMaybe<ProductReviewFilter>;
|
|
1847
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1848
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1849
|
+
sort?: InputMaybe<Array<ProductReviewSort>>;
|
|
1850
|
+
};
|
|
1679
1851
|
export type QueryInfiniteProductsArgs = {
|
|
1680
1852
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1681
1853
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1783,6 +1955,18 @@ export type QueryPaginatedOrdersArgs = {
|
|
|
1783
1955
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1784
1956
|
sort?: InputMaybe<Array<OrderSort>>;
|
|
1785
1957
|
};
|
|
1958
|
+
export type QueryPaginatedPostsArgs = {
|
|
1959
|
+
filter?: InputMaybe<PostFilter>;
|
|
1960
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1961
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1962
|
+
sort?: InputMaybe<Array<PostSort>>;
|
|
1963
|
+
};
|
|
1964
|
+
export type QueryPaginatedProductReviewsArgs = {
|
|
1965
|
+
filter?: InputMaybe<ProductReviewFilter>;
|
|
1966
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1967
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1968
|
+
sort?: InputMaybe<Array<ProductReviewSort>>;
|
|
1969
|
+
};
|
|
1786
1970
|
export type QueryPaginatedProductsArgs = {
|
|
1787
1971
|
filter?: InputMaybe<ProductFilter>;
|
|
1788
1972
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1807,6 +1991,9 @@ export type QueryPaginatedTagsArgs = {
|
|
|
1807
1991
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1808
1992
|
sort?: InputMaybe<Array<TagSort>>;
|
|
1809
1993
|
};
|
|
1994
|
+
export type QueryPostArgs = {
|
|
1995
|
+
id: Scalars['ID']['input'];
|
|
1996
|
+
};
|
|
1810
1997
|
export type QueryProductArgs = {
|
|
1811
1998
|
id: Scalars['ID']['input'];
|
|
1812
1999
|
};
|
|
@@ -1872,6 +2059,14 @@ export type RegionSort = {
|
|
|
1872
2059
|
field: RegionFieldsEnum;
|
|
1873
2060
|
order?: InputMaybe<SortOrderEnum>;
|
|
1874
2061
|
};
|
|
2062
|
+
export declare enum ReviewFieldsEnum {
|
|
2063
|
+
Content = "content",
|
|
2064
|
+
CreatedAt = "createdAt",
|
|
2065
|
+
Id = "id",
|
|
2066
|
+
Rating = "rating",
|
|
2067
|
+
Title = "title",
|
|
2068
|
+
UpdatedAt = "updatedAt"
|
|
2069
|
+
}
|
|
1875
2070
|
export type Seller = {
|
|
1876
2071
|
__typename?: 'Seller';
|
|
1877
2072
|
active: Scalars['Boolean']['output'];
|
|
@@ -2728,6 +2923,11 @@ export type UpdateProductInput = {
|
|
|
2728
2923
|
warrantyTime?: InputMaybe<Scalars['String']['input']>;
|
|
2729
2924
|
warrantyType?: InputMaybe<Scalars['String']['input']>;
|
|
2730
2925
|
};
|
|
2926
|
+
export type UpdateProductReviewInput = {
|
|
2927
|
+
content?: InputMaybe<Scalars['String']['input']>;
|
|
2928
|
+
rating?: InputMaybe<Scalars['Float']['input']>;
|
|
2929
|
+
title?: InputMaybe<Scalars['String']['input']>;
|
|
2930
|
+
};
|
|
2731
2931
|
export type UpdateSellerInput = {
|
|
2732
2932
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2733
2933
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2735,6 +2935,14 @@ export type UpdateSellerInput = {
|
|
|
2735
2935
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2736
2936
|
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2737
2937
|
};
|
|
2938
|
+
export type User = {
|
|
2939
|
+
__typename?: 'User';
|
|
2940
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2941
|
+
email: Scalars['String']['output'];
|
|
2942
|
+
id: Scalars['ID']['output'];
|
|
2943
|
+
name: Scalars['String']['output'];
|
|
2944
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2945
|
+
};
|
|
2738
2946
|
export type AttributeFragmentFragment = {
|
|
2739
2947
|
__typename?: 'Attribute';
|
|
2740
2948
|
id: string;
|
|
@@ -5086,169 +5294,748 @@ export type OrderQuery = {
|
|
|
5086
5294
|
updatedAt?: any | null;
|
|
5087
5295
|
}> | null;
|
|
5088
5296
|
};
|
|
5089
|
-
export type
|
|
5090
|
-
__typename?: '
|
|
5297
|
+
export type PostCategoryFragmentFragment = {
|
|
5298
|
+
__typename?: 'PostCategory';
|
|
5091
5299
|
id: string;
|
|
5092
|
-
active: boolean;
|
|
5093
|
-
condition: ProductCondition;
|
|
5094
|
-
content?: string | null;
|
|
5095
|
-
createdAt: any;
|
|
5096
|
-
description?: string | null;
|
|
5097
|
-
featured: boolean;
|
|
5098
|
-
maxOrderQty?: boolean | null;
|
|
5099
|
-
metaDescription?: boolean | null;
|
|
5100
|
-
metaKeywords?: boolean | null;
|
|
5101
|
-
metaTitle?: boolean | null;
|
|
5102
|
-
minOrderQty?: boolean | null;
|
|
5103
5300
|
name: string;
|
|
5104
|
-
price: number;
|
|
5105
5301
|
slug: string;
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
todayDeal: boolean;
|
|
5109
|
-
type: ProductType;
|
|
5110
|
-
updatedAt?: any | null;
|
|
5111
|
-
views: number;
|
|
5112
|
-
warrantyDescription?: string | null;
|
|
5113
|
-
warrantyTime?: string | null;
|
|
5114
|
-
warrantyType?: string | null;
|
|
5302
|
+
createdAt: any;
|
|
5303
|
+
updatedAt: any;
|
|
5115
5304
|
};
|
|
5116
|
-
export type
|
|
5117
|
-
__typename?: '
|
|
5118
|
-
active?: boolean | null;
|
|
5119
|
-
default: boolean;
|
|
5305
|
+
export type PostCommentFragmentFragment = {
|
|
5306
|
+
__typename?: 'PostComment';
|
|
5120
5307
|
id: string;
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
active: boolean;
|
|
5127
|
-
createdAt: any;
|
|
5128
|
-
id: string;
|
|
5129
|
-
name: string;
|
|
5130
|
-
type: string;
|
|
5131
|
-
updatedAt: any;
|
|
5132
|
-
values?: Array<{
|
|
5133
|
-
__typename?: 'AttributeValue';
|
|
5134
|
-
default: boolean;
|
|
5135
|
-
name: string;
|
|
5136
|
-
}> | null;
|
|
5137
|
-
};
|
|
5138
|
-
}>;
|
|
5139
|
-
};
|
|
5140
|
-
export type ProductSellerFragmentFragment = {
|
|
5141
|
-
__typename?: 'ProductSeller';
|
|
5142
|
-
active?: boolean | null;
|
|
5143
|
-
barcode?: string | null;
|
|
5144
|
-
discountEndAt?: number | null;
|
|
5145
|
-
discountFixed?: number | null;
|
|
5146
|
-
discountPercentage?: number | null;
|
|
5147
|
-
discountStartAt?: number | null;
|
|
5148
|
-
priceDiff: number;
|
|
5149
|
-
quantity: number;
|
|
5150
|
-
sku?: string | null;
|
|
5151
|
-
seller: {
|
|
5152
|
-
__typename?: 'Seller';
|
|
5308
|
+
content?: string | null;
|
|
5309
|
+
createdAt: any;
|
|
5310
|
+
updatedAt: any;
|
|
5311
|
+
author: {
|
|
5312
|
+
__typename?: 'Customer';
|
|
5153
5313
|
id: string;
|
|
5154
|
-
|
|
5155
|
-
|
|
5314
|
+
fullName: string;
|
|
5315
|
+
username: string;
|
|
5156
5316
|
active: boolean;
|
|
5157
|
-
|
|
5158
|
-
slug: string;
|
|
5159
|
-
rating?: number | null;
|
|
5160
|
-
verified: boolean;
|
|
5317
|
+
orderCount: number;
|
|
5161
5318
|
createdAt: any;
|
|
5162
5319
|
updatedAt: any;
|
|
5163
5320
|
};
|
|
5164
|
-
variant?: Array<{
|
|
5165
|
-
__typename?: 'ProductVariant';
|
|
5166
|
-
active?: boolean | null;
|
|
5167
|
-
default: boolean;
|
|
5168
|
-
id: string;
|
|
5169
|
-
attributes: Array<{
|
|
5170
|
-
__typename?: 'ProductVariantAttribute';
|
|
5171
|
-
value: string;
|
|
5172
|
-
attribute: {
|
|
5173
|
-
__typename?: 'Attribute';
|
|
5174
|
-
active: boolean;
|
|
5175
|
-
createdAt: any;
|
|
5176
|
-
id: string;
|
|
5177
|
-
name: string;
|
|
5178
|
-
type: string;
|
|
5179
|
-
updatedAt: any;
|
|
5180
|
-
values?: Array<{
|
|
5181
|
-
__typename?: 'AttributeValue';
|
|
5182
|
-
default: boolean;
|
|
5183
|
-
name: string;
|
|
5184
|
-
}> | null;
|
|
5185
|
-
};
|
|
5186
|
-
}>;
|
|
5187
|
-
}> | null;
|
|
5188
5321
|
};
|
|
5189
|
-
export type
|
|
5322
|
+
export type PostFragmentFragment = {
|
|
5323
|
+
__typename?: 'Post';
|
|
5324
|
+
id: string;
|
|
5325
|
+
slug: string;
|
|
5326
|
+
title: string;
|
|
5327
|
+
content?: string | null;
|
|
5328
|
+
excerpt: string;
|
|
5329
|
+
publishedAt?: any | null;
|
|
5330
|
+
createdAt: any;
|
|
5331
|
+
updatedAt: any;
|
|
5332
|
+
};
|
|
5333
|
+
export type InfinitePostsQueryVariables = Exact<{
|
|
5190
5334
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
5191
5335
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
5192
|
-
filter?: InputMaybe<
|
|
5336
|
+
filter?: InputMaybe<PostFilter>;
|
|
5193
5337
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5194
5338
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5195
|
-
sort?: InputMaybe<Array<
|
|
5339
|
+
sort?: InputMaybe<Array<PostSort> | PostSort>;
|
|
5196
5340
|
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5341
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5342
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5343
|
+
withComments?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5344
|
+
withAuthor?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5202
5345
|
}>;
|
|
5203
|
-
export type
|
|
5346
|
+
export type InfinitePostsQuery = {
|
|
5204
5347
|
__typename?: 'Query';
|
|
5205
|
-
|
|
5206
|
-
__typename?: '
|
|
5348
|
+
infinitePosts: {
|
|
5349
|
+
__typename?: 'InfinitePostsConnection';
|
|
5207
5350
|
edges: Array<{
|
|
5208
|
-
__typename?: '
|
|
5351
|
+
__typename?: 'InfinitePostEdge';
|
|
5209
5352
|
cursor: string;
|
|
5210
5353
|
node: {
|
|
5211
|
-
__typename?: '
|
|
5354
|
+
__typename?: 'Post';
|
|
5212
5355
|
id: string;
|
|
5213
|
-
|
|
5214
|
-
|
|
5356
|
+
slug: string;
|
|
5357
|
+
title: string;
|
|
5215
5358
|
content?: string | null;
|
|
5359
|
+
excerpt: string;
|
|
5360
|
+
publishedAt?: any | null;
|
|
5216
5361
|
createdAt: any;
|
|
5217
|
-
|
|
5218
|
-
featured: boolean;
|
|
5219
|
-
maxOrderQty?: boolean | null;
|
|
5220
|
-
metaDescription?: boolean | null;
|
|
5221
|
-
metaKeywords?: boolean | null;
|
|
5222
|
-
metaTitle?: boolean | null;
|
|
5223
|
-
minOrderQty?: boolean | null;
|
|
5224
|
-
name: string;
|
|
5225
|
-
price: number;
|
|
5226
|
-
slug: string;
|
|
5227
|
-
soldCount: number;
|
|
5228
|
-
status: ProductStatus;
|
|
5229
|
-
todayDeal: boolean;
|
|
5230
|
-
type: ProductType;
|
|
5231
|
-
updatedAt?: any | null;
|
|
5232
|
-
views: number;
|
|
5233
|
-
warrantyDescription?: string | null;
|
|
5234
|
-
warrantyTime?: string | null;
|
|
5235
|
-
warrantyType?: string | null;
|
|
5362
|
+
updatedAt: any;
|
|
5236
5363
|
category?: {
|
|
5237
|
-
__typename?: '
|
|
5364
|
+
__typename?: 'PostCategory';
|
|
5238
5365
|
id: string;
|
|
5239
5366
|
name: string;
|
|
5240
|
-
description?: string | null;
|
|
5241
5367
|
slug: string;
|
|
5242
5368
|
createdAt: any;
|
|
5243
5369
|
updatedAt: any;
|
|
5244
|
-
names?: Array<{
|
|
5245
|
-
__typename?: 'LocalizedText';
|
|
5246
|
-
locale: string;
|
|
5247
|
-
value: string;
|
|
5248
|
-
}> | null;
|
|
5249
5370
|
} | null;
|
|
5250
|
-
|
|
5251
|
-
__typename?: '
|
|
5371
|
+
image?: {
|
|
5372
|
+
__typename?: 'File';
|
|
5373
|
+
createdAt: any;
|
|
5374
|
+
id: string;
|
|
5375
|
+
name: string;
|
|
5376
|
+
size?: number | null;
|
|
5377
|
+
status: FileStatusEnum;
|
|
5378
|
+
type?: string | null;
|
|
5379
|
+
updatedAt: any;
|
|
5380
|
+
url?: string | null;
|
|
5381
|
+
thumbnails: {
|
|
5382
|
+
__typename?: 'FileThumbnails';
|
|
5383
|
+
thumbnail450Url?: string | null;
|
|
5384
|
+
thumbnail900Url?: string | null;
|
|
5385
|
+
};
|
|
5386
|
+
} | null;
|
|
5387
|
+
tags?: Array<{
|
|
5388
|
+
__typename?: 'Tag';
|
|
5389
|
+
id: string;
|
|
5390
|
+
name: string;
|
|
5391
|
+
color?: string | null;
|
|
5392
|
+
createdAt: any;
|
|
5393
|
+
updatedAt: any;
|
|
5394
|
+
}> | null;
|
|
5395
|
+
comments?: Array<{
|
|
5396
|
+
__typename?: 'PostComment';
|
|
5397
|
+
id: string;
|
|
5398
|
+
content?: string | null;
|
|
5399
|
+
createdAt: any;
|
|
5400
|
+
updatedAt: any;
|
|
5401
|
+
author: {
|
|
5402
|
+
__typename?: 'Customer';
|
|
5403
|
+
id: string;
|
|
5404
|
+
fullName: string;
|
|
5405
|
+
username: string;
|
|
5406
|
+
active: boolean;
|
|
5407
|
+
orderCount: number;
|
|
5408
|
+
createdAt: any;
|
|
5409
|
+
updatedAt: any;
|
|
5410
|
+
};
|
|
5411
|
+
}> | null;
|
|
5412
|
+
author?: {
|
|
5413
|
+
__typename?: 'User';
|
|
5414
|
+
id: string;
|
|
5415
|
+
name: string;
|
|
5416
|
+
} | null;
|
|
5417
|
+
};
|
|
5418
|
+
}>;
|
|
5419
|
+
pageInfo: {
|
|
5420
|
+
__typename?: 'InfinitePageInfo';
|
|
5421
|
+
endCursor?: string | null;
|
|
5422
|
+
hasNextPage: boolean;
|
|
5423
|
+
hasPreviousPage: boolean;
|
|
5424
|
+
startCursor?: string | null;
|
|
5425
|
+
};
|
|
5426
|
+
};
|
|
5427
|
+
};
|
|
5428
|
+
export type PaginatedPostsQueryVariables = Exact<{
|
|
5429
|
+
filter?: InputMaybe<PostFilter>;
|
|
5430
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
5431
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
5432
|
+
sort?: InputMaybe<Array<PostSort> | PostSort>;
|
|
5433
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5434
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5435
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5436
|
+
withComments?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5437
|
+
withAuthor?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5438
|
+
}>;
|
|
5439
|
+
export type PaginatedPostsQuery = {
|
|
5440
|
+
__typename?: 'Query';
|
|
5441
|
+
paginatedPosts?: {
|
|
5442
|
+
__typename?: 'PaginatedPostsConnection';
|
|
5443
|
+
edges: Array<{
|
|
5444
|
+
__typename?: 'PaginatedPostEdge';
|
|
5445
|
+
cursor: string;
|
|
5446
|
+
node: {
|
|
5447
|
+
__typename?: 'Post';
|
|
5448
|
+
id: string;
|
|
5449
|
+
slug: string;
|
|
5450
|
+
title: string;
|
|
5451
|
+
content?: string | null;
|
|
5452
|
+
excerpt: string;
|
|
5453
|
+
publishedAt?: any | null;
|
|
5454
|
+
createdAt: any;
|
|
5455
|
+
updatedAt: any;
|
|
5456
|
+
category?: {
|
|
5457
|
+
__typename?: 'PostCategory';
|
|
5458
|
+
id: string;
|
|
5459
|
+
name: string;
|
|
5460
|
+
slug: string;
|
|
5461
|
+
createdAt: any;
|
|
5462
|
+
updatedAt: any;
|
|
5463
|
+
} | null;
|
|
5464
|
+
image?: {
|
|
5465
|
+
__typename?: 'File';
|
|
5466
|
+
createdAt: any;
|
|
5467
|
+
id: string;
|
|
5468
|
+
name: string;
|
|
5469
|
+
size?: number | null;
|
|
5470
|
+
status: FileStatusEnum;
|
|
5471
|
+
type?: string | null;
|
|
5472
|
+
updatedAt: any;
|
|
5473
|
+
url?: string | null;
|
|
5474
|
+
thumbnails: {
|
|
5475
|
+
__typename?: 'FileThumbnails';
|
|
5476
|
+
thumbnail450Url?: string | null;
|
|
5477
|
+
thumbnail900Url?: string | null;
|
|
5478
|
+
};
|
|
5479
|
+
} | null;
|
|
5480
|
+
tags?: Array<{
|
|
5481
|
+
__typename?: 'Tag';
|
|
5482
|
+
id: string;
|
|
5483
|
+
name: string;
|
|
5484
|
+
color?: string | null;
|
|
5485
|
+
createdAt: any;
|
|
5486
|
+
updatedAt: any;
|
|
5487
|
+
}> | null;
|
|
5488
|
+
comments?: Array<{
|
|
5489
|
+
__typename?: 'PostComment';
|
|
5490
|
+
id: string;
|
|
5491
|
+
content?: string | null;
|
|
5492
|
+
createdAt: any;
|
|
5493
|
+
updatedAt: any;
|
|
5494
|
+
author: {
|
|
5495
|
+
__typename?: 'Customer';
|
|
5496
|
+
id: string;
|
|
5497
|
+
fullName: string;
|
|
5498
|
+
username: string;
|
|
5499
|
+
active: boolean;
|
|
5500
|
+
orderCount: number;
|
|
5501
|
+
createdAt: any;
|
|
5502
|
+
updatedAt: any;
|
|
5503
|
+
};
|
|
5504
|
+
}> | null;
|
|
5505
|
+
author?: {
|
|
5506
|
+
__typename?: 'User';
|
|
5507
|
+
id: string;
|
|
5508
|
+
name: string;
|
|
5509
|
+
} | null;
|
|
5510
|
+
};
|
|
5511
|
+
}>;
|
|
5512
|
+
pageInfo: {
|
|
5513
|
+
__typename?: 'PaginatedPageInfo';
|
|
5514
|
+
currentPage: number;
|
|
5515
|
+
hasNextPage: boolean;
|
|
5516
|
+
hasPreviousPage: boolean;
|
|
5517
|
+
totalEdges: number;
|
|
5518
|
+
totalPages: number;
|
|
5519
|
+
};
|
|
5520
|
+
} | null;
|
|
5521
|
+
};
|
|
5522
|
+
export type PostQueryVariables = Exact<{
|
|
5523
|
+
id: Scalars['ID']['input'];
|
|
5524
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5525
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5526
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5527
|
+
withComments?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5528
|
+
withAuthor?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5529
|
+
}>;
|
|
5530
|
+
export type PostQuery = {
|
|
5531
|
+
__typename?: 'Query';
|
|
5532
|
+
post?: {
|
|
5533
|
+
__typename?: 'Post';
|
|
5534
|
+
id: string;
|
|
5535
|
+
slug: string;
|
|
5536
|
+
title: string;
|
|
5537
|
+
content?: string | null;
|
|
5538
|
+
excerpt: string;
|
|
5539
|
+
publishedAt?: any | null;
|
|
5540
|
+
createdAt: any;
|
|
5541
|
+
updatedAt: any;
|
|
5542
|
+
category?: {
|
|
5543
|
+
__typename?: 'PostCategory';
|
|
5544
|
+
id: string;
|
|
5545
|
+
name: string;
|
|
5546
|
+
slug: string;
|
|
5547
|
+
createdAt: any;
|
|
5548
|
+
updatedAt: any;
|
|
5549
|
+
} | null;
|
|
5550
|
+
image?: {
|
|
5551
|
+
__typename?: 'File';
|
|
5552
|
+
createdAt: any;
|
|
5553
|
+
id: string;
|
|
5554
|
+
name: string;
|
|
5555
|
+
size?: number | null;
|
|
5556
|
+
status: FileStatusEnum;
|
|
5557
|
+
type?: string | null;
|
|
5558
|
+
updatedAt: any;
|
|
5559
|
+
url?: string | null;
|
|
5560
|
+
thumbnails: {
|
|
5561
|
+
__typename?: 'FileThumbnails';
|
|
5562
|
+
thumbnail450Url?: string | null;
|
|
5563
|
+
thumbnail900Url?: string | null;
|
|
5564
|
+
};
|
|
5565
|
+
} | null;
|
|
5566
|
+
tags?: Array<{
|
|
5567
|
+
__typename?: 'Tag';
|
|
5568
|
+
id: string;
|
|
5569
|
+
name: string;
|
|
5570
|
+
color?: string | null;
|
|
5571
|
+
createdAt: any;
|
|
5572
|
+
updatedAt: any;
|
|
5573
|
+
}> | null;
|
|
5574
|
+
comments?: Array<{
|
|
5575
|
+
__typename?: 'PostComment';
|
|
5576
|
+
id: string;
|
|
5577
|
+
content?: string | null;
|
|
5578
|
+
createdAt: any;
|
|
5579
|
+
updatedAt: any;
|
|
5580
|
+
author: {
|
|
5581
|
+
__typename?: 'Customer';
|
|
5582
|
+
id: string;
|
|
5583
|
+
fullName: string;
|
|
5584
|
+
username: string;
|
|
5585
|
+
active: boolean;
|
|
5586
|
+
orderCount: number;
|
|
5587
|
+
createdAt: any;
|
|
5588
|
+
updatedAt: any;
|
|
5589
|
+
};
|
|
5590
|
+
}> | null;
|
|
5591
|
+
author?: {
|
|
5592
|
+
__typename?: 'User';
|
|
5593
|
+
id: string;
|
|
5594
|
+
name: string;
|
|
5595
|
+
} | null;
|
|
5596
|
+
} | null;
|
|
5597
|
+
};
|
|
5598
|
+
export type ProductReviewFragmentFragment = {
|
|
5599
|
+
__typename?: 'ProductReview';
|
|
5600
|
+
id: string;
|
|
5601
|
+
title?: string | null;
|
|
5602
|
+
content?: string | null;
|
|
5603
|
+
rating?: number | null;
|
|
5604
|
+
createdAt: any;
|
|
5605
|
+
updatedAt: any;
|
|
5606
|
+
};
|
|
5607
|
+
export type InfiniteProductReviewsQueryVariables = Exact<{
|
|
5608
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5609
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5610
|
+
filter?: InputMaybe<ProductReviewFilter>;
|
|
5611
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5612
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5613
|
+
sort?: InputMaybe<Array<ProductReviewSort> | ProductReviewSort>;
|
|
5614
|
+
withCustomer?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5615
|
+
withProduct?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5616
|
+
}>;
|
|
5617
|
+
export type InfiniteProductReviewsQuery = {
|
|
5618
|
+
__typename?: 'Query';
|
|
5619
|
+
infiniteProductReviews: {
|
|
5620
|
+
__typename?: 'InfiniteProductReviewsConnection';
|
|
5621
|
+
edges: Array<{
|
|
5622
|
+
__typename?: 'InfiniteProductReviewEdge';
|
|
5623
|
+
cursor: string;
|
|
5624
|
+
node: {
|
|
5625
|
+
__typename?: 'ProductReview';
|
|
5626
|
+
id: string;
|
|
5627
|
+
title?: string | null;
|
|
5628
|
+
content?: string | null;
|
|
5629
|
+
rating?: number | null;
|
|
5630
|
+
createdAt: any;
|
|
5631
|
+
updatedAt: any;
|
|
5632
|
+
product?: {
|
|
5633
|
+
__typename?: 'Product';
|
|
5634
|
+
id: string;
|
|
5635
|
+
active: boolean;
|
|
5636
|
+
condition: ProductCondition;
|
|
5637
|
+
content?: string | null;
|
|
5638
|
+
createdAt: any;
|
|
5639
|
+
description?: string | null;
|
|
5640
|
+
featured: boolean;
|
|
5641
|
+
maxOrderQty?: boolean | null;
|
|
5642
|
+
metaDescription?: boolean | null;
|
|
5643
|
+
metaKeywords?: boolean | null;
|
|
5644
|
+
metaTitle?: boolean | null;
|
|
5645
|
+
minOrderQty?: boolean | null;
|
|
5646
|
+
name: string;
|
|
5647
|
+
price: number;
|
|
5648
|
+
slug: string;
|
|
5649
|
+
soldCount: number;
|
|
5650
|
+
status: ProductStatus;
|
|
5651
|
+
todayDeal: boolean;
|
|
5652
|
+
type: ProductType;
|
|
5653
|
+
updatedAt?: any | null;
|
|
5654
|
+
views: number;
|
|
5655
|
+
warrantyDescription?: string | null;
|
|
5656
|
+
warrantyTime?: string | null;
|
|
5657
|
+
warrantyType?: string | null;
|
|
5658
|
+
} | null;
|
|
5659
|
+
customer?: {
|
|
5660
|
+
__typename?: 'Customer';
|
|
5661
|
+
id: string;
|
|
5662
|
+
fullName: string;
|
|
5663
|
+
username: string;
|
|
5664
|
+
active: boolean;
|
|
5665
|
+
orderCount: number;
|
|
5666
|
+
createdAt: any;
|
|
5667
|
+
updatedAt: any;
|
|
5668
|
+
} | null;
|
|
5669
|
+
};
|
|
5670
|
+
}>;
|
|
5671
|
+
pageInfo: {
|
|
5672
|
+
__typename?: 'InfinitePageInfo';
|
|
5673
|
+
endCursor?: string | null;
|
|
5674
|
+
hasNextPage: boolean;
|
|
5675
|
+
hasPreviousPage: boolean;
|
|
5676
|
+
startCursor?: string | null;
|
|
5677
|
+
};
|
|
5678
|
+
};
|
|
5679
|
+
};
|
|
5680
|
+
export type PaginatedProductReviewsQueryVariables = Exact<{
|
|
5681
|
+
filter?: InputMaybe<ProductReviewFilter>;
|
|
5682
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
5683
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
5684
|
+
sort?: InputMaybe<Array<ProductReviewSort> | ProductReviewSort>;
|
|
5685
|
+
withCustomer?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5686
|
+
withProduct?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5687
|
+
}>;
|
|
5688
|
+
export type PaginatedProductReviewsQuery = {
|
|
5689
|
+
__typename?: 'Query';
|
|
5690
|
+
paginatedProductReviews?: {
|
|
5691
|
+
__typename?: 'PaginatedProductReviewsConnection';
|
|
5692
|
+
edges: Array<{
|
|
5693
|
+
__typename?: 'PaginatedProductReviewEdge';
|
|
5694
|
+
cursor: string;
|
|
5695
|
+
node: {
|
|
5696
|
+
__typename?: 'ProductReview';
|
|
5697
|
+
id: string;
|
|
5698
|
+
title?: string | null;
|
|
5699
|
+
content?: string | null;
|
|
5700
|
+
rating?: number | null;
|
|
5701
|
+
createdAt: any;
|
|
5702
|
+
updatedAt: any;
|
|
5703
|
+
product?: {
|
|
5704
|
+
__typename?: 'Product';
|
|
5705
|
+
id: string;
|
|
5706
|
+
active: boolean;
|
|
5707
|
+
condition: ProductCondition;
|
|
5708
|
+
content?: string | null;
|
|
5709
|
+
createdAt: any;
|
|
5710
|
+
description?: string | null;
|
|
5711
|
+
featured: boolean;
|
|
5712
|
+
maxOrderQty?: boolean | null;
|
|
5713
|
+
metaDescription?: boolean | null;
|
|
5714
|
+
metaKeywords?: boolean | null;
|
|
5715
|
+
metaTitle?: boolean | null;
|
|
5716
|
+
minOrderQty?: boolean | null;
|
|
5717
|
+
name: string;
|
|
5718
|
+
price: number;
|
|
5719
|
+
slug: string;
|
|
5720
|
+
soldCount: number;
|
|
5721
|
+
status: ProductStatus;
|
|
5722
|
+
todayDeal: boolean;
|
|
5723
|
+
type: ProductType;
|
|
5724
|
+
updatedAt?: any | null;
|
|
5725
|
+
views: number;
|
|
5726
|
+
warrantyDescription?: string | null;
|
|
5727
|
+
warrantyTime?: string | null;
|
|
5728
|
+
warrantyType?: string | null;
|
|
5729
|
+
} | null;
|
|
5730
|
+
customer?: {
|
|
5731
|
+
__typename?: 'Customer';
|
|
5732
|
+
id: string;
|
|
5733
|
+
fullName: string;
|
|
5734
|
+
username: string;
|
|
5735
|
+
active: boolean;
|
|
5736
|
+
orderCount: number;
|
|
5737
|
+
createdAt: any;
|
|
5738
|
+
updatedAt: any;
|
|
5739
|
+
} | null;
|
|
5740
|
+
};
|
|
5741
|
+
}>;
|
|
5742
|
+
pageInfo: {
|
|
5743
|
+
__typename?: 'PaginatedPageInfo';
|
|
5744
|
+
currentPage: number;
|
|
5745
|
+
hasNextPage: boolean;
|
|
5746
|
+
hasPreviousPage: boolean;
|
|
5747
|
+
totalEdges: number;
|
|
5748
|
+
totalPages: number;
|
|
5749
|
+
};
|
|
5750
|
+
} | null;
|
|
5751
|
+
};
|
|
5752
|
+
export type CreateProductReviewMutationVariables = Exact<{
|
|
5753
|
+
data: CreateProductReviewInput;
|
|
5754
|
+
customerId: Scalars['ID']['input'];
|
|
5755
|
+
withCustomer?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5756
|
+
withProduct?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5757
|
+
}>;
|
|
5758
|
+
export type CreateProductReviewMutation = {
|
|
5759
|
+
__typename?: 'Mutation';
|
|
5760
|
+
createProductReview: {
|
|
5761
|
+
__typename?: 'ProductReview';
|
|
5762
|
+
id: string;
|
|
5763
|
+
title?: string | null;
|
|
5764
|
+
content?: string | null;
|
|
5765
|
+
rating?: number | null;
|
|
5766
|
+
createdAt: any;
|
|
5767
|
+
updatedAt: any;
|
|
5768
|
+
product?: {
|
|
5769
|
+
__typename?: 'Product';
|
|
5770
|
+
id: string;
|
|
5771
|
+
active: boolean;
|
|
5772
|
+
condition: ProductCondition;
|
|
5773
|
+
content?: string | null;
|
|
5774
|
+
createdAt: any;
|
|
5775
|
+
description?: string | null;
|
|
5776
|
+
featured: boolean;
|
|
5777
|
+
maxOrderQty?: boolean | null;
|
|
5778
|
+
metaDescription?: boolean | null;
|
|
5779
|
+
metaKeywords?: boolean | null;
|
|
5780
|
+
metaTitle?: boolean | null;
|
|
5781
|
+
minOrderQty?: boolean | null;
|
|
5782
|
+
name: string;
|
|
5783
|
+
price: number;
|
|
5784
|
+
slug: string;
|
|
5785
|
+
soldCount: number;
|
|
5786
|
+
status: ProductStatus;
|
|
5787
|
+
todayDeal: boolean;
|
|
5788
|
+
type: ProductType;
|
|
5789
|
+
updatedAt?: any | null;
|
|
5790
|
+
views: number;
|
|
5791
|
+
warrantyDescription?: string | null;
|
|
5792
|
+
warrantyTime?: string | null;
|
|
5793
|
+
warrantyType?: string | null;
|
|
5794
|
+
} | null;
|
|
5795
|
+
customer?: {
|
|
5796
|
+
__typename?: 'Customer';
|
|
5797
|
+
id: string;
|
|
5798
|
+
fullName: string;
|
|
5799
|
+
username: string;
|
|
5800
|
+
active: boolean;
|
|
5801
|
+
orderCount: number;
|
|
5802
|
+
createdAt: any;
|
|
5803
|
+
updatedAt: any;
|
|
5804
|
+
} | null;
|
|
5805
|
+
};
|
|
5806
|
+
};
|
|
5807
|
+
export type UpdateProductReviewMutationVariables = Exact<{
|
|
5808
|
+
data: UpdateProductReviewInput;
|
|
5809
|
+
id: Scalars['ID']['input'];
|
|
5810
|
+
customerId: Scalars['ID']['input'];
|
|
5811
|
+
withCustomer?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5812
|
+
withProduct?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5813
|
+
}>;
|
|
5814
|
+
export type UpdateProductReviewMutation = {
|
|
5815
|
+
__typename?: 'Mutation';
|
|
5816
|
+
updateProductReview: {
|
|
5817
|
+
__typename?: 'ProductReview';
|
|
5818
|
+
id: string;
|
|
5819
|
+
title?: string | null;
|
|
5820
|
+
content?: string | null;
|
|
5821
|
+
rating?: number | null;
|
|
5822
|
+
createdAt: any;
|
|
5823
|
+
updatedAt: any;
|
|
5824
|
+
product?: {
|
|
5825
|
+
__typename?: 'Product';
|
|
5826
|
+
id: string;
|
|
5827
|
+
active: boolean;
|
|
5828
|
+
condition: ProductCondition;
|
|
5829
|
+
content?: string | null;
|
|
5830
|
+
createdAt: any;
|
|
5831
|
+
description?: string | null;
|
|
5832
|
+
featured: boolean;
|
|
5833
|
+
maxOrderQty?: boolean | null;
|
|
5834
|
+
metaDescription?: boolean | null;
|
|
5835
|
+
metaKeywords?: boolean | null;
|
|
5836
|
+
metaTitle?: boolean | null;
|
|
5837
|
+
minOrderQty?: boolean | null;
|
|
5838
|
+
name: string;
|
|
5839
|
+
price: number;
|
|
5840
|
+
slug: string;
|
|
5841
|
+
soldCount: number;
|
|
5842
|
+
status: ProductStatus;
|
|
5843
|
+
todayDeal: boolean;
|
|
5844
|
+
type: ProductType;
|
|
5845
|
+
updatedAt?: any | null;
|
|
5846
|
+
views: number;
|
|
5847
|
+
warrantyDescription?: string | null;
|
|
5848
|
+
warrantyTime?: string | null;
|
|
5849
|
+
warrantyType?: string | null;
|
|
5850
|
+
} | null;
|
|
5851
|
+
customer?: {
|
|
5852
|
+
__typename?: 'Customer';
|
|
5853
|
+
id: string;
|
|
5854
|
+
fullName: string;
|
|
5855
|
+
username: string;
|
|
5856
|
+
active: boolean;
|
|
5857
|
+
orderCount: number;
|
|
5858
|
+
createdAt: any;
|
|
5859
|
+
updatedAt: any;
|
|
5860
|
+
} | null;
|
|
5861
|
+
};
|
|
5862
|
+
};
|
|
5863
|
+
export type DeleteProductReviewMutationVariables = Exact<{
|
|
5864
|
+
id: Scalars['ID']['input'];
|
|
5865
|
+
customerId: Scalars['ID']['input'];
|
|
5866
|
+
}>;
|
|
5867
|
+
export type DeleteProductReviewMutation = {
|
|
5868
|
+
__typename?: 'Mutation';
|
|
5869
|
+
deleteProductReview: {
|
|
5870
|
+
__typename?: 'Status';
|
|
5871
|
+
reason?: string | null;
|
|
5872
|
+
status: StatusEnum;
|
|
5873
|
+
};
|
|
5874
|
+
};
|
|
5875
|
+
export type ProductSellerFragmentFragment = {
|
|
5876
|
+
__typename?: 'ProductSeller';
|
|
5877
|
+
active?: boolean | null;
|
|
5878
|
+
barcode?: string | null;
|
|
5879
|
+
discountEndAt?: number | null;
|
|
5880
|
+
discountFixed?: number | null;
|
|
5881
|
+
discountPercentage?: number | null;
|
|
5882
|
+
discountStartAt?: number | null;
|
|
5883
|
+
priceDiff: number;
|
|
5884
|
+
quantity: number;
|
|
5885
|
+
sku?: string | null;
|
|
5886
|
+
seller: {
|
|
5887
|
+
__typename?: 'Seller';
|
|
5888
|
+
id: string;
|
|
5889
|
+
name: string;
|
|
5890
|
+
description?: string | null;
|
|
5891
|
+
active: boolean;
|
|
5892
|
+
orderNumber: number;
|
|
5893
|
+
slug: string;
|
|
5894
|
+
rating?: number | null;
|
|
5895
|
+
verified: boolean;
|
|
5896
|
+
createdAt: any;
|
|
5897
|
+
updatedAt: any;
|
|
5898
|
+
};
|
|
5899
|
+
variant?: Array<{
|
|
5900
|
+
__typename?: 'ProductVariant';
|
|
5901
|
+
active?: boolean | null;
|
|
5902
|
+
default: boolean;
|
|
5903
|
+
id: string;
|
|
5904
|
+
attributes: Array<{
|
|
5905
|
+
__typename?: 'ProductVariantAttribute';
|
|
5906
|
+
value: string;
|
|
5907
|
+
attribute: {
|
|
5908
|
+
__typename?: 'Attribute';
|
|
5909
|
+
active: boolean;
|
|
5910
|
+
createdAt: any;
|
|
5911
|
+
id: string;
|
|
5912
|
+
name: string;
|
|
5913
|
+
type: string;
|
|
5914
|
+
updatedAt: any;
|
|
5915
|
+
values?: Array<{
|
|
5916
|
+
__typename?: 'AttributeValue';
|
|
5917
|
+
default: boolean;
|
|
5918
|
+
name: string;
|
|
5919
|
+
}> | null;
|
|
5920
|
+
};
|
|
5921
|
+
}>;
|
|
5922
|
+
}> | null;
|
|
5923
|
+
};
|
|
5924
|
+
export type ProductVariantFragmentFragment = {
|
|
5925
|
+
__typename?: 'ProductVariant';
|
|
5926
|
+
active?: boolean | null;
|
|
5927
|
+
default: boolean;
|
|
5928
|
+
id: string;
|
|
5929
|
+
attributes: Array<{
|
|
5930
|
+
__typename?: 'ProductVariantAttribute';
|
|
5931
|
+
value: string;
|
|
5932
|
+
attribute: {
|
|
5933
|
+
__typename?: 'Attribute';
|
|
5934
|
+
active: boolean;
|
|
5935
|
+
createdAt: any;
|
|
5936
|
+
id: string;
|
|
5937
|
+
name: string;
|
|
5938
|
+
type: string;
|
|
5939
|
+
updatedAt: any;
|
|
5940
|
+
values?: Array<{
|
|
5941
|
+
__typename?: 'AttributeValue';
|
|
5942
|
+
default: boolean;
|
|
5943
|
+
name: string;
|
|
5944
|
+
}> | null;
|
|
5945
|
+
};
|
|
5946
|
+
}>;
|
|
5947
|
+
};
|
|
5948
|
+
export type ProductFragmentFragment = {
|
|
5949
|
+
__typename?: 'Product';
|
|
5950
|
+
id: string;
|
|
5951
|
+
active: boolean;
|
|
5952
|
+
condition: ProductCondition;
|
|
5953
|
+
content?: string | null;
|
|
5954
|
+
createdAt: any;
|
|
5955
|
+
description?: string | null;
|
|
5956
|
+
featured: boolean;
|
|
5957
|
+
maxOrderQty?: boolean | null;
|
|
5958
|
+
metaDescription?: boolean | null;
|
|
5959
|
+
metaKeywords?: boolean | null;
|
|
5960
|
+
metaTitle?: boolean | null;
|
|
5961
|
+
minOrderQty?: boolean | null;
|
|
5962
|
+
name: string;
|
|
5963
|
+
price: number;
|
|
5964
|
+
slug: string;
|
|
5965
|
+
soldCount: number;
|
|
5966
|
+
status: ProductStatus;
|
|
5967
|
+
todayDeal: boolean;
|
|
5968
|
+
type: ProductType;
|
|
5969
|
+
updatedAt?: any | null;
|
|
5970
|
+
views: number;
|
|
5971
|
+
warrantyDescription?: string | null;
|
|
5972
|
+
warrantyTime?: string | null;
|
|
5973
|
+
warrantyType?: string | null;
|
|
5974
|
+
};
|
|
5975
|
+
export type InfiniteProductsQueryVariables = Exact<{
|
|
5976
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5977
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5978
|
+
filter?: InputMaybe<ProductFilter>;
|
|
5979
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5980
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5981
|
+
sort?: InputMaybe<Array<ProductSort> | ProductSort>;
|
|
5982
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5983
|
+
withBrand?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5984
|
+
withVariant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5985
|
+
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5986
|
+
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5987
|
+
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5988
|
+
withReviews?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5989
|
+
}>;
|
|
5990
|
+
export type InfiniteProductsQuery = {
|
|
5991
|
+
__typename?: 'Query';
|
|
5992
|
+
infiniteProducts: {
|
|
5993
|
+
__typename?: 'InfiniteProductsConnection';
|
|
5994
|
+
edges: Array<{
|
|
5995
|
+
__typename?: 'InfiniteProductEdge';
|
|
5996
|
+
cursor: string;
|
|
5997
|
+
node: {
|
|
5998
|
+
__typename?: 'Product';
|
|
5999
|
+
id: string;
|
|
6000
|
+
active: boolean;
|
|
6001
|
+
condition: ProductCondition;
|
|
6002
|
+
content?: string | null;
|
|
6003
|
+
createdAt: any;
|
|
6004
|
+
description?: string | null;
|
|
6005
|
+
featured: boolean;
|
|
6006
|
+
maxOrderQty?: boolean | null;
|
|
6007
|
+
metaDescription?: boolean | null;
|
|
6008
|
+
metaKeywords?: boolean | null;
|
|
6009
|
+
metaTitle?: boolean | null;
|
|
6010
|
+
minOrderQty?: boolean | null;
|
|
6011
|
+
name: string;
|
|
6012
|
+
price: number;
|
|
6013
|
+
slug: string;
|
|
6014
|
+
soldCount: number;
|
|
6015
|
+
status: ProductStatus;
|
|
6016
|
+
todayDeal: boolean;
|
|
6017
|
+
type: ProductType;
|
|
6018
|
+
updatedAt?: any | null;
|
|
6019
|
+
views: number;
|
|
6020
|
+
warrantyDescription?: string | null;
|
|
6021
|
+
warrantyTime?: string | null;
|
|
6022
|
+
warrantyType?: string | null;
|
|
6023
|
+
category?: {
|
|
6024
|
+
__typename?: 'Category';
|
|
6025
|
+
id: string;
|
|
6026
|
+
name: string;
|
|
6027
|
+
description?: string | null;
|
|
6028
|
+
slug: string;
|
|
6029
|
+
createdAt: any;
|
|
6030
|
+
updatedAt: any;
|
|
6031
|
+
names?: Array<{
|
|
6032
|
+
__typename?: 'LocalizedText';
|
|
6033
|
+
locale: string;
|
|
6034
|
+
value: string;
|
|
6035
|
+
}> | null;
|
|
6036
|
+
} | null;
|
|
6037
|
+
brand?: {
|
|
6038
|
+
__typename?: 'Brand';
|
|
5252
6039
|
id: string;
|
|
5253
6040
|
name: string;
|
|
5254
6041
|
active?: boolean | null;
|
|
@@ -5369,6 +6156,15 @@ export type InfiniteProductsQuery = {
|
|
|
5369
6156
|
}>;
|
|
5370
6157
|
}> | null;
|
|
5371
6158
|
}>;
|
|
6159
|
+
reviews?: Array<{
|
|
6160
|
+
__typename?: 'ProductReview';
|
|
6161
|
+
id: string;
|
|
6162
|
+
title?: string | null;
|
|
6163
|
+
content?: string | null;
|
|
6164
|
+
rating?: number | null;
|
|
6165
|
+
createdAt: any;
|
|
6166
|
+
updatedAt: any;
|
|
6167
|
+
}>;
|
|
5372
6168
|
};
|
|
5373
6169
|
}>;
|
|
5374
6170
|
pageInfo: {
|
|
@@ -5391,6 +6187,7 @@ export type PaginatedProductsQueryVariables = Exact<{
|
|
|
5391
6187
|
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5392
6188
|
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5393
6189
|
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6190
|
+
withReviews?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5394
6191
|
}>;
|
|
5395
6192
|
export type PaginatedProductsQuery = {
|
|
5396
6193
|
__typename?: 'Query';
|
|
@@ -5561,6 +6358,15 @@ export type PaginatedProductsQuery = {
|
|
|
5561
6358
|
}>;
|
|
5562
6359
|
}> | null;
|
|
5563
6360
|
}>;
|
|
6361
|
+
reviews?: Array<{
|
|
6362
|
+
__typename?: 'ProductReview';
|
|
6363
|
+
id: string;
|
|
6364
|
+
title?: string | null;
|
|
6365
|
+
content?: string | null;
|
|
6366
|
+
rating?: number | null;
|
|
6367
|
+
createdAt: any;
|
|
6368
|
+
updatedAt: any;
|
|
6369
|
+
}>;
|
|
5564
6370
|
};
|
|
5565
6371
|
}>;
|
|
5566
6372
|
pageInfo: {
|
|
@@ -5581,6 +6387,7 @@ export type ProductQueryVariables = Exact<{
|
|
|
5581
6387
|
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5582
6388
|
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5583
6389
|
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6390
|
+
withReviews?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5584
6391
|
}>;
|
|
5585
6392
|
export type ProductQuery = {
|
|
5586
6393
|
__typename?: 'Query';
|
|
@@ -5746,6 +6553,15 @@ export type ProductQuery = {
|
|
|
5746
6553
|
}>;
|
|
5747
6554
|
}> | null;
|
|
5748
6555
|
}>;
|
|
6556
|
+
reviews?: Array<{
|
|
6557
|
+
__typename?: 'ProductReview';
|
|
6558
|
+
id: string;
|
|
6559
|
+
title?: string | null;
|
|
6560
|
+
content?: string | null;
|
|
6561
|
+
rating?: number | null;
|
|
6562
|
+
createdAt: any;
|
|
6563
|
+
updatedAt: any;
|
|
6564
|
+
}>;
|
|
5749
6565
|
} | null;
|
|
5750
6566
|
};
|
|
5751
6567
|
export type CreateProductMutationVariables = Exact<{
|
|
@@ -5756,6 +6572,7 @@ export type CreateProductMutationVariables = Exact<{
|
|
|
5756
6572
|
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5757
6573
|
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5758
6574
|
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6575
|
+
withReviews?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5759
6576
|
}>;
|
|
5760
6577
|
export type CreateProductMutation = {
|
|
5761
6578
|
__typename?: 'Mutation';
|
|
@@ -5921,6 +6738,15 @@ export type CreateProductMutation = {
|
|
|
5921
6738
|
}>;
|
|
5922
6739
|
}> | null;
|
|
5923
6740
|
}>;
|
|
6741
|
+
reviews?: Array<{
|
|
6742
|
+
__typename?: 'ProductReview';
|
|
6743
|
+
id: string;
|
|
6744
|
+
title?: string | null;
|
|
6745
|
+
content?: string | null;
|
|
6746
|
+
rating?: number | null;
|
|
6747
|
+
createdAt: any;
|
|
6748
|
+
updatedAt: any;
|
|
6749
|
+
}>;
|
|
5924
6750
|
};
|
|
5925
6751
|
};
|
|
5926
6752
|
export type UpdateProductMutationVariables = Exact<{
|
|
@@ -5932,6 +6758,7 @@ export type UpdateProductMutationVariables = Exact<{
|
|
|
5932
6758
|
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5933
6759
|
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5934
6760
|
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6761
|
+
withReviews?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5935
6762
|
}>;
|
|
5936
6763
|
export type UpdateProductMutation = {
|
|
5937
6764
|
__typename?: 'Mutation';
|
|
@@ -6097,6 +6924,15 @@ export type UpdateProductMutation = {
|
|
|
6097
6924
|
}>;
|
|
6098
6925
|
}> | null;
|
|
6099
6926
|
}>;
|
|
6927
|
+
reviews?: Array<{
|
|
6928
|
+
__typename?: 'ProductReview';
|
|
6929
|
+
id: string;
|
|
6930
|
+
title?: string | null;
|
|
6931
|
+
content?: string | null;
|
|
6932
|
+
rating?: number | null;
|
|
6933
|
+
createdAt: any;
|
|
6934
|
+
updatedAt: any;
|
|
6935
|
+
}>;
|
|
6100
6936
|
};
|
|
6101
6937
|
};
|
|
6102
6938
|
export type DeleteProductMutationVariables = Exact<{
|
|
@@ -6377,6 +7213,11 @@ export type TagQuery = {
|
|
|
6377
7213
|
updatedAt: any;
|
|
6378
7214
|
}> | null;
|
|
6379
7215
|
};
|
|
7216
|
+
export type UserFragmentFragment = {
|
|
7217
|
+
__typename?: 'User';
|
|
7218
|
+
id: string;
|
|
7219
|
+
name: string;
|
|
7220
|
+
};
|
|
6380
7221
|
export declare const AttributeFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6381
7222
|
export declare const BrandFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6382
7223
|
export declare const CartFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -6390,15 +7231,20 @@ export declare const ColorFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
|
6390
7231
|
export declare const CustomFieldFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6391
7232
|
export declare const CustomerEmailAddressFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6392
7233
|
export declare const CustomerTelephoneNumberFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6393
|
-
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6394
7234
|
export declare const FileThumbnailsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6395
7235
|
export declare const FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6396
7236
|
export declare const FileUploadUrlFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6397
7237
|
export declare const FileUploadFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6398
7238
|
export declare const MetricFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6399
7239
|
export declare const OrderFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7240
|
+
export declare const PostCategoryFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7241
|
+
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7242
|
+
export declare const PostCommentFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7243
|
+
export declare const PostFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7244
|
+
export declare const ProductReviewFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6400
7245
|
export declare const ProductSellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6401
7246
|
export declare const TagFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7247
|
+
export declare const UserFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6402
7248
|
export declare const InfiniteAttributesDocument: import("graphql").DocumentNode;
|
|
6403
7249
|
export declare const PaginatedAttributesDocument: import("graphql").DocumentNode;
|
|
6404
7250
|
export declare const InfiniteBrandsDocument: import("graphql").DocumentNode;
|
|
@@ -6443,6 +7289,14 @@ export declare const FinalizeOrderDocument: import("graphql").DocumentNode;
|
|
|
6443
7289
|
export declare const InfiniteOrdersDocument: import("graphql").DocumentNode;
|
|
6444
7290
|
export declare const PaginatedOrdersDocument: import("graphql").DocumentNode;
|
|
6445
7291
|
export declare const OrderDocument: import("graphql").DocumentNode;
|
|
7292
|
+
export declare const InfinitePostsDocument: import("graphql").DocumentNode;
|
|
7293
|
+
export declare const PaginatedPostsDocument: import("graphql").DocumentNode;
|
|
7294
|
+
export declare const PostDocument: import("graphql").DocumentNode;
|
|
7295
|
+
export declare const InfiniteProductReviewsDocument: import("graphql").DocumentNode;
|
|
7296
|
+
export declare const PaginatedProductReviewsDocument: import("graphql").DocumentNode;
|
|
7297
|
+
export declare const CreateProductReviewDocument: import("graphql").DocumentNode;
|
|
7298
|
+
export declare const UpdateProductReviewDocument: import("graphql").DocumentNode;
|
|
7299
|
+
export declare const DeleteProductReviewDocument: import("graphql").DocumentNode;
|
|
6446
7300
|
export declare const InfiniteProductsDocument: import("graphql").DocumentNode;
|
|
6447
7301
|
export declare const PaginatedProductsDocument: import("graphql").DocumentNode;
|
|
6448
7302
|
export declare const ProductDocument: import("graphql").DocumentNode;
|