@contractspec/example.marketplace 0.0.0-canary-20260119225944 → 0.0.0-canary-20260202053150
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/index.d.ts +296 -296
- package/dist/entities/index.d.ts.map +1 -1
- 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/review.d.ts.map +1 -1
- package/dist/entities/store.d.ts +41 -41
- package/dist/entities/store.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/marketplace.capability.d.ts +4 -4
- package/dist/marketplace.capability.d.ts.map +1 -1
- package/dist/marketplace.feature.d.ts +2 -2
- package/dist/marketplace.feature.d.ts.map +1 -1
- package/dist/marketplace.feature.js +6 -6
- package/dist/marketplace.feature.js.map +1 -1
- package/dist/order/order.enum.d.ts +2 -2
- package/dist/order/order.enum.d.ts.map +1 -1
- package/dist/order/order.event.d.ts +38 -38
- package/dist/order/order.event.d.ts.map +1 -1
- package/dist/order/order.operations.d.ts +89 -89
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/payout/payout.enum.d.ts +2 -2
- package/dist/payout/payout.event.d.ts +17 -17
- package/dist/payout/payout.event.d.ts.map +1 -1
- package/dist/payout/payout.operations.d.ts +24 -24
- package/dist/payout/payout.operations.d.ts.map +1 -1
- package/dist/payout/payout.presentation.d.ts +3 -3
- package/dist/payout/payout.presentation.d.ts.map +1 -1
- package/dist/payout/payout.presentation.js +1 -1
- package/dist/payout/payout.presentation.js.map +1 -1
- package/dist/payout/payout.schema.d.ts +37 -37
- package/dist/payout/payout.schema.d.ts.map +1 -1
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.operations.d.ts +68 -68
- package/dist/product/product.presentation.d.ts +4 -4
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.event.d.ts +15 -15
- package/dist/review/review.operations.d.ts +59 -59
- package/dist/review/review.presentation.js +1 -1
- package/dist/review/review.presentation.js.map +1 -1
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/review/review.schema.d.ts.map +1 -1
- package/dist/store/store.enum.d.ts +2 -2
- package/dist/store/store.enum.d.ts.map +1 -1
- package/dist/store/store.event.d.ts +14 -14
- package/dist/store/store.event.d.ts.map +1 -1
- package/dist/store/store.operations.d.ts +33 -33
- package/dist/store/store.operations.d.ts.map +1 -1
- package/dist/store/store.presentation.d.ts +3 -3
- package/dist/store/store.schema.d.ts +20 -20
- package/dist/store/store.schema.d.ts.map +1 -1
- package/dist/tests/operations.test-spec.d.ts +6 -6
- package/package.json +8 -8
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema668 from "@contractspec/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: _contractspec_lib_schema668.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Review type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const ReviewTypeEnum:
|
|
11
|
+
declare const ReviewTypeEnum: _contractspec_lib_schema668.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: _contractspec_lib_schema668.EntitySpec<{
|
|
16
|
+
id: _contractspec_lib_schema668.EntityScalarField;
|
|
17
|
+
type: _contractspec_lib_schema668.EntityEnumField;
|
|
18
|
+
productId: _contractspec_lib_schema668.EntityScalarField;
|
|
19
|
+
storeId: _contractspec_lib_schema668.EntityScalarField;
|
|
20
|
+
orderId: _contractspec_lib_schema668.EntityScalarField;
|
|
21
|
+
orderItemId: _contractspec_lib_schema668.EntityScalarField;
|
|
22
|
+
authorId: _contractspec_lib_schema668.EntityScalarField;
|
|
23
|
+
rating: _contractspec_lib_schema668.EntityScalarField;
|
|
24
|
+
title: _contractspec_lib_schema668.EntityScalarField;
|
|
25
|
+
content: _contractspec_lib_schema668.EntityScalarField;
|
|
26
|
+
isVerifiedPurchase: _contractspec_lib_schema668.EntityScalarField;
|
|
27
|
+
status: _contractspec_lib_schema668.EntityEnumField;
|
|
28
|
+
hasMedia: _contractspec_lib_schema668.EntityScalarField;
|
|
29
|
+
helpfulCount: _contractspec_lib_schema668.EntityScalarField;
|
|
30
|
+
notHelpfulCount: _contractspec_lib_schema668.EntityScalarField;
|
|
31
|
+
moderatedBy: _contractspec_lib_schema668.EntityScalarField;
|
|
32
|
+
moderatedAt: _contractspec_lib_schema668.EntityScalarField;
|
|
33
|
+
moderationNote: _contractspec_lib_schema668.EntityScalarField;
|
|
34
|
+
hasResponse: _contractspec_lib_schema668.EntityScalarField;
|
|
35
|
+
createdAt: _contractspec_lib_schema668.EntityScalarField;
|
|
36
|
+
updatedAt: _contractspec_lib_schema668.EntityScalarField;
|
|
37
|
+
product: _contractspec_lib_schema668.EntityRelationField;
|
|
38
|
+
store: _contractspec_lib_schema668.EntityRelationField;
|
|
39
|
+
responses: _contractspec_lib_schema668.EntityRelationField;
|
|
40
|
+
votes: _contractspec_lib_schema668.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: _contractspec_lib_schema668.EntitySpec<{
|
|
46
|
+
id: _contractspec_lib_schema668.EntityScalarField;
|
|
47
|
+
reviewId: _contractspec_lib_schema668.EntityScalarField;
|
|
48
|
+
authorId: _contractspec_lib_schema668.EntityScalarField;
|
|
49
|
+
content: _contractspec_lib_schema668.EntityScalarField;
|
|
50
|
+
createdAt: _contractspec_lib_schema668.EntityScalarField;
|
|
51
|
+
updatedAt: _contractspec_lib_schema668.EntityScalarField;
|
|
52
|
+
review: _contractspec_lib_schema668.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: _contractspec_lib_schema668.EntitySpec<{
|
|
58
|
+
id: _contractspec_lib_schema668.EntityScalarField;
|
|
59
|
+
reviewId: _contractspec_lib_schema668.EntityScalarField;
|
|
60
|
+
userId: _contractspec_lib_schema668.EntityScalarField;
|
|
61
|
+
isHelpful: _contractspec_lib_schema668.EntityScalarField;
|
|
62
|
+
createdAt: _contractspec_lib_schema668.EntityScalarField;
|
|
63
|
+
review: _contractspec_lib_schema668.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: _contractspec_lib_schema668.EntitySpec<{
|
|
69
|
+
id: _contractspec_lib_schema668.EntityScalarField;
|
|
70
|
+
reviewId: _contractspec_lib_schema668.EntityScalarField;
|
|
71
|
+
reporterId: _contractspec_lib_schema668.EntityScalarField;
|
|
72
|
+
reason: _contractspec_lib_schema668.EntityScalarField;
|
|
73
|
+
details: _contractspec_lib_schema668.EntityScalarField;
|
|
74
|
+
status: _contractspec_lib_schema668.EntityScalarField;
|
|
75
|
+
resolvedBy: _contractspec_lib_schema668.EntityScalarField;
|
|
76
|
+
resolvedAt: _contractspec_lib_schema668.EntityScalarField;
|
|
77
|
+
resolution: _contractspec_lib_schema668.EntityScalarField;
|
|
78
|
+
createdAt: _contractspec_lib_schema668.EntityScalarField;
|
|
79
|
+
review: _contractspec_lib_schema668.EntityRelationField;
|
|
80
80
|
}>;
|
|
81
81
|
//#endregion
|
|
82
82
|
export { ReviewEntity, ReviewReportEntity, ReviewResponseEntity, ReviewStatusEnum, ReviewTypeEnum, ReviewVoteEntity };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.d.ts","names":[],"sources":["../../src/entities/review.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,gBAKX,EAAA,
|
|
1
|
+
{"version":3,"file":"review.d.ts","names":[],"sources":["../../src/entities/review.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,gBAKX,EAAA,2BAAA,CAL2B,aAK3B;AAKF;AAUA;;cAVa,gBAKX,2BAAA,CALyB;;;;cAUd,0CAAY;MAgEvB,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;0DAhEuB;EAAA,SAAA,+CAAA;EAqEZ,OAAA,iDAyBX;EAAA,KAAA,iDAAA;;;;;;;cAzBW,oBAAoB,8BAAA,UAAA,CAAA;EAAA,EAAA,EAyB/B,2BAAA,CAAA,iBAzB+B;EA8BpB,QAAA,+CAoBX;EAAA,QAAA,+CAAA;;;;;;;;AAKF;AA6BE,cAtDW,gBAsDX,8BAtD2B,UAsD3B,CAAA;MAlCA,2BAAA,CAAA;;;;;;;;;;cAKW,kBAAkB,8BAAA,UAAA,CAAA;EAAA,EAAA,EA6B7B,2BAAA,CAAA,iBA7B6B"}
|
package/dist/entities/store.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema723 from "@contractspec/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: _contractspec_lib_schema723.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Store type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const StoreTypeEnum:
|
|
11
|
+
declare const StoreTypeEnum: _contractspec_lib_schema723.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: _contractspec_lib_schema723.EntitySpec<{
|
|
16
|
+
id: _contractspec_lib_schema723.EntityScalarField;
|
|
17
|
+
name: _contractspec_lib_schema723.EntityScalarField;
|
|
18
|
+
slug: _contractspec_lib_schema723.EntityScalarField;
|
|
19
|
+
description: _contractspec_lib_schema723.EntityScalarField;
|
|
20
|
+
status: _contractspec_lib_schema723.EntityEnumField;
|
|
21
|
+
type: _contractspec_lib_schema723.EntityEnumField;
|
|
22
|
+
ownerId: _contractspec_lib_schema723.EntityScalarField;
|
|
23
|
+
organizationId: _contractspec_lib_schema723.EntityScalarField;
|
|
24
|
+
logoFileId: _contractspec_lib_schema723.EntityScalarField;
|
|
25
|
+
bannerFileId: _contractspec_lib_schema723.EntityScalarField;
|
|
26
|
+
email: _contractspec_lib_schema723.EntityScalarField;
|
|
27
|
+
phone: _contractspec_lib_schema723.EntityScalarField;
|
|
28
|
+
website: _contractspec_lib_schema723.EntityScalarField;
|
|
29
|
+
country: _contractspec_lib_schema723.EntityScalarField;
|
|
30
|
+
currency: _contractspec_lib_schema723.EntityScalarField;
|
|
31
|
+
timezone: _contractspec_lib_schema723.EntityScalarField;
|
|
32
|
+
commissionRate: _contractspec_lib_schema723.EntityScalarField;
|
|
33
|
+
isVerified: _contractspec_lib_schema723.EntityScalarField;
|
|
34
|
+
verifiedAt: _contractspec_lib_schema723.EntityScalarField;
|
|
35
|
+
settings: _contractspec_lib_schema723.EntityScalarField;
|
|
36
|
+
metadata: _contractspec_lib_schema723.EntityScalarField;
|
|
37
|
+
totalProducts: _contractspec_lib_schema723.EntityScalarField;
|
|
38
|
+
totalOrders: _contractspec_lib_schema723.EntityScalarField;
|
|
39
|
+
totalRevenue: _contractspec_lib_schema723.EntityScalarField;
|
|
40
|
+
averageRating: _contractspec_lib_schema723.EntityScalarField;
|
|
41
|
+
createdAt: _contractspec_lib_schema723.EntityScalarField;
|
|
42
|
+
updatedAt: _contractspec_lib_schema723.EntityScalarField;
|
|
43
|
+
products: _contractspec_lib_schema723.EntityRelationField;
|
|
44
|
+
orders: _contractspec_lib_schema723.EntityRelationField;
|
|
45
|
+
payouts: _contractspec_lib_schema723.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: _contractspec_lib_schema723.EntitySpec<{
|
|
51
|
+
id: _contractspec_lib_schema723.EntityScalarField;
|
|
52
|
+
storeId: _contractspec_lib_schema723.EntityScalarField;
|
|
53
|
+
categoryId: _contractspec_lib_schema723.EntityScalarField;
|
|
54
|
+
isPrimary: _contractspec_lib_schema723.EntityScalarField;
|
|
55
|
+
createdAt: _contractspec_lib_schema723.EntityScalarField;
|
|
56
|
+
store: _contractspec_lib_schema723.EntityRelationField;
|
|
57
57
|
}>;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { StoreCategoryEntity, StoreEntity, StoreStatusEnum, StoreTypeEnum };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","names":[],"sources":["../../src/entities/store.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,eAKX,EAAA,
|
|
1
|
+
{"version":3,"file":"store.d.ts","names":[],"sources":["../../src/entities/store.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,eAKX,EAAA,2BAAA,CAL0B,aAK1B;AAKF;AAUA;;cAVa,eAKX,2BAAA,CALwB;;;;cAUb,yCAAW;MA8EtB,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;8DA9EsB;EAAA,SAAA,+CAAA;EAmFX,SAAA,+CAkBX;EAAA,QAAA,iDAAA;;;;;;;AAlB8B,cAAnB,mBAAmB,8BAAA,UAAA,CAAA;MAkB9B,2BAAA,CAAA"}
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example:
|
|
4
|
+
declare const example: _contractspec_lib_contracts0.ExampleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { example as default };
|
|
7
7
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAoCJ,
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAoCJ,4BAAA,CApCW"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/marketplace.capability.d.ts
|
|
4
|
-
declare const MarketplaceCapability:
|
|
5
|
-
declare const EcommerceCapability:
|
|
6
|
-
declare const PaymentsCapability:
|
|
4
|
+
declare const MarketplaceCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
5
|
+
declare const EcommerceCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
6
|
+
declare const PaymentsCapability: _contractspec_lib_contracts0.CapabilitySpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { EcommerceCapability, MarketplaceCapability, PaymentsCapability };
|
|
9
9
|
//# sourceMappingURL=marketplace.capability.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace.capability.d.ts","names":[],"sources":["../src/marketplace.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,
|
|
1
|
+
{"version":3,"file":"marketplace.capability.d.ts","names":[],"sources":["../src/marketplace.capability.ts"],"sourcesContent":[],"mappings":";;;cAEa,uBAUX,4BAAA,CAVgC;cAYrB,qBAUX,4BAAA,CAV8B;cAYnB,oBAUX,4BAAA,CAV6B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/marketplace.feature.d.ts
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import * as _contractspec_lib_contracts41 from "@contractspec/lib.contracts";
|
|
|
6
6
|
* Marketplace feature module that bundles multi-vendor marketplace
|
|
7
7
|
* capabilities including stores, products, orders, payouts, and reviews.
|
|
8
8
|
*/
|
|
9
|
-
declare const MarketplaceFeature:
|
|
9
|
+
declare const MarketplaceFeature: _contractspec_lib_contracts3.FeatureModuleSpec;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { MarketplaceFeature };
|
|
12
12
|
//# sourceMappingURL=marketplace.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace.feature.d.ts","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AASA;cAAa,oBAqKX,
|
|
1
|
+
{"version":3,"file":"marketplace.feature.d.ts","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AASA;cAAa,oBAqKX,4BAAA,CArK6B"}
|
|
@@ -150,7 +150,7 @@ const MarketplaceFeature = defineFeature({
|
|
|
150
150
|
version: "1.0.0"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
|
-
key: "marketplace.payout.
|
|
153
|
+
key: "marketplace.payout.viewList",
|
|
154
154
|
version: "1.0.0"
|
|
155
155
|
},
|
|
156
156
|
{
|
|
@@ -158,7 +158,7 @@ const MarketplaceFeature = defineFeature({
|
|
|
158
158
|
version: "1.0.0"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
key: "marketplace.review.
|
|
161
|
+
key: "marketplace.review.viewList",
|
|
162
162
|
version: "1.0.0"
|
|
163
163
|
},
|
|
164
164
|
{
|
|
@@ -193,7 +193,7 @@ const MarketplaceFeature = defineFeature({
|
|
|
193
193
|
version: "1.0.0"
|
|
194
194
|
},
|
|
195
195
|
pres: {
|
|
196
|
-
key: "marketplace.payout.
|
|
196
|
+
key: "marketplace.payout.viewList",
|
|
197
197
|
version: "1.0.0"
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -203,7 +203,7 @@ const MarketplaceFeature = defineFeature({
|
|
|
203
203
|
version: "1.0.0"
|
|
204
204
|
},
|
|
205
205
|
pres: {
|
|
206
|
-
key: "marketplace.review.
|
|
206
|
+
key: "marketplace.review.viewList",
|
|
207
207
|
version: "1.0.0"
|
|
208
208
|
}
|
|
209
209
|
},
|
|
@@ -260,12 +260,12 @@ const MarketplaceFeature = defineFeature({
|
|
|
260
260
|
targets: ["react"]
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
key: "marketplace.payout.
|
|
263
|
+
key: "marketplace.payout.viewList",
|
|
264
264
|
version: "1.0.0",
|
|
265
265
|
targets: ["react", "markdown"]
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
|
-
key: "marketplace.review.
|
|
268
|
+
key: "marketplace.review.viewList",
|
|
269
269
|
version: "1.0.0",
|
|
270
270
|
targets: ["react", "markdown"]
|
|
271
271
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marketplace.feature.js","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":["/**\n * Marketplace Feature Module Specification\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Marketplace feature module that bundles multi-vendor marketplace\n * capabilities including stores, products, orders, payouts, and reviews.\n */\nexport const MarketplaceFeature = defineFeature({\n meta: {\n key: 'marketplace',\n version: '1.0.0',\n title: 'Multi-Vendor Marketplace',\n description:\n 'Full-featured marketplace with stores, products, orders, payouts, and reviews',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'ecommerce', 'multi-vendor', 'payments'],\n stability: 'experimental',\n },\n\n operations: [\n // Store operations\n { key: 'marketplace.store.create', version: '1.0.0' },\n\n // Product operations\n { key: 'marketplace.product.create', version: '1.0.0' },\n { key: 'marketplace.product.list', version: '1.0.0' },\n\n // Order operations\n { key: 'marketplace.order.create', version: '1.0.0' },\n { key: 'marketplace.order.updateStatus', version: '1.0.0' },\n\n // Payout operations\n { key: 'marketplace.payout.list', version: '1.0.0' },\n\n // Review operations\n { key: 'marketplace.review.create', version: '1.0.0' },\n { key: 'marketplace.review.list', version: '1.0.0' },\n ],\n\n events: [\n // Store events\n { key: 'marketplace.store.created', version: '1.0.0' },\n { key: 'marketplace.store.statusChanged', version: '1.0.0' },\n\n // Product events\n { key: 'marketplace.product.created', version: '1.0.0' },\n { key: 'marketplace.product.published', version: '1.0.0' },\n { key: 'marketplace.inventory.updated', version: '1.0.0' },\n\n // Order events\n { key: 'marketplace.order.created', version: '1.0.0' },\n { key: 'marketplace.order.paid', version: '1.0.0' },\n { key: 'marketplace.order.statusUpdated', version: '1.0.0' },\n { key: 'marketplace.order.shipped', version: '1.0.0' },\n { key: 'marketplace.order.completed', version: '1.0.0' },\n\n // Payout events\n { key: 'marketplace.payout.created', version: '1.0.0' },\n { key: 'marketplace.payout.paid', version: '1.0.0' },\n\n // Review events\n { key: 'marketplace.review.created', version: '1.0.0' },\n { key: 'marketplace.review.responded', version: '1.0.0' },\n ],\n\n presentations: [\n // Store\n { key: 'marketplace.store.profile', version: '1.0.0' },\n { key: 'marketplace.seller.dashboard', version: '1.0.0' },\n\n // Product\n { key: 'marketplace.product.catalog', version: '1.0.0' },\n { key: 'marketplace.product.detail', version: '1.0.0' },\n { key: 'marketplace.product.editor', version: '1.0.0' },\n\n // Order\n { key: 'marketplace.order.list', version: '1.0.0' },\n { key: 'marketplace.order.detail', version: '1.0.0' },\n { key: 'marketplace.checkout', version: '1.0.0' },\n\n // Payout\n { key: 'marketplace.payout.
|
|
1
|
+
{"version":3,"file":"marketplace.feature.js","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":["/**\n * Marketplace Feature Module Specification\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Marketplace feature module that bundles multi-vendor marketplace\n * capabilities including stores, products, orders, payouts, and reviews.\n */\nexport const MarketplaceFeature = defineFeature({\n meta: {\n key: 'marketplace',\n version: '1.0.0',\n title: 'Multi-Vendor Marketplace',\n description:\n 'Full-featured marketplace with stores, products, orders, payouts, and reviews',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'ecommerce', 'multi-vendor', 'payments'],\n stability: 'experimental',\n },\n\n operations: [\n // Store operations\n { key: 'marketplace.store.create', version: '1.0.0' },\n\n // Product operations\n { key: 'marketplace.product.create', version: '1.0.0' },\n { key: 'marketplace.product.list', version: '1.0.0' },\n\n // Order operations\n { key: 'marketplace.order.create', version: '1.0.0' },\n { key: 'marketplace.order.updateStatus', version: '1.0.0' },\n\n // Payout operations\n { key: 'marketplace.payout.list', version: '1.0.0' },\n\n // Review operations\n { key: 'marketplace.review.create', version: '1.0.0' },\n { key: 'marketplace.review.list', version: '1.0.0' },\n ],\n\n events: [\n // Store events\n { key: 'marketplace.store.created', version: '1.0.0' },\n { key: 'marketplace.store.statusChanged', version: '1.0.0' },\n\n // Product events\n { key: 'marketplace.product.created', version: '1.0.0' },\n { key: 'marketplace.product.published', version: '1.0.0' },\n { key: 'marketplace.inventory.updated', version: '1.0.0' },\n\n // Order events\n { key: 'marketplace.order.created', version: '1.0.0' },\n { key: 'marketplace.order.paid', version: '1.0.0' },\n { key: 'marketplace.order.statusUpdated', version: '1.0.0' },\n { key: 'marketplace.order.shipped', version: '1.0.0' },\n { key: 'marketplace.order.completed', version: '1.0.0' },\n\n // Payout events\n { key: 'marketplace.payout.created', version: '1.0.0' },\n { key: 'marketplace.payout.paid', version: '1.0.0' },\n\n // Review events\n { key: 'marketplace.review.created', version: '1.0.0' },\n { key: 'marketplace.review.responded', version: '1.0.0' },\n ],\n\n presentations: [\n // Store\n { key: 'marketplace.store.profile', version: '1.0.0' },\n { key: 'marketplace.seller.dashboard', version: '1.0.0' },\n\n // Product\n { key: 'marketplace.product.catalog', version: '1.0.0' },\n { key: 'marketplace.product.detail', version: '1.0.0' },\n { key: 'marketplace.product.editor', version: '1.0.0' },\n\n // Order\n { key: 'marketplace.order.list', version: '1.0.0' },\n { key: 'marketplace.order.detail', version: '1.0.0' },\n { key: 'marketplace.checkout', version: '1.0.0' },\n\n // Payout\n { key: 'marketplace.payout.viewList', version: '1.0.0' },\n { key: 'marketplace.payout.detail', version: '1.0.0' },\n\n // Review\n { key: 'marketplace.review.viewList', version: '1.0.0' },\n { key: 'marketplace.review.form', version: '1.0.0' },\n ],\n\n opToPresentation: [\n {\n op: { key: 'marketplace.product.list', version: '1.0.0' },\n pres: { key: 'marketplace.product.catalog', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.order.create', version: '1.0.0' },\n pres: { key: 'marketplace.checkout', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.payout.list', version: '1.0.0' },\n pres: { key: 'marketplace.payout.viewList', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.review.list', version: '1.0.0' },\n pres: { key: 'marketplace.review.viewList', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.review.create', version: '1.0.0' },\n pres: { key: 'marketplace.review.form', version: '1.0.0' },\n },\n ],\n\n presentationsTargets: [\n {\n key: 'marketplace.store.profile',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.seller.dashboard',\n version: '1.0.0',\n targets: ['react'],\n },\n {\n key: 'marketplace.product.catalog',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.product.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'marketplace.product.editor', version: '1.0.0', targets: ['react'] },\n {\n key: 'marketplace.order.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.order.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'marketplace.checkout', version: '1.0.0', targets: ['react'] },\n {\n key: 'marketplace.payout.viewList',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.review.viewList',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'files', version: '1.0.0' },\n { key: 'metering', version: '1.0.0' },\n ],\n provides: [\n { key: 'marketplace', version: '1.0.0' },\n { key: 'ecommerce', version: '1.0.0' },\n { key: 'payments', version: '1.0.0' },\n ],\n },\n});\n"],"mappings":"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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/order/order.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Order status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const OrderStatusEnum:
|
|
7
|
+
declare const OrderStatusEnum: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { OrderStatusEnum };
|
|
10
10
|
//# sourceMappingURL=order.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.enum.d.ts","names":[],"sources":["../../src/order/order.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,eAWX,EAAA,
|
|
1
|
+
{"version":3,"file":"order.enum.d.ts","names":[],"sources":["../../src/order/order.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,eAWX,EAAA,yBAAA,CAX0B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
|
|
@@ -1,142 +1,142 @@
|
|
|
1
1
|
import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_schema295 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/order/order.event.d.ts
|
|
5
|
-
declare const OrderCreatedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
5
|
+
declare const OrderCreatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema295.SchemaModel<{
|
|
6
6
|
orderId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
orderNumber: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
buyerId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
storeId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
total: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema295.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
currency: {
|
|
27
|
-
type:
|
|
27
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
itemCount: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema295.FieldType<number, number>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
timestamp: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema295.FieldType<Date, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>>;
|
|
39
|
-
declare const OrderPaidEvent: _contractspec_lib_contracts4.EventSpec<
|
|
39
|
+
declare const OrderPaidEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema295.SchemaModel<{
|
|
40
40
|
orderId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
orderNumber: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
total: {
|
|
49
|
-
type:
|
|
49
|
+
type: _contractspec_lib_schema295.FieldType<number, number>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
paymentMethod: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
timestamp: {
|
|
57
|
-
type:
|
|
57
|
+
type: _contractspec_lib_schema295.FieldType<Date, string>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
}>>;
|
|
61
|
-
declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
61
|
+
declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema295.SchemaModel<{
|
|
62
62
|
orderId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
orderNumber: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
previousStatus: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
newStatus: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
updatedBy: {
|
|
79
|
-
type:
|
|
79
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
80
80
|
isOptional: false;
|
|
81
81
|
};
|
|
82
82
|
timestamp: {
|
|
83
|
-
type:
|
|
83
|
+
type: _contractspec_lib_schema295.FieldType<Date, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
}>>;
|
|
87
|
-
declare const OrderShippedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
87
|
+
declare const OrderShippedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema295.SchemaModel<{
|
|
88
88
|
orderId: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
orderNumber: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
trackingNumber: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
trackingUrl: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
carrier: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
timestamp: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema295.FieldType<Date, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
}>>;
|
|
113
|
-
declare const OrderCompletedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
113
|
+
declare const OrderCompletedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema295.SchemaModel<{
|
|
114
114
|
orderId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
116
116
|
isOptional: false;
|
|
117
117
|
};
|
|
118
118
|
orderNumber: {
|
|
119
|
-
type:
|
|
119
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
120
120
|
isOptional: false;
|
|
121
121
|
};
|
|
122
122
|
buyerId: {
|
|
123
|
-
type:
|
|
123
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
124
124
|
isOptional: false;
|
|
125
125
|
};
|
|
126
126
|
storeId: {
|
|
127
|
-
type:
|
|
127
|
+
type: _contractspec_lib_schema295.FieldType<string, string>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
total: {
|
|
131
|
-
type:
|
|
131
|
+
type: _contractspec_lib_schema295.FieldType<number, number>;
|
|
132
132
|
isOptional: false;
|
|
133
133
|
};
|
|
134
134
|
sellerPayout: {
|
|
135
|
-
type:
|
|
135
|
+
type: _contractspec_lib_schema295.FieldType<number, number>;
|
|
136
136
|
isOptional: false;
|
|
137
137
|
};
|
|
138
138
|
timestamp: {
|
|
139
|
-
type:
|
|
139
|
+
type: _contractspec_lib_schema295.FieldType<Date, string>;
|
|
140
140
|
isOptional: false;
|
|
141
141
|
};
|
|
142
142
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.event.d.ts","names":[],"sources":["../../src/order/order.event.ts"],"sourcesContent":[],"mappings":";;;;cA0Ea,mBAAiB,4BAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"order.event.d.ts","names":[],"sources":["../../src/order/order.event.ts"],"sourcesContent":[],"mappings":";;;;cA0Ea,mBAAiB,4BAAA,CAAA,sCAAA;;UAU5B,2BAAA,CAAA;;EAVW,CAAA;EAUX,WAAA,EAAA;;;;;;;;;+CAV4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAYjB,KAAA,EAAA;IAUX,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAVyB,SAAA,EAAA;IAAA,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAYd,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;cAtBW,gBAAc,4BAAA,CAAA,sCAAA;;IAYS,IAAA,EAFlC,2BAAA,CAAA,SAEkC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAYvB,CAAA;EAUX,WAAA,EAAA;;;;;;;;EAV4B,aAAA,EAAA;IAAA,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAYjB,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;cAlCW,yBAAuB,4BAAA,CAAA,sCAAA;;UAUlC,2BAAA,CAAA,SAc8B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;cAZnB,mBAAiB,4BAAA,CAAA,sCAAA;;UAU5B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW,qBAAmB,4BAAA,CAAA,sCAAA;;UAU9B,2BAAA,CAAA"}
|