@deallony/shared 1.0.49 → 1.0.51
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 +2 -2
- package/dist/types/AppStartScreenType.d.ts +2 -2
- package/dist/types/CategoryType.d.ts +2 -2
- package/dist/types/MediaType.d.ts +1 -1
- package/dist/types/ServiceType.d.ts +0 -2
- package/dist/types/SocialMediaPlatformType.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/product/UsedProductType.js +1 -0
- package/package.json +4 -3
package/dist/types/AdType.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AdPromotionType } from "./AdPromotionType";
|
|
2
|
-
import {
|
|
2
|
+
import { IMedia } from "./MediaType";
|
|
3
3
|
import { MotorType } from "./MotorType";
|
|
4
4
|
import { UsedProductType } from "./product/UsedProductType";
|
|
5
5
|
import { PropertyType } from "./PropertyType";
|
|
@@ -30,7 +30,7 @@ export type IAd = {
|
|
|
30
30
|
} | null;
|
|
31
31
|
selected_phone: string | null;
|
|
32
32
|
user?: UserType;
|
|
33
|
-
media?:
|
|
33
|
+
media?: IMedia[];
|
|
34
34
|
subject_type?: SubjectTableType;
|
|
35
35
|
promotions?: AdPromotionType[];
|
|
36
36
|
property?: PropertyType;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IMedia } from "./MediaType";
|
|
2
2
|
export type AppStartScreenType = {
|
|
3
3
|
id?: number;
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
created_at?: string;
|
|
7
7
|
updated_at?: string;
|
|
8
|
-
media:
|
|
8
|
+
media: IMedia;
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CategoryWorkTypeType } from "./CategoryWorkTypeType";
|
|
2
|
-
import {
|
|
2
|
+
import { IMedia } from "./MediaType";
|
|
3
3
|
import { SubjectTableType } from "./SubjectType";
|
|
4
4
|
export type CategoryType = {
|
|
5
5
|
id?: number;
|
|
@@ -13,5 +13,5 @@ export type CategoryType = {
|
|
|
13
13
|
should_validate?: boolean;
|
|
14
14
|
type?: SubjectTableType;
|
|
15
15
|
props?: Record<string, any>;
|
|
16
|
-
media:
|
|
16
|
+
media: IMedia;
|
|
17
17
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { MediaType } from "./MediaType";
|
|
2
1
|
import { ServiceLocationType } from "./ServicesLocationsType";
|
|
3
2
|
export type ServiceType = {
|
|
4
3
|
id?: number;
|
|
@@ -8,5 +7,4 @@ export type ServiceType = {
|
|
|
8
7
|
access_type_id: number | null;
|
|
9
8
|
work_type_id: number | null;
|
|
10
9
|
locations: ServiceLocationType[];
|
|
11
|
-
media: MediaType[];
|
|
12
10
|
};
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deallony/shared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.51",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,10 +8,11 @@
|
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
+
"login": "npm login",
|
|
12
|
+
"deploy": "node scripts/publish.js",
|
|
13
|
+
"========": "============ DEFAULT ============",
|
|
11
14
|
"build": "tsc",
|
|
12
15
|
"watch": "tsc --watch",
|
|
13
|
-
"deploy": "node scripts/publish.js",
|
|
14
|
-
"deploy:login": "npm login",
|
|
15
16
|
"deploy:publish": "npm publish --access public"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|