@deallony/shared 1.0.77 → 1.0.80

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.
@@ -21,4 +21,5 @@ export type MotorType = {
21
21
  price_type_id?: number;
22
22
  seats_count: number | null;
23
23
  };
24
+ export type IMotor = MotorType;
24
25
  export declare const emptyMotor: MotorType;
@@ -25,6 +25,7 @@ export type PropertyType = {
25
25
  furnished?: boolean;
26
26
  parking?: boolean;
27
27
  };
28
+ export type IProperty = PropertyType;
28
29
  export type PropertyFacilitiesType = {
29
30
  distance_in_meters: number;
30
31
  facility_id: number;
@@ -1,9 +1,10 @@
1
- import { ServiceLocationType } from "./ServicesLocationsType";
1
+ import { IServiceLocation } from "./ServicesLocationsType";
2
2
  export type ServiceType = {
3
3
  id?: number;
4
4
  unit_id: number | null;
5
5
  access_type_id: number | null;
6
6
  work_type_id: number | null;
7
- locations: ServiceLocationType[];
7
+ locations: IServiceLocation[];
8
8
  };
9
+ export type IService = ServiceType;
9
10
  export declare const emptyService: ServiceType;
@@ -1,4 +1,4 @@
1
- export type ServiceLocationType = {
1
+ export type IServiceLocation = {
2
2
  id?: number;
3
3
  service_id?: number;
4
4
  district_id?: number;
@@ -5,4 +5,5 @@ export type UsedProductType = {
5
5
  isDeliveryAvailable: undefined;
6
6
  product_type_id: undefined;
7
7
  };
8
+ export type IProduct = UsedProductType;
8
9
  export declare const emptyUsedProduct: UsedProductType;
@@ -1,8 +1,9 @@
1
1
  export * as Ad from './AdType';
2
2
  export * as AdLocation from './AdLocationType';
3
3
  export * as Motor from './MotorType';
4
- export * as Property from './PropertyTypeType';
4
+ export * as Property from './PropertyType';
5
5
  export * as Service from './ServiceType';
6
+ export * as LegacyServiceLocation from './ServicesLocationsType';
6
7
  export * as Product from './UsedProductType';
7
8
  export * as SubjectTable from './SubjectType';
8
9
  export * as AdminBoundary from './AdminBoundaryType';
@@ -1,8 +1,9 @@
1
1
  export * as Ad from './AdType';
2
2
  export * as AdLocation from './AdLocationType';
3
3
  export * as Motor from './MotorType';
4
- export * as Property from './PropertyTypeType';
4
+ export * as Property from './PropertyType';
5
5
  export * as Service from './ServiceType';
6
+ export * as LegacyServiceLocation from './ServicesLocationsType';
6
7
  export * as Product from './UsedProductType';
7
8
  export * as SubjectTable from './SubjectType';
8
9
  export * as AdminBoundary from './AdminBoundaryType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.0.77",
3
+ "version": "1.0.80",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  "all:update": "npm run mobile:update && npm run backend:update",
15
15
  "mobile:update": "cd ../app && npm install @deallony/shared@latest",
16
16
  "backend:update": "cd ../backend-service-marketplace && pnpm install @deallony/shared@latest",
17
- "dashboard:update": "cd ../frontend-react-aloo && pnpm install @deallony/shared@latest",
17
+ "dashboard:update": "cd ../frontend-react-aloo && pnpm uninstall @deallony/shared && pnpm install @deallony/shared@latest",
18
18
  "current": "npm view @deallony/shared version",
19
19
  "========": "============ DEFAULT ============",
20
20
  "build": "tsc",