@mydoormot/app-types 1.1.2 → 1.1.3

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.
@@ -6,8 +6,8 @@ CLI tsup v7.2.0
6
6
  CLI Target: node16
7
7
  CJS Build start
8
8
  CJS dist/index.js 4.42 KB
9
- CJS ⚡️ Build success in 81ms
9
+ CJS ⚡️ Build success in 92ms
10
10
  DTS Build start
11
- DTS ⚡️ Build success in 3187ms
12
- DTS dist/index.d.ts 7.72 KB
13
- Done in 4.76s.
11
+ DTS ⚡️ Build success in 1800ms
12
+ DTS dist/index.d.ts 7.92 KB
13
+ Done in 3.55s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Added rating to errand
8
+
3
9
  ## 1.1.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -219,8 +219,17 @@ interface Rider {
219
219
  currLocation?: {
220
220
  coordinates: number[];
221
221
  };
222
- active: boolean;
223
222
  name?: string;
223
+ vehicle: string;
224
+ vehicleNumber: string;
225
+ verified: boolean;
226
+ active: boolean;
227
+ updatedAt: Date;
228
+ createdAt: Date;
229
+ rating?: number;
230
+ hasBeenRated: boolean;
231
+ enterprise: string;
232
+ isTracking: boolean;
224
233
  }
225
234
  interface ActiveRider {
226
235
  _id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/src/errand.ts CHANGED
@@ -189,8 +189,17 @@ export interface Rider {
189
189
  currLocation?: {
190
190
  coordinates: number[];
191
191
  };
192
- active: boolean;
193
192
  name?: string;
193
+ vehicle: string;
194
+ vehicleNumber: string;
195
+ verified: boolean;
196
+ active: boolean;
197
+ updatedAt: Date;
198
+ createdAt: Date;
199
+ rating?: number;
200
+ hasBeenRated: boolean; // NOTE: This tells app if the rider has an existing rating
201
+ enterprise: string;
202
+ isTracking: boolean;
194
203
  }
195
204
 
196
205
  export interface ActiveRider {