@dokamerce/web-sdk 0.26.0 → 0.27.1
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 +432 -1
- package/dist/graphql/__generated__/gateway.js +182 -14
- package/dist/graphql/__generated__/gateway.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web-sdk/src/main.js +1 -0
- package/dist/web-sdk/src/main.js.map +1 -1
- package/dist/web-sdk/src/services/index.d.ts +1 -0
- package/dist/web-sdk/src/services/index.js +1 -0
- package/dist/web-sdk/src/services/index.js.map +1 -1
- package/dist/web-sdk/src/services/posts.d.ts +10 -0
- package/dist/web-sdk/src/services/posts.js +41 -0
- package/dist/web-sdk/src/services/posts.js.map +1 -0
- package/dist/web-sdk/src/typings/sdk.typing.d.ts +2 -1
- package/package.json +1 -1
|
@@ -956,6 +956,16 @@ export type InfinitePageInfo = {
|
|
|
956
956
|
hasPreviousPage: Scalars['Boolean']['output'];
|
|
957
957
|
startCursor?: Maybe<Scalars['String']['output']>;
|
|
958
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
|
+
};
|
|
959
969
|
export type InfiniteProductEdge = {
|
|
960
970
|
__typename?: 'InfiniteProductEdge';
|
|
961
971
|
cursor: Scalars['String']['output'];
|
|
@@ -1070,6 +1080,7 @@ export type Mutation = {
|
|
|
1070
1080
|
updateCustomerAddress: CustomerAddress;
|
|
1071
1081
|
updateCustomerEmailAddress: CustomerEmailAddress;
|
|
1072
1082
|
updateCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
1083
|
+
updatePostImpression: Status;
|
|
1073
1084
|
updateProduct: Product;
|
|
1074
1085
|
updateProductReview: ProductReview;
|
|
1075
1086
|
updateSeller: Seller;
|
|
@@ -1167,6 +1178,9 @@ export type MutationUpdateCustomerTelephoneNumberArgs = {
|
|
|
1167
1178
|
data: UpdateCustomerTelephoneNumberInput;
|
|
1168
1179
|
id: Scalars['ID']['input'];
|
|
1169
1180
|
};
|
|
1181
|
+
export type MutationUpdatePostImpressionArgs = {
|
|
1182
|
+
id: Scalars['ID']['input'];
|
|
1183
|
+
};
|
|
1170
1184
|
export type MutationUpdateProductArgs = {
|
|
1171
1185
|
data: UpdateProductInput;
|
|
1172
1186
|
id: Scalars['ID']['input'];
|
|
@@ -1340,6 +1354,16 @@ export type PaginatedPageInfo = {
|
|
|
1340
1354
|
totalEdges: Scalars['Float']['output'];
|
|
1341
1355
|
totalPages: Scalars['Float']['output'];
|
|
1342
1356
|
};
|
|
1357
|
+
export type PaginatedPostEdge = {
|
|
1358
|
+
__typename?: 'PaginatedPostEdge';
|
|
1359
|
+
cursor: Scalars['String']['output'];
|
|
1360
|
+
node: Post;
|
|
1361
|
+
};
|
|
1362
|
+
export type PaginatedPostsConnection = {
|
|
1363
|
+
__typename?: 'PaginatedPostsConnection';
|
|
1364
|
+
edges: Array<PaginatedPostEdge>;
|
|
1365
|
+
pageInfo: PaginatedPageInfo;
|
|
1366
|
+
};
|
|
1343
1367
|
export type PaginatedProductEdge = {
|
|
1344
1368
|
__typename?: 'PaginatedProductEdge';
|
|
1345
1369
|
cursor: Scalars['String']['output'];
|
|
@@ -1390,6 +1414,59 @@ export type PaginatedTagsConnection = {
|
|
|
1390
1414
|
edges: Array<PaginatedTagEdge>;
|
|
1391
1415
|
pageInfo: PaginatedPageInfo;
|
|
1392
1416
|
};
|
|
1417
|
+
export type Post = {
|
|
1418
|
+
__typename?: 'Post';
|
|
1419
|
+
author?: Maybe<User>;
|
|
1420
|
+
category?: Maybe<PostCategory>;
|
|
1421
|
+
comments?: Maybe<Array<PostComment>>;
|
|
1422
|
+
content?: Maybe<Scalars['String']['output']>;
|
|
1423
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1424
|
+
excerpt: Scalars['String']['output'];
|
|
1425
|
+
id: Scalars['ID']['output'];
|
|
1426
|
+
image?: Maybe<File>;
|
|
1427
|
+
impression: Scalars['Int']['output'];
|
|
1428
|
+
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1429
|
+
slug: Scalars['String']['output'];
|
|
1430
|
+
tags?: Maybe<Array<Tag>>;
|
|
1431
|
+
title: Scalars['String']['output'];
|
|
1432
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1433
|
+
};
|
|
1434
|
+
export type PostCategory = {
|
|
1435
|
+
__typename?: 'PostCategory';
|
|
1436
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1437
|
+
id: Scalars['ID']['output'];
|
|
1438
|
+
name: Scalars['String']['output'];
|
|
1439
|
+
slug: Scalars['String']['output'];
|
|
1440
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1441
|
+
};
|
|
1442
|
+
export type PostComment = {
|
|
1443
|
+
__typename?: 'PostComment';
|
|
1444
|
+
author: Customer;
|
|
1445
|
+
content?: Maybe<Scalars['String']['output']>;
|
|
1446
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1447
|
+
id: Scalars['ID']['output'];
|
|
1448
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1449
|
+
};
|
|
1450
|
+
export declare enum PostFieldsEnum {
|
|
1451
|
+
Content = "content",
|
|
1452
|
+
CreatedAt = "createdAt",
|
|
1453
|
+
Excerpt = "excerpt",
|
|
1454
|
+
Id = "id",
|
|
1455
|
+
Impression = "impression",
|
|
1456
|
+
Slug = "slug",
|
|
1457
|
+
Title = "title",
|
|
1458
|
+
UpdatedAt = "updatedAt"
|
|
1459
|
+
}
|
|
1460
|
+
export type PostFilter = {
|
|
1461
|
+
id?: InputMaybe<IdArrayFilter>;
|
|
1462
|
+
name?: InputMaybe<StringFilter>;
|
|
1463
|
+
published?: InputMaybe<BooleanFilter>;
|
|
1464
|
+
slug?: InputMaybe<StringFilter>;
|
|
1465
|
+
};
|
|
1466
|
+
export type PostSort = {
|
|
1467
|
+
field: PostFieldsEnum;
|
|
1468
|
+
order?: InputMaybe<SortOrderEnum>;
|
|
1469
|
+
};
|
|
1393
1470
|
export type Product = {
|
|
1394
1471
|
__typename?: 'Product';
|
|
1395
1472
|
active: Scalars['Boolean']['output'];
|
|
@@ -1486,6 +1563,7 @@ export type ProductFilter = {
|
|
|
1486
1563
|
name?: InputMaybe<StringFilter>;
|
|
1487
1564
|
price?: InputMaybe<NumberFilter>;
|
|
1488
1565
|
publishedAt?: InputMaybe<DateTimeFilter>;
|
|
1566
|
+
sellers?: InputMaybe<IdArrayFilter>;
|
|
1489
1567
|
slug?: InputMaybe<StringFilter>;
|
|
1490
1568
|
soldCount?: InputMaybe<NumberFilter>;
|
|
1491
1569
|
status?: InputMaybe<ProductStatusEnumFilter>;
|
|
@@ -1612,6 +1690,7 @@ export type Query = {
|
|
|
1612
1690
|
infiniteCustomers: InfiniteCustomersConnection;
|
|
1613
1691
|
infiniteMetrics: InfiniteMetricsConnection;
|
|
1614
1692
|
infiniteOrders: InfiniteOrdersConnection;
|
|
1693
|
+
infinitePosts: InfinitePostsConnection;
|
|
1615
1694
|
infiniteProductReviews: InfiniteProductReviewsConnection;
|
|
1616
1695
|
infiniteProducts: InfiniteProductsConnection;
|
|
1617
1696
|
infiniteSellers: InfiniteSellersConnection;
|
|
@@ -1630,11 +1709,13 @@ export type Query = {
|
|
|
1630
1709
|
paginatedCustomers?: Maybe<PaginatedCustomersConnection>;
|
|
1631
1710
|
paginatedMetrics?: Maybe<PaginatedMetricsConnection>;
|
|
1632
1711
|
paginatedOrders?: Maybe<PaginatedOrdersConnection>;
|
|
1712
|
+
paginatedPosts?: Maybe<PaginatedPostsConnection>;
|
|
1633
1713
|
paginatedProductReviews?: Maybe<PaginatedProductReviewsConnection>;
|
|
1634
1714
|
paginatedProducts?: Maybe<PaginatedProductsConnection>;
|
|
1635
1715
|
paginatedSellers?: Maybe<PaginatedSellersConnection>;
|
|
1636
1716
|
paginatedSizes?: Maybe<PaginatedSizesConnection>;
|
|
1637
1717
|
paginatedTags?: Maybe<PaginatedTagsConnection>;
|
|
1718
|
+
post?: Maybe<Post>;
|
|
1638
1719
|
product?: Maybe<Product>;
|
|
1639
1720
|
seller?: Maybe<Seller>;
|
|
1640
1721
|
size?: Maybe<Array<SizeGroup>>;
|
|
@@ -1757,6 +1838,14 @@ export type QueryInfiniteOrdersArgs = {
|
|
|
1757
1838
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1758
1839
|
sort?: InputMaybe<Array<OrderSort>>;
|
|
1759
1840
|
};
|
|
1841
|
+
export type QueryInfinitePostsArgs = {
|
|
1842
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1843
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1844
|
+
filter?: InputMaybe<PostFilter>;
|
|
1845
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1846
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1847
|
+
sort?: InputMaybe<Array<PostSort>>;
|
|
1848
|
+
};
|
|
1760
1849
|
export type QueryInfiniteProductReviewsArgs = {
|
|
1761
1850
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1762
1851
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1872,6 +1961,12 @@ export type QueryPaginatedOrdersArgs = {
|
|
|
1872
1961
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1873
1962
|
sort?: InputMaybe<Array<OrderSort>>;
|
|
1874
1963
|
};
|
|
1964
|
+
export type QueryPaginatedPostsArgs = {
|
|
1965
|
+
filter?: InputMaybe<PostFilter>;
|
|
1966
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1967
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1968
|
+
sort?: InputMaybe<Array<PostSort>>;
|
|
1969
|
+
};
|
|
1875
1970
|
export type QueryPaginatedProductReviewsArgs = {
|
|
1876
1971
|
filter?: InputMaybe<ProductReviewFilter>;
|
|
1877
1972
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1902,6 +1997,9 @@ export type QueryPaginatedTagsArgs = {
|
|
|
1902
1997
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1903
1998
|
sort?: InputMaybe<Array<TagSort>>;
|
|
1904
1999
|
};
|
|
2000
|
+
export type QueryPostArgs = {
|
|
2001
|
+
id: Scalars['ID']['input'];
|
|
2002
|
+
};
|
|
1905
2003
|
export type QueryProductArgs = {
|
|
1906
2004
|
id: Scalars['ID']['input'];
|
|
1907
2005
|
};
|
|
@@ -2843,6 +2941,14 @@ export type UpdateSellerInput = {
|
|
|
2843
2941
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2844
2942
|
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2845
2943
|
};
|
|
2944
|
+
export type User = {
|
|
2945
|
+
__typename?: 'User';
|
|
2946
|
+
createdAt: Scalars['DateTime']['output'];
|
|
2947
|
+
email: Scalars['String']['output'];
|
|
2948
|
+
id: Scalars['ID']['output'];
|
|
2949
|
+
name: Scalars['String']['output'];
|
|
2950
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
2951
|
+
};
|
|
2846
2952
|
export type AttributeFragmentFragment = {
|
|
2847
2953
|
__typename?: 'Attribute';
|
|
2848
2954
|
id: string;
|
|
@@ -5194,6 +5300,318 @@ export type OrderQuery = {
|
|
|
5194
5300
|
updatedAt?: any | null;
|
|
5195
5301
|
}> | null;
|
|
5196
5302
|
};
|
|
5303
|
+
export type PostCategoryFragmentFragment = {
|
|
5304
|
+
__typename?: 'PostCategory';
|
|
5305
|
+
id: string;
|
|
5306
|
+
name: string;
|
|
5307
|
+
slug: string;
|
|
5308
|
+
createdAt: any;
|
|
5309
|
+
updatedAt: any;
|
|
5310
|
+
};
|
|
5311
|
+
export type PostCommentFragmentFragment = {
|
|
5312
|
+
__typename?: 'PostComment';
|
|
5313
|
+
id: string;
|
|
5314
|
+
content?: string | null;
|
|
5315
|
+
createdAt: any;
|
|
5316
|
+
updatedAt: any;
|
|
5317
|
+
author: {
|
|
5318
|
+
__typename?: 'Customer';
|
|
5319
|
+
id: string;
|
|
5320
|
+
fullName: string;
|
|
5321
|
+
username: string;
|
|
5322
|
+
active: boolean;
|
|
5323
|
+
orderCount: number;
|
|
5324
|
+
createdAt: any;
|
|
5325
|
+
updatedAt: any;
|
|
5326
|
+
};
|
|
5327
|
+
};
|
|
5328
|
+
export type PostFragmentFragment = {
|
|
5329
|
+
__typename?: 'Post';
|
|
5330
|
+
id: string;
|
|
5331
|
+
slug: string;
|
|
5332
|
+
title: string;
|
|
5333
|
+
content?: string | null;
|
|
5334
|
+
excerpt: string;
|
|
5335
|
+
publishedAt?: any | null;
|
|
5336
|
+
createdAt: any;
|
|
5337
|
+
updatedAt: any;
|
|
5338
|
+
};
|
|
5339
|
+
export type InfinitePostsQueryVariables = Exact<{
|
|
5340
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5341
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5342
|
+
filter?: InputMaybe<PostFilter>;
|
|
5343
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5344
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5345
|
+
sort?: InputMaybe<Array<PostSort> | PostSort>;
|
|
5346
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5347
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5348
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5349
|
+
withComments?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5350
|
+
withAuthor?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5351
|
+
}>;
|
|
5352
|
+
export type InfinitePostsQuery = {
|
|
5353
|
+
__typename?: 'Query';
|
|
5354
|
+
infinitePosts: {
|
|
5355
|
+
__typename?: 'InfinitePostsConnection';
|
|
5356
|
+
edges: Array<{
|
|
5357
|
+
__typename?: 'InfinitePostEdge';
|
|
5358
|
+
cursor: string;
|
|
5359
|
+
node: {
|
|
5360
|
+
__typename?: 'Post';
|
|
5361
|
+
id: string;
|
|
5362
|
+
slug: string;
|
|
5363
|
+
title: string;
|
|
5364
|
+
content?: string | null;
|
|
5365
|
+
excerpt: string;
|
|
5366
|
+
publishedAt?: any | null;
|
|
5367
|
+
createdAt: any;
|
|
5368
|
+
updatedAt: any;
|
|
5369
|
+
category?: {
|
|
5370
|
+
__typename?: 'PostCategory';
|
|
5371
|
+
id: string;
|
|
5372
|
+
name: string;
|
|
5373
|
+
slug: string;
|
|
5374
|
+
createdAt: any;
|
|
5375
|
+
updatedAt: any;
|
|
5376
|
+
} | null;
|
|
5377
|
+
image?: {
|
|
5378
|
+
__typename?: 'File';
|
|
5379
|
+
createdAt: any;
|
|
5380
|
+
id: string;
|
|
5381
|
+
name: string;
|
|
5382
|
+
size?: number | null;
|
|
5383
|
+
status: FileStatusEnum;
|
|
5384
|
+
type?: string | null;
|
|
5385
|
+
updatedAt: any;
|
|
5386
|
+
url?: string | null;
|
|
5387
|
+
thumbnails: {
|
|
5388
|
+
__typename?: 'FileThumbnails';
|
|
5389
|
+
thumbnail450Url?: string | null;
|
|
5390
|
+
thumbnail900Url?: string | null;
|
|
5391
|
+
};
|
|
5392
|
+
} | null;
|
|
5393
|
+
tags?: Array<{
|
|
5394
|
+
__typename?: 'Tag';
|
|
5395
|
+
id: string;
|
|
5396
|
+
name: string;
|
|
5397
|
+
color?: string | null;
|
|
5398
|
+
createdAt: any;
|
|
5399
|
+
updatedAt: any;
|
|
5400
|
+
}> | null;
|
|
5401
|
+
comments?: Array<{
|
|
5402
|
+
__typename?: 'PostComment';
|
|
5403
|
+
id: string;
|
|
5404
|
+
content?: string | null;
|
|
5405
|
+
createdAt: any;
|
|
5406
|
+
updatedAt: any;
|
|
5407
|
+
author: {
|
|
5408
|
+
__typename?: 'Customer';
|
|
5409
|
+
id: string;
|
|
5410
|
+
fullName: string;
|
|
5411
|
+
username: string;
|
|
5412
|
+
active: boolean;
|
|
5413
|
+
orderCount: number;
|
|
5414
|
+
createdAt: any;
|
|
5415
|
+
updatedAt: any;
|
|
5416
|
+
};
|
|
5417
|
+
}> | null;
|
|
5418
|
+
author?: {
|
|
5419
|
+
__typename?: 'User';
|
|
5420
|
+
id: string;
|
|
5421
|
+
name: string;
|
|
5422
|
+
} | null;
|
|
5423
|
+
};
|
|
5424
|
+
}>;
|
|
5425
|
+
pageInfo: {
|
|
5426
|
+
__typename?: 'InfinitePageInfo';
|
|
5427
|
+
endCursor?: string | null;
|
|
5428
|
+
hasNextPage: boolean;
|
|
5429
|
+
hasPreviousPage: boolean;
|
|
5430
|
+
startCursor?: string | null;
|
|
5431
|
+
};
|
|
5432
|
+
};
|
|
5433
|
+
};
|
|
5434
|
+
export type PaginatedPostsQueryVariables = Exact<{
|
|
5435
|
+
filter?: InputMaybe<PostFilter>;
|
|
5436
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
5437
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
5438
|
+
sort?: InputMaybe<Array<PostSort> | PostSort>;
|
|
5439
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5440
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5441
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5442
|
+
withComments?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5443
|
+
withAuthor?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5444
|
+
}>;
|
|
5445
|
+
export type PaginatedPostsQuery = {
|
|
5446
|
+
__typename?: 'Query';
|
|
5447
|
+
paginatedPosts?: {
|
|
5448
|
+
__typename?: 'PaginatedPostsConnection';
|
|
5449
|
+
edges: Array<{
|
|
5450
|
+
__typename?: 'PaginatedPostEdge';
|
|
5451
|
+
cursor: string;
|
|
5452
|
+
node: {
|
|
5453
|
+
__typename?: 'Post';
|
|
5454
|
+
id: string;
|
|
5455
|
+
slug: string;
|
|
5456
|
+
title: string;
|
|
5457
|
+
content?: string | null;
|
|
5458
|
+
excerpt: string;
|
|
5459
|
+
publishedAt?: any | null;
|
|
5460
|
+
createdAt: any;
|
|
5461
|
+
updatedAt: any;
|
|
5462
|
+
category?: {
|
|
5463
|
+
__typename?: 'PostCategory';
|
|
5464
|
+
id: string;
|
|
5465
|
+
name: string;
|
|
5466
|
+
slug: string;
|
|
5467
|
+
createdAt: any;
|
|
5468
|
+
updatedAt: any;
|
|
5469
|
+
} | null;
|
|
5470
|
+
image?: {
|
|
5471
|
+
__typename?: 'File';
|
|
5472
|
+
createdAt: any;
|
|
5473
|
+
id: string;
|
|
5474
|
+
name: string;
|
|
5475
|
+
size?: number | null;
|
|
5476
|
+
status: FileStatusEnum;
|
|
5477
|
+
type?: string | null;
|
|
5478
|
+
updatedAt: any;
|
|
5479
|
+
url?: string | null;
|
|
5480
|
+
thumbnails: {
|
|
5481
|
+
__typename?: 'FileThumbnails';
|
|
5482
|
+
thumbnail450Url?: string | null;
|
|
5483
|
+
thumbnail900Url?: string | null;
|
|
5484
|
+
};
|
|
5485
|
+
} | null;
|
|
5486
|
+
tags?: Array<{
|
|
5487
|
+
__typename?: 'Tag';
|
|
5488
|
+
id: string;
|
|
5489
|
+
name: string;
|
|
5490
|
+
color?: string | null;
|
|
5491
|
+
createdAt: any;
|
|
5492
|
+
updatedAt: any;
|
|
5493
|
+
}> | null;
|
|
5494
|
+
comments?: Array<{
|
|
5495
|
+
__typename?: 'PostComment';
|
|
5496
|
+
id: string;
|
|
5497
|
+
content?: string | null;
|
|
5498
|
+
createdAt: any;
|
|
5499
|
+
updatedAt: any;
|
|
5500
|
+
author: {
|
|
5501
|
+
__typename?: 'Customer';
|
|
5502
|
+
id: string;
|
|
5503
|
+
fullName: string;
|
|
5504
|
+
username: string;
|
|
5505
|
+
active: boolean;
|
|
5506
|
+
orderCount: number;
|
|
5507
|
+
createdAt: any;
|
|
5508
|
+
updatedAt: any;
|
|
5509
|
+
};
|
|
5510
|
+
}> | null;
|
|
5511
|
+
author?: {
|
|
5512
|
+
__typename?: 'User';
|
|
5513
|
+
id: string;
|
|
5514
|
+
name: string;
|
|
5515
|
+
} | null;
|
|
5516
|
+
};
|
|
5517
|
+
}>;
|
|
5518
|
+
pageInfo: {
|
|
5519
|
+
__typename?: 'PaginatedPageInfo';
|
|
5520
|
+
currentPage: number;
|
|
5521
|
+
hasNextPage: boolean;
|
|
5522
|
+
hasPreviousPage: boolean;
|
|
5523
|
+
totalEdges: number;
|
|
5524
|
+
totalPages: number;
|
|
5525
|
+
};
|
|
5526
|
+
} | null;
|
|
5527
|
+
};
|
|
5528
|
+
export type PostQueryVariables = Exact<{
|
|
5529
|
+
id: Scalars['ID']['input'];
|
|
5530
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5531
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5532
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5533
|
+
withComments?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5534
|
+
withAuthor?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5535
|
+
}>;
|
|
5536
|
+
export type PostQuery = {
|
|
5537
|
+
__typename?: 'Query';
|
|
5538
|
+
post?: {
|
|
5539
|
+
__typename?: 'Post';
|
|
5540
|
+
id: string;
|
|
5541
|
+
slug: string;
|
|
5542
|
+
title: string;
|
|
5543
|
+
content?: string | null;
|
|
5544
|
+
excerpt: string;
|
|
5545
|
+
publishedAt?: any | null;
|
|
5546
|
+
createdAt: any;
|
|
5547
|
+
updatedAt: any;
|
|
5548
|
+
category?: {
|
|
5549
|
+
__typename?: 'PostCategory';
|
|
5550
|
+
id: string;
|
|
5551
|
+
name: string;
|
|
5552
|
+
slug: string;
|
|
5553
|
+
createdAt: any;
|
|
5554
|
+
updatedAt: any;
|
|
5555
|
+
} | null;
|
|
5556
|
+
image?: {
|
|
5557
|
+
__typename?: 'File';
|
|
5558
|
+
createdAt: any;
|
|
5559
|
+
id: string;
|
|
5560
|
+
name: string;
|
|
5561
|
+
size?: number | null;
|
|
5562
|
+
status: FileStatusEnum;
|
|
5563
|
+
type?: string | null;
|
|
5564
|
+
updatedAt: any;
|
|
5565
|
+
url?: string | null;
|
|
5566
|
+
thumbnails: {
|
|
5567
|
+
__typename?: 'FileThumbnails';
|
|
5568
|
+
thumbnail450Url?: string | null;
|
|
5569
|
+
thumbnail900Url?: string | null;
|
|
5570
|
+
};
|
|
5571
|
+
} | null;
|
|
5572
|
+
tags?: Array<{
|
|
5573
|
+
__typename?: 'Tag';
|
|
5574
|
+
id: string;
|
|
5575
|
+
name: string;
|
|
5576
|
+
color?: string | null;
|
|
5577
|
+
createdAt: any;
|
|
5578
|
+
updatedAt: any;
|
|
5579
|
+
}> | null;
|
|
5580
|
+
comments?: Array<{
|
|
5581
|
+
__typename?: 'PostComment';
|
|
5582
|
+
id: string;
|
|
5583
|
+
content?: string | null;
|
|
5584
|
+
createdAt: any;
|
|
5585
|
+
updatedAt: any;
|
|
5586
|
+
author: {
|
|
5587
|
+
__typename?: 'Customer';
|
|
5588
|
+
id: string;
|
|
5589
|
+
fullName: string;
|
|
5590
|
+
username: string;
|
|
5591
|
+
active: boolean;
|
|
5592
|
+
orderCount: number;
|
|
5593
|
+
createdAt: any;
|
|
5594
|
+
updatedAt: any;
|
|
5595
|
+
};
|
|
5596
|
+
}> | null;
|
|
5597
|
+
author?: {
|
|
5598
|
+
__typename?: 'User';
|
|
5599
|
+
id: string;
|
|
5600
|
+
name: string;
|
|
5601
|
+
} | null;
|
|
5602
|
+
} | null;
|
|
5603
|
+
};
|
|
5604
|
+
export type UpdatePostImpressionMutationVariables = Exact<{
|
|
5605
|
+
id: Scalars['ID']['input'];
|
|
5606
|
+
}>;
|
|
5607
|
+
export type UpdatePostImpressionMutation = {
|
|
5608
|
+
__typename?: 'Mutation';
|
|
5609
|
+
updatePostImpression: {
|
|
5610
|
+
__typename?: 'Status';
|
|
5611
|
+
reason?: string | null;
|
|
5612
|
+
status: StatusEnum;
|
|
5613
|
+
};
|
|
5614
|
+
};
|
|
5197
5615
|
export type ProductReviewFragmentFragment = {
|
|
5198
5616
|
__typename?: 'ProductReview';
|
|
5199
5617
|
id: string;
|
|
@@ -6812,6 +7230,11 @@ export type TagQuery = {
|
|
|
6812
7230
|
updatedAt: any;
|
|
6813
7231
|
}> | null;
|
|
6814
7232
|
};
|
|
7233
|
+
export type UserFragmentFragment = {
|
|
7234
|
+
__typename?: 'User';
|
|
7235
|
+
id: string;
|
|
7236
|
+
name: string;
|
|
7237
|
+
};
|
|
6815
7238
|
export declare const AttributeFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6816
7239
|
export declare const BrandFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6817
7240
|
export declare const CartFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -6825,16 +7248,20 @@ export declare const ColorFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
|
6825
7248
|
export declare const CustomFieldFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6826
7249
|
export declare const CustomerEmailAddressFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6827
7250
|
export declare const CustomerTelephoneNumberFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6828
|
-
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6829
7251
|
export declare const FileThumbnailsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6830
7252
|
export declare const FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6831
7253
|
export declare const FileUploadUrlFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6832
7254
|
export declare const FileUploadFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6833
7255
|
export declare const MetricFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6834
7256
|
export declare const OrderFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7257
|
+
export declare const PostCategoryFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7258
|
+
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7259
|
+
export declare const PostCommentFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7260
|
+
export declare const PostFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6835
7261
|
export declare const ProductReviewFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6836
7262
|
export declare const ProductSellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6837
7263
|
export declare const TagFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7264
|
+
export declare const UserFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6838
7265
|
export declare const InfiniteAttributesDocument: import("graphql").DocumentNode;
|
|
6839
7266
|
export declare const PaginatedAttributesDocument: import("graphql").DocumentNode;
|
|
6840
7267
|
export declare const InfiniteBrandsDocument: import("graphql").DocumentNode;
|
|
@@ -6879,6 +7306,10 @@ export declare const FinalizeOrderDocument: import("graphql").DocumentNode;
|
|
|
6879
7306
|
export declare const InfiniteOrdersDocument: import("graphql").DocumentNode;
|
|
6880
7307
|
export declare const PaginatedOrdersDocument: import("graphql").DocumentNode;
|
|
6881
7308
|
export declare const OrderDocument: import("graphql").DocumentNode;
|
|
7309
|
+
export declare const InfinitePostsDocument: import("graphql").DocumentNode;
|
|
7310
|
+
export declare const PaginatedPostsDocument: import("graphql").DocumentNode;
|
|
7311
|
+
export declare const PostDocument: import("graphql").DocumentNode;
|
|
7312
|
+
export declare const UpdatePostImpressionDocument: import("graphql").DocumentNode;
|
|
6882
7313
|
export declare const InfiniteProductReviewsDocument: import("graphql").DocumentNode;
|
|
6883
7314
|
export declare const PaginatedProductReviewsDocument: import("graphql").DocumentNode;
|
|
6884
7315
|
export declare const CreateProductReviewDocument: import("graphql").DocumentNode;
|