@lssm/example.marketplace 0.0.0-canary-20251217052941 → 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.
Files changed (43) hide show
  1. package/dist/docs/index.d.ts +1 -0
  2. package/dist/docs/marketplace.docblock.d.ts +1 -0
  3. package/dist/entities/index.d.ts +308 -0
  4. package/dist/entities/order.d.ts +104 -0
  5. package/dist/entities/payout.d.ts +91 -0
  6. package/dist/entities/product.d.ts +92 -0
  7. package/dist/entities/review.d.ts +82 -0
  8. package/dist/entities/store.d.ts +59 -0
  9. package/dist/example.d.ts +39 -0
  10. package/dist/index.d.ts +26 -0
  11. package/dist/marketplace.feature.d.ts +11 -0
  12. package/dist/order/index.d.ts +5 -0
  13. package/dist/order/order.contracts.d.ts +367 -0
  14. package/dist/order/order.enum.d.ts +9 -0
  15. package/dist/order/order.event.d.ts +144 -0
  16. package/dist/order/order.presentation.d.ts +8 -0
  17. package/dist/order/order.schema.d.ts +164 -0
  18. package/dist/payout/index.d.ts +5 -0
  19. package/dist/payout/payout.contracts.d.ts +96 -0
  20. package/dist/payout/payout.enum.d.ts +9 -0
  21. package/dist/payout/payout.event.d.ts +62 -0
  22. package/dist/payout/payout.presentation.d.ts +7 -0
  23. package/dist/payout/payout.schema.d.ts +156 -0
  24. package/dist/product/index.d.ts +5 -0
  25. package/dist/product/product.contracts.d.ts +272 -0
  26. package/dist/product/product.enum.d.ts +9 -0
  27. package/dist/product/product.event.d.ts +72 -0
  28. package/dist/product/product.presentation.d.ts +8 -0
  29. package/dist/product/product.schema.d.ts +217 -0
  30. package/dist/review/index.d.ts +5 -0
  31. package/dist/review/review.contracts.d.ts +236 -0
  32. package/dist/review/review.enum.d.ts +9 -0
  33. package/dist/review/review.event.d.ts +54 -0
  34. package/dist/review/review.presentation.d.ts +7 -0
  35. package/dist/review/review.schema.d.ts +189 -0
  36. package/dist/store/index.d.ts +5 -0
  37. package/dist/store/store.contracts.d.ts +130 -0
  38. package/dist/store/store.enum.d.ts +9 -0
  39. package/dist/store/store.event.d.ts +50 -0
  40. package/dist/store/store.presentation.d.ts +7 -0
  41. package/dist/store/store.schema.d.ts +83 -0
  42. package/package.json +53 -53
  43. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,236 @@
1
+ import * as _lssm_lib_schema924 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts5 from "@lssm/lib.contracts";
3
+
4
+ //#region src/review/review.contracts.d.ts
5
+ /**
6
+ * Create a product/store review.
7
+ */
8
+ declare const CreateReviewContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema924.SchemaModel<{
9
+ productId: {
10
+ type: _lssm_lib_schema924.FieldType<string, string>;
11
+ isOptional: true;
12
+ };
13
+ storeId: {
14
+ type: _lssm_lib_schema924.FieldType<string, string>;
15
+ isOptional: true;
16
+ };
17
+ orderId: {
18
+ type: _lssm_lib_schema924.FieldType<string, string>;
19
+ isOptional: true;
20
+ };
21
+ rating: {
22
+ type: _lssm_lib_schema924.FieldType<number, number>;
23
+ isOptional: false;
24
+ };
25
+ title: {
26
+ type: _lssm_lib_schema924.FieldType<string, string>;
27
+ isOptional: true;
28
+ };
29
+ content: {
30
+ type: _lssm_lib_schema924.FieldType<string, string>;
31
+ isOptional: true;
32
+ };
33
+ }>, _lssm_lib_schema924.SchemaModel<{
34
+ id: {
35
+ type: _lssm_lib_schema924.FieldType<string, string>;
36
+ isOptional: false;
37
+ };
38
+ productId: {
39
+ type: _lssm_lib_schema924.FieldType<string, string>;
40
+ isOptional: true;
41
+ };
42
+ storeId: {
43
+ type: _lssm_lib_schema924.FieldType<string, string>;
44
+ isOptional: true;
45
+ };
46
+ authorId: {
47
+ type: _lssm_lib_schema924.FieldType<string, string>;
48
+ isOptional: false;
49
+ };
50
+ rating: {
51
+ type: _lssm_lib_schema924.FieldType<number, number>;
52
+ isOptional: false;
53
+ };
54
+ title: {
55
+ type: _lssm_lib_schema924.FieldType<string, string>;
56
+ isOptional: true;
57
+ };
58
+ content: {
59
+ type: _lssm_lib_schema924.FieldType<string, string>;
60
+ isOptional: true;
61
+ };
62
+ status: {
63
+ type: _lssm_lib_schema924.EnumType<[string, string, string, string]>;
64
+ isOptional: false;
65
+ };
66
+ isVerifiedPurchase: {
67
+ type: _lssm_lib_schema924.FieldType<boolean, boolean>;
68
+ isOptional: false;
69
+ };
70
+ helpfulCount: {
71
+ type: _lssm_lib_schema924.FieldType<number, number>;
72
+ isOptional: false;
73
+ };
74
+ hasResponse: {
75
+ type: _lssm_lib_schema924.FieldType<boolean, boolean>;
76
+ isOptional: false;
77
+ };
78
+ createdAt: {
79
+ type: _lssm_lib_schema924.FieldType<Date, string>;
80
+ isOptional: false;
81
+ };
82
+ }>, {
83
+ name: string;
84
+ version: number;
85
+ when: string;
86
+ payload: _lssm_lib_schema924.SchemaModel<{
87
+ id: {
88
+ type: _lssm_lib_schema924.FieldType<string, string>;
89
+ isOptional: false;
90
+ };
91
+ productId: {
92
+ type: _lssm_lib_schema924.FieldType<string, string>;
93
+ isOptional: true;
94
+ };
95
+ storeId: {
96
+ type: _lssm_lib_schema924.FieldType<string, string>;
97
+ isOptional: true;
98
+ };
99
+ authorId: {
100
+ type: _lssm_lib_schema924.FieldType<string, string>;
101
+ isOptional: false;
102
+ };
103
+ rating: {
104
+ type: _lssm_lib_schema924.FieldType<number, number>;
105
+ isOptional: false;
106
+ };
107
+ title: {
108
+ type: _lssm_lib_schema924.FieldType<string, string>;
109
+ isOptional: true;
110
+ };
111
+ content: {
112
+ type: _lssm_lib_schema924.FieldType<string, string>;
113
+ isOptional: true;
114
+ };
115
+ status: {
116
+ type: _lssm_lib_schema924.EnumType<[string, string, string, string]>;
117
+ isOptional: false;
118
+ };
119
+ isVerifiedPurchase: {
120
+ type: _lssm_lib_schema924.FieldType<boolean, boolean>;
121
+ isOptional: false;
122
+ };
123
+ helpfulCount: {
124
+ type: _lssm_lib_schema924.FieldType<number, number>;
125
+ isOptional: false;
126
+ };
127
+ hasResponse: {
128
+ type: _lssm_lib_schema924.FieldType<boolean, boolean>;
129
+ isOptional: false;
130
+ };
131
+ createdAt: {
132
+ type: _lssm_lib_schema924.FieldType<Date, string>;
133
+ isOptional: false;
134
+ };
135
+ }>;
136
+ }[]>;
137
+ /**
138
+ * List reviews with filters.
139
+ */
140
+ declare const ListReviewsContract: _lssm_lib_contracts5.ContractSpec<_lssm_lib_schema924.SchemaModel<{
141
+ productId: {
142
+ type: _lssm_lib_schema924.FieldType<string, string>;
143
+ isOptional: true;
144
+ };
145
+ storeId: {
146
+ type: _lssm_lib_schema924.FieldType<string, string>;
147
+ isOptional: true;
148
+ };
149
+ status: {
150
+ type: _lssm_lib_schema924.EnumType<[string, string, string, string]>;
151
+ isOptional: true;
152
+ };
153
+ minRating: {
154
+ type: _lssm_lib_schema924.FieldType<number, number>;
155
+ isOptional: true;
156
+ };
157
+ limit: {
158
+ type: _lssm_lib_schema924.FieldType<number, number>;
159
+ isOptional: true;
160
+ defaultValue: number;
161
+ };
162
+ offset: {
163
+ type: _lssm_lib_schema924.FieldType<number, number>;
164
+ isOptional: true;
165
+ defaultValue: number;
166
+ };
167
+ }>, _lssm_lib_schema924.SchemaModel<{
168
+ reviews: {
169
+ type: _lssm_lib_schema924.SchemaModel<{
170
+ id: {
171
+ type: _lssm_lib_schema924.FieldType<string, string>;
172
+ isOptional: false;
173
+ };
174
+ productId: {
175
+ type: _lssm_lib_schema924.FieldType<string, string>;
176
+ isOptional: true;
177
+ };
178
+ storeId: {
179
+ type: _lssm_lib_schema924.FieldType<string, string>;
180
+ isOptional: true;
181
+ };
182
+ authorId: {
183
+ type: _lssm_lib_schema924.FieldType<string, string>;
184
+ isOptional: false;
185
+ };
186
+ rating: {
187
+ type: _lssm_lib_schema924.FieldType<number, number>;
188
+ isOptional: false;
189
+ };
190
+ title: {
191
+ type: _lssm_lib_schema924.FieldType<string, string>;
192
+ isOptional: true;
193
+ };
194
+ content: {
195
+ type: _lssm_lib_schema924.FieldType<string, string>;
196
+ isOptional: true;
197
+ };
198
+ status: {
199
+ type: _lssm_lib_schema924.EnumType<[string, string, string, string]>;
200
+ isOptional: false;
201
+ };
202
+ isVerifiedPurchase: {
203
+ type: _lssm_lib_schema924.FieldType<boolean, boolean>;
204
+ isOptional: false;
205
+ };
206
+ helpfulCount: {
207
+ type: _lssm_lib_schema924.FieldType<number, number>;
208
+ isOptional: false;
209
+ };
210
+ hasResponse: {
211
+ type: _lssm_lib_schema924.FieldType<boolean, boolean>;
212
+ isOptional: false;
213
+ };
214
+ createdAt: {
215
+ type: _lssm_lib_schema924.FieldType<Date, string>;
216
+ isOptional: false;
217
+ };
218
+ }>;
219
+ isArray: true;
220
+ isOptional: false;
221
+ };
222
+ total: {
223
+ type: _lssm_lib_schema924.FieldType<number, number>;
224
+ isOptional: false;
225
+ };
226
+ averageRating: {
227
+ type: _lssm_lib_schema924.FieldType<number, number>;
228
+ isOptional: false;
229
+ };
230
+ ratingDistribution: {
231
+ type: _lssm_lib_schema924.FieldType<unknown, unknown>;
232
+ isOptional: false;
233
+ };
234
+ }>, undefined>;
235
+ //#endregion
236
+ export { CreateReviewContract, ListReviewsContract };
@@ -0,0 +1,9 @@
1
+ import * as _lssm_lib_schema1047 from "@lssm/lib.schema";
2
+
3
+ //#region src/review/review.enum.d.ts
4
+ /**
5
+ * Review status enum.
6
+ */
7
+ declare const ReviewStatusEnum: _lssm_lib_schema1047.EnumType<[string, string, string, string]>;
8
+ //#endregion
9
+ export { ReviewStatusEnum };
@@ -0,0 +1,54 @@
1
+ import * as _lssm_lib_schema658 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
3
+
4
+ //#region src/review/review.event.d.ts
5
+ declare const ReviewCreatedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema658.SchemaModel<{
6
+ reviewId: {
7
+ type: _lssm_lib_schema658.FieldType<string, string>;
8
+ isOptional: false;
9
+ };
10
+ productId: {
11
+ type: _lssm_lib_schema658.FieldType<string, string>;
12
+ isOptional: true;
13
+ };
14
+ storeId: {
15
+ type: _lssm_lib_schema658.FieldType<string, string>;
16
+ isOptional: true;
17
+ };
18
+ authorId: {
19
+ type: _lssm_lib_schema658.FieldType<string, string>;
20
+ isOptional: false;
21
+ };
22
+ rating: {
23
+ type: _lssm_lib_schema658.FieldType<number, number>;
24
+ isOptional: false;
25
+ };
26
+ isVerifiedPurchase: {
27
+ type: _lssm_lib_schema658.FieldType<boolean, boolean>;
28
+ isOptional: false;
29
+ };
30
+ timestamp: {
31
+ type: _lssm_lib_schema658.FieldType<Date, string>;
32
+ isOptional: false;
33
+ };
34
+ }>>;
35
+ declare const ReviewRespondedEvent: _lssm_lib_contracts0.EventSpec<_lssm_lib_schema658.SchemaModel<{
36
+ reviewId: {
37
+ type: _lssm_lib_schema658.FieldType<string, string>;
38
+ isOptional: false;
39
+ };
40
+ responseId: {
41
+ type: _lssm_lib_schema658.FieldType<string, string>;
42
+ isOptional: false;
43
+ };
44
+ authorId: {
45
+ type: _lssm_lib_schema658.FieldType<string, string>;
46
+ isOptional: false;
47
+ };
48
+ timestamp: {
49
+ type: _lssm_lib_schema658.FieldType<Date, string>;
50
+ isOptional: false;
51
+ };
52
+ }>>;
53
+ //#endregion
54
+ export { ReviewCreatedEvent, ReviewRespondedEvent };
@@ -0,0 +1,7 @@
1
+ import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
2
+
3
+ //#region src/review/review.presentation.d.ts
4
+ declare const ReviewListPresentation: PresentationDescriptorV2;
5
+ declare const ReviewFormPresentation: PresentationDescriptorV2;
6
+ //#endregion
7
+ export { ReviewFormPresentation, ReviewListPresentation };
@@ -0,0 +1,189 @@
1
+ import * as _lssm_lib_schema702 from "@lssm/lib.schema";
2
+
3
+ //#region src/review/review.schema.d.ts
4
+ /**
5
+ * A customer review.
6
+ */
7
+ declare const ReviewModel: _lssm_lib_schema702.SchemaModel<{
8
+ id: {
9
+ type: _lssm_lib_schema702.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ productId: {
13
+ type: _lssm_lib_schema702.FieldType<string, string>;
14
+ isOptional: true;
15
+ };
16
+ storeId: {
17
+ type: _lssm_lib_schema702.FieldType<string, string>;
18
+ isOptional: true;
19
+ };
20
+ authorId: {
21
+ type: _lssm_lib_schema702.FieldType<string, string>;
22
+ isOptional: false;
23
+ };
24
+ rating: {
25
+ type: _lssm_lib_schema702.FieldType<number, number>;
26
+ isOptional: false;
27
+ };
28
+ title: {
29
+ type: _lssm_lib_schema702.FieldType<string, string>;
30
+ isOptional: true;
31
+ };
32
+ content: {
33
+ type: _lssm_lib_schema702.FieldType<string, string>;
34
+ isOptional: true;
35
+ };
36
+ status: {
37
+ type: _lssm_lib_schema702.EnumType<[string, string, string, string]>;
38
+ isOptional: false;
39
+ };
40
+ isVerifiedPurchase: {
41
+ type: _lssm_lib_schema702.FieldType<boolean, boolean>;
42
+ isOptional: false;
43
+ };
44
+ helpfulCount: {
45
+ type: _lssm_lib_schema702.FieldType<number, number>;
46
+ isOptional: false;
47
+ };
48
+ hasResponse: {
49
+ type: _lssm_lib_schema702.FieldType<boolean, boolean>;
50
+ isOptional: false;
51
+ };
52
+ createdAt: {
53
+ type: _lssm_lib_schema702.FieldType<Date, string>;
54
+ isOptional: false;
55
+ };
56
+ }>;
57
+ /**
58
+ * Input for creating a review.
59
+ */
60
+ declare const CreateReviewInputModel: _lssm_lib_schema702.SchemaModel<{
61
+ productId: {
62
+ type: _lssm_lib_schema702.FieldType<string, string>;
63
+ isOptional: true;
64
+ };
65
+ storeId: {
66
+ type: _lssm_lib_schema702.FieldType<string, string>;
67
+ isOptional: true;
68
+ };
69
+ orderId: {
70
+ type: _lssm_lib_schema702.FieldType<string, string>;
71
+ isOptional: true;
72
+ };
73
+ rating: {
74
+ type: _lssm_lib_schema702.FieldType<number, number>;
75
+ isOptional: false;
76
+ };
77
+ title: {
78
+ type: _lssm_lib_schema702.FieldType<string, string>;
79
+ isOptional: true;
80
+ };
81
+ content: {
82
+ type: _lssm_lib_schema702.FieldType<string, string>;
83
+ isOptional: true;
84
+ };
85
+ }>;
86
+ /**
87
+ * Input for listing reviews.
88
+ */
89
+ declare const ListReviewsInputModel: _lssm_lib_schema702.SchemaModel<{
90
+ productId: {
91
+ type: _lssm_lib_schema702.FieldType<string, string>;
92
+ isOptional: true;
93
+ };
94
+ storeId: {
95
+ type: _lssm_lib_schema702.FieldType<string, string>;
96
+ isOptional: true;
97
+ };
98
+ status: {
99
+ type: _lssm_lib_schema702.EnumType<[string, string, string, string]>;
100
+ isOptional: true;
101
+ };
102
+ minRating: {
103
+ type: _lssm_lib_schema702.FieldType<number, number>;
104
+ isOptional: true;
105
+ };
106
+ limit: {
107
+ type: _lssm_lib_schema702.FieldType<number, number>;
108
+ isOptional: true;
109
+ defaultValue: number;
110
+ };
111
+ offset: {
112
+ type: _lssm_lib_schema702.FieldType<number, number>;
113
+ isOptional: true;
114
+ defaultValue: number;
115
+ };
116
+ }>;
117
+ /**
118
+ * Output for listing reviews.
119
+ */
120
+ declare const ListReviewsOutputModel: _lssm_lib_schema702.SchemaModel<{
121
+ reviews: {
122
+ type: _lssm_lib_schema702.SchemaModel<{
123
+ id: {
124
+ type: _lssm_lib_schema702.FieldType<string, string>;
125
+ isOptional: false;
126
+ };
127
+ productId: {
128
+ type: _lssm_lib_schema702.FieldType<string, string>;
129
+ isOptional: true;
130
+ };
131
+ storeId: {
132
+ type: _lssm_lib_schema702.FieldType<string, string>;
133
+ isOptional: true;
134
+ };
135
+ authorId: {
136
+ type: _lssm_lib_schema702.FieldType<string, string>;
137
+ isOptional: false;
138
+ };
139
+ rating: {
140
+ type: _lssm_lib_schema702.FieldType<number, number>;
141
+ isOptional: false;
142
+ };
143
+ title: {
144
+ type: _lssm_lib_schema702.FieldType<string, string>;
145
+ isOptional: true;
146
+ };
147
+ content: {
148
+ type: _lssm_lib_schema702.FieldType<string, string>;
149
+ isOptional: true;
150
+ };
151
+ status: {
152
+ type: _lssm_lib_schema702.EnumType<[string, string, string, string]>;
153
+ isOptional: false;
154
+ };
155
+ isVerifiedPurchase: {
156
+ type: _lssm_lib_schema702.FieldType<boolean, boolean>;
157
+ isOptional: false;
158
+ };
159
+ helpfulCount: {
160
+ type: _lssm_lib_schema702.FieldType<number, number>;
161
+ isOptional: false;
162
+ };
163
+ hasResponse: {
164
+ type: _lssm_lib_schema702.FieldType<boolean, boolean>;
165
+ isOptional: false;
166
+ };
167
+ createdAt: {
168
+ type: _lssm_lib_schema702.FieldType<Date, string>;
169
+ isOptional: false;
170
+ };
171
+ }>;
172
+ isArray: true;
173
+ isOptional: false;
174
+ };
175
+ total: {
176
+ type: _lssm_lib_schema702.FieldType<number, number>;
177
+ isOptional: false;
178
+ };
179
+ averageRating: {
180
+ type: _lssm_lib_schema702.FieldType<number, number>;
181
+ isOptional: false;
182
+ };
183
+ ratingDistribution: {
184
+ type: _lssm_lib_schema702.FieldType<unknown, unknown>;
185
+ isOptional: false;
186
+ };
187
+ }>;
188
+ //#endregion
189
+ export { CreateReviewInputModel, ListReviewsInputModel, ListReviewsOutputModel, ReviewModel };
@@ -0,0 +1,5 @@
1
+ import { StoreStatusEnum } from "./store.enum.js";
2
+ import { CreateStoreInputModel, StoreModel } from "./store.schema.js";
3
+ import { CreateStoreContract } from "./store.contracts.js";
4
+ import { StoreCreatedEvent, StoreStatusChangedEvent } from "./store.event.js";
5
+ export { CreateStoreContract, CreateStoreInputModel, StoreCreatedEvent, StoreModel, StoreStatusChangedEvent, StoreStatusEnum };
@@ -0,0 +1,130 @@
1
+ import * as _lssm_lib_schema671 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts2 from "@lssm/lib.contracts";
3
+
4
+ //#region src/store/store.contracts.d.ts
5
+ /**
6
+ * Create a new seller store.
7
+ */
8
+ declare const CreateStoreContract: _lssm_lib_contracts2.ContractSpec<_lssm_lib_schema671.SchemaModel<{
9
+ name: {
10
+ type: _lssm_lib_schema671.FieldType<string, string>;
11
+ isOptional: false;
12
+ };
13
+ slug: {
14
+ type: _lssm_lib_schema671.FieldType<string, string>;
15
+ isOptional: false;
16
+ };
17
+ description: {
18
+ type: _lssm_lib_schema671.FieldType<string, string>;
19
+ isOptional: true;
20
+ };
21
+ email: {
22
+ type: _lssm_lib_schema671.FieldType<string, string>;
23
+ isOptional: true;
24
+ };
25
+ country: {
26
+ type: _lssm_lib_schema671.FieldType<string, string>;
27
+ isOptional: true;
28
+ };
29
+ currency: {
30
+ type: _lssm_lib_schema671.FieldType<string, string>;
31
+ isOptional: true;
32
+ };
33
+ }>, _lssm_lib_schema671.SchemaModel<{
34
+ id: {
35
+ type: _lssm_lib_schema671.FieldType<string, string>;
36
+ isOptional: false;
37
+ };
38
+ name: {
39
+ type: _lssm_lib_schema671.FieldType<string, string>;
40
+ isOptional: false;
41
+ };
42
+ slug: {
43
+ type: _lssm_lib_schema671.FieldType<string, string>;
44
+ isOptional: false;
45
+ };
46
+ description: {
47
+ type: _lssm_lib_schema671.FieldType<string, string>;
48
+ isOptional: true;
49
+ };
50
+ status: {
51
+ type: _lssm_lib_schema671.EnumType<[string, string, string, string]>;
52
+ isOptional: false;
53
+ };
54
+ ownerId: {
55
+ type: _lssm_lib_schema671.FieldType<string, string>;
56
+ isOptional: false;
57
+ };
58
+ logoFileId: {
59
+ type: _lssm_lib_schema671.FieldType<string, string>;
60
+ isOptional: true;
61
+ };
62
+ isVerified: {
63
+ type: _lssm_lib_schema671.FieldType<boolean, boolean>;
64
+ isOptional: false;
65
+ };
66
+ totalProducts: {
67
+ type: _lssm_lib_schema671.FieldType<number, number>;
68
+ isOptional: false;
69
+ };
70
+ averageRating: {
71
+ type: _lssm_lib_schema671.FieldType<number, number>;
72
+ isOptional: false;
73
+ };
74
+ createdAt: {
75
+ type: _lssm_lib_schema671.FieldType<Date, string>;
76
+ isOptional: false;
77
+ };
78
+ }>, {
79
+ name: string;
80
+ version: number;
81
+ when: string;
82
+ payload: _lssm_lib_schema671.SchemaModel<{
83
+ id: {
84
+ type: _lssm_lib_schema671.FieldType<string, string>;
85
+ isOptional: false;
86
+ };
87
+ name: {
88
+ type: _lssm_lib_schema671.FieldType<string, string>;
89
+ isOptional: false;
90
+ };
91
+ slug: {
92
+ type: _lssm_lib_schema671.FieldType<string, string>;
93
+ isOptional: false;
94
+ };
95
+ description: {
96
+ type: _lssm_lib_schema671.FieldType<string, string>;
97
+ isOptional: true;
98
+ };
99
+ status: {
100
+ type: _lssm_lib_schema671.EnumType<[string, string, string, string]>;
101
+ isOptional: false;
102
+ };
103
+ ownerId: {
104
+ type: _lssm_lib_schema671.FieldType<string, string>;
105
+ isOptional: false;
106
+ };
107
+ logoFileId: {
108
+ type: _lssm_lib_schema671.FieldType<string, string>;
109
+ isOptional: true;
110
+ };
111
+ isVerified: {
112
+ type: _lssm_lib_schema671.FieldType<boolean, boolean>;
113
+ isOptional: false;
114
+ };
115
+ totalProducts: {
116
+ type: _lssm_lib_schema671.FieldType<number, number>;
117
+ isOptional: false;
118
+ };
119
+ averageRating: {
120
+ type: _lssm_lib_schema671.FieldType<number, number>;
121
+ isOptional: false;
122
+ };
123
+ createdAt: {
124
+ type: _lssm_lib_schema671.FieldType<Date, string>;
125
+ isOptional: false;
126
+ };
127
+ }>;
128
+ }[]>;
129
+ //#endregion
130
+ export { CreateStoreContract };
@@ -0,0 +1,9 @@
1
+ import * as _lssm_lib_schema1101 from "@lssm/lib.schema";
2
+
3
+ //#region src/store/store.enum.d.ts
4
+ /**
5
+ * Store status enum.
6
+ */
7
+ declare const StoreStatusEnum: _lssm_lib_schema1101.EnumType<[string, string, string, string]>;
8
+ //#endregion
9
+ export { StoreStatusEnum };
@@ -0,0 +1,50 @@
1
+ import * as _lssm_lib_schema1139 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts19 from "@lssm/lib.contracts";
3
+
4
+ //#region src/store/store.event.d.ts
5
+ declare const StoreCreatedEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema1139.SchemaModel<{
6
+ storeId: {
7
+ type: _lssm_lib_schema1139.FieldType<string, string>;
8
+ isOptional: false;
9
+ };
10
+ name: {
11
+ type: _lssm_lib_schema1139.FieldType<string, string>;
12
+ isOptional: false;
13
+ };
14
+ slug: {
15
+ type: _lssm_lib_schema1139.FieldType<string, string>;
16
+ isOptional: false;
17
+ };
18
+ ownerId: {
19
+ type: _lssm_lib_schema1139.FieldType<string, string>;
20
+ isOptional: false;
21
+ };
22
+ timestamp: {
23
+ type: _lssm_lib_schema1139.FieldType<Date, string>;
24
+ isOptional: false;
25
+ };
26
+ }>>;
27
+ declare const StoreStatusChangedEvent: _lssm_lib_contracts19.EventSpec<_lssm_lib_schema1139.SchemaModel<{
28
+ storeId: {
29
+ type: _lssm_lib_schema1139.FieldType<string, string>;
30
+ isOptional: false;
31
+ };
32
+ previousStatus: {
33
+ type: _lssm_lib_schema1139.FieldType<string, string>;
34
+ isOptional: false;
35
+ };
36
+ newStatus: {
37
+ type: _lssm_lib_schema1139.FieldType<string, string>;
38
+ isOptional: false;
39
+ };
40
+ reason: {
41
+ type: _lssm_lib_schema1139.FieldType<string, string>;
42
+ isOptional: true;
43
+ };
44
+ timestamp: {
45
+ type: _lssm_lib_schema1139.FieldType<Date, string>;
46
+ isOptional: false;
47
+ };
48
+ }>>;
49
+ //#endregion
50
+ export { StoreCreatedEvent, StoreStatusChangedEvent };
@@ -0,0 +1,7 @@
1
+ import { PresentationDescriptorV2 } from "@lssm/lib.contracts";
2
+
3
+ //#region src/store/store.presentation.d.ts
4
+ declare const StoreProfilePresentation: PresentationDescriptorV2;
5
+ declare const SellerDashboardPresentation: PresentationDescriptorV2;
6
+ //#endregion
7
+ export { SellerDashboardPresentation, StoreProfilePresentation };