@lssm/example.marketplace 0.0.0-canary-20251220021406 → 0.0.0-canary-20251220041653
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/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/order/order.contracts.d.ts +90 -90
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/product/product.enum.d.ts +2 -2
- package/dist/product/product.event.d.ts +19 -19
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/product/product.schema.d.ts.map +1 -1
- 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.schema.d.ts +45 -45
- 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 +14 -14
- package/package.json +12 -12
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema703 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts6 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/store/store.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new seller store.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateStoreContract: _lssm_lib_contracts6.ContractSpec<
|
|
8
|
+
declare const CreateStoreContract: _lssm_lib_contracts6.ContractSpec<_lssm_lib_schema703.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
email: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
country: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
currency: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _lssm_lib_schema703.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
name: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
slug: {
|
|
43
|
-
type:
|
|
43
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
description: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
status: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema703.EnumType<[string, string, string, string]>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
ownerId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
logoFileId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
isVerified: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema703.FieldType<boolean, boolean>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
totalProducts: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema703.FieldType<number, number>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
averageRating: {
|
|
71
|
-
type:
|
|
71
|
+
type: _lssm_lib_schema703.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
createdAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _lssm_lib_schema703.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>, {
|
|
79
79
|
name: string;
|
|
80
80
|
version: number;
|
|
81
81
|
when: string;
|
|
82
|
-
payload:
|
|
82
|
+
payload: _lssm_lib_schema703.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
name: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
slug: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
description: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
status: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema703.EnumType<[string, string, string, string]>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
ownerId: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
logoFileId: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema703.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
isVerified: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema703.FieldType<boolean, boolean>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
totalProducts: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema703.FieldType<number, number>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
averageRating: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema703.FieldType<number, number>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
createdAt: {
|
|
124
|
-
type:
|
|
124
|
+
type: _lssm_lib_schema703.FieldType<Date, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema789 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/store/store.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Store status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const StoreStatusEnum:
|
|
7
|
+
declare const StoreStatusEnum: _lssm_lib_schema789.EnumType<[string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { StoreStatusEnum };
|
|
10
10
|
//# sourceMappingURL=store.enum.d.ts.map
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema830 from "@lssm/lib.schema";
|
|
2
|
+
import * as _lssm_lib_contracts7 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/store/store.event.d.ts
|
|
5
|
-
declare const StoreCreatedEvent:
|
|
5
|
+
declare const StoreCreatedEvent: _lssm_lib_contracts7.EventSpec<_lssm_lib_schema830.SchemaModel<{
|
|
6
6
|
storeId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
name: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
slug: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
ownerId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
timestamp: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema830.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
27
|
-
declare const StoreStatusChangedEvent:
|
|
27
|
+
declare const StoreStatusChangedEvent: _lssm_lib_contracts7.EventSpec<_lssm_lib_schema830.SchemaModel<{
|
|
28
28
|
storeId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
previousStatus: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
newStatus: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
reason: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema830.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
timestamp: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema830.FieldType<Date, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>>;
|
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-20251220041653",
|
|
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,20 +18,20 @@
|
|
|
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-20251220041653",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251220041653",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251220041653",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251220041653",
|
|
25
|
+
"@lssm/lib.files": "0.0.0-canary-20251220041653",
|
|
26
|
+
"@lssm/lib.metering": "0.0.0-canary-20251220041653",
|
|
27
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251220041653",
|
|
28
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251220041653",
|
|
29
|
+
"@lssm/module.notifications": "0.0.0-canary-20251220041653",
|
|
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-20251220041653",
|
|
34
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251220041653",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"exports": {
|