@timardex/cluemart-shared 1.4.13 → 1.4.15
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/{auth-sm3mg_Sb.d.ts → auth-BNhymOFs.d.mts} +4 -3
- package/dist/{auth-4POOgdmv.d.mts → auth-CgzvvFjw.d.ts} +4 -3
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-DdNUoIKL.d.ts → global-D5dNxa5e.d.mts} +2 -7
- package/dist/{global-DhBPsOLv.d.mts → global-x5DE08tD.d.ts} +2 -7
- package/dist/graphql/index.cjs +14 -22
- 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 +14 -22
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/index.cjs +14 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +16 -25
- package/dist/index.d.ts +16 -25
- package/dist/index.mjs +14 -22
- package/dist/index.mjs.map +1 -1
- package/dist/{post-C-0GvAvh.d.mts → post-BnXA5t_U.d.mts} +15 -20
- package/dist/{post-BdonvD0s.d.ts → post-DDDWdbHZ.d.ts} +15 -20
- package/dist/{resourceActivities-D2pZ8AdX.d.mts → resourceActivities-C97X-AAZ.d.mts} +2 -1
- package/dist/{resourceActivities-BaEic0VS.d.ts → resourceActivities-oEQN2jZg.d.ts} +2 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumSubscriptionStatus, EnumUserLicence,
|
|
2
|
-
import { C as Category, K as CreateFormData,
|
|
1
|
+
import { EnumOSPlatform, EnumResourceType, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumPartnerType } from './enums/index.mjs';
|
|
2
|
+
import { C as Category, K as CreateFormData, A as AssociateType, q as ResourceImageType, g as UserLicenceType, T as TermsAgreement, D as DateTimeType, w as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, u as SocialMediaType } from './global-D5dNxa5e.mjs';
|
|
3
3
|
|
|
4
4
|
declare enum OrganizedMarketCount {
|
|
5
5
|
ONE = "One",
|
|
@@ -99,6 +99,7 @@ type UserFormData = {
|
|
|
99
99
|
isTester: boolean;
|
|
100
100
|
lastName: string;
|
|
101
101
|
password?: string | null;
|
|
102
|
+
platform?: EnumOSPlatform;
|
|
102
103
|
preferredRegion: string;
|
|
103
104
|
role: EnumUserRole;
|
|
104
105
|
termsAgreement?: TermsAgreement | null;
|
|
@@ -164,36 +165,30 @@ type UserActivity = {
|
|
|
164
165
|
events: UserActivityEvent[];
|
|
165
166
|
};
|
|
166
167
|
};
|
|
167
|
-
type UserResources = {
|
|
168
|
-
events: string[] | null;
|
|
169
|
-
partner: string | null;
|
|
170
|
-
vendor: string | null;
|
|
171
|
-
};
|
|
172
|
-
type UserDetails = {
|
|
173
|
-
avatar: ResourceImageType | null;
|
|
174
|
-
email: string;
|
|
175
|
-
firstName: string;
|
|
176
|
-
lastName: string;
|
|
177
|
-
password: string;
|
|
178
|
-
preferredRegion: string;
|
|
179
|
-
role: EnumUserRole;
|
|
180
|
-
};
|
|
181
168
|
interface UserType {
|
|
182
169
|
_id: string;
|
|
183
170
|
active: boolean;
|
|
184
|
-
appMetadata?: AppMetaDataType | null;
|
|
185
171
|
associates?: AssociateType[] | null;
|
|
172
|
+
avatar: ResourceImageType | null;
|
|
186
173
|
createdAt: Date;
|
|
187
174
|
deletedAt: Date | null;
|
|
175
|
+
email: string;
|
|
176
|
+
events: string[] | null;
|
|
177
|
+
firstName: string;
|
|
188
178
|
isTester: boolean;
|
|
179
|
+
lastName: string;
|
|
189
180
|
licences: UserLicenceType[] | null;
|
|
181
|
+
partner: string | null;
|
|
182
|
+
password: string;
|
|
183
|
+
platform: EnumOSPlatform | null;
|
|
184
|
+
preferredRegion: string;
|
|
190
185
|
refreshToken: string | null;
|
|
186
|
+
role: EnumUserRole;
|
|
191
187
|
stripe?: StripeSubscription;
|
|
192
188
|
termsAgreement?: TermsAgreement | null;
|
|
193
189
|
updatedAt: Date | null;
|
|
194
190
|
userActivity: UserActivity | null;
|
|
195
|
-
|
|
196
|
-
userResources: UserResources | null;
|
|
191
|
+
vendor: string | null;
|
|
197
192
|
}
|
|
198
193
|
|
|
199
194
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
@@ -338,4 +333,4 @@ type PostType = Omit<PostFormData, "content"> & {
|
|
|
338
333
|
updatedAt: Date | null;
|
|
339
334
|
};
|
|
340
335
|
|
|
341
|
-
export { type AdType as A,
|
|
336
|
+
export { type AdType as A, EnumPostContentType as B, type CreateUserFormData as C, type PostFileInput as D, EnumAdStatus as E, type PostContentCover as F, type PostContentTextarea as G, type PostContentImage as H, type PostContentVideo as I, type PostContentList as J, type PostContentData as K, type PostContentFormData as L, type PostContentType as M, OrganizedMarketCount as O, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, VendorSellingFrequency as V, type SubscriptionPlansResponse as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type UserFormData as e, type PartnerFormData as f, type TesterFormData as g, type CreateTesterFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, OrganizerMarketFrequency as p, type TesterVendor as q, type TesterEvent as r, type UserActivityEvent as s, type StripeSubscription as t, type SubscriptionPricingData as u, type SubscriptionPlanData as v, type UserActivity as w, EnumAdShowOn as x, EnumAdType as y, EnumAdStyle as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EnumOSPlatform, EnumResourceType, EnumSubscriptionStatus, EnumUserLicence,
|
|
2
|
-
import { C as Category, K as CreateFormData,
|
|
1
|
+
import { EnumOSPlatform, EnumResourceType, EnumUserRole, EnumSubscriptionStatus, EnumUserLicence, EnumPartnerType } from './enums/index.js';
|
|
2
|
+
import { C as Category, K as CreateFormData, A as AssociateType, q as ResourceImageType, g as UserLicenceType, T as TermsAgreement, D as DateTimeType, w as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData, u as SocialMediaType } from './global-x5DE08tD.js';
|
|
3
3
|
|
|
4
4
|
declare enum OrganizedMarketCount {
|
|
5
5
|
ONE = "One",
|
|
@@ -99,6 +99,7 @@ type UserFormData = {
|
|
|
99
99
|
isTester: boolean;
|
|
100
100
|
lastName: string;
|
|
101
101
|
password?: string | null;
|
|
102
|
+
platform?: EnumOSPlatform;
|
|
102
103
|
preferredRegion: string;
|
|
103
104
|
role: EnumUserRole;
|
|
104
105
|
termsAgreement?: TermsAgreement | null;
|
|
@@ -164,36 +165,30 @@ type UserActivity = {
|
|
|
164
165
|
events: UserActivityEvent[];
|
|
165
166
|
};
|
|
166
167
|
};
|
|
167
|
-
type UserResources = {
|
|
168
|
-
events: string[] | null;
|
|
169
|
-
partner: string | null;
|
|
170
|
-
vendor: string | null;
|
|
171
|
-
};
|
|
172
|
-
type UserDetails = {
|
|
173
|
-
avatar: ResourceImageType | null;
|
|
174
|
-
email: string;
|
|
175
|
-
firstName: string;
|
|
176
|
-
lastName: string;
|
|
177
|
-
password: string;
|
|
178
|
-
preferredRegion: string;
|
|
179
|
-
role: EnumUserRole;
|
|
180
|
-
};
|
|
181
168
|
interface UserType {
|
|
182
169
|
_id: string;
|
|
183
170
|
active: boolean;
|
|
184
|
-
appMetadata?: AppMetaDataType | null;
|
|
185
171
|
associates?: AssociateType[] | null;
|
|
172
|
+
avatar: ResourceImageType | null;
|
|
186
173
|
createdAt: Date;
|
|
187
174
|
deletedAt: Date | null;
|
|
175
|
+
email: string;
|
|
176
|
+
events: string[] | null;
|
|
177
|
+
firstName: string;
|
|
188
178
|
isTester: boolean;
|
|
179
|
+
lastName: string;
|
|
189
180
|
licences: UserLicenceType[] | null;
|
|
181
|
+
partner: string | null;
|
|
182
|
+
password: string;
|
|
183
|
+
platform: EnumOSPlatform | null;
|
|
184
|
+
preferredRegion: string;
|
|
190
185
|
refreshToken: string | null;
|
|
186
|
+
role: EnumUserRole;
|
|
191
187
|
stripe?: StripeSubscription;
|
|
192
188
|
termsAgreement?: TermsAgreement | null;
|
|
193
189
|
updatedAt: Date | null;
|
|
194
190
|
userActivity: UserActivity | null;
|
|
195
|
-
|
|
196
|
-
userResources: UserResources | null;
|
|
191
|
+
vendor: string | null;
|
|
197
192
|
}
|
|
198
193
|
|
|
199
194
|
interface PartnerFormData extends BaseResourceTypeFormData {
|
|
@@ -338,4 +333,4 @@ type PostType = Omit<PostFormData, "content"> & {
|
|
|
338
333
|
updatedAt: Date | null;
|
|
339
334
|
};
|
|
340
335
|
|
|
341
|
-
export { type AdType as A,
|
|
336
|
+
export { type AdType as A, EnumPostContentType as B, type CreateUserFormData as C, type PostFileInput as D, EnumAdStatus as E, type PostContentCover as F, type PostContentTextarea as G, type PostContentImage as H, type PostContentVideo as I, type PostContentList as J, type PostContentData as K, type PostContentFormData as L, type PostContentType as M, OrganizedMarketCount as O, type PartnerType as P, type SubscriptionStatusData as S, type TesterType as T, type UserType as U, VendorSellingFrequency as V, type SubscriptionPlansResponse as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type UserFormData as e, type PartnerFormData as f, type TesterFormData as g, type CreateTesterFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, OrganizerMarketFrequency as p, type TesterVendor as q, type TesterEvent as r, type UserActivityEvent as s, type StripeSubscription as t, type SubscriptionPricingData as u, type SubscriptionPlanData as v, type UserActivity as w, EnumAdShowOn as x, EnumAdType as y, EnumAdStyle as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumEventDateStatus, EnumOSPlatform } from './enums/index.mjs';
|
|
2
|
-
import { x as LocationGeoType } from './global-
|
|
2
|
+
import { x as LocationGeoType } from './global-D5dNxa5e.mjs';
|
|
3
3
|
|
|
4
4
|
type ParticipantType = {
|
|
5
5
|
active: boolean;
|
|
@@ -40,6 +40,7 @@ interface ChatMessageType {
|
|
|
40
40
|
interface ChatType {
|
|
41
41
|
_id: string;
|
|
42
42
|
active: boolean;
|
|
43
|
+
chatDescription?: string | null;
|
|
43
44
|
chatName: string;
|
|
44
45
|
chatType: EnumChatType;
|
|
45
46
|
createdAt: Date;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumChatType, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumEventDateStatus, EnumOSPlatform } from './enums/index.js';
|
|
2
|
-
import { x as LocationGeoType } from './global-
|
|
2
|
+
import { x as LocationGeoType } from './global-x5DE08tD.js';
|
|
3
3
|
|
|
4
4
|
type ParticipantType = {
|
|
5
5
|
active: boolean;
|
|
@@ -40,6 +40,7 @@ interface ChatMessageType {
|
|
|
40
40
|
interface ChatType {
|
|
41
41
|
_id: string;
|
|
42
42
|
active: boolean;
|
|
43
|
+
chatDescription?: string | null;
|
|
43
44
|
chatName: string;
|
|
44
45
|
chatType: EnumChatType;
|
|
45
46
|
createdAt: Date;
|
package/dist/types/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/index.ts","../../src/types/auth.ts","../../src/types/tester.ts","../../src/types/ad.ts","../../src/types/resourceActivities.ts","../../src/types/post.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\";\nexport * from \"./post\";\nexport * from \"./appSettings\";\nexport * from \"./googleImportedMarket\";\n","import { AppMetaDataType, CreateFormData, TermsAgreement } from \"src\";\n\nexport enum EnumVerificationType {\n REGISTER = \"register\",\n RESET_PASSWORD = \"resetPassword\",\n TESTER_VALIDATION = \"testerValidation\",\n}\n\nexport type LoginFormData = {\n email: string;\n isAdminPage?: boolean;\n password: string;\n appMetadata?: AppMetaDataType | null;\n};\n\nexport type CreateLoginFormData = CreateFormData<LoginFormData>;\n\nexport type RegisterFormData = {\n email: string;\n firstName: string;\n lastName: string;\n password: string;\n appMetadata?: AppMetaDataType | null;\n preferredRegion: string;\n termsAgreement?: TermsAgreement | null;\n};\n\nexport type CreateRegisterFormData = CreateFormData<RegisterFormData>;\n\nexport type RequestPasswordResetFormData = {\n email: string;\n};\n\nexport type CreateRequestPasswordResetFormData =\n CreateFormData<RequestPasswordResetFormData>;\n\nexport type ResetPasswordFormData = {\n confirmPassword: string;\n email: string;\n password: string;\n};\n\nexport type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;\n\nexport type ValidateVerificationTokenFormData = {\n email: string;\n verificationToken: string;\n verificationType?: EnumVerificationType;\n};\n\nexport type CreateValidateVerificationTokenFormData =\n CreateFormData<ValidateVerificationTokenFormData>;\n","import { EnumOSPlatform, EnumResourceType } from \"src/enums\";\n\nimport { Category, CreateFormData } from \"./global\";\n\nexport enum OrganizedMarketCount {\n ONE = \"One\",\n TWO_TO_THREE = \"Two_to_Three\",\n FOUR_TO_FIVE = \"Four_to_Five\",\n MORE_THAN_FIVE = \"More_than_Five\",\n}\n\nexport enum VendorSellingFrequency {\n TWICE_A_WEEK = \"Two_to_Three_times_a_week\",\n ONCE_A_WEEK = \"Once_a_week\",\n ONE_TO_TWO_TIMES_A_MONTH = \"One_to_Two_times_a_month\",\n LESS_OFTEN = \"Less_often\",\n}\n\nexport enum OrganizerMarketFrequency {\n WEEKLY = \"Weekly\",\n FORTNIGHTLY = \"Fortnightly\",\n MONTHLY = \"Monthly\",\n SEASONAL = \"Seasonal\",\n}\n\nexport type TesterVendor = {\n categories: Category[];\n marketsAttended: { name: string; city: string }[];\n productsOrServices: string;\n sellingFrequency: VendorSellingFrequency;\n yearlySellingApprox: number;\n questionary: {\n appearInVideoIntroduction?: boolean; // Q15 (Yes / No)\n applyToAtLeastOneMarket: boolean; // Q11\n completeFeedbackQuestionnaire: boolean; // Q13\n excitementAboutApp?: string; // Q17\n sendPhotoForSocialMedia?: boolean; // Q14 (Yes / No)\n socialMediaFeatureReason?: string; // Q16 (optional free text)\n testingPeriodConcerns?: string; // Q19 (optional)\n tryVisitorFeatures: boolean; // Q12\n uploadStallProfileFirstWeek: boolean; // Q10\n usefulnessExpectations?: string; // Q18\n };\n};\n\nexport type TesterEvent = {\n /** Organizer background */\n organizedMarketCount: OrganizedMarketCount;\n markets: {\n name: string;\n cityOrVenue: string;\n frequency: OrganizerMarketFrequency;\n averageStallCount: number;\n }[];\n questionary: {\n allowMarketingAppearance?: boolean;\n completeFinalQuestionnaire: boolean;\n interestedInCharityInitiative?: boolean;\n inviteStallholders: boolean;\n manageApplicationsAndCommunication: boolean;\n completeMarketProfileFirstWeek: boolean;\n spaceForClueMart?: boolean;\n uploadStallList: boolean;\n organizerExpectations?: string;\n dailyCoordinationNeeds?: string;\n };\n};\n\nexport interface TesterFormData {\n businessName: string;\n consents: {\n privacyConsent: boolean;\n betaTestConsent: boolean;\n };\n email: string;\n event?: TesterEvent | null;\n firstName: string;\n lastName: string;\n mobilePhone: string;\n osType: EnumOSPlatform;\n region: string;\n resourceType: EnumResourceType;\n vendor?: TesterVendor | null;\n}\n\nexport type CreateTesterFormData = CreateFormData<TesterFormData>;\n\nexport interface TesterType extends TesterFormData {\n _id: string;\n active: boolean;\n approved: boolean;\n createdAt: Date;\n updatedAt: Date | null;\n}\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\nimport { LocationGeoType } from \"./global\";\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: LocationGeoType | 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: EnumResourceType;\n activity: Omit<ResourceActivityEntry, \"timestamp\">;\n};\n","import { CreateFormData, ResourceImageType } from \"./global\";\n\nexport enum EnumPostType {\n DAILY_MEETS = \"daily_meets\",\n DAILY_TIPS = \"daily_tips\",\n DAILY_POLL = \"daily_poll\",\n}\n\nexport enum EnumPostContentType {\n COVER = \"cover\",\n IMAGE = \"image\",\n LIST = \"list\",\n TEXTAREA = \"textarea\",\n VIDEO = \"video\",\n}\n\nexport type PostFileInput = {\n source: File;\n title?: string;\n};\n\nexport type PostContentCover = {\n cover: ResourceImageType;\n coverUpload?: PostFileInput | null;\n};\n\nexport type PostContentTextarea = {\n textarea: {\n title?: string;\n data: string;\n };\n};\n\nexport type PostContentImage = {\n images: ResourceImageType[] | null;\n imagesUpload?: PostFileInput[] | null;\n};\n\nexport type PostContentVideo = {\n video: {\n source: string;\n title?: string;\n };\n};\n\nexport type PostContentList = {\n list: {\n title?: string;\n items: {\n text: string;\n }[];\n };\n};\n\nexport type PostContentData =\n | PostContentCover\n | PostContentTextarea\n | PostContentImage\n | PostContentVideo\n | PostContentList;\n\nexport type PostContentFormData = {\n contentData?: PostContentData | null;\n contentOrder?: number | null;\n contentType?: EnumPostContentType | null;\n};\n\nexport interface PostFormData {\n active: boolean;\n caption: string;\n content: PostContentFormData[];\n postType: EnumPostType;\n tags?: string[] | null;\n title: string;\n}\n\nexport type CreatePostFormData = CreateFormData<PostFormData>;\n\nexport type PostContentType = Omit<PostContentFormData, \"contentData\"> & {\n contentData: Omit<PostContentData, \"imagesUpload\" | \"coverUpload\">;\n};\n\nexport type PostType = Omit<PostFormData, \"content\"> & {\n _id: string;\n content: PostContentType[];\n createdAt: Date;\n deletedAt: Date | null;\n updatedAt: Date | null;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAK,uBAAL,kBAAKA,0BAAL;AACL,EAAAA,sBAAA,cAAW;AACX,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,uBAAoB;AAHV,SAAAA;AAAA,GAAA;;;ACEL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,SAAM;AACN,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,oBAAiB;AAJP,SAAAA;AAAA,GAAA;AAOL,IAAK,yBAAL,kBAAKC,4BAAL;AACL,EAAAA,wBAAA,kBAAe;AACf,EAAAA,wBAAA,iBAAc;AACd,EAAAA,wBAAA,8BAA2B;AAC3B,EAAAA,wBAAA,gBAAa;AAJH,SAAAA;AAAA,GAAA;AAOL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,YAAS;AACT,EAAAA,0BAAA,iBAAc;AACd,EAAAA,0BAAA,aAAU;AACV,EAAAA,0BAAA,cAAW;AAJD,SAAAA;AAAA,GAAA;;;ACdL,IAAK,eAAL,kBAAKC,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;;;ACdL,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;;;ACNL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,gBAAa;AAHH,SAAAA;AAAA,GAAA;AAML,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,UAAO;AACP,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;","names":["EnumVerificationType","OrganizedMarketCount","VendorSellingFrequency","OrganizerMarketFrequency","EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle","EnumActivity","EnumPostType","EnumPostContentType"]}
|
|
1
|
+
{"version":3,"sources":["../../src/types/index.ts","../../src/types/auth.ts","../../src/types/tester.ts","../../src/types/ad.ts","../../src/types/resourceActivities.ts","../../src/types/post.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\";\nexport * from \"./post\";\nexport * from \"./appSettings\";\nexport * from \"./googleImportedMarket\";\n","import { CreateFormData, EnumOSPlatform, TermsAgreement } from \"src\";\n\nexport enum EnumVerificationType {\n REGISTER = \"register\",\n RESET_PASSWORD = \"resetPassword\",\n TESTER_VALIDATION = \"testerValidation\",\n}\n\nexport type LoginFormData = {\n email: string;\n isAdminPage?: boolean;\n password: string;\n platform?: EnumOSPlatform;\n};\n\nexport type CreateLoginFormData = CreateFormData<LoginFormData>;\n\nexport type RegisterFormData = {\n email: string;\n firstName: string;\n lastName: string;\n password: string;\n platform?: EnumOSPlatform;\n preferredRegion: string;\n termsAgreement?: TermsAgreement | null;\n};\n\nexport type CreateRegisterFormData = CreateFormData<RegisterFormData>;\n\nexport type RequestPasswordResetFormData = {\n email: string;\n};\n\nexport type CreateRequestPasswordResetFormData =\n CreateFormData<RequestPasswordResetFormData>;\n\nexport type ResetPasswordFormData = {\n confirmPassword: string;\n email: string;\n password: string;\n};\n\nexport type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;\n\nexport type ValidateVerificationTokenFormData = {\n email: string;\n verificationToken: string;\n verificationType?: EnumVerificationType;\n};\n\nexport type CreateValidateVerificationTokenFormData =\n CreateFormData<ValidateVerificationTokenFormData>;\n","import { EnumOSPlatform, EnumResourceType } from \"src/enums\";\n\nimport { Category, CreateFormData } from \"./global\";\n\nexport enum OrganizedMarketCount {\n ONE = \"One\",\n TWO_TO_THREE = \"Two_to_Three\",\n FOUR_TO_FIVE = \"Four_to_Five\",\n MORE_THAN_FIVE = \"More_than_Five\",\n}\n\nexport enum VendorSellingFrequency {\n TWICE_A_WEEK = \"Two_to_Three_times_a_week\",\n ONCE_A_WEEK = \"Once_a_week\",\n ONE_TO_TWO_TIMES_A_MONTH = \"One_to_Two_times_a_month\",\n LESS_OFTEN = \"Less_often\",\n}\n\nexport enum OrganizerMarketFrequency {\n WEEKLY = \"Weekly\",\n FORTNIGHTLY = \"Fortnightly\",\n MONTHLY = \"Monthly\",\n SEASONAL = \"Seasonal\",\n}\n\nexport type TesterVendor = {\n categories: Category[];\n marketsAttended: { name: string; city: string }[];\n productsOrServices: string;\n sellingFrequency: VendorSellingFrequency;\n yearlySellingApprox: number;\n questionary: {\n appearInVideoIntroduction?: boolean; // Q15 (Yes / No)\n applyToAtLeastOneMarket: boolean; // Q11\n completeFeedbackQuestionnaire: boolean; // Q13\n excitementAboutApp?: string; // Q17\n sendPhotoForSocialMedia?: boolean; // Q14 (Yes / No)\n socialMediaFeatureReason?: string; // Q16 (optional free text)\n testingPeriodConcerns?: string; // Q19 (optional)\n tryVisitorFeatures: boolean; // Q12\n uploadStallProfileFirstWeek: boolean; // Q10\n usefulnessExpectations?: string; // Q18\n };\n};\n\nexport type TesterEvent = {\n /** Organizer background */\n organizedMarketCount: OrganizedMarketCount;\n markets: {\n name: string;\n cityOrVenue: string;\n frequency: OrganizerMarketFrequency;\n averageStallCount: number;\n }[];\n questionary: {\n allowMarketingAppearance?: boolean;\n completeFinalQuestionnaire: boolean;\n interestedInCharityInitiative?: boolean;\n inviteStallholders: boolean;\n manageApplicationsAndCommunication: boolean;\n completeMarketProfileFirstWeek: boolean;\n spaceForClueMart?: boolean;\n uploadStallList: boolean;\n organizerExpectations?: string;\n dailyCoordinationNeeds?: string;\n };\n};\n\nexport interface TesterFormData {\n businessName: string;\n consents: {\n privacyConsent: boolean;\n betaTestConsent: boolean;\n };\n email: string;\n event?: TesterEvent | null;\n firstName: string;\n lastName: string;\n mobilePhone: string;\n osType: EnumOSPlatform;\n region: string;\n resourceType: EnumResourceType;\n vendor?: TesterVendor | null;\n}\n\nexport type CreateTesterFormData = CreateFormData<TesterFormData>;\n\nexport interface TesterType extends TesterFormData {\n _id: string;\n active: boolean;\n approved: boolean;\n createdAt: Date;\n updatedAt: Date | null;\n}\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\nimport { LocationGeoType } from \"./global\";\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: LocationGeoType | 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: EnumResourceType;\n activity: Omit<ResourceActivityEntry, \"timestamp\">;\n};\n","import { CreateFormData, ResourceImageType } from \"./global\";\n\nexport enum EnumPostType {\n DAILY_MEETS = \"daily_meets\",\n DAILY_TIPS = \"daily_tips\",\n DAILY_POLL = \"daily_poll\",\n}\n\nexport enum EnumPostContentType {\n COVER = \"cover\",\n IMAGE = \"image\",\n LIST = \"list\",\n TEXTAREA = \"textarea\",\n VIDEO = \"video\",\n}\n\nexport type PostFileInput = {\n source: File;\n title?: string;\n};\n\nexport type PostContentCover = {\n cover: ResourceImageType;\n coverUpload?: PostFileInput | null;\n};\n\nexport type PostContentTextarea = {\n textarea: {\n title?: string;\n data: string;\n };\n};\n\nexport type PostContentImage = {\n images: ResourceImageType[] | null;\n imagesUpload?: PostFileInput[] | null;\n};\n\nexport type PostContentVideo = {\n video: {\n source: string;\n title?: string;\n };\n};\n\nexport type PostContentList = {\n list: {\n title?: string;\n items: {\n text: string;\n }[];\n };\n};\n\nexport type PostContentData =\n | PostContentCover\n | PostContentTextarea\n | PostContentImage\n | PostContentVideo\n | PostContentList;\n\nexport type PostContentFormData = {\n contentData?: PostContentData | null;\n contentOrder?: number | null;\n contentType?: EnumPostContentType | null;\n};\n\nexport interface PostFormData {\n active: boolean;\n caption: string;\n content: PostContentFormData[];\n postType: EnumPostType;\n tags?: string[] | null;\n title: string;\n}\n\nexport type CreatePostFormData = CreateFormData<PostFormData>;\n\nexport type PostContentType = Omit<PostContentFormData, \"contentData\"> & {\n contentData: Omit<PostContentData, \"imagesUpload\" | \"coverUpload\">;\n};\n\nexport type PostType = Omit<PostFormData, \"content\"> & {\n _id: string;\n content: PostContentType[];\n createdAt: Date;\n deletedAt: Date | null;\n updatedAt: Date | null;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAK,uBAAL,kBAAKA,0BAAL;AACL,EAAAA,sBAAA,cAAW;AACX,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,uBAAoB;AAHV,SAAAA;AAAA,GAAA;;;ACEL,IAAK,uBAAL,kBAAKC,0BAAL;AACL,EAAAA,sBAAA,SAAM;AACN,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,kBAAe;AACf,EAAAA,sBAAA,oBAAiB;AAJP,SAAAA;AAAA,GAAA;AAOL,IAAK,yBAAL,kBAAKC,4BAAL;AACL,EAAAA,wBAAA,kBAAe;AACf,EAAAA,wBAAA,iBAAc;AACd,EAAAA,wBAAA,8BAA2B;AAC3B,EAAAA,wBAAA,gBAAa;AAJH,SAAAA;AAAA,GAAA;AAOL,IAAK,2BAAL,kBAAKC,8BAAL;AACL,EAAAA,0BAAA,YAAS;AACT,EAAAA,0BAAA,iBAAc;AACd,EAAAA,0BAAA,aAAU;AACV,EAAAA,0BAAA,cAAW;AAJD,SAAAA;AAAA,GAAA;;;ACdL,IAAK,eAAL,kBAAKC,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;;;ACdL,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;;;ACNL,IAAK,eAAL,kBAAKC,kBAAL;AACL,EAAAA,cAAA,iBAAc;AACd,EAAAA,cAAA,gBAAa;AACb,EAAAA,cAAA,gBAAa;AAHH,SAAAA;AAAA,GAAA;AAML,IAAK,sBAAL,kBAAKC,yBAAL;AACL,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,WAAQ;AACR,EAAAA,qBAAA,UAAO;AACP,EAAAA,qBAAA,cAAW;AACX,EAAAA,qBAAA,WAAQ;AALE,SAAAA;AAAA,GAAA;","names":["EnumVerificationType","OrganizedMarketCount","VendorSellingFrequency","OrganizerMarketFrequency","EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle","EnumActivity","EnumPostType","EnumPostContentType"]}
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnumResourceType, EnumEventType } 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, E as EnumVerificationType, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-
|
|
3
|
-
export { b as ChatMessageInput, d as ChatMessageReaction, c as ChatMessageReplyPreview, e as ChatMessageSeen, f as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, g as NotificationDataType, N as NotificationType, P as ParticipantType, i as ResourceActivityEntry, j as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { q as ResourceImageType, D as DateTimeType, L as LocationType, r as RelationDate } from '../global-
|
|
5
|
-
export {
|
|
6
|
-
export { i as AdFormData, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, h as CreateTesterFormData, C as CreateUserFormData,
|
|
2
|
+
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, E as EnumVerificationType, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-BNhymOFs.mjs';
|
|
3
|
+
export { b as ChatMessageInput, d as ChatMessageReaction, c as ChatMessageReplyPreview, e as ChatMessageSeen, f as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, g as NotificationDataType, N as NotificationType, P as ParticipantType, i as ResourceActivityEntry, j as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-C97X-AAZ.mjs';
|
|
4
|
+
import { q as ResourceImageType, D as DateTimeType, L as LocationType, r as RelationDate } from '../global-D5dNxa5e.mjs';
|
|
5
|
+
export { A as AssociateType, w as BaseResourceType, B as BaseResourceTypeFormData, C as Category, m as CreateEventFormData, o as CreateEventInfoFormData, K as CreateFormData, $ as CreateUnregisteredVendorFormData, i as CreateVendorFormData, k as CreateVendorInfoFormData, Q as DateTimeWithPriceType, s as DeviceInfo, l as EventFormData, n as EventInfoFormData, c as EventInfoType, E as EventListItemType, z as EventStatusType, b as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, J as ImageObjectType, x as LocationGeoType, M as MapMultiLocation, N as Nullable, O as OptionItem, v as OwnerType, W as PaymentInfoType, P as PosterUsageType, y as Region, d as RelationType, R as Requirement, e as ResourceConnectionsType, t as ResourceContactDetailsType, u as SocialMediaType, S as StallType, I as Subcategory, H as SubcategoryItems, T as TermsAgreement, p as UnregisteredVendorFormData, _ as UnregisteredVendorInvitationType, U as UnregisteredVendorType, g as UserLicenceType, Z as VendorAttributes, h as VendorFormData, j as VendorInfoFormData, f as VendorInfoType, X as VendorLocation, Y as VendorMenuType, V as VendorType } from '../global-D5dNxa5e.mjs';
|
|
6
|
+
export { i as AdFormData, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, h as CreateTesterFormData, C as CreateUserFormData, x as EnumAdShowOn, E as EnumAdStatus, z as EnumAdStyle, y as EnumAdType, B as EnumPostContentType, c as EnumPostType, O as OrganizedMarketCount, p as OrganizerMarketFrequency, f as PartnerFormData, P as PartnerType, F as PostContentCover, K as PostContentData, L as PostContentFormData, H as PostContentImage, J as PostContentList, G as PostContentTextarea, M as PostContentType, I as PostContentVideo, D as PostFileInput, l as PostFormData, b as PostType, t as StripeSubscription, v as SubscriptionPlanData, a as SubscriptionPlansResponse, u as SubscriptionPricingData, S as SubscriptionStatusData, r as TesterEvent, g as TesterFormData, T as TesterType, q as TesterVendor, w as UserActivity, s as UserActivityEvent, e as UserFormData, U as UserType, V as VendorSellingFrequency } from '../post-BnXA5t_U.mjs';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
interface AdminUpdateResourceType {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EnumResourceType, EnumEventType } 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, E as EnumVerificationType, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-
|
|
3
|
-
export { b as ChatMessageInput, d as ChatMessageReaction, c as ChatMessageReplyPreview, e as ChatMessageSeen, f as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, g as NotificationDataType, N as NotificationType, P as ParticipantType, i as ResourceActivityEntry, j as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { q as ResourceImageType, D as DateTimeType, L as LocationType, r as RelationDate } from '../global-
|
|
5
|
-
export {
|
|
6
|
-
export { i as AdFormData, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, h as CreateTesterFormData, C as CreateUserFormData,
|
|
2
|
+
export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, E as EnumVerificationType, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-CgzvvFjw.js';
|
|
3
|
+
export { b as ChatMessageInput, d as ChatMessageReaction, c as ChatMessageReplyPreview, e as ChatMessageSeen, f as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, a as NotificationCount, g as NotificationDataType, N as NotificationType, P as ParticipantType, i as ResourceActivityEntry, j as ResourceActivityInputType, R as ResourceActivityType } from '../resourceActivities-oEQN2jZg.js';
|
|
4
|
+
import { q as ResourceImageType, D as DateTimeType, L as LocationType, r as RelationDate } from '../global-x5DE08tD.js';
|
|
5
|
+
export { A as AssociateType, w as BaseResourceType, B as BaseResourceTypeFormData, C as Category, m as CreateEventFormData, o as CreateEventInfoFormData, K as CreateFormData, $ as CreateUnregisteredVendorFormData, i as CreateVendorFormData, k as CreateVendorInfoFormData, Q as DateTimeWithPriceType, s as DeviceInfo, l as EventFormData, n as EventInfoFormData, c as EventInfoType, E as EventListItemType, z as EventStatusType, b as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, J as ImageObjectType, x as LocationGeoType, M as MapMultiLocation, N as Nullable, O as OptionItem, v as OwnerType, W as PaymentInfoType, P as PosterUsageType, y as Region, d as RelationType, R as Requirement, e as ResourceConnectionsType, t as ResourceContactDetailsType, u as SocialMediaType, S as StallType, I as Subcategory, H as SubcategoryItems, T as TermsAgreement, p as UnregisteredVendorFormData, _ as UnregisteredVendorInvitationType, U as UnregisteredVendorType, g as UserLicenceType, Z as VendorAttributes, h as VendorFormData, j as VendorInfoFormData, f as VendorInfoType, X as VendorLocation, Y as VendorMenuType, V as VendorType } from '../global-x5DE08tD.js';
|
|
6
|
+
export { i as AdFormData, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, h as CreateTesterFormData, C as CreateUserFormData, x as EnumAdShowOn, E as EnumAdStatus, z as EnumAdStyle, y as EnumAdType, B as EnumPostContentType, c as EnumPostType, O as OrganizedMarketCount, p as OrganizerMarketFrequency, f as PartnerFormData, P as PartnerType, F as PostContentCover, K as PostContentData, L as PostContentFormData, H as PostContentImage, J as PostContentList, G as PostContentTextarea, M as PostContentType, I as PostContentVideo, D as PostFileInput, l as PostFormData, b as PostType, t as StripeSubscription, v as SubscriptionPlanData, a as SubscriptionPlansResponse, u as SubscriptionPricingData, S as SubscriptionStatusData, r as TesterEvent, g as TesterFormData, T as TesterType, q as TesterVendor, w as UserActivity, s as UserActivityEvent, e as UserFormData, U as UserType, V as VendorSellingFrequency } from '../post-DDDWdbHZ.js';
|
|
7
7
|
import 'react-hook-form';
|
|
8
8
|
|
|
9
9
|
interface AdminUpdateResourceType {
|
package/dist/types/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/auth.ts","../../src/types/resourceActivities.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../src/types/auth.ts","../../src/types/resourceActivities.ts"],"sourcesContent":["import { CreateFormData, EnumOSPlatform, TermsAgreement } from \"src\";\n\nexport enum EnumVerificationType {\n REGISTER = \"register\",\n RESET_PASSWORD = \"resetPassword\",\n TESTER_VALIDATION = \"testerValidation\",\n}\n\nexport type LoginFormData = {\n email: string;\n isAdminPage?: boolean;\n password: string;\n platform?: EnumOSPlatform;\n};\n\nexport type CreateLoginFormData = CreateFormData<LoginFormData>;\n\nexport type RegisterFormData = {\n email: string;\n firstName: string;\n lastName: string;\n password: string;\n platform?: EnumOSPlatform;\n preferredRegion: string;\n termsAgreement?: TermsAgreement | null;\n};\n\nexport type CreateRegisterFormData = CreateFormData<RegisterFormData>;\n\nexport type RequestPasswordResetFormData = {\n email: string;\n};\n\nexport type CreateRequestPasswordResetFormData =\n CreateFormData<RequestPasswordResetFormData>;\n\nexport type ResetPasswordFormData = {\n confirmPassword: string;\n email: string;\n password: string;\n};\n\nexport type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;\n\nexport type ValidateVerificationTokenFormData = {\n email: string;\n verificationToken: string;\n verificationType?: EnumVerificationType;\n};\n\nexport type CreateValidateVerificationTokenFormData =\n CreateFormData<ValidateVerificationTokenFormData>;\n","import {\n EnumEventDateStatus,\n EnumOSPlatform,\n EnumResourceType,\n} from \"src/enums\";\n\nimport { LocationGeoType } from \"./global\";\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: LocationGeoType | 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: EnumResourceType;\n activity: Omit<ResourceActivityEntry, \"timestamp\">;\n};\n"],"mappings":";;;;;;;;;;;;;AAEO,IAAK,uBAAL,kBAAKA,0BAAL;AACL,EAAAA,sBAAA,cAAW;AACX,EAAAA,sBAAA,oBAAiB;AACjB,EAAAA,sBAAA,uBAAoB;AAHV,SAAAA;AAAA,GAAA;;;ACML,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":["EnumVerificationType","EnumActivity"]}
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumInviteStatus, EnumRegions, EnumUserLicence } from '../enums/index.mjs';
|
|
2
|
-
import { y as Region, O as OptionItem, u as SocialMediaType } from '../global-
|
|
2
|
+
import { y as Region, O as OptionItem, u as SocialMediaType } from '../global-D5dNxa5e.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, EnumUserLicence } from '../enums/index.js';
|
|
2
|
-
import { y as Region, O as OptionItem, u as SocialMediaType } from '../global-
|
|
2
|
+
import { y as Region, O as OptionItem, u as SocialMediaType } from '../global-x5DE08tD.js';
|
|
3
3
|
import 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
declare const dateFormat = "DD-MM-YYYY";
|