@mydoormot/app-types 1.7.16 → 1.7.17
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +6 -0
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
- package/src/invoice.ts +5 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mydoormot/app-types@1.7.
|
|
2
|
+
> @mydoormot/app-types@1.7.16 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: es2021
|
|
9
9
|
[34mESM[39m Build start
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m7.84 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 61ms
|
|
13
11
|
[32mESM[39m [1mdist/index.js [22m[32m6.17 KB[39m
|
|
14
12
|
[32mESM[39m ⚡️ Build success in 61ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m7.84 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 62ms
|
|
15
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m17.
|
|
18
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m17.
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 1296ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m17.78 KB[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m17.78 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -164,18 +164,20 @@ interface Invoice {
|
|
|
164
164
|
createdAt: string;
|
|
165
165
|
updatedAt: string;
|
|
166
166
|
customerDetails?: Customer;
|
|
167
|
+
paidErrandsCount?: number;
|
|
168
|
+
unpaidErrandsCount?: number;
|
|
167
169
|
}
|
|
168
170
|
interface InvoiceItem {
|
|
169
171
|
id: string;
|
|
170
172
|
invoiceId: string;
|
|
171
173
|
itemType: InvoiceItemType | `${InvoiceItemType}`;
|
|
172
174
|
itemId: string;
|
|
173
|
-
item: Errand;
|
|
174
175
|
amount: number;
|
|
175
176
|
description: string;
|
|
176
177
|
date: string;
|
|
177
178
|
createdAt: string;
|
|
178
179
|
updatedAt: string;
|
|
180
|
+
itemDetails?: Errand;
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
type Rider = {
|
package/dist/index.d.ts
CHANGED
|
@@ -164,18 +164,20 @@ interface Invoice {
|
|
|
164
164
|
createdAt: string;
|
|
165
165
|
updatedAt: string;
|
|
166
166
|
customerDetails?: Customer;
|
|
167
|
+
paidErrandsCount?: number;
|
|
168
|
+
unpaidErrandsCount?: number;
|
|
167
169
|
}
|
|
168
170
|
interface InvoiceItem {
|
|
169
171
|
id: string;
|
|
170
172
|
invoiceId: string;
|
|
171
173
|
itemType: InvoiceItemType | `${InvoiceItemType}`;
|
|
172
174
|
itemId: string;
|
|
173
|
-
item: Errand;
|
|
174
175
|
amount: number;
|
|
175
176
|
description: string;
|
|
176
177
|
date: string;
|
|
177
178
|
createdAt: string;
|
|
178
179
|
updatedAt: string;
|
|
180
|
+
itemDetails?: Errand;
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
type Rider = {
|
package/package.json
CHANGED
package/src/invoice.ts
CHANGED
|
@@ -42,6 +42,8 @@ export interface Invoice {
|
|
|
42
42
|
updatedAt: string;
|
|
43
43
|
|
|
44
44
|
customerDetails?: Customer;
|
|
45
|
+
paidErrandsCount?: number;
|
|
46
|
+
unpaidErrandsCount?: number;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
export interface InvoiceItem {
|
|
@@ -49,10 +51,12 @@ export interface InvoiceItem {
|
|
|
49
51
|
invoiceId: string;
|
|
50
52
|
itemType: InvoiceItemType | `${InvoiceItemType}`;
|
|
51
53
|
itemId: string;
|
|
52
|
-
item: Errand;
|
|
54
|
+
// item: Errand;
|
|
53
55
|
amount: number;
|
|
54
56
|
description: string;
|
|
55
57
|
date: string;
|
|
56
58
|
createdAt: string;
|
|
57
59
|
updatedAt: string;
|
|
60
|
+
|
|
61
|
+
itemDetails?: Errand;
|
|
58
62
|
}
|