@mydoormot/app-types 1.3.1 → 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.0 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 51ms
11
+ CJS ⚡️ Build success in 160ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 578ms
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,17 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed address coordinates for business types
8
+
9
+ ## 1.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: type originalLogoUrl
14
+
3
15
  ## 1.3.1
4
16
 
5
17
  ### 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;
@@ -437,7 +440,7 @@ interface Business {
437
440
  registrationCompleted: boolean | NullOrUndefined;
438
441
  stateId: string | NullOrUndefined;
439
442
  cityId: string | NullOrUndefined;
440
- orginalLogoUrl: string | NullOrUndefined;
443
+ originalLogoUrl: string | NullOrUndefined;
441
444
  logoUrl: string | NullOrUndefined;
442
445
  logoBlurHash: string | NullOrUndefined;
443
446
  coverImageUrl: string | NullOrUndefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.3.1",
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;
@@ -21,7 +27,7 @@ export interface Business {
21
27
  stateId: string | NullOrUndefined;
22
28
  cityId: string | NullOrUndefined;
23
29
 
24
- orginalLogoUrl: string | NullOrUndefined;
30
+ originalLogoUrl: string | NullOrUndefined;
25
31
  logoUrl: string | NullOrUndefined;
26
32
  logoBlurHash: string | NullOrUndefined;
27
33