@timardex/cluemart-shared 1.2.65 → 1.2.68
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/ad--4RgHfBN.d.ts +83 -0
- package/dist/ad-ByXz9Km3.d.mts +83 -0
- package/dist/{auth-BwtjPUgO.d.ts → auth-ChIm_Rn9.d.ts} +1 -1
- package/dist/{auth-DaiySFU6.d.mts → auth-gyDaskvq.d.mts} +1 -1
- package/dist/{chunk-N625BZKR.mjs → chunk-ILRVLTWY.mjs} +1 -1
- package/dist/{chunk-N625BZKR.mjs.map → chunk-ILRVLTWY.mjs.map} +1 -1
- package/dist/formFields/index.cjs +2 -0
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +3 -2
- package/dist/formFields/index.d.ts +3 -2
- package/dist/formFields/index.mjs +1 -0
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-CKf55A-q.d.mts → global-Q8FB4ZfD.d.mts} +97 -7
- package/dist/{global-BY8seqWN.d.ts → global-X7Gs8dR2.d.ts} +97 -7
- package/dist/graphql/index.cjs +8 -7
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +8 -7
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +15 -10
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +5 -5
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.mjs +15 -10
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +25 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +108 -100
- package/dist/index.d.ts +108 -100
- package/dist/index.mjs +23 -16
- package/dist/index.mjs.map +1 -1
- package/dist/{resourceActivities-DO97TmNs.d.mts → resourceActivities-DB-fx51l.d.mts} +3 -3
- package/dist/{resourceActivities-BkGGnxjl.d.ts → resourceActivities-Ezt7CDPH.d.ts} +3 -3
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/ad-CogBHjto.d.ts +0 -166
- package/dist/ad-VhDIYwfz.d.mts +0 -166
|
@@ -23,7 +23,7 @@ interface ChatType {
|
|
|
23
23
|
active: boolean;
|
|
24
24
|
chatType: EnumChatType;
|
|
25
25
|
chatName: string;
|
|
26
|
-
createdAt:
|
|
26
|
+
createdAt: Date;
|
|
27
27
|
messages: ChatMessageType[];
|
|
28
28
|
participants: ParticipantType[];
|
|
29
29
|
resourceInfo: {
|
|
@@ -31,8 +31,8 @@ interface ChatType {
|
|
|
31
31
|
partnerId: string | null;
|
|
32
32
|
vendorId: string | null;
|
|
33
33
|
} | null;
|
|
34
|
-
updatedAt:
|
|
35
|
-
deletedAt:
|
|
34
|
+
updatedAt: Date | null;
|
|
35
|
+
deletedAt: Date | null;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
interface NotificationDataType {
|
|
@@ -23,7 +23,7 @@ interface ChatType {
|
|
|
23
23
|
active: boolean;
|
|
24
24
|
chatType: EnumChatType;
|
|
25
25
|
chatName: string;
|
|
26
|
-
createdAt:
|
|
26
|
+
createdAt: Date;
|
|
27
27
|
messages: ChatMessageType[];
|
|
28
28
|
participants: ParticipantType[];
|
|
29
29
|
resourceInfo: {
|
|
@@ -31,8 +31,8 @@ interface ChatType {
|
|
|
31
31
|
partnerId: string | null;
|
|
32
32
|
vendorId: string | null;
|
|
33
33
|
} | null;
|
|
34
|
-
updatedAt:
|
|
35
|
-
deletedAt:
|
|
34
|
+
updatedAt: Date | null;
|
|
35
|
+
deletedAt: Date | null;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
interface NotificationDataType {
|
package/dist/types/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/index.ts","../../src/types/ad.ts","../../src/types/resourceActivities.ts"],"sourcesContent":["export * from \"./admin\";\nexport * from \"./auth\";\nexport * from \"./chat\";\nexport * from \"./contactUs\";\nexport * from \"./global\";\nexport * from \"./event\";\nexport * from \"./notification\";\nexport * from \"./poster\";\nexport * from \"./relation\";\nexport * from \"./vendor\";\nexport * from \"./
|
|
1
|
+
{"version":3,"sources":["../../src/types/index.ts","../../src/types/ad.ts","../../src/types/resourceActivities.ts"],"sourcesContent":["export * from \"./admin\";\nexport * from \"./auth\";\nexport * from \"./chat\";\nexport * from \"./contactUs\";\nexport * from \"./global\";\nexport * from \"./event\";\nexport * from \"./notification\";\nexport * from \"./poster\";\nexport * from \"./relation\";\nexport * from \"./vendor\";\nexport * from \"./tester\";\nexport * from \"./user\";\nexport * from \"./ad\";\nexport * from \"./resourceActivities\";\nexport * from \"./partner\";\n","import { EnumResourceType } from \"src/enums\";\n\nimport { CreateFormData, SocialMediaType } from \"./global\";\n\nexport enum EnumAdShowOn {\n EVENTS_PAGE = \"Events_page\",\n FRONT_PAGE = \"Front_page\",\n PARTNERS_PAGE = \"Partners_page\",\n VENDORS_PAGE = \"Vendors_page\",\n}\n\nexport enum EnumAdStatus {\n ACTIVE = \"Active\",\n PAUSED = \"Paused\",\n EXPIRED = \"Expired\",\n}\n\nexport enum EnumAdType {\n SPONSORED = \"Sponsored\",\n FREE = \"Free\",\n}\n\nexport enum EnumAdStyle {\n BLOOM = \"Bloom\",\n RISE = \"Rise\",\n}\n\nexport interface AdFormData {\n active: boolean;\n adStyle: EnumAdStyle;\n adType: EnumAdType;\n clui?: string | null;\n end: Date; // ISO date string\n resourceCover: string;\n resourceDescription: string;\n resourceId: string;\n resourceLogo?: string | null;\n resourceName: string;\n resourceRegion: string;\n resourceType: EnumResourceType;\n showOn: EnumAdShowOn;\n socialMedia?: SocialMediaType[] | null;\n start?: Date; // ISO date string\n status: EnumAdStatus;\n targetRegion?: string | null;\n}\n\nexport type CreateAdFormData = CreateFormData<AdFormData>;\n\nexport interface AdType extends AdFormData {\n _id: string;\n clicks?: number; // How many times the ad was clicked\n createdAt: Date;\n impressions?: number; // How often the ad was seen\n start: Date; // ISO date string\n updatedAt: Date | null;\n}\n","import {\n EnumEventDateStatus,\n EnumOSPlatform,\n EnumResourceType,\n} from \"src/enums\";\n\nexport enum EnumActivity {\n FAVORITE = \"FAVORITE\",\n GOING = \"GOING\",\n INTERESTED = \"INTERESTED\",\n PRESENT = \"PRESENT\",\n VIEW = \"VIEW\",\n}\n\nexport type ResourceActivityEntry = {\n activityType: EnumActivity;\n location: {\n type: \"Point\";\n coordinates: number[]; // [longitude, latitude]\n } | null;\n dateStatus?: EnumEventDateStatus | null;\n startDate?: string | null;\n startTime?: string | null;\n timestamp: Date;\n userAgent: EnumOSPlatform;\n userId?: string | null;\n};\n\nexport type ResourceActivityType = {\n _id: string;\n resourceType: EnumResourceType;\n resourceId: string;\n activity: ResourceActivityEntry[];\n};\n\nexport type ResourceActivityInputType = {\n resourceId: string;\n resourceType: string;\n activity: Omit<ResourceActivityEntry, \"timestamp\">;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACIO,IAAK,eAAL,kBAAKA,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,mBAAgB;AAChB,EAAAA,cAAA,kBAAe;AAJL,SAAAA;AAAA,GAAA;AAOL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,YAAS;AACT,EAAAA,cAAA,aAAU;AAHA,SAAAA;AAAA,GAAA;AAML,IAAK,aAAL,kBAAKC,gBAAL;AACL,EAAAA,YAAA,eAAY;AACZ,EAAAA,YAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;AAKL,IAAK,cAAL,kBAAKC,iBAAL;AACL,EAAAA,aAAA,WAAQ;AACR,EAAAA,aAAA,UAAO;AAFG,SAAAA;AAAA,GAAA;;;AChBL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,cAAW;AACX,EAAAA,cAAA,WAAQ;AACR,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,aAAU;AACV,EAAAA,cAAA,UAAO;AALG,SAAAA;AAAA,GAAA;","names":["EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle","EnumActivity"]}
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
2
|
-
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-
|
|
3
|
-
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
export { A as AssociateType,
|
|
5
|
-
export {
|
|
2
|
+
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-gyDaskvq.mjs';
|
|
3
|
+
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-DB-fx51l.mjs';
|
|
4
|
+
export { A as AssociateType, t as AssociateTypeFormData, v as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, H as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, w as DateTimeType, J as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, u as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, Q as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, _ as StripeSubscription, z as Subcategory, y as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, $ as UserActivity, Z as UserActivityEvent, o as UserFormData, a0 as UserLicenceType, U as UserType, Y as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, W as VendorLocation, X as VendorMenuType, V as VendorType } from '../global-Q8FB4ZfD.mjs';
|
|
5
|
+
export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTesterFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, b as TesterFormData, T as TesterType } from '../ad-ByXz9Km3.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
interface AdminUpdateResourceType {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EnumResourceType } from '../enums/index.js';
|
|
2
|
-
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-
|
|
3
|
-
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
export { A as AssociateType,
|
|
5
|
-
export {
|
|
2
|
+
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-ChIm_Rn9.js';
|
|
3
|
+
export { b as ChatMessageInput, c as ChatMessageType, C as ChatType, e as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, d as NotificationDataType, N as NotificationType, P as ParticipantType, f as ResourceActivityEntry, g as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-Ezt7CDPH.js';
|
|
4
|
+
export { A as AssociateType, t as AssociateTypeFormData, v as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateEventFormData, n as CreateEventInfoFormData, H as CreateFormData, p as CreateUserFormData, h as CreateVendorFormData, j as CreateVendorInfoFormData, w as DateTimeType, J as DateTimeWithPriceType, D as DeviceInfo, k as EventFormData, m as EventInfoFormData, b as EventInfoType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, M as MapMultiLocation, N as Nullable, O as OptionItem, u as OwnerType, K as PaymentInfoType, P as PosterUsageType, x as Region, Q as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceContactDetailsType, r as ResourceImageType, s as SocialMediaType, S as StallType, _ as StripeSubscription, z as Subcategory, y as SubcategoryItems, f as SubscriptionStatusData, T as TermsAgreement, $ as UserActivity, Z as UserActivityEvent, o as UserFormData, a0 as UserLicenceType, U as UserType, Y as VendorAttributes, g as VendorFormData, i as VendorInfoFormData, e as VendorInfoType, W as VendorLocation, X as VendorMenuType, V as VendorType } from '../global-X7Gs8dR2.js';
|
|
5
|
+
export { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as CreateTesterFormData, f as EnumAdShowOn, E as EnumAdStatus, h as EnumAdStyle, g as EnumAdType, a as PartnerFormData, P as PartnerType, b as TesterFormData, T as TesterType } from '../ad--4RgHfBN.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
interface AdminUpdateResourceType {
|
package/dist/types/index.mjs
CHANGED
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumInviteStatus, EnumRegions } from '../enums/index.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { x as Region, O as OptionItem } from '../global-Q8FB4ZfD.mjs';
|
|
3
3
|
import 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
declare const dateFormat = "DD-MM-YYYY";
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumInviteStatus, EnumRegions } from '../enums/index.js';
|
|
2
|
-
import {
|
|
2
|
+
import { x as Region, O as OptionItem } from '../global-X7Gs8dR2.js';
|
|
3
3
|
import 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
declare const dateFormat = "DD-MM-YYYY";
|
package/package.json
CHANGED
package/dist/ad-CogBHjto.d.ts
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.js';
|
|
2
|
-
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-BY8seqWN.js';
|
|
3
|
-
|
|
4
|
-
interface TestersFormData {
|
|
5
|
-
categories?: Category[] | null;
|
|
6
|
-
companyName: string;
|
|
7
|
-
email: string;
|
|
8
|
-
firstName: string;
|
|
9
|
-
lastName: string;
|
|
10
|
-
osType: EnumOSPlatform;
|
|
11
|
-
region: string;
|
|
12
|
-
resourceType: EnumResourceType;
|
|
13
|
-
}
|
|
14
|
-
type CreateTestersFormData = CreateFormData<TestersFormData>;
|
|
15
|
-
interface TesterType extends TestersFormData {
|
|
16
|
-
_id: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type UserFormData = {
|
|
23
|
-
_id?: string;
|
|
24
|
-
active: boolean;
|
|
25
|
-
avatar?: ResourceImageType | null;
|
|
26
|
-
avatarUpload?: ResourceImageType | null;
|
|
27
|
-
confirmPassword?: string | null;
|
|
28
|
-
email: string;
|
|
29
|
-
firstName: string;
|
|
30
|
-
isTester: boolean;
|
|
31
|
-
lastName: string;
|
|
32
|
-
password?: string | null;
|
|
33
|
-
platform?: EnumOSPlatform;
|
|
34
|
-
preferredRegion: string;
|
|
35
|
-
role: EnumUserRole;
|
|
36
|
-
termsAgreement?: TermsAgreement | null;
|
|
37
|
-
};
|
|
38
|
-
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
39
|
-
type UserActivityEvent = {
|
|
40
|
-
dateStatus: EnumEventDateStatus;
|
|
41
|
-
resourceId: string;
|
|
42
|
-
startDate: string;
|
|
43
|
-
startTime: string;
|
|
44
|
-
};
|
|
45
|
-
type StripeSubscription = {
|
|
46
|
-
customerId?: string;
|
|
47
|
-
subscriptionId?: string;
|
|
48
|
-
status?: EnumSubscriptionStatus;
|
|
49
|
-
currentPlan?: EnumUserLicence;
|
|
50
|
-
startDate?: string;
|
|
51
|
-
endDate?: string;
|
|
52
|
-
};
|
|
53
|
-
type SubscriptionStatusData = {
|
|
54
|
-
subscriptionId: string | null;
|
|
55
|
-
status: EnumSubscriptionStatus;
|
|
56
|
-
priceId: string | null;
|
|
57
|
-
currentPlan: EnumUserLicence | null;
|
|
58
|
-
};
|
|
59
|
-
type UserActivity = {
|
|
60
|
-
favourites: {
|
|
61
|
-
events: string[];
|
|
62
|
-
vendors: string[];
|
|
63
|
-
partners: string[];
|
|
64
|
-
};
|
|
65
|
-
going: {
|
|
66
|
-
events: UserActivityEvent[];
|
|
67
|
-
};
|
|
68
|
-
interested: {
|
|
69
|
-
events: UserActivityEvent[];
|
|
70
|
-
};
|
|
71
|
-
present: {
|
|
72
|
-
events: UserActivityEvent[];
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
type UserLicenceType = {
|
|
76
|
-
expiryDate: string | null;
|
|
77
|
-
issuedDate: string | null;
|
|
78
|
-
licenceType: EnumUserLicence;
|
|
79
|
-
};
|
|
80
|
-
interface UserType {
|
|
81
|
-
_id: string;
|
|
82
|
-
active: boolean;
|
|
83
|
-
associates?: AssociateType[] | null;
|
|
84
|
-
avatar: ResourceImageType | null;
|
|
85
|
-
createdAt: string;
|
|
86
|
-
deletedAt: string | null;
|
|
87
|
-
email: string;
|
|
88
|
-
events: string[] | null;
|
|
89
|
-
firstName: string;
|
|
90
|
-
isTester: boolean;
|
|
91
|
-
lastName: string;
|
|
92
|
-
licences: UserLicenceType[] | null;
|
|
93
|
-
partner: string | null;
|
|
94
|
-
password: string;
|
|
95
|
-
platform: EnumOSPlatform | null;
|
|
96
|
-
preferredRegion: string;
|
|
97
|
-
refreshToken: string | null;
|
|
98
|
-
role: EnumUserRole;
|
|
99
|
-
stripe?: StripeSubscription;
|
|
100
|
-
termsAgreement?: TermsAgreement | null;
|
|
101
|
-
updatedAt: string;
|
|
102
|
-
userActivity: UserActivity | null;
|
|
103
|
-
vendor: string | null;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
107
|
-
location: LocationType;
|
|
108
|
-
nzbn: string;
|
|
109
|
-
partnerType: EnumPartnerType;
|
|
110
|
-
}
|
|
111
|
-
type CreatePartnerFormData = CreateFormData<PartnerFormData>;
|
|
112
|
-
interface PartnerType extends BaseResourceType {
|
|
113
|
-
location: LocationType;
|
|
114
|
-
nzbn: string;
|
|
115
|
-
partnerType: EnumPartnerType;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
declare enum EnumAdShowOn {
|
|
119
|
-
EVENTS_PAGE = "Events_page",
|
|
120
|
-
FRONT_PAGE = "Front_page",
|
|
121
|
-
PARTNERS_PAGE = "Partners_page",
|
|
122
|
-
VENDORS_PAGE = "Vendors_page"
|
|
123
|
-
}
|
|
124
|
-
declare enum EnumAdStatus {
|
|
125
|
-
ACTIVE = "Active",
|
|
126
|
-
PAUSED = "Paused",
|
|
127
|
-
EXPIRED = "Expired"
|
|
128
|
-
}
|
|
129
|
-
declare enum EnumAdType {
|
|
130
|
-
SPONSORED = "Sponsored",
|
|
131
|
-
FREE = "Free"
|
|
132
|
-
}
|
|
133
|
-
declare enum EnumAdStyle {
|
|
134
|
-
BLOOM = "Bloom",
|
|
135
|
-
RISE = "Rise"
|
|
136
|
-
}
|
|
137
|
-
interface AdFormData {
|
|
138
|
-
active: boolean;
|
|
139
|
-
adStyle: EnumAdStyle;
|
|
140
|
-
adType: EnumAdType;
|
|
141
|
-
clui?: string | null;
|
|
142
|
-
end: Date;
|
|
143
|
-
resourceCover: string;
|
|
144
|
-
resourceDescription: string;
|
|
145
|
-
resourceId: string;
|
|
146
|
-
resourceLogo?: string | null;
|
|
147
|
-
resourceName: string;
|
|
148
|
-
resourceRegion: string;
|
|
149
|
-
resourceType: EnumResourceType;
|
|
150
|
-
showOn: EnumAdShowOn;
|
|
151
|
-
socialMedia?: SocialMediaType[] | null;
|
|
152
|
-
start?: Date;
|
|
153
|
-
status: EnumAdStatus;
|
|
154
|
-
targetRegion?: string | null;
|
|
155
|
-
}
|
|
156
|
-
type CreateAdFormData = CreateFormData<AdFormData>;
|
|
157
|
-
interface AdType extends AdFormData {
|
|
158
|
-
_id: string;
|
|
159
|
-
clicks?: number;
|
|
160
|
-
createdAt: Date;
|
|
161
|
-
impressions?: number;
|
|
162
|
-
start: Date;
|
|
163
|
-
updatedAt: Date;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, type UserFormData as a, type PartnerFormData as b, type TestersFormData as c, type CreateTestersFormData as d, type AdFormData as e, type CreateAdFormData as f, type CreatePartnerFormData as g, type UserActivityEvent as h, type StripeSubscription as i, type UserActivity as j, type UserLicenceType as k, EnumAdShowOn as l, EnumAdType as m, EnumAdStyle as n };
|
package/dist/ad-VhDIYwfz.d.mts
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole, EnumSubscriptionStatus, EnumEventDateStatus, EnumPartnerType } from './enums/index.mjs';
|
|
2
|
-
import { C as Category, w as CreateFormData, A as AssociateType, o as ResourceImageType, T as TermsAgreement, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, p as SocialMediaType } from './global-CKf55A-q.mjs';
|
|
3
|
-
|
|
4
|
-
interface TestersFormData {
|
|
5
|
-
categories?: Category[] | null;
|
|
6
|
-
companyName: string;
|
|
7
|
-
email: string;
|
|
8
|
-
firstName: string;
|
|
9
|
-
lastName: string;
|
|
10
|
-
osType: EnumOSPlatform;
|
|
11
|
-
region: string;
|
|
12
|
-
resourceType: EnumResourceType;
|
|
13
|
-
}
|
|
14
|
-
type CreateTestersFormData = CreateFormData<TestersFormData>;
|
|
15
|
-
interface TesterType extends TestersFormData {
|
|
16
|
-
_id: string;
|
|
17
|
-
active: boolean;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
updatedAt: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type UserFormData = {
|
|
23
|
-
_id?: string;
|
|
24
|
-
active: boolean;
|
|
25
|
-
avatar?: ResourceImageType | null;
|
|
26
|
-
avatarUpload?: ResourceImageType | null;
|
|
27
|
-
confirmPassword?: string | null;
|
|
28
|
-
email: string;
|
|
29
|
-
firstName: string;
|
|
30
|
-
isTester: boolean;
|
|
31
|
-
lastName: string;
|
|
32
|
-
password?: string | null;
|
|
33
|
-
platform?: EnumOSPlatform;
|
|
34
|
-
preferredRegion: string;
|
|
35
|
-
role: EnumUserRole;
|
|
36
|
-
termsAgreement?: TermsAgreement | null;
|
|
37
|
-
};
|
|
38
|
-
type CreateUserFormData = CreateFormData<UserFormData>;
|
|
39
|
-
type UserActivityEvent = {
|
|
40
|
-
dateStatus: EnumEventDateStatus;
|
|
41
|
-
resourceId: string;
|
|
42
|
-
startDate: string;
|
|
43
|
-
startTime: string;
|
|
44
|
-
};
|
|
45
|
-
type StripeSubscription = {
|
|
46
|
-
customerId?: string;
|
|
47
|
-
subscriptionId?: string;
|
|
48
|
-
status?: EnumSubscriptionStatus;
|
|
49
|
-
currentPlan?: EnumUserLicence;
|
|
50
|
-
startDate?: string;
|
|
51
|
-
endDate?: string;
|
|
52
|
-
};
|
|
53
|
-
type SubscriptionStatusData = {
|
|
54
|
-
subscriptionId: string | null;
|
|
55
|
-
status: EnumSubscriptionStatus;
|
|
56
|
-
priceId: string | null;
|
|
57
|
-
currentPlan: EnumUserLicence | null;
|
|
58
|
-
};
|
|
59
|
-
type UserActivity = {
|
|
60
|
-
favourites: {
|
|
61
|
-
events: string[];
|
|
62
|
-
vendors: string[];
|
|
63
|
-
partners: string[];
|
|
64
|
-
};
|
|
65
|
-
going: {
|
|
66
|
-
events: UserActivityEvent[];
|
|
67
|
-
};
|
|
68
|
-
interested: {
|
|
69
|
-
events: UserActivityEvent[];
|
|
70
|
-
};
|
|
71
|
-
present: {
|
|
72
|
-
events: UserActivityEvent[];
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
type UserLicenceType = {
|
|
76
|
-
expiryDate: string | null;
|
|
77
|
-
issuedDate: string | null;
|
|
78
|
-
licenceType: EnumUserLicence;
|
|
79
|
-
};
|
|
80
|
-
interface UserType {
|
|
81
|
-
_id: string;
|
|
82
|
-
active: boolean;
|
|
83
|
-
associates?: AssociateType[] | null;
|
|
84
|
-
avatar: ResourceImageType | null;
|
|
85
|
-
createdAt: string;
|
|
86
|
-
deletedAt: string | null;
|
|
87
|
-
email: string;
|
|
88
|
-
events: string[] | null;
|
|
89
|
-
firstName: string;
|
|
90
|
-
isTester: boolean;
|
|
91
|
-
lastName: string;
|
|
92
|
-
licences: UserLicenceType[] | null;
|
|
93
|
-
partner: string | null;
|
|
94
|
-
password: string;
|
|
95
|
-
platform: EnumOSPlatform | null;
|
|
96
|
-
preferredRegion: string;
|
|
97
|
-
refreshToken: string | null;
|
|
98
|
-
role: EnumUserRole;
|
|
99
|
-
stripe?: StripeSubscription;
|
|
100
|
-
termsAgreement?: TermsAgreement | null;
|
|
101
|
-
updatedAt: string;
|
|
102
|
-
userActivity: UserActivity | null;
|
|
103
|
-
vendor: string | null;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
107
|
-
location: LocationType;
|
|
108
|
-
nzbn: string;
|
|
109
|
-
partnerType: EnumPartnerType;
|
|
110
|
-
}
|
|
111
|
-
type CreatePartnerFormData = CreateFormData<PartnerFormData>;
|
|
112
|
-
interface PartnerType extends BaseResourceType {
|
|
113
|
-
location: LocationType;
|
|
114
|
-
nzbn: string;
|
|
115
|
-
partnerType: EnumPartnerType;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
declare enum EnumAdShowOn {
|
|
119
|
-
EVENTS_PAGE = "Events_page",
|
|
120
|
-
FRONT_PAGE = "Front_page",
|
|
121
|
-
PARTNERS_PAGE = "Partners_page",
|
|
122
|
-
VENDORS_PAGE = "Vendors_page"
|
|
123
|
-
}
|
|
124
|
-
declare enum EnumAdStatus {
|
|
125
|
-
ACTIVE = "Active",
|
|
126
|
-
PAUSED = "Paused",
|
|
127
|
-
EXPIRED = "Expired"
|
|
128
|
-
}
|
|
129
|
-
declare enum EnumAdType {
|
|
130
|
-
SPONSORED = "Sponsored",
|
|
131
|
-
FREE = "Free"
|
|
132
|
-
}
|
|
133
|
-
declare enum EnumAdStyle {
|
|
134
|
-
BLOOM = "Bloom",
|
|
135
|
-
RISE = "Rise"
|
|
136
|
-
}
|
|
137
|
-
interface AdFormData {
|
|
138
|
-
active: boolean;
|
|
139
|
-
adStyle: EnumAdStyle;
|
|
140
|
-
adType: EnumAdType;
|
|
141
|
-
clui?: string | null;
|
|
142
|
-
end: Date;
|
|
143
|
-
resourceCover: string;
|
|
144
|
-
resourceDescription: string;
|
|
145
|
-
resourceId: string;
|
|
146
|
-
resourceLogo?: string | null;
|
|
147
|
-
resourceName: string;
|
|
148
|
-
resourceRegion: string;
|
|
149
|
-
resourceType: EnumResourceType;
|
|
150
|
-
showOn: EnumAdShowOn;
|
|
151
|
-
socialMedia?: SocialMediaType[] | null;
|
|
152
|
-
start?: Date;
|
|
153
|
-
status: EnumAdStatus;
|
|
154
|
-
targetRegion?: string | null;
|
|
155
|
-
}
|
|
156
|
-
type CreateAdFormData = CreateFormData<AdFormData>;
|
|
157
|
-
interface AdType extends AdFormData {
|
|
158
|
-
_id: string;
|
|
159
|
-
clicks?: number;
|
|
160
|
-
createdAt: Date;
|
|
161
|
-
impressions?: number;
|
|
162
|
-
start: Date;
|
|
163
|
-
updatedAt: Date;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export { type AdType as A, type CreateUserFormData as C, EnumAdStatus as E, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, type UserFormData as a, type PartnerFormData as b, type TestersFormData as c, type CreateTestersFormData as d, type AdFormData as e, type CreateAdFormData as f, type CreatePartnerFormData as g, type UserActivityEvent as h, type StripeSubscription as i, type UserActivity as j, type UserLicenceType as k, EnumAdShowOn as l, EnumAdType as m, EnumAdStyle as n };
|