@mydoormot/app-types 1.1.0 → 1.1.2
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.
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +3 -2
- package/package.json +1 -1
- package/src/location.ts +3 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -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
|
|
9
|
+
CJS ⚡️ Build success in 81ms
|
|
10
10
|
DTS Build start
|
|
11
|
-
DTS ⚡️ Build success in
|
|
12
|
-
DTS dist/index.d.ts 7.
|
|
13
|
-
Done in
|
|
11
|
+
DTS ⚡️ Build success in 3187ms
|
|
12
|
+
DTS dist/index.d.ts 7.72 KB
|
|
13
|
+
Done in 4.76s.
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -297,7 +297,7 @@ type AddressDetails = {
|
|
|
297
297
|
|
|
298
298
|
type City = {
|
|
299
299
|
id: string;
|
|
300
|
-
state: string;
|
|
300
|
+
state: string | State;
|
|
301
301
|
name: string;
|
|
302
302
|
slug: string;
|
|
303
303
|
location: {
|
|
@@ -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
package/src/location.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type City = {
|
|
2
2
|
id: string;
|
|
3
|
-
state: string;
|
|
3
|
+
state: string | State;
|
|
4
4
|
name: string;
|
|
5
5
|
slug: string;
|
|
6
6
|
location: {
|
|
@@ -28,3 +28,5 @@ export type State = {
|
|
|
28
28
|
updatedAt: Date;
|
|
29
29
|
createdAt: Date;
|
|
30
30
|
};
|
|
31
|
+
|
|
32
|
+
export type LatLng = `${number},${number}`;
|