@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mydoormot/app-types@1.7.15 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
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
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es2021
9
9
  ESM Build start
10
10
  CJS Build start
11
- CJS dist/index.cjs 7.84 KB
12
- CJS ⚡️ Build success in 61ms
13
11
  ESM dist/index.js 6.17 KB
14
12
  ESM ⚡️ Build success in 61ms
13
+ CJS dist/index.cjs 7.84 KB
14
+ CJS ⚡️ Build success in 62ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 686ms
17
- DTS dist/index.d.ts 17.71 KB
18
- DTS dist/index.d.cts 17.71 KB
16
+ DTS ⚡️ Build success in 1296ms
17
+ DTS dist/index.d.ts 17.78 KB
18
+ DTS dist/index.d.cts 17.78 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.17
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified types
8
+
3
9
  ## 1.7.16
4
10
 
5
11
  ### Patch Changes
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.16",
3
+ "version": "1.7.17",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
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
  }