@timardex/cluemart-shared 1.2.66 → 1.2.69
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-BChCn4Ka.d.ts → ad-BijiW7Nn.d.ts} +9 -8
- package/dist/{ad-DC4CQ8Gp.d.mts → ad-DITy2OMe.d.mts} +9 -8
- package/dist/{auth-BBzFtZee.d.mts → auth-DCIrfDwB.d.mts} +1 -1
- package/dist/{auth-DqNTAngW.d.ts → auth-iE9sd_mq.d.ts} +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-JXYCto5-.d.ts → global-08vcDEuE.d.ts} +21 -14
- package/dist/{global-WNM-jttW.d.mts → global-DhZY519g.d.mts} +21 -14
- 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 +31 -13
- 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 +17 -8
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +40 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +33 -24
- package/dist/index.d.ts +33 -24
- package/dist/index.mjs +38 -28
- 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
|
@@ -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 { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as
|
|
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-DCIrfDwB.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-DhZY519g.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-DITy2OMe.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 { c as AdFormData, A as AdType, d as CreateAdFormData, e as CreatePartnerFormData, C as
|
|
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-iE9sd_mq.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-08vcDEuE.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-BijiW7Nn.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-DhZY519g.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-08vcDEuE.js';
|
|
3
3
|
import 'react-hook-form';
|
|
4
4
|
|
|
5
5
|
declare const dateFormat = "DD-MM-YYYY";
|