@contractspec/example.marketplace 1.56.1 → 1.57.0
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.map +1 -1
- package/dist/entities/order.d.ts +78 -78
- package/dist/entities/order.d.ts.map +1 -1
- package/dist/entities/payout.d.ts +65 -65
- package/dist/entities/payout.d.ts.map +1 -1
- package/dist/entities/product.d.ts +70 -70
- package/dist/entities/product.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/example.js +1 -2
- package/dist/example.js.map +1 -1
- package/dist/handlers/marketplace.handlers.d.ts +0 -1
- package/dist/handlers/marketplace.handlers.d.ts.map +1 -1
- package/dist/marketplace.capability.d.ts.map +1 -1
- package/dist/marketplace.feature.d.ts +2 -3
- package/dist/marketplace.feature.d.ts.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 +39 -39
- package/dist/order/order.event.d.ts.map +1 -1
- package/dist/order/order.operations.d.ts +90 -90
- package/dist/order/order.operations.d.ts.map +1 -1
- package/dist/order/order.presentation.d.ts +4 -4
- package/dist/order/order.presentation.d.ts.map +1 -1
- package/dist/order/order.schema.d.ts +39 -39
- package/dist/order/order.schema.d.ts.map +1 -1
- package/dist/payout/payout.enum.d.ts +2 -2
- package/dist/payout/payout.enum.d.ts.map +1 -1
- 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.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.enum.d.ts.map +1 -1
- package/dist/product/product.event.d.ts +20 -20
- package/dist/product/product.event.d.ts.map +1 -1
- package/dist/product/product.operations.d.ts +68 -68
- package/dist/product/product.operations.d.ts.map +1 -1
- package/dist/product/product.presentation.d.ts +4 -4
- package/dist/product/product.presentation.d.ts.map +1 -1
- package/dist/product/product.schema.d.ts +52 -52
- package/dist/product/product.schema.d.ts.map +1 -1
- package/dist/review/review.enum.d.ts +2 -2
- package/dist/review/review.enum.d.ts.map +1 -1
- package/dist/review/review.event.d.ts +15 -15
- package/dist/review/review.event.d.ts.map +1 -1
- package/dist/review/review.operations.d.ts +59 -59
- package/dist/review/review.operations.d.ts.map +1 -1
- package/dist/review/review.presentation.d.ts +3 -3
- package/dist/review/review.presentation.d.ts.map +1 -1
- package/dist/review/review.schema.d.ts +45 -45
- package/dist/review/review.schema.d.ts.map +1 -1
- package/dist/seeders/index.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.presentation.d.ts.map +1 -1
- 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/dist/tests/operations.test-spec.d.ts.map +1 -1
- package/dist/ui/MarketplaceDashboard.d.ts.map +1 -1
- package/dist/ui/hooks/useMarketplaceData.d.ts.map +1 -1
- package/dist/ui/renderers/marketplace.markdown.d.ts +0 -1
- package/dist/ui/renderers/marketplace.markdown.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.operations.d.ts","names":[],"sources":["../../src/review/review.operations.ts"],"
|
|
1
|
+
{"version":3,"file":"review.operations.d.ts","names":[],"sources":["../../src/review/review.operations.ts"],"mappings":";;;;;;;cAgBa,oBAAA,+BAAoB,aAAA,2BAAA,WAAA;;UAyC/B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAzC+B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8CpB,mBAAA,+BAAmB,aAAA,2BAAA,WAAA;;UA8B9B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA9B8B,yBAAA,CAAA,SAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/review/review.presentation.d.ts
|
|
4
|
-
declare const ReviewListPresentation:
|
|
5
|
-
declare const ReviewFormPresentation:
|
|
4
|
+
declare const ReviewListPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
5
|
+
declare const ReviewFormPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ReviewFormPresentation, ReviewListPresentation };
|
|
8
8
|
//# sourceMappingURL=review.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.presentation.d.ts","names":[],"sources":["../../src/review/review.presentation.ts"],"
|
|
1
|
+
{"version":3,"file":"review.presentation.d.ts","names":[],"sources":["../../src/review/review.presentation.ts"],"mappings":";;;cAGa,sBAAA,EAuBX,4BAAA,CAvBiC,gBAAA;AAAA,cAyBtB,sBAAA,EAuBX,4BAAA,CAvBiC,gBAAA"}
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/review/review.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A customer review.
|
|
6
6
|
*/
|
|
7
|
-
declare const ReviewModel:
|
|
7
|
+
declare const ReviewModel: _contractspec_lib_schema0.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
productId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: true;
|
|
15
15
|
};
|
|
16
16
|
storeId: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
authorId: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
rating: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
title: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
content: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
status: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
isVerifiedPurchase: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
helpfulCount: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
hasResponse: {
|
|
49
|
-
type:
|
|
49
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
createdAt: {
|
|
53
|
-
type:
|
|
53
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
54
54
|
isOptional: false;
|
|
55
55
|
};
|
|
56
56
|
}>;
|
|
57
57
|
/**
|
|
58
58
|
* Input for creating a review.
|
|
59
59
|
*/
|
|
60
|
-
declare const CreateReviewInputModel:
|
|
60
|
+
declare const CreateReviewInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
61
61
|
productId: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
63
63
|
isOptional: true;
|
|
64
64
|
};
|
|
65
65
|
storeId: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
67
67
|
isOptional: true;
|
|
68
68
|
};
|
|
69
69
|
orderId: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
rating: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
title: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
content: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
83
83
|
isOptional: true;
|
|
84
84
|
};
|
|
85
85
|
}>;
|
|
86
86
|
/**
|
|
87
87
|
* Input for listing reviews.
|
|
88
88
|
*/
|
|
89
|
-
declare const ListReviewsInputModel:
|
|
89
|
+
declare const ListReviewsInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
90
90
|
productId: {
|
|
91
|
-
type:
|
|
91
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
92
92
|
isOptional: true;
|
|
93
93
|
};
|
|
94
94
|
storeId: {
|
|
95
|
-
type:
|
|
95
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
96
96
|
isOptional: true;
|
|
97
97
|
};
|
|
98
98
|
status: {
|
|
99
|
-
type:
|
|
99
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
100
100
|
isOptional: true;
|
|
101
101
|
};
|
|
102
102
|
minRating: {
|
|
103
|
-
type:
|
|
103
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
104
104
|
isOptional: true;
|
|
105
105
|
};
|
|
106
106
|
limit: {
|
|
107
|
-
type:
|
|
107
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
108
108
|
isOptional: true;
|
|
109
109
|
defaultValue: number;
|
|
110
110
|
};
|
|
111
111
|
offset: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
defaultValue: number;
|
|
115
115
|
};
|
|
@@ -117,55 +117,55 @@ declare const ListReviewsInputModel: _contractspec_lib_schema1030.SchemaModel<{
|
|
|
117
117
|
/**
|
|
118
118
|
* Output for listing reviews.
|
|
119
119
|
*/
|
|
120
|
-
declare const ListReviewsOutputModel:
|
|
120
|
+
declare const ListReviewsOutputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
121
121
|
reviews: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
123
123
|
id: {
|
|
124
|
-
type:
|
|
124
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
productId: {
|
|
128
|
-
type:
|
|
128
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
129
129
|
isOptional: true;
|
|
130
130
|
};
|
|
131
131
|
storeId: {
|
|
132
|
-
type:
|
|
132
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
133
133
|
isOptional: true;
|
|
134
134
|
};
|
|
135
135
|
authorId: {
|
|
136
|
-
type:
|
|
136
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
137
137
|
isOptional: false;
|
|
138
138
|
};
|
|
139
139
|
rating: {
|
|
140
|
-
type:
|
|
140
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
title: {
|
|
144
|
-
type:
|
|
144
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
content: {
|
|
148
|
-
type:
|
|
148
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
status: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
isVerifiedPurchase: {
|
|
156
|
-
type:
|
|
156
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
helpfulCount: {
|
|
160
|
-
type:
|
|
160
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
hasResponse: {
|
|
164
|
-
type:
|
|
164
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
createdAt: {
|
|
168
|
-
type:
|
|
168
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
}>;
|
|
@@ -173,15 +173,15 @@ declare const ListReviewsOutputModel: _contractspec_lib_schema1030.SchemaModel<{
|
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
total: {
|
|
176
|
-
type:
|
|
176
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
177
177
|
isOptional: false;
|
|
178
178
|
};
|
|
179
179
|
averageRating: {
|
|
180
|
-
type:
|
|
180
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
ratingDistribution: {
|
|
184
|
-
type:
|
|
184
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
185
185
|
isOptional: false;
|
|
186
186
|
};
|
|
187
187
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.schema.d.ts","names":[],"sources":["../../src/review/review.schema.ts"],"
|
|
1
|
+
{"version":3,"file":"review.schema.d.ts","names":[],"sources":["../../src/review/review.schema.ts"],"mappings":";;;;;;cAMa,WAAA,4BAAW,WAAA;;UAiBtB,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,sBAAA,4BAAsB,WAAA;;UAUjC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,qBAAA,4BAAqB,WAAA;;UAkBhC,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBF;;;AAAA,cAuBa,sBAAA,4BAAsB,WAAA;;;;cAQjC,yBAAA,CAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/seeders/index.ts"],"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/seeders/index.ts"],"mappings":";;;iBAEsB,eAAA,CAAgB,MAAA;EACpC,SAAA;EACA,EAAA,EAAI,YAAA;AAAA,IACL,OAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/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: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { StoreStatusEnum };
|
|
10
10
|
//# sourceMappingURL=store.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.enum.d.ts","names":[],"sources":["../../src/store/store.enum.ts"],"
|
|
1
|
+
{"version":3,"file":"store.enum.d.ts","names":[],"sources":["../../src/store/store.enum.ts"],"mappings":";;;;;;cAKa,eAAA,EAKX,yBAAA,CAL0B,QAAA"}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/store/store.event.d.ts
|
|
5
|
-
declare const StoreCreatedEvent:
|
|
5
|
+
declare const StoreCreatedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
6
6
|
storeId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
name: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
slug: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
ownerId: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
timestamp: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
27
|
-
declare const StoreStatusChangedEvent:
|
|
27
|
+
declare const StoreStatusChangedEvent: _contractspec_lib_contracts0.EventSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
28
28
|
storeId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
previousStatus: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
newStatus: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
reason: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
timestamp: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.event.d.ts","names":[],"sources":["../../src/store/store.event.ts"],"
|
|
1
|
+
{"version":3,"file":"store.event.d.ts","names":[],"sources":["../../src/store/store.event.ts"],"mappings":";;;;cA4Ba,iBAAA,EAAiB,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAU5B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAEW,uBAAA,EAAuB,4BAAA,CAAA,SAAA,2BAAA,WAAA;;UAUlC,yBAAA,CAAA,SAAA"}
|
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/store/store.operations.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new seller store.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateStoreContract:
|
|
8
|
+
declare const CreateStoreContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
email: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
country: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
currency: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
31
31
|
isOptional: true;
|
|
32
32
|
};
|
|
33
|
-
}>,
|
|
33
|
+
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
34
34
|
id: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
name: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
slug: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
description: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
status: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
ownerId: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
logoFileId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
isVerified: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
totalProducts: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
averageRating: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
createdAt: {
|
|
75
|
-
type:
|
|
75
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
76
76
|
isOptional: false;
|
|
77
77
|
};
|
|
78
78
|
}>, {
|
|
79
79
|
key: string;
|
|
80
80
|
version: string;
|
|
81
81
|
when: string;
|
|
82
|
-
payload:
|
|
82
|
+
payload: _contractspec_lib_schema0.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
name: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
slug: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
description: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
status: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
ownerId: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
logoFileId: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
isVerified: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
totalProducts: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
averageRating: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
createdAt: {
|
|
124
|
-
type:
|
|
124
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
125
125
|
isOptional: false;
|
|
126
126
|
};
|
|
127
127
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.operations.d.ts","names":[],"sources":["../../src/store/store.operations.ts"],"
|
|
1
|
+
{"version":3,"file":"store.operations.d.ts","names":[],"sources":["../../src/store/store.operations.ts"],"mappings":";;;;;;;cAQa,mBAAA,+BAAmB,aAAA,2BAAA,WAAA;;UAyC9B,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAzC8B,yBAAA,CAAA,SAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/store/store.presentation.d.ts
|
|
4
|
-
declare const StoreProfilePresentation:
|
|
5
|
-
declare const SellerDashboardPresentation:
|
|
4
|
+
declare const StoreProfilePresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
5
|
+
declare const SellerDashboardPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { SellerDashboardPresentation, StoreProfilePresentation };
|
|
8
8
|
//# sourceMappingURL=store.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.presentation.d.ts","names":[],"sources":["../../src/store/store.presentation.ts"],"
|
|
1
|
+
{"version":3,"file":"store.presentation.d.ts","names":[],"sources":["../../src/store/store.presentation.ts"],"mappings":";;;cAGa,wBAAA,EAuBX,4BAAA,CAvBmC,gBAAA;AAAA,cAyBxB,2BAAA,EAuBX,4BAAA,CAvBsC,gBAAA"}
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/store/store.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A seller store.
|
|
6
6
|
*/
|
|
7
|
-
declare const StoreModel:
|
|
7
|
+
declare const StoreModel: _contractspec_lib_schema0.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
slug: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
description: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
status: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
ownerId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
logoFileId: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
};
|
|
36
36
|
isVerified: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
totalProducts: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
averageRating: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
createdAt: {
|
|
49
|
-
type:
|
|
49
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
50
50
|
isOptional: false;
|
|
51
51
|
};
|
|
52
52
|
}>;
|
|
53
53
|
/**
|
|
54
54
|
* Input for creating a store.
|
|
55
55
|
*/
|
|
56
|
-
declare const CreateStoreInputModel:
|
|
56
|
+
declare const CreateStoreInputModel: _contractspec_lib_schema0.SchemaModel<{
|
|
57
57
|
name: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
slug: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
description: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
67
67
|
isOptional: true;
|
|
68
68
|
};
|
|
69
69
|
email: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
country: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
currency: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.schema.d.ts","names":[],"sources":["../../src/store/store.schema.ts"],"
|
|
1
|
+
{"version":3,"file":"store.schema.d.ts","names":[],"sources":["../../src/store/store.schema.ts"],"mappings":";;;;;;cAMa,UAAA,4BAAU,WAAA;;UAgBrB,yBAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,qBAAA,4BAAqB,WAAA;;UAUhC,yBAAA,CAAA,SAAA"}
|