@mydoormot/app-types 1.7.4 → 1.7.5

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.3 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.4 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
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  ESM dist/index.js 6.17 KB
12
- ESM ⚡️ Build success in 57ms
12
+ ESM ⚡️ Build success in 510ms
13
13
  CJS dist/index.cjs 7.84 KB
14
- CJS ⚡️ Build success in 58ms
14
+ CJS ⚡️ Build success in 510ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 705ms
17
- DTS dist/index.d.ts 17.59 KB
18
- DTS dist/index.d.cts 17.59 KB
16
+ DTS ⚡️ Build success in 2785ms
17
+ DTS dist/index.d.ts 17.61 KB
18
+ DTS dist/index.d.cts 17.61 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified state and city types
8
+
3
9
  ## 1.7.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  type City = {
2
2
  id: string;
3
- state: string | State;
3
+ stateId: string;
4
+ stateDetails?: State;
4
5
  name: string;
5
6
  slug: string;
6
7
  location: {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  type City = {
2
2
  id: string;
3
- state: string | State;
3
+ stateId: string;
4
+ stateDetails?: State;
4
5
  name: string;
5
6
  slug: string;
6
7
  location: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/location.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export type City = {
2
2
  id: string;
3
- state: string | State;
3
+ stateId: string;
4
+ stateDetails?: State;
4
5
  name: string;
5
6
  slug: string;
6
7
  location: {
@@ -13,7 +14,6 @@ export type City = {
13
14
  version: number;
14
15
  isRiderActive: boolean;
15
16
  isPropertyActive: boolean;
16
-
17
17
  errandPrice?: number;
18
18
  };
19
19