@mydoormot/app-types 1.1.0 → 1.1.1

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 91ms
9
+ CJS ⚡️ Build success in 141ms
10
10
  DTS Build start
11
- DTS ⚡️ Build success in 1371ms
12
- DTS dist/index.d.ts 7.67 KB
13
- Done in 2.37s.
11
+ DTS ⚡️ Build success in 2013ms
12
+ DTS dist/index.d.ts 7.71 KB
13
+ Done in 4.06s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Add latlng
8
+
3
9
  ## 1.1.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -323,6 +323,7 @@ type State = {
323
323
  updatedAt: Date;
324
324
  createdAt: Date;
325
325
  };
326
+ type LatLng = `${number},${number}`;
326
327
 
327
328
  interface PaginateResult<T> {
328
329
  docs: T[];
@@ -340,4 +341,4 @@ interface PaginateResult<T> {
340
341
  [customLabel: string]: T[] | number | boolean | null | undefined;
341
342
  }
342
343
 
343
- export { ActiveRider, AddressDetails, AddressTypes, AggragatedErrand, AuthType, City, DeliveryStatus, Errand, ErrandRating, ErrandStatus, ErrandTimeline, Invoice, InvoiceStatus, PaginateResult, ParcelSize, PaymentOptions, PendingErrand, Rider, RoleType, State, User, UserAddress, errandTimeline };
344
+ export { ActiveRider, AddressDetails, AddressTypes, AggragatedErrand, AuthType, City, DeliveryStatus, Errand, ErrandRating, ErrandStatus, ErrandTimeline, Invoice, InvoiceStatus, LatLng, PaginateResult, ParcelSize, PaymentOptions, PendingErrand, Rider, RoleType, State, User, UserAddress, errandTimeline };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/src/location.ts CHANGED
@@ -28,3 +28,5 @@ export type State = {
28
28
  updatedAt: Date;
29
29
  createdAt: Date;
30
30
  };
31
+
32
+ export type LatLng = `${number},${number}`;