@timardex/cluemart-shared 1.4.67 → 1.4.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.
@@ -1,5 +1,5 @@
1
1
  import { EnumUserLicence, EnumSubscriptionStatus, EnumOSPlatform, EnumUserRole, EnumResourceType, EnumPartnerType } from './enums/index.mjs';
2
- import { A as AssociateType, r as ResourceImageType, h as UserLicenceType, Y as TermsAgreement, D as DateTimeType, u as CreateFormData, t as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData } from './global-GMlnFp7I.mjs';
2
+ import { A as AssociateType, Q as ResourceImageType, h as UserLicenceType, Y as TermsAgreement, D as DateTimeType, s as CreateFormData, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData } from './global-FOUmnU7B.mjs';
3
3
 
4
4
  type UserFormData = {
5
5
  _id?: string;
@@ -1,5 +1,5 @@
1
1
  import { EnumUserLicence, EnumSubscriptionStatus, EnumOSPlatform, EnumUserRole, EnumResourceType, EnumPartnerType } from './enums/index.js';
2
- import { A as AssociateType, r as ResourceImageType, h as UserLicenceType, Y as TermsAgreement, D as DateTimeType, u as CreateFormData, t as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData } from './global-Cdcu76UE.js';
2
+ import { A as AssociateType, Q as ResourceImageType, h as UserLicenceType, Y as TermsAgreement, D as DateTimeType, s as CreateFormData, r as BaseResourceType, L as LocationType, B as BaseResourceTypeFormData } from './global-D7zAQcn2.js';
3
3
 
4
4
  type UserFormData = {
5
5
  _id?: string;
@@ -1,5 +1,5 @@
1
1
  import { EnumChatType, EnumChatReportReason, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumEventDateStatus, EnumOSPlatform } from './enums/index.mjs';
2
- import { z as LocationGeoType } from './global-GMlnFp7I.mjs';
2
+ import { x as LocationGeoType } from './global-FOUmnU7B.mjs';
3
3
 
4
4
  type ParticipantType = {
5
5
  active: boolean;
@@ -1,5 +1,5 @@
1
1
  import { EnumChatType, EnumChatReportReason, EnumNotificationType, EnumNotificationResourceType, EnumResourceType, EnumEventDateStatus, EnumOSPlatform } from './enums/index.js';
2
- import { z as LocationGeoType } from './global-Cdcu76UE.js';
2
+ import { x as LocationGeoType } from './global-D7zAQcn2.js';
3
3
 
4
4
  type ParticipantType = {
5
5
  active: boolean;
@@ -1,9 +1,9 @@
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-DP4rp8kt.mjs';
3
- export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-sdIDFwub.mjs';
4
- import { r as ResourceImageType, D as DateTimeType, L as LocationType, s as RelationDate } from '../global-GMlnFp7I.mjs';
5
- export { A as AssociateType, t as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, u as CreateFormData, v as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, w as DateTimeWithPriceType, x as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, c as EventListItemType, y as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, z as LocationGeoType, N as Nullable, O as OptionItem, H as OwnerType, P as PaymentInfoType, J as PosterUsageType, R as RefundPolicy, K as Region, e as RelationType, b as Requirement, f as ResourceConnectionsType, M as ResourceContactDetailsType, Q as ResourceDetails, T as SocialMediaType, S as StallType, W as Subcategory, X as SubcategoryItems, Y as TermsAgreement, q as UnregisteredVendorFormData, Z as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, _ as VendorAttributes, $ as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a0 as VendorProductList, V as VendorType } from '../global-GMlnFp7I.mjs';
6
- export { g as AdFormData, n as AdResource, A as AdType, l as AppSettingsFormData, d as AppSettingsType, h as CreateAdFormData, m as CreateAppSettingsFormData, i as CreatePartnerFormData, k as CreatePostFormData, C as CreateUserFormData, o as EnumAdShowOn, E as EnumAdStatus, p as EnumAdStyle, q as EnumAdType, r as EnumPostContentType, c as EnumPostType, f as PartnerFormData, P as PartnerType, s as PostContentData, t as PostContentFormData, u as PostContentImage, v as PostContentList, w as PostContentTextarea, x as PostContentType, y as PostContentVideo, z as PostFileInput, j as PostFormData, b as PostType, R as ResourceByUser, B as StripeSubscription, D as SubscriptionPlanData, S as SubscriptionPlansResponse, F as SubscriptionPricingData, a as SubscriptionStatusData, G as UserActivity, H as UserActivityEvent, e as UserFormData, U as UserType } from '../post-Bs27AkGC.mjs';
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, E as EnumVerificationType, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-B-Z1YMPB.mjs';
3
+ export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-C4-l6iF9.mjs';
4
+ import { c as EventListItemType } from '../global-FOUmnU7B.mjs';
5
+ export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, s as CreateFormData, t as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, D as DateTimeType, u as DateTimeWithPriceType, v as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, w as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, x as LocationGeoType, L as LocationType, N as Nullable, O as OptionItem, y as OwnerType, P as PaymentInfoType, z as PosterUsageType, R as RefundPolicy, H as Region, J as RelationDate, e as RelationType, b as Requirement, f as ResourceConnectionsType, K as ResourceContactDetailsType, M as ResourceDetails, Q as ResourceImageType, T as SocialMediaType, S as StallType, W as Subcategory, X as SubcategoryItems, Y as TermsAgreement, q as UnregisteredVendorFormData, Z as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, _ as VendorAttributes, $ as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a0 as VendorProductList, V as VendorType } from '../global-FOUmnU7B.mjs';
6
+ export { g as AdFormData, n as AdResource, A as AdType, l as AppSettingsFormData, d as AppSettingsType, h as CreateAdFormData, m as CreateAppSettingsFormData, i as CreatePartnerFormData, k as CreatePostFormData, C as CreateUserFormData, o as EnumAdShowOn, E as EnumAdStatus, p as EnumAdStyle, q as EnumAdType, r as EnumPostContentType, c as EnumPostType, f as PartnerFormData, P as PartnerType, s as PostContentData, t as PostContentFormData, u as PostContentImage, v as PostContentList, w as PostContentTextarea, x as PostContentType, y as PostContentVideo, z as PostFileInput, j as PostFormData, b as PostType, R as ResourceByUser, B as StripeSubscription, D as SubscriptionPlanData, S as SubscriptionPlansResponse, F as SubscriptionPricingData, a as SubscriptionStatusData, G as UserActivity, H as UserActivityEvent, e as UserFormData, U as UserType } from '../post-D5luLIWV.mjs';
7
7
  import 'react-hook-form';
8
8
 
9
9
  interface AdminUpdateResourceType {
@@ -24,50 +24,18 @@ type GoogleAddressComponent = {
24
24
  shortName?: string;
25
25
  types?: string[];
26
26
  };
27
- type GoogleImportedMarket = {
28
- _id: string;
29
- accessibilityOptions?: Record<string, boolean>;
30
- active: boolean;
27
+ interface GoogleImportedMarket extends EventListItemType {
31
28
  address: string;
32
29
  addressComponents?: GoogleAddressComponent[];
33
- allowsDogs?: boolean;
34
30
  businessStatus?: string;
35
- claimed: boolean;
36
31
  claimedAt?: Date;
37
32
  claimedByUserId?: string;
38
- cover: ResourceImageType | null;
39
- createdAt: Date;
40
- dateTime: DateTimeType[];
41
- deletedAt: Date | null;
42
- description: string;
43
33
  eventId?: string;
44
- eventType: EnumEventType;
45
- goodForChildren?: boolean;
46
- goodForGroups?: boolean;
47
34
  googleMapsUrl?: string;
48
- googlePlaceId: string;
49
- images?: ResourceImageType[] | null;
50
35
  importedAt: Date;
51
- liveMusic?: boolean;
52
- location: LocationType;
53
- logo?: ResourceImageType | null;
54
- name: string;
55
36
  openingHours?: string[];
56
- parkingOptions?: Record<string, boolean>;
57
- paymentOptions?: Record<string, boolean>;
58
- phone?: string;
59
- rainOrShine: boolean;
60
- rating?: number;
61
- region: string;
62
- relations: {
63
- relationId: string | null;
64
- relationDates: RelationDate[] | null;
65
- }[] | null;
66
- restroom?: boolean;
67
- reviewCount?: number;
68
37
  slug: string;
69
- updatedAt: Date;
70
38
  website?: string;
71
- };
39
+ }
72
40
 
73
- export { type AdminUpdateResourceType, DateTimeType, type GoogleAddressComponent, type GoogleImportedMarket, LocationType, type PosterInputType, RelationDate, ResourceImageType };
41
+ export { type AdminUpdateResourceType, EventListItemType, type GoogleAddressComponent, type GoogleImportedMarket, type PosterInputType };
@@ -1,9 +1,9 @@
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-x87uDA8A.js';
3
- export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-Qpi5PTJD.js';
4
- import { r as ResourceImageType, D as DateTimeType, L as LocationType, s as RelationDate } from '../global-Cdcu76UE.js';
5
- export { A as AssociateType, t as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, u as CreateFormData, v as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, w as DateTimeWithPriceType, x as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, c as EventListItemType, y as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, z as LocationGeoType, N as Nullable, O as OptionItem, H as OwnerType, P as PaymentInfoType, J as PosterUsageType, R as RefundPolicy, K as Region, e as RelationType, b as Requirement, f as ResourceConnectionsType, M as ResourceContactDetailsType, Q as ResourceDetails, T as SocialMediaType, S as StallType, W as Subcategory, X as SubcategoryItems, Y as TermsAgreement, q as UnregisteredVendorFormData, Z as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, _ as VendorAttributes, $ as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a0 as VendorProductList, V as VendorType } from '../global-Cdcu76UE.js';
6
- export { g as AdFormData, n as AdResource, A as AdType, l as AppSettingsFormData, d as AppSettingsType, h as CreateAdFormData, m as CreateAppSettingsFormData, i as CreatePartnerFormData, k as CreatePostFormData, C as CreateUserFormData, o as EnumAdShowOn, E as EnumAdStatus, p as EnumAdStyle, q as EnumAdType, r as EnumPostContentType, c as EnumPostType, f as PartnerFormData, P as PartnerType, s as PostContentData, t as PostContentFormData, u as PostContentImage, v as PostContentList, w as PostContentTextarea, x as PostContentType, y as PostContentVideo, z as PostFileInput, j as PostFormData, b as PostType, R as ResourceByUser, B as StripeSubscription, D as SubscriptionPlanData, S as SubscriptionPlansResponse, F as SubscriptionPricingData, a as SubscriptionStatusData, G as UserActivity, H as UserActivityEvent, e as UserFormData, U as UserType } from '../post-CdeU5KyV.js';
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, E as EnumVerificationType, L as LoginFormData, R as RegisterFormData, g as RequestPasswordResetFormData, h as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../auth-dvNAGKWv.js';
3
+ export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-DoZpH1Fu.js';
4
+ import { c as EventListItemType } from '../global-D7zAQcn2.js';
5
+ export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, s as CreateFormData, t as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, D as DateTimeType, u as DateTimeWithPriceType, v as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, w as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, x as LocationGeoType, L as LocationType, N as Nullable, O as OptionItem, y as OwnerType, P as PaymentInfoType, z as PosterUsageType, R as RefundPolicy, H as Region, J as RelationDate, e as RelationType, b as Requirement, f as ResourceConnectionsType, K as ResourceContactDetailsType, M as ResourceDetails, Q as ResourceImageType, T as SocialMediaType, S as StallType, W as Subcategory, X as SubcategoryItems, Y as TermsAgreement, q as UnregisteredVendorFormData, Z as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, _ as VendorAttributes, $ as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a0 as VendorProductList, V as VendorType } from '../global-D7zAQcn2.js';
6
+ export { g as AdFormData, n as AdResource, A as AdType, l as AppSettingsFormData, d as AppSettingsType, h as CreateAdFormData, m as CreateAppSettingsFormData, i as CreatePartnerFormData, k as CreatePostFormData, C as CreateUserFormData, o as EnumAdShowOn, E as EnumAdStatus, p as EnumAdStyle, q as EnumAdType, r as EnumPostContentType, c as EnumPostType, f as PartnerFormData, P as PartnerType, s as PostContentData, t as PostContentFormData, u as PostContentImage, v as PostContentList, w as PostContentTextarea, x as PostContentType, y as PostContentVideo, z as PostFileInput, j as PostFormData, b as PostType, R as ResourceByUser, B as StripeSubscription, D as SubscriptionPlanData, S as SubscriptionPlansResponse, F as SubscriptionPricingData, a as SubscriptionStatusData, G as UserActivity, H as UserActivityEvent, e as UserFormData, U as UserType } from '../post-Dpp6_lCR.js';
7
7
  import 'react-hook-form';
8
8
 
9
9
  interface AdminUpdateResourceType {
@@ -24,50 +24,18 @@ type GoogleAddressComponent = {
24
24
  shortName?: string;
25
25
  types?: string[];
26
26
  };
27
- type GoogleImportedMarket = {
28
- _id: string;
29
- accessibilityOptions?: Record<string, boolean>;
30
- active: boolean;
27
+ interface GoogleImportedMarket extends EventListItemType {
31
28
  address: string;
32
29
  addressComponents?: GoogleAddressComponent[];
33
- allowsDogs?: boolean;
34
30
  businessStatus?: string;
35
- claimed: boolean;
36
31
  claimedAt?: Date;
37
32
  claimedByUserId?: string;
38
- cover: ResourceImageType | null;
39
- createdAt: Date;
40
- dateTime: DateTimeType[];
41
- deletedAt: Date | null;
42
- description: string;
43
33
  eventId?: string;
44
- eventType: EnumEventType;
45
- goodForChildren?: boolean;
46
- goodForGroups?: boolean;
47
34
  googleMapsUrl?: string;
48
- googlePlaceId: string;
49
- images?: ResourceImageType[] | null;
50
35
  importedAt: Date;
51
- liveMusic?: boolean;
52
- location: LocationType;
53
- logo?: ResourceImageType | null;
54
- name: string;
55
36
  openingHours?: string[];
56
- parkingOptions?: Record<string, boolean>;
57
- paymentOptions?: Record<string, boolean>;
58
- phone?: string;
59
- rainOrShine: boolean;
60
- rating?: number;
61
- region: string;
62
- relations: {
63
- relationId: string | null;
64
- relationDates: RelationDate[] | null;
65
- }[] | null;
66
- restroom?: boolean;
67
- reviewCount?: number;
68
37
  slug: string;
69
- updatedAt: Date;
70
38
  website?: string;
71
- };
39
+ }
72
40
 
73
- export { type AdminUpdateResourceType, DateTimeType, type GoogleAddressComponent, type GoogleImportedMarket, LocationType, type PosterInputType, RelationDate, ResourceImageType };
41
+ export { type AdminUpdateResourceType, EventListItemType, type GoogleAddressComponent, type GoogleImportedMarket, type PosterInputType };
@@ -1,5 +1,5 @@
1
1
  import { EnumRegions, EnumUserLicence, EnumInviteStatus } from '../enums/index.mjs';
2
- import { O as OptionItem, T as SocialMediaType } from '../global-GMlnFp7I.mjs';
2
+ import { O as OptionItem, T as SocialMediaType } from '../global-FOUmnU7B.mjs';
3
3
  import 'react-hook-form';
4
4
 
5
5
  declare const dateFormat = "DD-MM-YYYY";
@@ -1,5 +1,5 @@
1
1
  import { EnumRegions, EnumUserLicence, EnumInviteStatus } from '../enums/index.js';
2
- import { O as OptionItem, T as SocialMediaType } from '../global-Cdcu76UE.js';
2
+ import { O as OptionItem, T as SocialMediaType } from '../global-D7zAQcn2.js';
3
3
  import 'react-hook-form';
4
4
 
5
5
  declare const dateFormat = "DD-MM-YYYY";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "1.4.67",
3
+ "version": "1.4.68",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",