@lssm/example.marketplace 0.0.0-canary-20251207012602 → 0.0.0-canary-20251207013726
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/contracts/index.d.ts +453 -453
- package/dist/entities/order.d.ts +78 -78
- package/dist/entities/payout.d.ts +65 -65
- package/dist/entities/product.d.ts +70 -70
- package/dist/entities/review.d.ts +56 -56
- package/dist/entities/store.d.ts +41 -41
- package/dist/events.d.ts +191 -191
- package/dist/index.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema937 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/review.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Review status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ReviewStatusEnum:
|
|
7
|
+
declare const ReviewStatusEnum: _lssm_lib_schema937.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Review type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const ReviewTypeEnum:
|
|
11
|
+
declare const ReviewTypeEnum: _lssm_lib_schema937.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Review entity - customer reviews and ratings.
|
|
14
14
|
*/
|
|
15
|
-
declare const ReviewEntity:
|
|
16
|
-
id:
|
|
17
|
-
type:
|
|
18
|
-
productId:
|
|
19
|
-
storeId:
|
|
20
|
-
orderId:
|
|
21
|
-
orderItemId:
|
|
22
|
-
authorId:
|
|
23
|
-
rating:
|
|
24
|
-
title:
|
|
25
|
-
content:
|
|
26
|
-
isVerifiedPurchase:
|
|
27
|
-
status:
|
|
28
|
-
hasMedia:
|
|
29
|
-
helpfulCount:
|
|
30
|
-
notHelpfulCount:
|
|
31
|
-
moderatedBy:
|
|
32
|
-
moderatedAt:
|
|
33
|
-
moderationNote:
|
|
34
|
-
hasResponse:
|
|
35
|
-
createdAt:
|
|
36
|
-
updatedAt:
|
|
37
|
-
product:
|
|
38
|
-
store:
|
|
39
|
-
responses:
|
|
40
|
-
votes:
|
|
15
|
+
declare const ReviewEntity: _lssm_lib_schema937.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema937.EntityScalarField;
|
|
17
|
+
type: _lssm_lib_schema937.EntityEnumField;
|
|
18
|
+
productId: _lssm_lib_schema937.EntityScalarField;
|
|
19
|
+
storeId: _lssm_lib_schema937.EntityScalarField;
|
|
20
|
+
orderId: _lssm_lib_schema937.EntityScalarField;
|
|
21
|
+
orderItemId: _lssm_lib_schema937.EntityScalarField;
|
|
22
|
+
authorId: _lssm_lib_schema937.EntityScalarField;
|
|
23
|
+
rating: _lssm_lib_schema937.EntityScalarField;
|
|
24
|
+
title: _lssm_lib_schema937.EntityScalarField;
|
|
25
|
+
content: _lssm_lib_schema937.EntityScalarField;
|
|
26
|
+
isVerifiedPurchase: _lssm_lib_schema937.EntityScalarField;
|
|
27
|
+
status: _lssm_lib_schema937.EntityEnumField;
|
|
28
|
+
hasMedia: _lssm_lib_schema937.EntityScalarField;
|
|
29
|
+
helpfulCount: _lssm_lib_schema937.EntityScalarField;
|
|
30
|
+
notHelpfulCount: _lssm_lib_schema937.EntityScalarField;
|
|
31
|
+
moderatedBy: _lssm_lib_schema937.EntityScalarField;
|
|
32
|
+
moderatedAt: _lssm_lib_schema937.EntityScalarField;
|
|
33
|
+
moderationNote: _lssm_lib_schema937.EntityScalarField;
|
|
34
|
+
hasResponse: _lssm_lib_schema937.EntityScalarField;
|
|
35
|
+
createdAt: _lssm_lib_schema937.EntityScalarField;
|
|
36
|
+
updatedAt: _lssm_lib_schema937.EntityScalarField;
|
|
37
|
+
product: _lssm_lib_schema937.EntityRelationField;
|
|
38
|
+
store: _lssm_lib_schema937.EntityRelationField;
|
|
39
|
+
responses: _lssm_lib_schema937.EntityRelationField;
|
|
40
|
+
votes: _lssm_lib_schema937.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
43
43
|
* Review response entity - seller responses to reviews.
|
|
44
44
|
*/
|
|
45
|
-
declare const ReviewResponseEntity:
|
|
46
|
-
id:
|
|
47
|
-
reviewId:
|
|
48
|
-
authorId:
|
|
49
|
-
content:
|
|
50
|
-
createdAt:
|
|
51
|
-
updatedAt:
|
|
52
|
-
review:
|
|
45
|
+
declare const ReviewResponseEntity: _lssm_lib_schema937.EntitySpec<{
|
|
46
|
+
id: _lssm_lib_schema937.EntityScalarField;
|
|
47
|
+
reviewId: _lssm_lib_schema937.EntityScalarField;
|
|
48
|
+
authorId: _lssm_lib_schema937.EntityScalarField;
|
|
49
|
+
content: _lssm_lib_schema937.EntityScalarField;
|
|
50
|
+
createdAt: _lssm_lib_schema937.EntityScalarField;
|
|
51
|
+
updatedAt: _lssm_lib_schema937.EntityScalarField;
|
|
52
|
+
review: _lssm_lib_schema937.EntityRelationField;
|
|
53
53
|
}>;
|
|
54
54
|
/**
|
|
55
55
|
* Review vote entity - helpfulness votes.
|
|
56
56
|
*/
|
|
57
|
-
declare const ReviewVoteEntity:
|
|
58
|
-
id:
|
|
59
|
-
reviewId:
|
|
60
|
-
userId:
|
|
61
|
-
isHelpful:
|
|
62
|
-
createdAt:
|
|
63
|
-
review:
|
|
57
|
+
declare const ReviewVoteEntity: _lssm_lib_schema937.EntitySpec<{
|
|
58
|
+
id: _lssm_lib_schema937.EntityScalarField;
|
|
59
|
+
reviewId: _lssm_lib_schema937.EntityScalarField;
|
|
60
|
+
userId: _lssm_lib_schema937.EntityScalarField;
|
|
61
|
+
isHelpful: _lssm_lib_schema937.EntityScalarField;
|
|
62
|
+
createdAt: _lssm_lib_schema937.EntityScalarField;
|
|
63
|
+
review: _lssm_lib_schema937.EntityRelationField;
|
|
64
64
|
}>;
|
|
65
65
|
/**
|
|
66
66
|
* Review report entity - flagged reviews.
|
|
67
67
|
*/
|
|
68
|
-
declare const ReviewReportEntity:
|
|
69
|
-
id:
|
|
70
|
-
reviewId:
|
|
71
|
-
reporterId:
|
|
72
|
-
reason:
|
|
73
|
-
details:
|
|
74
|
-
status:
|
|
75
|
-
resolvedBy:
|
|
76
|
-
resolvedAt:
|
|
77
|
-
resolution:
|
|
78
|
-
createdAt:
|
|
79
|
-
review:
|
|
68
|
+
declare const ReviewReportEntity: _lssm_lib_schema937.EntitySpec<{
|
|
69
|
+
id: _lssm_lib_schema937.EntityScalarField;
|
|
70
|
+
reviewId: _lssm_lib_schema937.EntityScalarField;
|
|
71
|
+
reporterId: _lssm_lib_schema937.EntityScalarField;
|
|
72
|
+
reason: _lssm_lib_schema937.EntityScalarField;
|
|
73
|
+
details: _lssm_lib_schema937.EntityScalarField;
|
|
74
|
+
status: _lssm_lib_schema937.EntityScalarField;
|
|
75
|
+
resolvedBy: _lssm_lib_schema937.EntityScalarField;
|
|
76
|
+
resolvedAt: _lssm_lib_schema937.EntityScalarField;
|
|
77
|
+
resolution: _lssm_lib_schema937.EntityScalarField;
|
|
78
|
+
createdAt: _lssm_lib_schema937.EntityScalarField;
|
|
79
|
+
review: _lssm_lib_schema937.EntityRelationField;
|
|
80
80
|
}>;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { ReviewEntity, ReviewReportEntity, ReviewResponseEntity, ReviewStatusEnum, ReviewTypeEnum, ReviewVoteEntity };
|
package/dist/entities/store.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1133 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/store.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Store status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const StoreStatusEnum:
|
|
7
|
+
declare const StoreStatusEnum: _lssm_lib_schema1133.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Store type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const StoreTypeEnum:
|
|
11
|
+
declare const StoreTypeEnum: _lssm_lib_schema1133.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Store entity - a seller's storefront on the marketplace.
|
|
14
14
|
*/
|
|
15
|
-
declare const StoreEntity:
|
|
16
|
-
id:
|
|
17
|
-
name:
|
|
18
|
-
slug:
|
|
19
|
-
description:
|
|
20
|
-
status:
|
|
21
|
-
type:
|
|
22
|
-
ownerId:
|
|
23
|
-
organizationId:
|
|
24
|
-
logoFileId:
|
|
25
|
-
bannerFileId:
|
|
26
|
-
email:
|
|
27
|
-
phone:
|
|
28
|
-
website:
|
|
29
|
-
country:
|
|
30
|
-
currency:
|
|
31
|
-
timezone:
|
|
32
|
-
commissionRate:
|
|
33
|
-
isVerified:
|
|
34
|
-
verifiedAt:
|
|
35
|
-
settings:
|
|
36
|
-
metadata:
|
|
37
|
-
totalProducts:
|
|
38
|
-
totalOrders:
|
|
39
|
-
totalRevenue:
|
|
40
|
-
averageRating:
|
|
41
|
-
createdAt:
|
|
42
|
-
updatedAt:
|
|
43
|
-
products:
|
|
44
|
-
orders:
|
|
45
|
-
payouts:
|
|
15
|
+
declare const StoreEntity: _lssm_lib_schema1133.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema1133.EntityScalarField;
|
|
17
|
+
name: _lssm_lib_schema1133.EntityScalarField;
|
|
18
|
+
slug: _lssm_lib_schema1133.EntityScalarField;
|
|
19
|
+
description: _lssm_lib_schema1133.EntityScalarField;
|
|
20
|
+
status: _lssm_lib_schema1133.EntityEnumField;
|
|
21
|
+
type: _lssm_lib_schema1133.EntityEnumField;
|
|
22
|
+
ownerId: _lssm_lib_schema1133.EntityScalarField;
|
|
23
|
+
organizationId: _lssm_lib_schema1133.EntityScalarField;
|
|
24
|
+
logoFileId: _lssm_lib_schema1133.EntityScalarField;
|
|
25
|
+
bannerFileId: _lssm_lib_schema1133.EntityScalarField;
|
|
26
|
+
email: _lssm_lib_schema1133.EntityScalarField;
|
|
27
|
+
phone: _lssm_lib_schema1133.EntityScalarField;
|
|
28
|
+
website: _lssm_lib_schema1133.EntityScalarField;
|
|
29
|
+
country: _lssm_lib_schema1133.EntityScalarField;
|
|
30
|
+
currency: _lssm_lib_schema1133.EntityScalarField;
|
|
31
|
+
timezone: _lssm_lib_schema1133.EntityScalarField;
|
|
32
|
+
commissionRate: _lssm_lib_schema1133.EntityScalarField;
|
|
33
|
+
isVerified: _lssm_lib_schema1133.EntityScalarField;
|
|
34
|
+
verifiedAt: _lssm_lib_schema1133.EntityScalarField;
|
|
35
|
+
settings: _lssm_lib_schema1133.EntityScalarField;
|
|
36
|
+
metadata: _lssm_lib_schema1133.EntityScalarField;
|
|
37
|
+
totalProducts: _lssm_lib_schema1133.EntityScalarField;
|
|
38
|
+
totalOrders: _lssm_lib_schema1133.EntityScalarField;
|
|
39
|
+
totalRevenue: _lssm_lib_schema1133.EntityScalarField;
|
|
40
|
+
averageRating: _lssm_lib_schema1133.EntityScalarField;
|
|
41
|
+
createdAt: _lssm_lib_schema1133.EntityScalarField;
|
|
42
|
+
updatedAt: _lssm_lib_schema1133.EntityScalarField;
|
|
43
|
+
products: _lssm_lib_schema1133.EntityRelationField;
|
|
44
|
+
orders: _lssm_lib_schema1133.EntityRelationField;
|
|
45
|
+
payouts: _lssm_lib_schema1133.EntityRelationField;
|
|
46
46
|
}>;
|
|
47
47
|
/**
|
|
48
48
|
* Store category entity - categorization for stores.
|
|
49
49
|
*/
|
|
50
|
-
declare const StoreCategoryEntity:
|
|
51
|
-
id:
|
|
52
|
-
storeId:
|
|
53
|
-
categoryId:
|
|
54
|
-
isPrimary:
|
|
55
|
-
createdAt:
|
|
56
|
-
store:
|
|
50
|
+
declare const StoreCategoryEntity: _lssm_lib_schema1133.EntitySpec<{
|
|
51
|
+
id: _lssm_lib_schema1133.EntityScalarField;
|
|
52
|
+
storeId: _lssm_lib_schema1133.EntityScalarField;
|
|
53
|
+
categoryId: _lssm_lib_schema1133.EntityScalarField;
|
|
54
|
+
isPrimary: _lssm_lib_schema1133.EntityScalarField;
|
|
55
|
+
createdAt: _lssm_lib_schema1133.EntityScalarField;
|
|
56
|
+
store: _lssm_lib_schema1133.EntityRelationField;
|
|
57
57
|
}>;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { StoreCategoryEntity, StoreEntity, StoreStatusEnum, StoreTypeEnum };
|