@deallony/shared 1.0.78 → 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.
@@ -1,10 +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
9
  export type IService = ServiceType;
10
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;
@@ -3,6 +3,7 @@ export * as AdLocation from './AdLocationType';
3
3
  export * as Motor from './MotorType';
4
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';
@@ -3,6 +3,7 @@ export * as AdLocation from './AdLocationType';
3
3
  export * as Motor from './MotorType';
4
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.78",
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",