@deallony/shared 1.1.76 → 1.1.77
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/cjs/abstract/index.d.ts +1 -0
- package/dist/cjs/abstract/index.js +17 -0
- package/dist/cjs/constants/events/Event.d.ts +2 -2
- package/dist/cjs/constants/events/EventTimeline.d.ts +2 -0
- package/dist/cjs/constants/events/EventTimeline.js +8 -0
- package/dist/cjs/constants/events/EventWedding.d.ts +2 -2
- package/dist/cjs/constants/events/index.d.ts +1 -0
- package/dist/cjs/constants/events/index.js +1 -0
- package/dist/cjs/dto/common/localizedName.dto.d.ts +2 -4
- package/dist/cjs/dto/common/localizedName.dto.js +0 -6
- package/dist/cjs/dto/events/Event.dto.d.ts +1 -152
- package/dist/cjs/dto/events/Event.dto.js +0 -25
- package/dist/cjs/dto/events/EventTimeline.dto.d.ts +1 -53
- package/dist/cjs/dto/events/EventTimeline.dto.js +0 -28
- package/dist/cjs/dto/events/EventWedding.dto.d.ts +1 -58
- package/dist/cjs/dto/events/EventWedding.dto.js +0 -32
- package/dist/cjs/dto/events/index.d.ts +0 -1
- package/dist/cjs/index.d.ts +3 -5
- package/dist/cjs/index.js +46 -9
- package/dist/cjs/schema/ad/index.d.ts +1 -0
- package/dist/cjs/schema/ad/index.js +17 -0
- package/dist/cjs/schema/ad/save-ad.schema.d.ts +88 -0
- package/dist/cjs/schema/ad/save-ad.schema.js +37 -0
- package/dist/cjs/schema/common/index.d.ts +1 -0
- package/dist/cjs/schema/common/index.js +17 -0
- package/dist/cjs/schema/common/localizedName.schema.d.ts +5 -0
- package/dist/cjs/schema/common/localizedName.schema.js +8 -0
- package/dist/cjs/schema/events/Event.schema.d.ts +138 -0
- package/dist/cjs/schema/events/Event.schema.js +27 -0
- package/dist/cjs/schema/events/EventTimeline.schema.d.ts +46 -0
- package/dist/cjs/schema/events/EventTimeline.schema.js +25 -0
- package/dist/cjs/schema/events/EventWedding.schema.d.ts +47 -0
- package/dist/cjs/schema/events/EventWedding.schema.js +25 -0
- package/dist/cjs/schema/events/index.d.ts +3 -0
- package/dist/cjs/schema/events/index.js +19 -0
- package/dist/cjs/schema/index.d.ts +3 -0
- package/dist/cjs/schema/index.js +39 -0
- package/dist/cjs/types/events/Event.d.ts +5 -2
- package/dist/cjs/types/events/Event.js +0 -11
- package/dist/cjs/types/events/EventTimeline.d.ts +11 -0
- package/dist/cjs/types/events/EventTimeline.js +2 -0
- package/dist/cjs/types/events/EventWedding.d.ts +4 -4
- package/dist/cjs/types/events/EventWedding.js +0 -7
- package/dist/cjs/types/events/index.d.ts +1 -2
- package/dist/cjs/types/events/index.js +1 -2
- package/dist/cjs/types/index.d.ts +3 -2
- package/dist/cjs/types/index.js +8 -4
- package/dist/cjs/utils/index.d.ts +1 -0
- package/dist/cjs/utils/index.js +17 -0
- package/dist/esm/abstract/index.js +1 -0
- package/dist/esm/constants/events/EventTimeline.js +5 -0
- package/dist/esm/constants/events/index.js +5 -4
- package/dist/esm/constants/index.js +1 -1
- package/dist/esm/dto/common/localizedName.dto.js +1 -5
- package/dist/esm/dto/events/Event.dto.js +1 -24
- package/dist/esm/dto/events/EventTimeline.dto.js +1 -27
- package/dist/esm/dto/events/EventWedding.dto.js +1 -31
- package/dist/esm/dto/events/index.js +3 -3
- package/dist/esm/dto/index.js +2 -2
- package/dist/esm/index.js +48 -7
- package/dist/esm/schema/ad/index.js +1 -0
- package/dist/esm/schema/ad/save-ad.schema.js +34 -0
- package/dist/esm/schema/common/index.js +1 -0
- package/dist/esm/schema/common/localizedName.schema.js +5 -0
- package/dist/esm/schema/events/Event.schema.js +24 -0
- package/dist/esm/schema/events/EventTimeline.schema.js +22 -0
- package/dist/esm/schema/events/EventWedding.schema.js +22 -0
- package/dist/esm/schema/events/index.js +3 -0
- package/dist/esm/schema/index.js +3 -0
- package/dist/esm/types/ad/Ad.js +4 -4
- package/dist/esm/types/ad/index.js +3 -3
- package/dist/esm/types/ad-common/index.js +6 -6
- package/dist/esm/types/attributes/index.js +4 -4
- package/dist/esm/types/common/index.js +5 -5
- package/dist/esm/types/communication/index.js +5 -5
- package/dist/esm/types/events/Event.js +1 -10
- package/dist/esm/types/events/EventTimeline.js +1 -0
- package/dist/esm/types/events/EventWedding.js +1 -6
- package/dist/esm/types/events/index.js +1 -2
- package/dist/esm/types/geo/index.js +3 -3
- package/dist/esm/types/index.js +60 -56
- package/dist/esm/types/integrations/index.js +1 -1
- package/dist/esm/types/media/index.js +4 -4
- package/dist/esm/types/motor/index.js +6 -6
- package/dist/esm/types/property/index.js +5 -5
- package/dist/esm/types/service/index.js +4 -4
- package/dist/esm/types/used-product/index.js +1 -1
- package/dist/esm/types/user/index.js +5 -5
- package/dist/esm/utils/index.js +1 -0
- package/package.json +2 -2
package/dist/esm/types/index.js
CHANGED
|
@@ -1,66 +1,70 @@
|
|
|
1
|
+
// ==========================================
|
|
2
|
+
// Domain Model / Entity Type
|
|
3
|
+
// ==========================================
|
|
1
4
|
// common
|
|
2
|
-
export * as LocalizedName from "./common/LocalizedName";
|
|
3
|
-
export * as Response from "./common/Response";
|
|
4
|
-
export * as Subject from "./common/Subject";
|
|
5
|
-
export * as Status from "./common/Status";
|
|
6
|
-
export * as AccessType from "./service/AccessType";
|
|
7
|
-
export * as Config from "./common/Config";
|
|
8
|
-
export * as FilterParams from "./common/FilterParams";
|
|
5
|
+
export * as LocalizedName from "./common/LocalizedName.js";
|
|
6
|
+
export * as Response from "./common/Response.js";
|
|
7
|
+
export * as Subject from "./common/Subject.js";
|
|
8
|
+
export * as Status from "./common/Status.js";
|
|
9
|
+
export * as AccessType from "./service/AccessType.js";
|
|
10
|
+
export * as Config from "./common/Config.js";
|
|
11
|
+
export * as FilterParams from "./common/FilterParams.js";
|
|
9
12
|
// listings
|
|
10
|
-
export * as Ad from "./ad/Ad";
|
|
11
|
-
export * as AdLocation from "./ad/AdLocation";
|
|
12
|
-
export * as AdPromotion from "./ad/AdPromotion";
|
|
13
|
-
export * as Motor from "./motor/Motor";
|
|
14
|
-
export * as MotorTrim from "./motor/MotorTrim";
|
|
15
|
-
export * as Property from "./property/Property";
|
|
16
|
-
export * as PropertySubType from "./property/PropertySubType";
|
|
17
|
-
export * as Service from "./service/Service";
|
|
18
|
-
export * as UsedProduct from "./used-product/UsedProduct";
|
|
13
|
+
export * as Ad from "./ad/Ad.js";
|
|
14
|
+
export * as AdLocation from "./ad/AdLocation.js";
|
|
15
|
+
export * as AdPromotion from "./ad/AdPromotion.js";
|
|
16
|
+
export * as Motor from "./motor/Motor.js";
|
|
17
|
+
export * as MotorTrim from "./motor/MotorTrim.js";
|
|
18
|
+
export * as Property from "./property/Property.js";
|
|
19
|
+
export * as PropertySubType from "./property/PropertySubType.js";
|
|
20
|
+
export * as Service from "./service/Service.js";
|
|
21
|
+
export * as UsedProduct from "./used-product/UsedProduct.js";
|
|
19
22
|
// attributes
|
|
20
|
-
export * as CarBody from "./motor/CarBody";
|
|
21
|
-
export * as Category from "./attributes/Category";
|
|
22
|
-
export * as CategoryWorkType from "./attributes/CategoryWorkType";
|
|
23
|
-
export * as Color from "./attributes/Color";
|
|
24
|
-
export * as Currency from "./attributes/Currency";
|
|
25
|
-
export * as Facility from "./property/Facility";
|
|
26
|
-
export * as Feature from "./ad-common/Feature";
|
|
27
|
-
export * as FuelType from "./motor/FuelType";
|
|
28
|
-
export * as LicenseType from "./property/LicenseType";
|
|
29
|
-
export * as OfferType from "./ad-common/OfferType";
|
|
30
|
-
export * as PriceType from "./ad-common/PriceType";
|
|
31
|
-
export * as PropertyStatus from "./property/PropertyStatus";
|
|
32
|
-
export * as PublisherType from "./ad-common/PublisherType";
|
|
33
|
-
export * as RegionalSpec from "./motor/RegionalSpec";
|
|
34
|
-
export * as Transmission from "./motor/Transmission";
|
|
35
|
-
export * as Unit from "./service/Unit";
|
|
36
|
-
export * as UsedProductAge from "./ad-common/UsedProductAge";
|
|
37
|
-
export * as UsedProductCondition from "./ad-common/UsedProductCondition";
|
|
38
|
-
export * as WorkType from "./service/WorkType";
|
|
23
|
+
export * as CarBody from "./motor/CarBody.js";
|
|
24
|
+
export * as Category from "./attributes/Category.js";
|
|
25
|
+
export * as CategoryWorkType from "./attributes/CategoryWorkType.js";
|
|
26
|
+
export * as Color from "./attributes/Color.js";
|
|
27
|
+
export * as Currency from "./attributes/Currency.js";
|
|
28
|
+
export * as Facility from "./property/Facility.js";
|
|
29
|
+
export * as Feature from "./ad-common/Feature.js";
|
|
30
|
+
export * as FuelType from "./motor/FuelType.js";
|
|
31
|
+
export * as LicenseType from "./property/LicenseType.js";
|
|
32
|
+
export * as OfferType from "./ad-common/OfferType.js";
|
|
33
|
+
export * as PriceType from "./ad-common/PriceType.js";
|
|
34
|
+
export * as PropertyStatus from "./property/PropertyStatus.js";
|
|
35
|
+
export * as PublisherType from "./ad-common/PublisherType.js";
|
|
36
|
+
export * as RegionalSpec from "./motor/RegionalSpec.js";
|
|
37
|
+
export * as Transmission from "./motor/Transmission.js";
|
|
38
|
+
export * as Unit from "./service/Unit.js";
|
|
39
|
+
export * as UsedProductAge from "./ad-common/UsedProductAge.js";
|
|
40
|
+
export * as UsedProductCondition from "./ad-common/UsedProductCondition.js";
|
|
41
|
+
export * as WorkType from "./service/WorkType.js";
|
|
39
42
|
// geo
|
|
40
|
-
export * as AdminBoundary from "./geo/AdminBoundary";
|
|
41
|
-
export * as City from "./geo/City";
|
|
42
|
-
export * as District from "./geo/District";
|
|
43
|
+
export * as AdminBoundary from "./geo/AdminBoundary.js";
|
|
44
|
+
export * as City from "./geo/City.js";
|
|
45
|
+
export * as District from "./geo/District.js";
|
|
43
46
|
// events
|
|
44
|
-
export * as Event from
|
|
45
|
-
export * as
|
|
47
|
+
export * as Event from './events/Event.js';
|
|
48
|
+
export * as EventTimeline from './events/EventTimeline.js';
|
|
49
|
+
export * as EventWedding from './events/EventWedding.js';
|
|
46
50
|
// user
|
|
47
|
-
export * as User from "./user/User";
|
|
48
|
-
export * as Role from "./user/Role";
|
|
49
|
-
export * as Permission from "./user/Permission";
|
|
50
|
-
export * as Wallet from "./user/Wallet";
|
|
51
|
-
export * as PotentialUser from "./user/PotentialUser";
|
|
51
|
+
export * as User from "./user/User.js";
|
|
52
|
+
export * as Role from "./user/Role.js";
|
|
53
|
+
export * as Permission from "./user/Permission.js";
|
|
54
|
+
export * as Wallet from "./user/Wallet.js";
|
|
55
|
+
export * as PotentialUser from "./user/PotentialUser.js";
|
|
52
56
|
// communication
|
|
53
|
-
export * as AppStartScreen from "./communication/AppStartScreen";
|
|
54
|
-
export * as Chat from "./communication/Chat";
|
|
55
|
-
export * as Device from "./communication/Device";
|
|
56
|
-
export * as MessageTemplate from "./communication/MessageTemplate";
|
|
57
|
-
export * as NotificationToken from "./communication/NotificationToken";
|
|
57
|
+
export * as AppStartScreen from "./communication/AppStartScreen.js";
|
|
58
|
+
export * as Chat from "./communication/Chat.js";
|
|
59
|
+
export * as Device from "./communication/Device.js";
|
|
60
|
+
export * as MessageTemplate from "./communication/MessageTemplate.js";
|
|
61
|
+
export * as NotificationToken from "./communication/NotificationToken.js";
|
|
58
62
|
// media
|
|
59
|
-
export * as Media from "./media/Media";
|
|
60
|
-
export * as Image from "./media/Image";
|
|
61
|
-
export * as SocialMediaPlatform from "./media/SocialMediaPlatform";
|
|
62
|
-
export * as SocialMediaProfile from "./media/SocialMediaProfile";
|
|
63
|
+
export * as Media from "./media/Media.js";
|
|
64
|
+
export * as Image from "./media/Image.js";
|
|
65
|
+
export * as SocialMediaPlatform from "./media/SocialMediaPlatform.js";
|
|
66
|
+
export * as SocialMediaProfile from "./media/SocialMediaProfile.js";
|
|
63
67
|
// integrations
|
|
64
|
-
export * as Google from "./integrations/Google";
|
|
68
|
+
export * as Google from "./integrations/Google.js";
|
|
65
69
|
// analysis
|
|
66
|
-
export * as Analysis from "./analysis/AnalysisDailySnapshot";
|
|
70
|
+
export * as Analysis from "./analysis/AnalysisDailySnapshot.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./Google";
|
|
1
|
+
export * from "./Google.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./Media";
|
|
2
|
-
export * from "./Image";
|
|
3
|
-
export * from "./SocialMediaPlatform";
|
|
4
|
-
export * from "./SocialMediaProfile";
|
|
1
|
+
export * from "./Media.js";
|
|
2
|
+
export * from "./Image.js";
|
|
3
|
+
export * from "./SocialMediaPlatform.js";
|
|
4
|
+
export * from "./SocialMediaProfile.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./CarBody";
|
|
2
|
-
export * from "./FuelType";
|
|
3
|
-
export * from "./Motor";
|
|
4
|
-
export * from "./MotorTrim";
|
|
5
|
-
export * from "./RegionalSpec";
|
|
6
|
-
export * from "./Transmission";
|
|
1
|
+
export * from "./CarBody.js";
|
|
2
|
+
export * from "./FuelType.js";
|
|
3
|
+
export * from "./Motor.js";
|
|
4
|
+
export * from "./MotorTrim.js";
|
|
5
|
+
export * from "./RegionalSpec.js";
|
|
6
|
+
export * from "./Transmission.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./Facility";
|
|
2
|
-
export * from "./LicenseType";
|
|
3
|
-
export * from "./Property";
|
|
4
|
-
export * from "./PropertyStatus";
|
|
5
|
-
export * from "./PropertySubType";
|
|
1
|
+
export * from "./Facility.js";
|
|
2
|
+
export * from "./LicenseType.js";
|
|
3
|
+
export * from "./Property.js";
|
|
4
|
+
export * from "./PropertyStatus.js";
|
|
5
|
+
export * from "./PropertySubType.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./AccessType";
|
|
2
|
-
export * from "./Service";
|
|
3
|
-
export * from "./Unit";
|
|
4
|
-
export * from "./WorkType";
|
|
1
|
+
export * from "./AccessType.js";
|
|
2
|
+
export * from "./Service.js";
|
|
3
|
+
export * from "./Unit.js";
|
|
4
|
+
export * from "./WorkType.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./UsedProduct";
|
|
1
|
+
export * from "./UsedProduct.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./User";
|
|
2
|
-
export * from "./Role";
|
|
3
|
-
export * from "./Permission";
|
|
4
|
-
export * from "./Wallet";
|
|
5
|
-
export * from "./PotentialUser";
|
|
1
|
+
export * from "./User.js";
|
|
2
|
+
export * from "./Role.js";
|
|
3
|
+
export * from "./Permission.js";
|
|
4
|
+
export * from "./Wallet.js";
|
|
5
|
+
export * from "./PotentialUser.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './converter.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deallony/shared",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.77",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dashboard:update": "cd ../frontend-react-aloo && node ./scripts/upgrade-dellony.js",
|
|
28
28
|
"current": "npm view @deallony/shared version",
|
|
29
29
|
"========": "============ DEFAULT ============",
|
|
30
|
-
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json",
|
|
30
|
+
"build": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && node ./scripts/fix-esm-imports.mjs",
|
|
31
31
|
"watch": "tsc -p tsconfig.cjs.json --watch",
|
|
32
32
|
"deploy:publish": "npm publish --access public"
|
|
33
33
|
},
|