@deallony/shared 1.0.60 → 1.0.62

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.
@@ -44,6 +44,7 @@ export type GetAdsFilterDto = {
44
44
  ids?: number[];
45
45
  city_id?: number;
46
46
  district_ids?: number[];
47
+ boundary_ids?: number[];
47
48
  category_id?: number;
48
49
  user_id?: number;
49
50
  subject_type?: SubjectType;
@@ -1,5 +1,5 @@
1
- export * as Ad from './AdType';
2
- export * as AdminBoundary from './AdminBoundaryType';
3
- export * as Media from './MediaType';
4
- export * from './PropertyTypeType';
5
- export * as Google from './GoogleType';
1
+ export * as Ad from './AdType';
2
+ export * as AdminBoundary from './AdminBoundaryType';
3
+ export * as Media from './MediaType';
4
+ export * from './PropertyTypeType';
5
+ export * as Google from './GoogleType';
@@ -1,5 +1,5 @@
1
- export * as Ad from './AdType';
2
- export * as AdminBoundary from './AdminBoundaryType';
3
- export * as Media from './MediaType';
4
- export * from './PropertyTypeType';
5
- export * as Google from './GoogleType';
1
+ export * as Ad from './AdType';
2
+ export * as AdminBoundary from './AdminBoundaryType';
3
+ export * as Media from './MediaType';
4
+ export * from './PropertyTypeType';
5
+ export * as Google from './GoogleType';
@@ -1,15 +1,15 @@
1
- import { MediaType } from "../MediaType";
2
- export type ProductCategoryType = {
3
- id?: number;
4
- parent_id: number | null;
5
- name: string;
6
- media?: MediaType;
7
- created_at: string;
8
- updated_at: string;
9
- parent?: ProductCategoryType;
10
- isBranch?: boolean;
11
- children?: ProductCategoryType[];
12
- savedBy?: {
13
- id: number;
14
- };
15
- };
1
+ import { MediaType } from "../MediaType";
2
+ export type ProductCategoryType = {
3
+ id?: number;
4
+ parent_id: number | null;
5
+ name: string;
6
+ media?: MediaType;
7
+ created_at: string;
8
+ updated_at: string;
9
+ parent?: ProductCategoryType;
10
+ isBranch?: boolean;
11
+ children?: ProductCategoryType[];
12
+ savedBy?: {
13
+ id: number;
14
+ };
15
+ };
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,7 +1,7 @@
1
- import { SubjectTableType } from "../SubjectType";
2
- export type UsedProductAgeType = {
3
- id?: number;
4
- name: string;
5
- description?: string;
6
- subject_type?: SubjectTableType;
7
- };
1
+ import { SubjectTableType } from "../SubjectType";
2
+ export type UsedProductAgeType = {
3
+ id?: number;
4
+ name: string;
5
+ description?: string;
6
+ subject_type?: SubjectTableType;
7
+ };
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,7 +1,7 @@
1
- import { SubjectTableType } from "../SubjectType";
2
- export type UsedProductConditionType = {
3
- id?: number;
4
- name: string;
5
- description?: string;
6
- subject_type?: SubjectTableType;
7
- };
1
+ import { SubjectTableType } from "../SubjectType";
2
+ export type UsedProductConditionType = {
3
+ id?: number;
4
+ name: string;
5
+ description?: string;
6
+ subject_type?: SubjectTableType;
7
+ };
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,6 +1,6 @@
1
- export type UsedProductType = {
2
- id?: number;
3
- condition_id: number;
4
- age_id?: number;
5
- isFree?: boolean;
6
- };
1
+ export type UsedProductType = {
2
+ id?: number;
3
+ condition_id: number;
4
+ age_id?: number;
5
+ isFree?: boolean;
6
+ };
@@ -1,2 +1,2 @@
1
- // import { IMedia } from "../MediaType";
2
- export {};
1
+ // import { IMedia } from "../MediaType";
2
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.0.60",
3
+ "version": "1.0.62",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,8 @@
11
11
  "login": "npm login",
12
12
  "deploy": "node scripts/publish.js",
13
13
  "=========": "============= UPDATE APPS LIBRARY =============",
14
- "mobile:update": "cd ../deallony && npm install @deallony/shared@latest",
14
+ "all:update": "npm run mobile:update",
15
+ "mobile:update": "cd ../app && npm install @deallony/shared@latest",
15
16
  "========": "============ DEFAULT ============",
16
17
  "build": "tsc",
17
18
  "watch": "tsc --watch",
@@ -1,17 +0,0 @@
1
- export type AdminBoundary = {
2
- id: number;
3
- parentId?: number | null;
4
- active?: boolean;
5
- checked?: boolean;
6
- osmId?: number | null;
7
- adminLevel?: number | null;
8
- path?: string | null;
9
- normalizedLevel?: number | null;
10
- name?: string | null;
11
- nameEn?: string | null;
12
- boundary?: string | null;
13
- adminCentreNodeId?: number | null;
14
- adminCentreNodeLat?: number | null;
15
- adminCentreNodeLng?: number | null;
16
- geometry?: any | null;
17
- };
@@ -1 +0,0 @@
1
- export {};