@lssm/example.marketplace 0.0.0-canary-20251221114240 → 0.0.0-canary-20251221132705
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/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/libs/contracts/dist/_virtual/rolldown_runtime.js +6 -0
- package/dist/libs/contracts/dist/_virtual/rolldown_runtime.js.map +1 -0
- package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
- package/dist/libs/contracts/dist/data-views.js +1 -0
- package/dist/libs/contracts/dist/features.js +1 -0
- package/dist/libs/contracts/dist/forms.js +1 -0
- package/dist/libs/contracts/dist/index.js +11 -0
- package/dist/libs/contracts/dist/index.js.map +1 -0
- package/dist/libs/contracts/dist/presentations.js +1 -0
- package/dist/libs/contracts/dist/registry-utils.js +24 -0
- package/dist/libs/contracts/dist/registry-utils.js.map +1 -0
- package/dist/libs/contracts/dist/registry.js +1 -0
- package/dist/libs/contracts/dist/workflow/index.js +1 -0
- package/dist/libs/contracts/dist/workflow/spec.js +1 -0
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js +25 -1
- package/dist/libs/contracts/dist/workspace-config/contractsrc-schema.js.map +1 -1
- package/dist/order/order.contracts.d.ts +89 -89
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.event.d.ts +38 -38
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/payout/payout.contracts.d.ts +23 -23
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/review/review.contracts.d.ts +58 -58
- package/dist/review/review.contracts.d.ts.map +1 -1
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.enum.d.ts.map +1 -1
- package/dist/review/review.event.d.ts +14 -14
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/review/review.schema.d.ts.map +1 -1
- package/dist/store/store.contracts.d.ts +32 -32
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.event.d.ts +13 -13
- package/package.json +12 -12
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema570 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/payout.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Payout status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const PayoutStatusEnum:
|
|
7
|
+
declare const PayoutStatusEnum: _lssm_lib_schema570.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Payout schedule enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const PayoutScheduleEnum:
|
|
11
|
+
declare const PayoutScheduleEnum: _lssm_lib_schema570.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Payout entity - payment to seller.
|
|
14
14
|
*/
|
|
15
|
-
declare const PayoutEntity:
|
|
16
|
-
id:
|
|
17
|
-
storeId:
|
|
18
|
-
payoutNumber:
|
|
19
|
-
status:
|
|
20
|
-
grossAmount:
|
|
21
|
-
platformFees:
|
|
22
|
-
otherDeductions:
|
|
23
|
-
netAmount:
|
|
24
|
-
currency:
|
|
25
|
-
periodStart:
|
|
26
|
-
periodEnd:
|
|
27
|
-
paymentMethod:
|
|
28
|
-
paymentReference:
|
|
29
|
-
bankAccountId:
|
|
30
|
-
bankAccountLast4:
|
|
31
|
-
notes:
|
|
32
|
-
failureReason:
|
|
33
|
-
orderCount:
|
|
34
|
-
createdAt:
|
|
35
|
-
updatedAt:
|
|
36
|
-
scheduledAt:
|
|
37
|
-
processedAt:
|
|
38
|
-
paidAt:
|
|
39
|
-
store:
|
|
40
|
-
items:
|
|
15
|
+
declare const PayoutEntity: _lssm_lib_schema570.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema570.EntityScalarField;
|
|
17
|
+
storeId: _lssm_lib_schema570.EntityScalarField;
|
|
18
|
+
payoutNumber: _lssm_lib_schema570.EntityScalarField;
|
|
19
|
+
status: _lssm_lib_schema570.EntityEnumField;
|
|
20
|
+
grossAmount: _lssm_lib_schema570.EntityScalarField;
|
|
21
|
+
platformFees: _lssm_lib_schema570.EntityScalarField;
|
|
22
|
+
otherDeductions: _lssm_lib_schema570.EntityScalarField;
|
|
23
|
+
netAmount: _lssm_lib_schema570.EntityScalarField;
|
|
24
|
+
currency: _lssm_lib_schema570.EntityScalarField;
|
|
25
|
+
periodStart: _lssm_lib_schema570.EntityScalarField;
|
|
26
|
+
periodEnd: _lssm_lib_schema570.EntityScalarField;
|
|
27
|
+
paymentMethod: _lssm_lib_schema570.EntityScalarField;
|
|
28
|
+
paymentReference: _lssm_lib_schema570.EntityScalarField;
|
|
29
|
+
bankAccountId: _lssm_lib_schema570.EntityScalarField;
|
|
30
|
+
bankAccountLast4: _lssm_lib_schema570.EntityScalarField;
|
|
31
|
+
notes: _lssm_lib_schema570.EntityScalarField;
|
|
32
|
+
failureReason: _lssm_lib_schema570.EntityScalarField;
|
|
33
|
+
orderCount: _lssm_lib_schema570.EntityScalarField;
|
|
34
|
+
createdAt: _lssm_lib_schema570.EntityScalarField;
|
|
35
|
+
updatedAt: _lssm_lib_schema570.EntityScalarField;
|
|
36
|
+
scheduledAt: _lssm_lib_schema570.EntityScalarField;
|
|
37
|
+
processedAt: _lssm_lib_schema570.EntityScalarField;
|
|
38
|
+
paidAt: _lssm_lib_schema570.EntityScalarField;
|
|
39
|
+
store: _lssm_lib_schema570.EntityRelationField;
|
|
40
|
+
items: _lssm_lib_schema570.EntityRelationField;
|
|
41
41
|
}>;
|
|
42
42
|
/**
|
|
43
43
|
* Payout item entity - orders included in a payout.
|
|
44
44
|
*/
|
|
45
|
-
declare const PayoutItemEntity:
|
|
46
|
-
id:
|
|
47
|
-
payoutId:
|
|
48
|
-
orderId:
|
|
49
|
-
orderTotal:
|
|
50
|
-
platformFee:
|
|
51
|
-
netAmount:
|
|
52
|
-
createdAt:
|
|
53
|
-
payout:
|
|
54
|
-
order:
|
|
45
|
+
declare const PayoutItemEntity: _lssm_lib_schema570.EntitySpec<{
|
|
46
|
+
id: _lssm_lib_schema570.EntityScalarField;
|
|
47
|
+
payoutId: _lssm_lib_schema570.EntityScalarField;
|
|
48
|
+
orderId: _lssm_lib_schema570.EntityScalarField;
|
|
49
|
+
orderTotal: _lssm_lib_schema570.EntityScalarField;
|
|
50
|
+
platformFee: _lssm_lib_schema570.EntityScalarField;
|
|
51
|
+
netAmount: _lssm_lib_schema570.EntityScalarField;
|
|
52
|
+
createdAt: _lssm_lib_schema570.EntityScalarField;
|
|
53
|
+
payout: _lssm_lib_schema570.EntityRelationField;
|
|
54
|
+
order: _lssm_lib_schema570.EntityRelationField;
|
|
55
55
|
}>;
|
|
56
56
|
/**
|
|
57
57
|
* Bank account entity - seller payment destinations.
|
|
58
58
|
*/
|
|
59
|
-
declare const BankAccountEntity:
|
|
60
|
-
id:
|
|
61
|
-
storeId:
|
|
62
|
-
accountHolderName:
|
|
63
|
-
accountType:
|
|
64
|
-
bankName:
|
|
65
|
-
last4:
|
|
66
|
-
routingLast4:
|
|
67
|
-
externalId:
|
|
68
|
-
isDefault:
|
|
69
|
-
isVerified:
|
|
70
|
-
createdAt:
|
|
71
|
-
updatedAt:
|
|
72
|
-
verifiedAt:
|
|
73
|
-
store:
|
|
59
|
+
declare const BankAccountEntity: _lssm_lib_schema570.EntitySpec<{
|
|
60
|
+
id: _lssm_lib_schema570.EntityScalarField;
|
|
61
|
+
storeId: _lssm_lib_schema570.EntityScalarField;
|
|
62
|
+
accountHolderName: _lssm_lib_schema570.EntityScalarField;
|
|
63
|
+
accountType: _lssm_lib_schema570.EntityScalarField;
|
|
64
|
+
bankName: _lssm_lib_schema570.EntityScalarField;
|
|
65
|
+
last4: _lssm_lib_schema570.EntityScalarField;
|
|
66
|
+
routingLast4: _lssm_lib_schema570.EntityScalarField;
|
|
67
|
+
externalId: _lssm_lib_schema570.EntityScalarField;
|
|
68
|
+
isDefault: _lssm_lib_schema570.EntityScalarField;
|
|
69
|
+
isVerified: _lssm_lib_schema570.EntityScalarField;
|
|
70
|
+
createdAt: _lssm_lib_schema570.EntityScalarField;
|
|
71
|
+
updatedAt: _lssm_lib_schema570.EntityScalarField;
|
|
72
|
+
verifiedAt: _lssm_lib_schema570.EntityScalarField;
|
|
73
|
+
store: _lssm_lib_schema570.EntityRelationField;
|
|
74
74
|
}>;
|
|
75
75
|
/**
|
|
76
76
|
* Payout settings entity - store payout configuration.
|
|
77
77
|
*/
|
|
78
|
-
declare const PayoutSettingsEntity:
|
|
79
|
-
id:
|
|
80
|
-
storeId:
|
|
81
|
-
schedule:
|
|
82
|
-
dayOfWeek:
|
|
83
|
-
dayOfMonth:
|
|
84
|
-
minimumPayout:
|
|
85
|
-
defaultBankAccountId:
|
|
86
|
-
createdAt:
|
|
87
|
-
updatedAt:
|
|
88
|
-
store:
|
|
78
|
+
declare const PayoutSettingsEntity: _lssm_lib_schema570.EntitySpec<{
|
|
79
|
+
id: _lssm_lib_schema570.EntityScalarField;
|
|
80
|
+
storeId: _lssm_lib_schema570.EntityScalarField;
|
|
81
|
+
schedule: _lssm_lib_schema570.EntityEnumField;
|
|
82
|
+
dayOfWeek: _lssm_lib_schema570.EntityScalarField;
|
|
83
|
+
dayOfMonth: _lssm_lib_schema570.EntityScalarField;
|
|
84
|
+
minimumPayout: _lssm_lib_schema570.EntityScalarField;
|
|
85
|
+
defaultBankAccountId: _lssm_lib_schema570.EntityScalarField;
|
|
86
|
+
createdAt: _lssm_lib_schema570.EntityScalarField;
|
|
87
|
+
updatedAt: _lssm_lib_schema570.EntityScalarField;
|
|
88
|
+
store: _lssm_lib_schema570.EntityRelationField;
|
|
89
89
|
}>;
|
|
90
90
|
//#endregion
|
|
91
91
|
export { BankAccountEntity, PayoutEntity, PayoutItemEntity, PayoutScheduleEnum, PayoutSettingsEntity, PayoutStatusEnum };
|
|
@@ -1,92 +1,92 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema634 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/product.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Product status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProductStatusEnum:
|
|
7
|
+
declare const ProductStatusEnum: _lssm_lib_schema634.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Product type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const ProductTypeEnum:
|
|
11
|
+
declare const ProductTypeEnum: _lssm_lib_schema634.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* Product entity - an item for sale on the marketplace.
|
|
14
14
|
*/
|
|
15
|
-
declare const ProductEntity:
|
|
16
|
-
id:
|
|
17
|
-
storeId:
|
|
18
|
-
name:
|
|
19
|
-
slug:
|
|
20
|
-
description:
|
|
21
|
-
shortDescription:
|
|
22
|
-
status:
|
|
23
|
-
type:
|
|
24
|
-
price:
|
|
25
|
-
compareAtPrice:
|
|
26
|
-
currency:
|
|
27
|
-
sku:
|
|
28
|
-
barcode:
|
|
29
|
-
quantity:
|
|
30
|
-
trackInventory:
|
|
31
|
-
allowBackorder:
|
|
32
|
-
lowStockThreshold:
|
|
33
|
-
weight:
|
|
34
|
-
weightUnit:
|
|
35
|
-
categoryId:
|
|
36
|
-
tags:
|
|
37
|
-
primaryImageId:
|
|
38
|
-
seoTitle:
|
|
39
|
-
seoDescription:
|
|
40
|
-
attributes:
|
|
41
|
-
reviewCount:
|
|
42
|
-
averageRating:
|
|
43
|
-
totalSold:
|
|
44
|
-
createdAt:
|
|
45
|
-
updatedAt:
|
|
46
|
-
publishedAt:
|
|
47
|
-
store:
|
|
48
|
-
variants:
|
|
49
|
-
orderItems:
|
|
50
|
-
reviews:
|
|
15
|
+
declare const ProductEntity: _lssm_lib_schema634.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema634.EntityScalarField;
|
|
17
|
+
storeId: _lssm_lib_schema634.EntityScalarField;
|
|
18
|
+
name: _lssm_lib_schema634.EntityScalarField;
|
|
19
|
+
slug: _lssm_lib_schema634.EntityScalarField;
|
|
20
|
+
description: _lssm_lib_schema634.EntityScalarField;
|
|
21
|
+
shortDescription: _lssm_lib_schema634.EntityScalarField;
|
|
22
|
+
status: _lssm_lib_schema634.EntityEnumField;
|
|
23
|
+
type: _lssm_lib_schema634.EntityEnumField;
|
|
24
|
+
price: _lssm_lib_schema634.EntityScalarField;
|
|
25
|
+
compareAtPrice: _lssm_lib_schema634.EntityScalarField;
|
|
26
|
+
currency: _lssm_lib_schema634.EntityScalarField;
|
|
27
|
+
sku: _lssm_lib_schema634.EntityScalarField;
|
|
28
|
+
barcode: _lssm_lib_schema634.EntityScalarField;
|
|
29
|
+
quantity: _lssm_lib_schema634.EntityScalarField;
|
|
30
|
+
trackInventory: _lssm_lib_schema634.EntityScalarField;
|
|
31
|
+
allowBackorder: _lssm_lib_schema634.EntityScalarField;
|
|
32
|
+
lowStockThreshold: _lssm_lib_schema634.EntityScalarField;
|
|
33
|
+
weight: _lssm_lib_schema634.EntityScalarField;
|
|
34
|
+
weightUnit: _lssm_lib_schema634.EntityScalarField;
|
|
35
|
+
categoryId: _lssm_lib_schema634.EntityScalarField;
|
|
36
|
+
tags: _lssm_lib_schema634.EntityScalarField;
|
|
37
|
+
primaryImageId: _lssm_lib_schema634.EntityScalarField;
|
|
38
|
+
seoTitle: _lssm_lib_schema634.EntityScalarField;
|
|
39
|
+
seoDescription: _lssm_lib_schema634.EntityScalarField;
|
|
40
|
+
attributes: _lssm_lib_schema634.EntityScalarField;
|
|
41
|
+
reviewCount: _lssm_lib_schema634.EntityScalarField;
|
|
42
|
+
averageRating: _lssm_lib_schema634.EntityScalarField;
|
|
43
|
+
totalSold: _lssm_lib_schema634.EntityScalarField;
|
|
44
|
+
createdAt: _lssm_lib_schema634.EntityScalarField;
|
|
45
|
+
updatedAt: _lssm_lib_schema634.EntityScalarField;
|
|
46
|
+
publishedAt: _lssm_lib_schema634.EntityScalarField;
|
|
47
|
+
store: _lssm_lib_schema634.EntityRelationField;
|
|
48
|
+
variants: _lssm_lib_schema634.EntityRelationField;
|
|
49
|
+
orderItems: _lssm_lib_schema634.EntityRelationField;
|
|
50
|
+
reviews: _lssm_lib_schema634.EntityRelationField;
|
|
51
51
|
}>;
|
|
52
52
|
/**
|
|
53
53
|
* Product variant entity - variations of a product (size, color, etc.).
|
|
54
54
|
*/
|
|
55
|
-
declare const ProductVariantEntity:
|
|
56
|
-
id:
|
|
57
|
-
productId:
|
|
58
|
-
name:
|
|
59
|
-
options:
|
|
60
|
-
price:
|
|
61
|
-
compareAtPrice:
|
|
62
|
-
sku:
|
|
63
|
-
barcode:
|
|
64
|
-
quantity:
|
|
65
|
-
imageId:
|
|
66
|
-
isActive:
|
|
67
|
-
position:
|
|
68
|
-
createdAt:
|
|
69
|
-
updatedAt:
|
|
70
|
-
product:
|
|
55
|
+
declare const ProductVariantEntity: _lssm_lib_schema634.EntitySpec<{
|
|
56
|
+
id: _lssm_lib_schema634.EntityScalarField;
|
|
57
|
+
productId: _lssm_lib_schema634.EntityScalarField;
|
|
58
|
+
name: _lssm_lib_schema634.EntityScalarField;
|
|
59
|
+
options: _lssm_lib_schema634.EntityScalarField;
|
|
60
|
+
price: _lssm_lib_schema634.EntityScalarField;
|
|
61
|
+
compareAtPrice: _lssm_lib_schema634.EntityScalarField;
|
|
62
|
+
sku: _lssm_lib_schema634.EntityScalarField;
|
|
63
|
+
barcode: _lssm_lib_schema634.EntityScalarField;
|
|
64
|
+
quantity: _lssm_lib_schema634.EntityScalarField;
|
|
65
|
+
imageId: _lssm_lib_schema634.EntityScalarField;
|
|
66
|
+
isActive: _lssm_lib_schema634.EntityScalarField;
|
|
67
|
+
position: _lssm_lib_schema634.EntityScalarField;
|
|
68
|
+
createdAt: _lssm_lib_schema634.EntityScalarField;
|
|
69
|
+
updatedAt: _lssm_lib_schema634.EntityScalarField;
|
|
70
|
+
product: _lssm_lib_schema634.EntityRelationField;
|
|
71
71
|
}>;
|
|
72
72
|
/**
|
|
73
73
|
* Category entity - product categorization.
|
|
74
74
|
*/
|
|
75
|
-
declare const CategoryEntity:
|
|
76
|
-
id:
|
|
77
|
-
name:
|
|
78
|
-
slug:
|
|
79
|
-
description:
|
|
80
|
-
parentId:
|
|
81
|
-
path:
|
|
82
|
-
level:
|
|
83
|
-
position:
|
|
84
|
-
imageId:
|
|
85
|
-
isActive:
|
|
86
|
-
createdAt:
|
|
87
|
-
updatedAt:
|
|
88
|
-
parent:
|
|
89
|
-
children:
|
|
75
|
+
declare const CategoryEntity: _lssm_lib_schema634.EntitySpec<{
|
|
76
|
+
id: _lssm_lib_schema634.EntityScalarField;
|
|
77
|
+
name: _lssm_lib_schema634.EntityScalarField;
|
|
78
|
+
slug: _lssm_lib_schema634.EntityScalarField;
|
|
79
|
+
description: _lssm_lib_schema634.EntityScalarField;
|
|
80
|
+
parentId: _lssm_lib_schema634.EntityScalarField;
|
|
81
|
+
path: _lssm_lib_schema634.EntityScalarField;
|
|
82
|
+
level: _lssm_lib_schema634.EntityScalarField;
|
|
83
|
+
position: _lssm_lib_schema634.EntityScalarField;
|
|
84
|
+
imageId: _lssm_lib_schema634.EntityScalarField;
|
|
85
|
+
isActive: _lssm_lib_schema634.EntityScalarField;
|
|
86
|
+
createdAt: _lssm_lib_schema634.EntityScalarField;
|
|
87
|
+
updatedAt: _lssm_lib_schema634.EntityScalarField;
|
|
88
|
+
parent: _lssm_lib_schema634.EntityRelationField;
|
|
89
|
+
children: _lssm_lib_schema634.EntityRelationField;
|
|
90
90
|
}>;
|
|
91
91
|
//#endregion
|
|
92
92
|
export { CategoryEntity, ProductEntity, ProductStatusEnum, ProductTypeEnum, ProductVariantEntity };
|
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema734 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_schema734.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Review type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const ReviewTypeEnum:
|
|
11
|
+
declare const ReviewTypeEnum: _lssm_lib_schema734.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_schema734.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema734.EntityScalarField;
|
|
17
|
+
type: _lssm_lib_schema734.EntityEnumField;
|
|
18
|
+
productId: _lssm_lib_schema734.EntityScalarField;
|
|
19
|
+
storeId: _lssm_lib_schema734.EntityScalarField;
|
|
20
|
+
orderId: _lssm_lib_schema734.EntityScalarField;
|
|
21
|
+
orderItemId: _lssm_lib_schema734.EntityScalarField;
|
|
22
|
+
authorId: _lssm_lib_schema734.EntityScalarField;
|
|
23
|
+
rating: _lssm_lib_schema734.EntityScalarField;
|
|
24
|
+
title: _lssm_lib_schema734.EntityScalarField;
|
|
25
|
+
content: _lssm_lib_schema734.EntityScalarField;
|
|
26
|
+
isVerifiedPurchase: _lssm_lib_schema734.EntityScalarField;
|
|
27
|
+
status: _lssm_lib_schema734.EntityEnumField;
|
|
28
|
+
hasMedia: _lssm_lib_schema734.EntityScalarField;
|
|
29
|
+
helpfulCount: _lssm_lib_schema734.EntityScalarField;
|
|
30
|
+
notHelpfulCount: _lssm_lib_schema734.EntityScalarField;
|
|
31
|
+
moderatedBy: _lssm_lib_schema734.EntityScalarField;
|
|
32
|
+
moderatedAt: _lssm_lib_schema734.EntityScalarField;
|
|
33
|
+
moderationNote: _lssm_lib_schema734.EntityScalarField;
|
|
34
|
+
hasResponse: _lssm_lib_schema734.EntityScalarField;
|
|
35
|
+
createdAt: _lssm_lib_schema734.EntityScalarField;
|
|
36
|
+
updatedAt: _lssm_lib_schema734.EntityScalarField;
|
|
37
|
+
product: _lssm_lib_schema734.EntityRelationField;
|
|
38
|
+
store: _lssm_lib_schema734.EntityRelationField;
|
|
39
|
+
responses: _lssm_lib_schema734.EntityRelationField;
|
|
40
|
+
votes: _lssm_lib_schema734.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_schema734.EntitySpec<{
|
|
46
|
+
id: _lssm_lib_schema734.EntityScalarField;
|
|
47
|
+
reviewId: _lssm_lib_schema734.EntityScalarField;
|
|
48
|
+
authorId: _lssm_lib_schema734.EntityScalarField;
|
|
49
|
+
content: _lssm_lib_schema734.EntityScalarField;
|
|
50
|
+
createdAt: _lssm_lib_schema734.EntityScalarField;
|
|
51
|
+
updatedAt: _lssm_lib_schema734.EntityScalarField;
|
|
52
|
+
review: _lssm_lib_schema734.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_schema734.EntitySpec<{
|
|
58
|
+
id: _lssm_lib_schema734.EntityScalarField;
|
|
59
|
+
reviewId: _lssm_lib_schema734.EntityScalarField;
|
|
60
|
+
userId: _lssm_lib_schema734.EntityScalarField;
|
|
61
|
+
isHelpful: _lssm_lib_schema734.EntityScalarField;
|
|
62
|
+
createdAt: _lssm_lib_schema734.EntityScalarField;
|
|
63
|
+
review: _lssm_lib_schema734.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_schema734.EntitySpec<{
|
|
69
|
+
id: _lssm_lib_schema734.EntityScalarField;
|
|
70
|
+
reviewId: _lssm_lib_schema734.EntityScalarField;
|
|
71
|
+
reporterId: _lssm_lib_schema734.EntityScalarField;
|
|
72
|
+
reason: _lssm_lib_schema734.EntityScalarField;
|
|
73
|
+
details: _lssm_lib_schema734.EntityScalarField;
|
|
74
|
+
status: _lssm_lib_schema734.EntityScalarField;
|
|
75
|
+
resolvedBy: _lssm_lib_schema734.EntityScalarField;
|
|
76
|
+
resolvedAt: _lssm_lib_schema734.EntityScalarField;
|
|
77
|
+
resolution: _lssm_lib_schema734.EntityScalarField;
|
|
78
|
+
createdAt: _lssm_lib_schema734.EntityScalarField;
|
|
79
|
+
review: _lssm_lib_schema734.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_schema790 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_schema790.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Store type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const StoreTypeEnum:
|
|
11
|
+
declare const StoreTypeEnum: _lssm_lib_schema790.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_schema790.EntitySpec<{
|
|
16
|
+
id: _lssm_lib_schema790.EntityScalarField;
|
|
17
|
+
name: _lssm_lib_schema790.EntityScalarField;
|
|
18
|
+
slug: _lssm_lib_schema790.EntityScalarField;
|
|
19
|
+
description: _lssm_lib_schema790.EntityScalarField;
|
|
20
|
+
status: _lssm_lib_schema790.EntityEnumField;
|
|
21
|
+
type: _lssm_lib_schema790.EntityEnumField;
|
|
22
|
+
ownerId: _lssm_lib_schema790.EntityScalarField;
|
|
23
|
+
organizationId: _lssm_lib_schema790.EntityScalarField;
|
|
24
|
+
logoFileId: _lssm_lib_schema790.EntityScalarField;
|
|
25
|
+
bannerFileId: _lssm_lib_schema790.EntityScalarField;
|
|
26
|
+
email: _lssm_lib_schema790.EntityScalarField;
|
|
27
|
+
phone: _lssm_lib_schema790.EntityScalarField;
|
|
28
|
+
website: _lssm_lib_schema790.EntityScalarField;
|
|
29
|
+
country: _lssm_lib_schema790.EntityScalarField;
|
|
30
|
+
currency: _lssm_lib_schema790.EntityScalarField;
|
|
31
|
+
timezone: _lssm_lib_schema790.EntityScalarField;
|
|
32
|
+
commissionRate: _lssm_lib_schema790.EntityScalarField;
|
|
33
|
+
isVerified: _lssm_lib_schema790.EntityScalarField;
|
|
34
|
+
verifiedAt: _lssm_lib_schema790.EntityScalarField;
|
|
35
|
+
settings: _lssm_lib_schema790.EntityScalarField;
|
|
36
|
+
metadata: _lssm_lib_schema790.EntityScalarField;
|
|
37
|
+
totalProducts: _lssm_lib_schema790.EntityScalarField;
|
|
38
|
+
totalOrders: _lssm_lib_schema790.EntityScalarField;
|
|
39
|
+
totalRevenue: _lssm_lib_schema790.EntityScalarField;
|
|
40
|
+
averageRating: _lssm_lib_schema790.EntityScalarField;
|
|
41
|
+
createdAt: _lssm_lib_schema790.EntityScalarField;
|
|
42
|
+
updatedAt: _lssm_lib_schema790.EntityScalarField;
|
|
43
|
+
products: _lssm_lib_schema790.EntityRelationField;
|
|
44
|
+
orders: _lssm_lib_schema790.EntityRelationField;
|
|
45
|
+
payouts: _lssm_lib_schema790.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_schema790.EntitySpec<{
|
|
51
|
+
id: _lssm_lib_schema790.EntityScalarField;
|
|
52
|
+
storeId: _lssm_lib_schema790.EntityScalarField;
|
|
53
|
+
categoryId: _lssm_lib_schema790.EntityScalarField;
|
|
54
|
+
isPrimary: _lssm_lib_schema790.EntityScalarField;
|
|
55
|
+
createdAt: _lssm_lib_schema790.EntityScalarField;
|
|
56
|
+
store: _lssm_lib_schema790.EntityRelationField;
|
|
57
57
|
}>;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { StoreCategoryEntity, StoreEntity, StoreStatusEnum, StoreTypeEnum };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rolldown_runtime.js","names":[],"sources":["../../../../../../../libs/contracts/dist/_virtual/rolldown_runtime.js"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);\nvar __export = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {\n\t\t\tkey = keys[i];\n\t\t\tif (!__hasOwnProp.call(to, key) && key !== except) {\n\t\t\t\t__defProp(to, key, {\n\t\t\t\t\tget: ((k) => from[k]).bind(null, key),\n\t\t\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __hasOwnProp.call(mod, \"module.exports\") ? mod[\"module.exports\"] : __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n//#endregion\nexport { __esmMin, __export, __toCommonJS };"],"mappings":";AAKA,IAAI,YAAY,IAAI,eAAe,OAAO,MAAM,GAAG,KAAK,EAAE,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./registry-utils.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./registry-utils.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./registry-utils.js";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { defineCommand, defineQuery } from "./operation.js";
|
|
2
|
+
import { GroupingStrategies, init_registry_utils } from "./registry-utils.js";
|
|
3
|
+
import "./data-views.js";
|
|
2
4
|
import "./schema/dist/index.js";
|
|
3
5
|
import { defineEvent } from "./events.js";
|
|
6
|
+
import "./features.js";
|
|
7
|
+
import "./forms.js";
|
|
4
8
|
import "./presentations.v2.js";
|
|
5
9
|
import "./client/react/feature-render.js";
|
|
6
10
|
import "./client/react/form-render.js";
|
|
@@ -64,6 +68,7 @@ import "./regenerator/service.js";
|
|
|
64
68
|
import "./regenerator/index.js";
|
|
65
69
|
import { FolderConventionsSchema, OpenApiConfigSchema, OpenApiExportConfigSchema, OpenApiSourceConfigSchema } from "./workspace-config/contractsrc-schema.js";
|
|
66
70
|
import "./workspace-config/index.js";
|
|
71
|
+
import "./workflow/spec.js";
|
|
67
72
|
import "./workflow/runner.js";
|
|
68
73
|
import "./workflow/index.js";
|
|
69
74
|
import { techContractsDocs } from "./docs/tech-contracts.docs.js";
|
|
@@ -72,3 +77,9 @@ import "./docs/index.js";
|
|
|
72
77
|
import "./llm/exporters.js";
|
|
73
78
|
import "./llm/prompts.js";
|
|
74
79
|
import "./llm/index.js";
|
|
80
|
+
|
|
81
|
+
//#region ../../libs/contracts/dist/index.js
|
|
82
|
+
init_registry_utils();
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
//# sourceMappingURL=index.js.map
|