@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.
- package/dist/types/AdType.d.ts +1 -0
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +5 -5
- package/dist/types/product/ProductCategoryType.d.ts +15 -15
- package/dist/types/product/ProductCategoryType.js +1 -1
- package/dist/types/product/UsedProductAge.d.ts +7 -7
- package/dist/types/product/UsedProductAge.js +1 -1
- package/dist/types/product/UsedProductCondation.d.ts +7 -7
- package/dist/types/product/UsedProductCondation.js +1 -1
- package/dist/types/product/UsedProductType.d.ts +6 -6
- package/dist/types/product/UsedProductType.js +2 -2
- package/package.json +3 -2
- package/dist/types/AdminBoundary.d.ts +0 -17
- package/dist/types/AdminBoundary.js +0 -1
package/dist/types/AdType.d.ts
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/types/index.js
CHANGED
|
@@ -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.
|
|
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
|
-
"
|
|
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 {};
|