@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,103 +1,103 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema1020 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/order/order.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* An order item.
|
|
6
6
|
*/
|
|
7
|
-
declare const OrderItemModel:
|
|
7
|
+
declare const OrderItemModel: _lssm_lib_schema1020.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
productId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
productName: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
unitPrice: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
quantity: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
subtotal: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
}>;
|
|
33
33
|
/**
|
|
34
34
|
* An order.
|
|
35
35
|
*/
|
|
36
|
-
declare const OrderModel:
|
|
36
|
+
declare const OrderModel: _lssm_lib_schema1020.SchemaModel<{
|
|
37
37
|
id: {
|
|
38
|
-
type:
|
|
38
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
orderNumber: {
|
|
42
|
-
type:
|
|
42
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
43
43
|
isOptional: false;
|
|
44
44
|
};
|
|
45
45
|
buyerId: {
|
|
46
|
-
type:
|
|
46
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
47
47
|
isOptional: false;
|
|
48
48
|
};
|
|
49
49
|
storeId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
status: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema1020.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
subtotal: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
shippingTotal: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
taxTotal: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
total: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
currency: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
items: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema1020.SchemaModel<{
|
|
79
79
|
id: {
|
|
80
|
-
type:
|
|
80
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
productId: {
|
|
84
|
-
type:
|
|
84
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
productName: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
unitPrice: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
quantity: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
subtotal: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema1020.FieldType<number, number>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>;
|
|
@@ -105,58 +105,58 @@ declare const OrderModel: _lssm_lib_schema1076.SchemaModel<{
|
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
createdAt: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema1020.FieldType<Date, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
}>;
|
|
112
112
|
/**
|
|
113
113
|
* Input for creating an order.
|
|
114
114
|
*/
|
|
115
|
-
declare const CreateOrderInputModel:
|
|
115
|
+
declare const CreateOrderInputModel: _lssm_lib_schema1020.SchemaModel<{
|
|
116
116
|
storeId: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
items: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema1020.FieldType<unknown, unknown>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
description: string;
|
|
124
124
|
};
|
|
125
125
|
shippingAddress: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema1020.FieldType<unknown, unknown>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
};
|
|
129
129
|
billingAddress: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema1020.FieldType<unknown, unknown>;
|
|
131
131
|
isOptional: true;
|
|
132
132
|
};
|
|
133
133
|
buyerNote: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
}>;
|
|
138
138
|
/**
|
|
139
139
|
* Input for updating order status.
|
|
140
140
|
*/
|
|
141
|
-
declare const UpdateOrderStatusInputModel:
|
|
141
|
+
declare const UpdateOrderStatusInputModel: _lssm_lib_schema1020.SchemaModel<{
|
|
142
142
|
orderId: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
status: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema1020.EnumType<[string, string, string, string, string, string, string, string, string, string]>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
trackingNumber: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
152
152
|
isOptional: true;
|
|
153
153
|
};
|
|
154
154
|
trackingUrl: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
156
156
|
isOptional: true;
|
|
157
157
|
};
|
|
158
158
|
note: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema1020.FieldType<string, string>;
|
|
160
160
|
isOptional: true;
|
|
161
161
|
};
|
|
162
162
|
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema135 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/product/product.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Product status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProductStatusEnum:
|
|
7
|
+
declare const ProductStatusEnum: _lssm_lib_schema135.EnumType<[string, string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ProductStatusEnum };
|
|
10
10
|
//# sourceMappingURL=product.enum.d.ts.map
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema431 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts3 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/product/product.event.d.ts
|
|
5
|
-
declare const ProductCreatedEvent: _lssm_lib_contracts3.EventSpec<
|
|
5
|
+
declare const ProductCreatedEvent: _lssm_lib_contracts3.EventSpec<_lssm_lib_schema431.SchemaModel<{
|
|
6
6
|
productId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
storeId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
name: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
price: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema431.FieldType<number, number>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
currency: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
timestamp: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema431.FieldType<Date, string>;
|
|
28
28
|
isOptional: false;
|
|
29
29
|
};
|
|
30
30
|
}>>;
|
|
31
|
-
declare const ProductPublishedEvent: _lssm_lib_contracts3.EventSpec<
|
|
31
|
+
declare const ProductPublishedEvent: _lssm_lib_contracts3.EventSpec<_lssm_lib_schema431.SchemaModel<{
|
|
32
32
|
productId: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
storeId: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
timestamp: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema431.FieldType<Date, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
}>>;
|
|
45
|
-
declare const InventoryUpdatedEvent: _lssm_lib_contracts3.EventSpec<
|
|
45
|
+
declare const InventoryUpdatedEvent: _lssm_lib_contracts3.EventSpec<_lssm_lib_schema431.SchemaModel<{
|
|
46
46
|
productId: {
|
|
47
|
-
type:
|
|
47
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
variantId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
previousQuantity: {
|
|
55
|
-
type:
|
|
55
|
+
type: _lssm_lib_schema431.FieldType<number, number>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
newQuantity: {
|
|
59
|
-
type:
|
|
59
|
+
type: _lssm_lib_schema431.FieldType<number, number>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
reason: {
|
|
63
|
-
type:
|
|
63
|
+
type: _lssm_lib_schema431.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
timestamp: {
|
|
67
|
-
type:
|
|
67
|
+
type: _lssm_lib_schema431.FieldType<Date, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
}>>;
|
|
@@ -1,143 +1,143 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema968 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/product/product.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A product listing.
|
|
6
6
|
*/
|
|
7
|
-
declare const ProductModel:
|
|
7
|
+
declare const ProductModel: _lssm_lib_schema968.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
storeId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
slug: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
description: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string, string, string]>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
price: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
currency: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
quantity: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
categoryId: {
|
|
45
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
primaryImageId: {
|
|
49
|
-
type:
|
|
49
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
50
50
|
isOptional: true;
|
|
51
51
|
};
|
|
52
52
|
averageRating: {
|
|
53
|
-
type:
|
|
53
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
totalSold: {
|
|
57
|
-
type:
|
|
57
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
58
58
|
isOptional: false;
|
|
59
59
|
};
|
|
60
60
|
createdAt: {
|
|
61
|
-
type:
|
|
61
|
+
type: _lssm_lib_schema968.FieldType<Date, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
}>;
|
|
65
65
|
/**
|
|
66
66
|
* Input for creating a product.
|
|
67
67
|
*/
|
|
68
|
-
declare const CreateProductInputModel:
|
|
68
|
+
declare const CreateProductInputModel: _lssm_lib_schema968.SchemaModel<{
|
|
69
69
|
storeId: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
name: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
slug: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
description: {
|
|
82
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
price: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
currency: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
91
91
|
isOptional: true;
|
|
92
92
|
};
|
|
93
93
|
quantity: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
95
95
|
isOptional: true;
|
|
96
96
|
};
|
|
97
97
|
categoryId: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
99
99
|
isOptional: true;
|
|
100
100
|
};
|
|
101
101
|
sku: {
|
|
102
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
103
103
|
isOptional: true;
|
|
104
104
|
};
|
|
105
105
|
}>;
|
|
106
106
|
/**
|
|
107
107
|
* Input for listing products.
|
|
108
108
|
*/
|
|
109
|
-
declare const ListProductsInputModel:
|
|
109
|
+
declare const ListProductsInputModel: _lssm_lib_schema968.SchemaModel<{
|
|
110
110
|
storeId: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
112
112
|
isOptional: true;
|
|
113
113
|
};
|
|
114
114
|
categoryId: {
|
|
115
|
-
type:
|
|
115
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
116
116
|
isOptional: true;
|
|
117
117
|
};
|
|
118
118
|
status: {
|
|
119
|
-
type:
|
|
119
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string, string, string]>;
|
|
120
120
|
isOptional: true;
|
|
121
121
|
};
|
|
122
122
|
search: {
|
|
123
|
-
type:
|
|
123
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
124
124
|
isOptional: true;
|
|
125
125
|
};
|
|
126
126
|
minPrice: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
128
128
|
isOptional: true;
|
|
129
129
|
};
|
|
130
130
|
maxPrice: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
132
132
|
isOptional: true;
|
|
133
133
|
};
|
|
134
134
|
limit: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
136
136
|
isOptional: true;
|
|
137
137
|
defaultValue: number;
|
|
138
138
|
};
|
|
139
139
|
offset: {
|
|
140
|
-
type:
|
|
140
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
141
141
|
isOptional: true;
|
|
142
142
|
defaultValue: number;
|
|
143
143
|
};
|
|
@@ -145,63 +145,63 @@ declare const ListProductsInputModel: _lssm_lib_schema1025.SchemaModel<{
|
|
|
145
145
|
/**
|
|
146
146
|
* Output for listing products.
|
|
147
147
|
*/
|
|
148
|
-
declare const ListProductsOutputModel:
|
|
148
|
+
declare const ListProductsOutputModel: _lssm_lib_schema968.SchemaModel<{
|
|
149
149
|
products: {
|
|
150
|
-
type:
|
|
150
|
+
type: _lssm_lib_schema968.SchemaModel<{
|
|
151
151
|
id: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
storeId: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
name: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
slug: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
description: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
169
169
|
isOptional: true;
|
|
170
170
|
};
|
|
171
171
|
status: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema968.EnumType<[string, string, string, string, string, string]>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
price: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
currency: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
quantity: {
|
|
184
|
-
type:
|
|
184
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
categoryId: {
|
|
188
|
-
type:
|
|
188
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
189
189
|
isOptional: true;
|
|
190
190
|
};
|
|
191
191
|
primaryImageId: {
|
|
192
|
-
type:
|
|
192
|
+
type: _lssm_lib_schema968.FieldType<string, string>;
|
|
193
193
|
isOptional: true;
|
|
194
194
|
};
|
|
195
195
|
averageRating: {
|
|
196
|
-
type:
|
|
196
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
197
197
|
isOptional: false;
|
|
198
198
|
};
|
|
199
199
|
totalSold: {
|
|
200
|
-
type:
|
|
200
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
201
201
|
isOptional: false;
|
|
202
202
|
};
|
|
203
203
|
createdAt: {
|
|
204
|
-
type:
|
|
204
|
+
type: _lssm_lib_schema968.FieldType<Date, string>;
|
|
205
205
|
isOptional: false;
|
|
206
206
|
};
|
|
207
207
|
}>;
|
|
@@ -209,7 +209,7 @@ declare const ListProductsOutputModel: _lssm_lib_schema1025.SchemaModel<{
|
|
|
209
209
|
isOptional: false;
|
|
210
210
|
};
|
|
211
211
|
total: {
|
|
212
|
-
type:
|
|
212
|
+
type: _lssm_lib_schema968.FieldType<number, number>;
|
|
213
213
|
isOptional: false;
|
|
214
214
|
};
|
|
215
215
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.schema.d.ts","names":[],"sources":["../../src/product/product.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,YAsBX,
|
|
1
|
+
{"version":3,"file":"product.schema.d.ts","names":[],"sources":["../../src/product/product.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,YAsBX,sBAtBuB,WAsBvB,CAAA;EAAA,EAAA,EAAA;UAAA,mBAAA,CAAA;;;;;;;;;;;;;;;EAtBuB,WAAA,EAAA;IA2BZ,IAAA,+BAaX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;EAbkC,QAAA,EAAA;IAkBvB,IAAA,+BAoBX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;oBApBiC;EAAA,CAAA;EAyBtB,cAAA,EAAA;IAMX,IAAA,+BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAjDW,6CAAuB;;UAalC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,4CAAsB;;UAoBjC,mBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,6CAAuB;;;;cAMlC,mBAAA,CAAA"}
|