@dokamerce/web-sdk 0.26.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 +414 -1
- package/dist/graphql/__generated__/gateway.js +173 -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 +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/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'];
|
|
@@ -1340,6 +1350,16 @@ export type PaginatedPageInfo = {
|
|
|
1340
1350
|
totalEdges: Scalars['Float']['output'];
|
|
1341
1351
|
totalPages: Scalars['Float']['output'];
|
|
1342
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
|
+
};
|
|
1343
1363
|
export type PaginatedProductEdge = {
|
|
1344
1364
|
__typename?: 'PaginatedProductEdge';
|
|
1345
1365
|
cursor: Scalars['String']['output'];
|
|
@@ -1390,6 +1410,57 @@ export type PaginatedTagsConnection = {
|
|
|
1390
1410
|
edges: Array<PaginatedTagEdge>;
|
|
1391
1411
|
pageInfo: PaginatedPageInfo;
|
|
1392
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
|
+
};
|
|
1393
1464
|
export type Product = {
|
|
1394
1465
|
__typename?: 'Product';
|
|
1395
1466
|
active: Scalars['Boolean']['output'];
|
|
@@ -1486,6 +1557,7 @@ export type ProductFilter = {
|
|
|
1486
1557
|
name?: InputMaybe<StringFilter>;
|
|
1487
1558
|
price?: InputMaybe<NumberFilter>;
|
|
1488
1559
|
publishedAt?: InputMaybe<DateTimeFilter>;
|
|
1560
|
+
sellers?: InputMaybe<IdArrayFilter>;
|
|
1489
1561
|
slug?: InputMaybe<StringFilter>;
|
|
1490
1562
|
soldCount?: InputMaybe<NumberFilter>;
|
|
1491
1563
|
status?: InputMaybe<ProductStatusEnumFilter>;
|
|
@@ -1612,6 +1684,7 @@ export type Query = {
|
|
|
1612
1684
|
infiniteCustomers: InfiniteCustomersConnection;
|
|
1613
1685
|
infiniteMetrics: InfiniteMetricsConnection;
|
|
1614
1686
|
infiniteOrders: InfiniteOrdersConnection;
|
|
1687
|
+
infinitePosts: InfinitePostsConnection;
|
|
1615
1688
|
infiniteProductReviews: InfiniteProductReviewsConnection;
|
|
1616
1689
|
infiniteProducts: InfiniteProductsConnection;
|
|
1617
1690
|
infiniteSellers: InfiniteSellersConnection;
|
|
@@ -1630,11 +1703,13 @@ export type Query = {
|
|
|
1630
1703
|
paginatedCustomers?: Maybe<PaginatedCustomersConnection>;
|
|
1631
1704
|
paginatedMetrics?: Maybe<PaginatedMetricsConnection>;
|
|
1632
1705
|
paginatedOrders?: Maybe<PaginatedOrdersConnection>;
|
|
1706
|
+
paginatedPosts?: Maybe<PaginatedPostsConnection>;
|
|
1633
1707
|
paginatedProductReviews?: Maybe<PaginatedProductReviewsConnection>;
|
|
1634
1708
|
paginatedProducts?: Maybe<PaginatedProductsConnection>;
|
|
1635
1709
|
paginatedSellers?: Maybe<PaginatedSellersConnection>;
|
|
1636
1710
|
paginatedSizes?: Maybe<PaginatedSizesConnection>;
|
|
1637
1711
|
paginatedTags?: Maybe<PaginatedTagsConnection>;
|
|
1712
|
+
post?: Maybe<Post>;
|
|
1638
1713
|
product?: Maybe<Product>;
|
|
1639
1714
|
seller?: Maybe<Seller>;
|
|
1640
1715
|
size?: Maybe<Array<SizeGroup>>;
|
|
@@ -1757,6 +1832,14 @@ export type QueryInfiniteOrdersArgs = {
|
|
|
1757
1832
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1758
1833
|
sort?: InputMaybe<Array<OrderSort>>;
|
|
1759
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
|
+
};
|
|
1760
1843
|
export type QueryInfiniteProductReviewsArgs = {
|
|
1761
1844
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1762
1845
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1872,6 +1955,12 @@ export type QueryPaginatedOrdersArgs = {
|
|
|
1872
1955
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1873
1956
|
sort?: InputMaybe<Array<OrderSort>>;
|
|
1874
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
|
+
};
|
|
1875
1964
|
export type QueryPaginatedProductReviewsArgs = {
|
|
1876
1965
|
filter?: InputMaybe<ProductReviewFilter>;
|
|
1877
1966
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1902,6 +1991,9 @@ export type QueryPaginatedTagsArgs = {
|
|
|
1902
1991
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1903
1992
|
sort?: InputMaybe<Array<TagSort>>;
|
|
1904
1993
|
};
|
|
1994
|
+
export type QueryPostArgs = {
|
|
1995
|
+
id: Scalars['ID']['input'];
|
|
1996
|
+
};
|
|
1905
1997
|
export type QueryProductArgs = {
|
|
1906
1998
|
id: Scalars['ID']['input'];
|
|
1907
1999
|
};
|
|
@@ -2843,6 +2935,14 @@ export type UpdateSellerInput = {
|
|
|
2843
2935
|
slug?: InputMaybe<Scalars['String']['input']>;
|
|
2844
2936
|
verified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2845
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
|
+
};
|
|
2846
2946
|
export type AttributeFragmentFragment = {
|
|
2847
2947
|
__typename?: 'Attribute';
|
|
2848
2948
|
id: string;
|
|
@@ -5194,6 +5294,307 @@ export type OrderQuery = {
|
|
|
5194
5294
|
updatedAt?: any | null;
|
|
5195
5295
|
}> | null;
|
|
5196
5296
|
};
|
|
5297
|
+
export type PostCategoryFragmentFragment = {
|
|
5298
|
+
__typename?: 'PostCategory';
|
|
5299
|
+
id: string;
|
|
5300
|
+
name: string;
|
|
5301
|
+
slug: string;
|
|
5302
|
+
createdAt: any;
|
|
5303
|
+
updatedAt: any;
|
|
5304
|
+
};
|
|
5305
|
+
export type PostCommentFragmentFragment = {
|
|
5306
|
+
__typename?: 'PostComment';
|
|
5307
|
+
id: string;
|
|
5308
|
+
content?: string | null;
|
|
5309
|
+
createdAt: any;
|
|
5310
|
+
updatedAt: any;
|
|
5311
|
+
author: {
|
|
5312
|
+
__typename?: 'Customer';
|
|
5313
|
+
id: string;
|
|
5314
|
+
fullName: string;
|
|
5315
|
+
username: string;
|
|
5316
|
+
active: boolean;
|
|
5317
|
+
orderCount: number;
|
|
5318
|
+
createdAt: any;
|
|
5319
|
+
updatedAt: any;
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
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<{
|
|
5334
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5335
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5336
|
+
filter?: InputMaybe<PostFilter>;
|
|
5337
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5338
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5339
|
+
sort?: InputMaybe<Array<PostSort> | PostSort>;
|
|
5340
|
+
withCategory?: 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']>;
|
|
5345
|
+
}>;
|
|
5346
|
+
export type InfinitePostsQuery = {
|
|
5347
|
+
__typename?: 'Query';
|
|
5348
|
+
infinitePosts: {
|
|
5349
|
+
__typename?: 'InfinitePostsConnection';
|
|
5350
|
+
edges: Array<{
|
|
5351
|
+
__typename?: 'InfinitePostEdge';
|
|
5352
|
+
cursor: string;
|
|
5353
|
+
node: {
|
|
5354
|
+
__typename?: 'Post';
|
|
5355
|
+
id: string;
|
|
5356
|
+
slug: string;
|
|
5357
|
+
title: string;
|
|
5358
|
+
content?: string | null;
|
|
5359
|
+
excerpt: string;
|
|
5360
|
+
publishedAt?: any | null;
|
|
5361
|
+
createdAt: any;
|
|
5362
|
+
updatedAt: any;
|
|
5363
|
+
category?: {
|
|
5364
|
+
__typename?: 'PostCategory';
|
|
5365
|
+
id: string;
|
|
5366
|
+
name: string;
|
|
5367
|
+
slug: string;
|
|
5368
|
+
createdAt: any;
|
|
5369
|
+
updatedAt: any;
|
|
5370
|
+
} | null;
|
|
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
|
+
};
|
|
5197
5598
|
export type ProductReviewFragmentFragment = {
|
|
5198
5599
|
__typename?: 'ProductReview';
|
|
5199
5600
|
id: string;
|
|
@@ -6812,6 +7213,11 @@ export type TagQuery = {
|
|
|
6812
7213
|
updatedAt: any;
|
|
6813
7214
|
}> | null;
|
|
6814
7215
|
};
|
|
7216
|
+
export type UserFragmentFragment = {
|
|
7217
|
+
__typename?: 'User';
|
|
7218
|
+
id: string;
|
|
7219
|
+
name: string;
|
|
7220
|
+
};
|
|
6815
7221
|
export declare const AttributeFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6816
7222
|
export declare const BrandFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6817
7223
|
export declare const CartFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -6825,16 +7231,20 @@ export declare const ColorFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
|
6825
7231
|
export declare const CustomFieldFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6826
7232
|
export declare const CustomerEmailAddressFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6827
7233
|
export declare const CustomerTelephoneNumberFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6828
|
-
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6829
7234
|
export declare const FileThumbnailsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6830
7235
|
export declare const FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6831
7236
|
export declare const FileUploadUrlFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6832
7237
|
export declare const FileUploadFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
6833
7238
|
export declare const MetricFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6834
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;
|
|
6835
7244
|
export declare const ProductReviewFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6836
7245
|
export declare const ProductSellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6837
7246
|
export declare const TagFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
7247
|
+
export declare const UserFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6838
7248
|
export declare const InfiniteAttributesDocument: import("graphql").DocumentNode;
|
|
6839
7249
|
export declare const PaginatedAttributesDocument: import("graphql").DocumentNode;
|
|
6840
7250
|
export declare const InfiniteBrandsDocument: import("graphql").DocumentNode;
|
|
@@ -6879,6 +7289,9 @@ export declare const FinalizeOrderDocument: import("graphql").DocumentNode;
|
|
|
6879
7289
|
export declare const InfiniteOrdersDocument: import("graphql").DocumentNode;
|
|
6880
7290
|
export declare const PaginatedOrdersDocument: import("graphql").DocumentNode;
|
|
6881
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;
|
|
6882
7295
|
export declare const InfiniteProductReviewsDocument: import("graphql").DocumentNode;
|
|
6883
7296
|
export declare const PaginatedProductReviewsDocument: import("graphql").DocumentNode;
|
|
6884
7297
|
export declare const CreateProductReviewDocument: import("graphql").DocumentNode;
|