@lssm/example.marketplace 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060433
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/docs/index.d.ts +1 -0
- package/dist/docs/marketplace.docblock.d.ts +1 -0
- package/dist/entities/index.d.ts +308 -0
- package/dist/entities/order.d.ts +104 -0
- package/dist/entities/payout.d.ts +91 -0
- package/dist/entities/product.d.ts +92 -0
- package/dist/entities/review.d.ts +82 -0
- package/dist/entities/store.d.ts +59 -0
- package/dist/example.d.ts +39 -0
- package/dist/index.d.ts +26 -0
- package/dist/marketplace.feature.d.ts +11 -0
- package/dist/order/index.d.ts +5 -0
- package/dist/order/order.contracts.d.ts +367 -0
- package/dist/order/order.enum.d.ts +9 -0
- package/dist/order/order.event.d.ts +144 -0
- package/dist/order/order.presentation.d.ts +8 -0
- package/dist/order/order.schema.d.ts +164 -0
- package/dist/payout/index.d.ts +5 -0
- package/dist/payout/payout.contracts.d.ts +96 -0
- package/dist/payout/payout.enum.d.ts +9 -0
- package/dist/payout/payout.event.d.ts +62 -0
- package/dist/payout/payout.presentation.d.ts +7 -0
- package/dist/payout/payout.schema.d.ts +156 -0
- package/dist/product/index.d.ts +5 -0
- package/dist/product/product.contracts.d.ts +272 -0
- package/dist/product/product.enum.d.ts +9 -0
- package/dist/product/product.event.d.ts +72 -0
- package/dist/product/product.presentation.d.ts +8 -0
- package/dist/product/product.schema.d.ts +217 -0
- package/dist/review/index.d.ts +5 -0
- package/dist/review/review.contracts.d.ts +236 -0
- package/dist/review/review.enum.d.ts +9 -0
- package/dist/review/review.event.d.ts +54 -0
- package/dist/review/review.presentation.d.ts +7 -0
- package/dist/review/review.schema.d.ts +189 -0
- package/dist/store/index.d.ts +5 -0
- package/dist/store/store.contracts.d.ts +130 -0
- package/dist/store/store.enum.d.ts +9 -0
- package/dist/store/store.event.d.ts +50 -0
- package/dist/store/store.presentation.d.ts +7 -0
- package/dist/store/store.schema.d.ts +83 -0
- package/package.json +53 -53
- package/dist/tsconfig.tsbuildinfo +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as _lssm_lib_schema1048 from "@lssm/lib.schema";
|
|
2
|
+
|
|
3
|
+
//#region src/store/store.schema.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A seller store.
|
|
6
|
+
*/
|
|
7
|
+
declare const StoreModel: _lssm_lib_schema1048.SchemaModel<{
|
|
8
|
+
id: {
|
|
9
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
10
|
+
isOptional: false;
|
|
11
|
+
};
|
|
12
|
+
name: {
|
|
13
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
14
|
+
isOptional: false;
|
|
15
|
+
};
|
|
16
|
+
slug: {
|
|
17
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
18
|
+
isOptional: false;
|
|
19
|
+
};
|
|
20
|
+
description: {
|
|
21
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
22
|
+
isOptional: true;
|
|
23
|
+
};
|
|
24
|
+
status: {
|
|
25
|
+
type: _lssm_lib_schema1048.EnumType<[string, string, string, string]>;
|
|
26
|
+
isOptional: false;
|
|
27
|
+
};
|
|
28
|
+
ownerId: {
|
|
29
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
30
|
+
isOptional: false;
|
|
31
|
+
};
|
|
32
|
+
logoFileId: {
|
|
33
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
34
|
+
isOptional: true;
|
|
35
|
+
};
|
|
36
|
+
isVerified: {
|
|
37
|
+
type: _lssm_lib_schema1048.FieldType<boolean, boolean>;
|
|
38
|
+
isOptional: false;
|
|
39
|
+
};
|
|
40
|
+
totalProducts: {
|
|
41
|
+
type: _lssm_lib_schema1048.FieldType<number, number>;
|
|
42
|
+
isOptional: false;
|
|
43
|
+
};
|
|
44
|
+
averageRating: {
|
|
45
|
+
type: _lssm_lib_schema1048.FieldType<number, number>;
|
|
46
|
+
isOptional: false;
|
|
47
|
+
};
|
|
48
|
+
createdAt: {
|
|
49
|
+
type: _lssm_lib_schema1048.FieldType<Date, string>;
|
|
50
|
+
isOptional: false;
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
53
|
+
/**
|
|
54
|
+
* Input for creating a store.
|
|
55
|
+
*/
|
|
56
|
+
declare const CreateStoreInputModel: _lssm_lib_schema1048.SchemaModel<{
|
|
57
|
+
name: {
|
|
58
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
59
|
+
isOptional: false;
|
|
60
|
+
};
|
|
61
|
+
slug: {
|
|
62
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
63
|
+
isOptional: false;
|
|
64
|
+
};
|
|
65
|
+
description: {
|
|
66
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
67
|
+
isOptional: true;
|
|
68
|
+
};
|
|
69
|
+
email: {
|
|
70
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
71
|
+
isOptional: true;
|
|
72
|
+
};
|
|
73
|
+
country: {
|
|
74
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
75
|
+
isOptional: true;
|
|
76
|
+
};
|
|
77
|
+
currency: {
|
|
78
|
+
type: _lssm_lib_schema1048.FieldType<string, string>;
|
|
79
|
+
isOptional: true;
|
|
80
|
+
};
|
|
81
|
+
}>;
|
|
82
|
+
//#endregion
|
|
83
|
+
export { CreateStoreInputModel, StoreModel };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.marketplace",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251217060433",
|
|
4
4
|
"description": "Marketplace example with orders, payouts, and reviews for ContractSpec",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,64 +18,64 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/lib.files": "0.0.0-canary-
|
|
26
|
-
"@lssm/lib.metering": "0.0.0-canary-
|
|
27
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
28
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
29
|
-
"@lssm/module.notifications": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251217060433",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217060433",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251217060433",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251217060433",
|
|
25
|
+
"@lssm/lib.files": "0.0.0-canary-20251217060433",
|
|
26
|
+
"@lssm/lib.metering": "0.0.0-canary-20251217060433",
|
|
27
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251217060433",
|
|
28
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251217060433",
|
|
29
|
+
"@lssm/module.notifications": "0.0.0-canary-20251217060433",
|
|
30
30
|
"zod": "^4.1.13"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
34
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
33
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251217060433",
|
|
34
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217060433",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|
|
38
|
-
".": "./
|
|
39
|
-
"./docs": "./
|
|
40
|
-
"./docs/marketplace.docblock": "./
|
|
41
|
-
"./entities": "./
|
|
42
|
-
"./entities/order": "./
|
|
43
|
-
"./entities/payout": "./
|
|
44
|
-
"./entities/product": "./
|
|
45
|
-
"./entities/review": "./
|
|
46
|
-
"./entities/store": "./
|
|
47
|
-
"./example": "./
|
|
48
|
-
"./marketplace.feature": "./
|
|
49
|
-
"./order": "./
|
|
50
|
-
"./order/order.contracts": "./
|
|
51
|
-
"./order/order.enum": "./
|
|
52
|
-
"./order/order.event": "./
|
|
53
|
-
"./order/order.presentation": "./
|
|
54
|
-
"./order/order.schema": "./
|
|
55
|
-
"./payout": "./
|
|
56
|
-
"./payout/payout.contracts": "./
|
|
57
|
-
"./payout/payout.enum": "./
|
|
58
|
-
"./payout/payout.event": "./
|
|
59
|
-
"./payout/payout.presentation": "./
|
|
60
|
-
"./payout/payout.schema": "./
|
|
61
|
-
"./product": "./
|
|
62
|
-
"./product/product.contracts": "./
|
|
63
|
-
"./product/product.enum": "./
|
|
64
|
-
"./product/product.event": "./
|
|
65
|
-
"./product/product.presentation": "./
|
|
66
|
-
"./product/product.schema": "./
|
|
67
|
-
"./review": "./
|
|
68
|
-
"./review/review.contracts": "./
|
|
69
|
-
"./review/review.enum": "./
|
|
70
|
-
"./review/review.event": "./
|
|
71
|
-
"./review/review.presentation": "./
|
|
72
|
-
"./review/review.schema": "./
|
|
73
|
-
"./store": "./
|
|
74
|
-
"./store/store.contracts": "./
|
|
75
|
-
"./store/store.enum": "./
|
|
76
|
-
"./store/store.event": "./
|
|
77
|
-
"./store/store.presentation": "./
|
|
78
|
-
"./store/store.schema": "./
|
|
38
|
+
".": "./dist/index.js",
|
|
39
|
+
"./docs": "./dist/docs/index.js",
|
|
40
|
+
"./docs/marketplace.docblock": "./dist/docs/marketplace.docblock.js",
|
|
41
|
+
"./entities": "./dist/entities/index.js",
|
|
42
|
+
"./entities/order": "./dist/entities/order.js",
|
|
43
|
+
"./entities/payout": "./dist/entities/payout.js",
|
|
44
|
+
"./entities/product": "./dist/entities/product.js",
|
|
45
|
+
"./entities/review": "./dist/entities/review.js",
|
|
46
|
+
"./entities/store": "./dist/entities/store.js",
|
|
47
|
+
"./example": "./dist/example.js",
|
|
48
|
+
"./marketplace.feature": "./dist/marketplace.feature.js",
|
|
49
|
+
"./order": "./dist/order/index.js",
|
|
50
|
+
"./order/order.contracts": "./dist/order/order.contracts.js",
|
|
51
|
+
"./order/order.enum": "./dist/order/order.enum.js",
|
|
52
|
+
"./order/order.event": "./dist/order/order.event.js",
|
|
53
|
+
"./order/order.presentation": "./dist/order/order.presentation.js",
|
|
54
|
+
"./order/order.schema": "./dist/order/order.schema.js",
|
|
55
|
+
"./payout": "./dist/payout/index.js",
|
|
56
|
+
"./payout/payout.contracts": "./dist/payout/payout.contracts.js",
|
|
57
|
+
"./payout/payout.enum": "./dist/payout/payout.enum.js",
|
|
58
|
+
"./payout/payout.event": "./dist/payout/payout.event.js",
|
|
59
|
+
"./payout/payout.presentation": "./dist/payout/payout.presentation.js",
|
|
60
|
+
"./payout/payout.schema": "./dist/payout/payout.schema.js",
|
|
61
|
+
"./product": "./dist/product/index.js",
|
|
62
|
+
"./product/product.contracts": "./dist/product/product.contracts.js",
|
|
63
|
+
"./product/product.enum": "./dist/product/product.enum.js",
|
|
64
|
+
"./product/product.event": "./dist/product/product.event.js",
|
|
65
|
+
"./product/product.presentation": "./dist/product/product.presentation.js",
|
|
66
|
+
"./product/product.schema": "./dist/product/product.schema.js",
|
|
67
|
+
"./review": "./dist/review/index.js",
|
|
68
|
+
"./review/review.contracts": "./dist/review/review.contracts.js",
|
|
69
|
+
"./review/review.enum": "./dist/review/review.enum.js",
|
|
70
|
+
"./review/review.event": "./dist/review/review.event.js",
|
|
71
|
+
"./review/review.presentation": "./dist/review/review.presentation.js",
|
|
72
|
+
"./review/review.schema": "./dist/review/review.schema.js",
|
|
73
|
+
"./store": "./dist/store/index.js",
|
|
74
|
+
"./store/store.contracts": "./dist/store/store.contracts.js",
|
|
75
|
+
"./store/store.enum": "./dist/store/store.enum.js",
|
|
76
|
+
"./store/store.event": "./dist/store/store.event.js",
|
|
77
|
+
"./store/store.presentation": "./dist/store/store.presentation.js",
|
|
78
|
+
"./store/store.schema": "./dist/store/store.schema.js",
|
|
79
79
|
"./*": "./*"
|
|
80
80
|
},
|
|
81
81
|
"module": "./dist/index.js",
|