@mydoormot/app-types 1.3.2 → 1.3.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mydoormot/app-types@1.3.1 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.3.2 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
3
3
  > tsup src/index.ts --format cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,7 +8,7 @@ CLI tsup v7.2.0
8
8
  CLI Target: es2021
9
9
  CJS Build start
10
10
  CJS dist/index.cjs 5.86 KB
11
- CJS ⚡️ Build success in 57ms
11
+ CJS ⚡️ Build success in 160ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 848ms
14
- DTS dist/index.d.cts 11.50 KB
13
+ DTS ⚡️ Build success in 574ms
14
+ DTS dist/index.d.cts 11.53 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed address coordinates for business types
8
+
3
9
  ## 1.3.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -429,7 +429,10 @@ interface Business {
429
429
  officeNumber: string;
430
430
  categoryId: string;
431
431
  address: string | NullOrUndefined;
432
- addressCoordinates: number[] | NullOrUndefined | [number, number];
432
+ addressCoordinates: number[] | NullOrUndefined | {
433
+ x: number;
434
+ y: number;
435
+ };
433
436
  loggedIn: boolean | NullOrUndefined;
434
437
  slug: string;
435
438
  verified: boolean | NullOrUndefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "",
5
5
  "mains": "./dist/index.js",
6
6
  "typess": "./dist/index.d.ts",
package/src/business.ts CHANGED
@@ -11,7 +11,13 @@ export interface Business {
11
11
  categoryId: string;
12
12
 
13
13
  address: string | NullOrUndefined;
14
- addressCoordinates: number[] | NullOrUndefined | [number, number];
14
+ addressCoordinates:
15
+ | number[]
16
+ | NullOrUndefined
17
+ | {
18
+ x: number;
19
+ y: number;
20
+ };
15
21
  loggedIn: boolean | NullOrUndefined;
16
22
 
17
23
  slug: string;