@deallony/shared 1.1.82 → 1.1.84
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/constants/events/EventTemplate.d.ts +12 -1
- package/dist/cjs/constants/events/EventTemplate.js +2 -1
- package/dist/cjs/types/company/Company.d.ts +9 -0
- package/dist/cjs/types/company/Company.js +2 -0
- package/dist/cjs/types/events/Event.d.ts +3 -0
- package/dist/cjs/types/events/EventVenue.d.ts +15 -0
- package/dist/cjs/types/events/EventVenue.js +2 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.js +4 -2
- package/dist/esm/constants/events/EventTemplate.js +2 -1
- package/dist/esm/types/company/Company.js +1 -0
- package/dist/esm/types/events/EventVenue.js +1 -0
- package/dist/esm/types/index.js +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
export declare const EventTemplate: {
|
|
2
|
-
|
|
2
|
+
WEDDING_01: {
|
|
3
|
+
value: string;
|
|
4
|
+
name: {
|
|
5
|
+
en: string;
|
|
6
|
+
ar: string;
|
|
7
|
+
};
|
|
8
|
+
event_types: string[];
|
|
9
|
+
};
|
|
10
|
+
WEDDING_02: {
|
|
3
11
|
value: string;
|
|
4
12
|
name: {
|
|
5
13
|
en: string;
|
|
@@ -13,6 +21,9 @@ export declare const EventTemplateOptions: {
|
|
|
13
21
|
name: {
|
|
14
22
|
en: string;
|
|
15
23
|
ar: string;
|
|
24
|
+
} | {
|
|
25
|
+
en: string;
|
|
26
|
+
ar: string;
|
|
16
27
|
};
|
|
17
28
|
event_types: string[];
|
|
18
29
|
}[];
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EventTemplateOptions = exports.EventTemplate = void 0;
|
|
4
4
|
exports.EventTemplate = {
|
|
5
|
-
|
|
5
|
+
WEDDING_01: { value: 'wedding-01', name: { en: 'Wedding', ar: 'زفاف' }, event_types: ['wedding'] },
|
|
6
|
+
WEDDING_02: { value: 'wedding-02', name: { en: 'Wedding', ar: 'زفاف' }, event_types: ['wedding'] },
|
|
6
7
|
};
|
|
7
8
|
exports.EventTemplateOptions = Object.values(exports.EventTemplate).map((type) => ({
|
|
8
9
|
value: type.value,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IEventTimeline } from './EventTimeline';
|
|
2
2
|
import type { IEventWedding } from './EventWedding';
|
|
3
|
+
import type { IEventVenue } from './EventVenue';
|
|
3
4
|
export type IEvent = {
|
|
4
5
|
id?: number;
|
|
5
6
|
lat: number | null;
|
|
@@ -12,4 +13,6 @@ export type IEvent = {
|
|
|
12
13
|
slug: string;
|
|
13
14
|
wedding?: IEventWedding | null;
|
|
14
15
|
timeline?: IEventTimeline | null;
|
|
16
|
+
venue_id?: number | null;
|
|
17
|
+
venue?: IEventVenue | null;
|
|
15
18
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ICompany } from '../company/Company';
|
|
2
|
+
export type IEventVenue = {
|
|
3
|
+
id?: number;
|
|
4
|
+
company_id?: number | null;
|
|
5
|
+
name: string;
|
|
6
|
+
lat: number | null;
|
|
7
|
+
long: number | null;
|
|
8
|
+
images: Array<{
|
|
9
|
+
url: string;
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}> | null;
|
|
12
|
+
supported_event_types: string[] | null;
|
|
13
|
+
social_links: Record<string, string> | null;
|
|
14
|
+
company?: ICompany | null;
|
|
15
|
+
};
|
|
@@ -39,11 +39,13 @@ export * as District from "./geo/District";
|
|
|
39
39
|
export * as Event from './events/Event';
|
|
40
40
|
export * as EventTimeline from './events/EventTimeline';
|
|
41
41
|
export * as EventWedding from './events/EventWedding';
|
|
42
|
+
export * as EventVenue from './events/EventVenue';
|
|
42
43
|
export * as User from "./user/User";
|
|
43
44
|
export * as Role from "./user/Role";
|
|
44
45
|
export * as Permission from "./user/Permission";
|
|
45
46
|
export * as Wallet from "./user/Wallet";
|
|
46
47
|
export * as PotentialUser from "./user/PotentialUser";
|
|
48
|
+
export * as Company from './company/Company';
|
|
47
49
|
export * as AppStartScreen from "./communication/AppStartScreen";
|
|
48
50
|
export * as Chat from "./communication/Chat";
|
|
49
51
|
export * as Device from "./communication/Device";
|
package/dist/cjs/types/index.js
CHANGED
|
@@ -36,8 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.Analysis = exports.Google = exports.SocialMediaProfile = exports.SocialMediaPlatform = exports.Image = exports.Media = exports.NotificationToken = void 0;
|
|
39
|
+
exports.Chat = exports.AppStartScreen = exports.Company = exports.PotentialUser = exports.Wallet = exports.Permission = exports.Role = exports.User = exports.EventVenue = exports.EventWedding = exports.EventTimeline = exports.Event = exports.District = exports.City = exports.AdminBoundary = exports.WorkType = exports.UsedProductCondition = exports.UsedProductAge = exports.Unit = exports.Transmission = exports.RegionalSpec = exports.PublisherType = exports.PropertyStatus = exports.PriceType = exports.OfferType = exports.LicenseType = exports.FuelType = exports.Feature = exports.Facility = exports.Currency = exports.Color = exports.CategoryWorkType = exports.Category = exports.CarBody = exports.UsedProduct = exports.Service = exports.PropertySubType = exports.Property = exports.MotorTrim = exports.Motor = exports.AdPromotion = exports.AdLocation = exports.Ad = exports.FilterParams = exports.Config = exports.AccessType = exports.Status = exports.Subject = exports.Response = exports.LocalizedName = void 0;
|
|
40
|
+
exports.Analysis = exports.Google = exports.SocialMediaProfile = exports.SocialMediaPlatform = exports.Image = exports.Media = exports.NotificationToken = exports.MessageTemplate = exports.Device = void 0;
|
|
41
41
|
// common
|
|
42
42
|
exports.LocalizedName = __importStar(require("./common/LocalizedName"));
|
|
43
43
|
exports.Response = __importStar(require("./common/Response"));
|
|
@@ -84,12 +84,14 @@ exports.District = __importStar(require("./geo/District"));
|
|
|
84
84
|
exports.Event = __importStar(require("./events/Event"));
|
|
85
85
|
exports.EventTimeline = __importStar(require("./events/EventTimeline"));
|
|
86
86
|
exports.EventWedding = __importStar(require("./events/EventWedding"));
|
|
87
|
+
exports.EventVenue = __importStar(require("./events/EventVenue"));
|
|
87
88
|
// user
|
|
88
89
|
exports.User = __importStar(require("./user/User"));
|
|
89
90
|
exports.Role = __importStar(require("./user/Role"));
|
|
90
91
|
exports.Permission = __importStar(require("./user/Permission"));
|
|
91
92
|
exports.Wallet = __importStar(require("./user/Wallet"));
|
|
92
93
|
exports.PotentialUser = __importStar(require("./user/PotentialUser"));
|
|
94
|
+
exports.Company = __importStar(require("./company/Company"));
|
|
93
95
|
// communication
|
|
94
96
|
exports.AppStartScreen = __importStar(require("./communication/AppStartScreen"));
|
|
95
97
|
exports.Chat = __importStar(require("./communication/Chat"));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export const EventTemplate = {
|
|
2
|
-
|
|
2
|
+
WEDDING_01: { value: 'wedding-01', name: { en: 'Wedding', ar: 'زفاف' }, event_types: ['wedding'] },
|
|
3
|
+
WEDDING_02: { value: 'wedding-02', name: { en: 'Wedding', ar: 'زفاف' }, event_types: ['wedding'] },
|
|
3
4
|
};
|
|
4
5
|
export const EventTemplateOptions = Object.values(EventTemplate).map((type) => ({
|
|
5
6
|
value: type.value,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/esm/types/index.js
CHANGED
|
@@ -47,12 +47,14 @@ export * as District from "./geo/District.js";
|
|
|
47
47
|
export * as Event from './events/Event.js';
|
|
48
48
|
export * as EventTimeline from './events/EventTimeline.js';
|
|
49
49
|
export * as EventWedding from './events/EventWedding.js';
|
|
50
|
+
export * as EventVenue from './events/EventVenue.js';
|
|
50
51
|
// user
|
|
51
52
|
export * as User from "./user/User.js";
|
|
52
53
|
export * as Role from "./user/Role.js";
|
|
53
54
|
export * as Permission from "./user/Permission.js";
|
|
54
55
|
export * as Wallet from "./user/Wallet.js";
|
|
55
56
|
export * as PotentialUser from "./user/PotentialUser.js";
|
|
57
|
+
export * as Company from './company/Company.js';
|
|
56
58
|
// communication
|
|
57
59
|
export * as AppStartScreen from "./communication/AppStartScreen.js";
|
|
58
60
|
export * as Chat from "./communication/Chat.js";
|