@timardex/cluemart-shared 1.4.57 → 1.4.59

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,4 +1,4 @@
1
- import { u as CreateFormData, Y as TermsAgreement } from './global-D3WVRbPl.js';
1
+ import { u as CreateFormData, Y as TermsAgreement } from './global-CPPLdm4G.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { u as CreateFormData, Y as TermsAgreement } from './global-28X17NZs.mjs';
1
+ import { u as CreateFormData, Y as TermsAgreement } from './global-BCkL-Bpy.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-28X17NZs.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BCkL-Bpy.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-D3WVRbPl.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-CPPLdm4G.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -348,8 +348,9 @@ type ResourceDetails = {
348
348
  };
349
349
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
350
350
  type EventStatusType = {
351
- googlePlaceId?: string | null;
352
351
  claimed: boolean;
352
+ eventType: EnumEventType;
353
+ googlePlaceId?: string | null;
353
354
  };
354
355
  interface FormField {
355
356
  disabled?: boolean;
@@ -348,8 +348,9 @@ type ResourceDetails = {
348
348
  };
349
349
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
350
350
  type EventStatusType = {
351
- googlePlaceId?: string | null;
352
351
  claimed: boolean;
352
+ eventType: EnumEventType;
353
+ googlePlaceId?: string | null;
353
354
  };
354
355
  interface FormField {
355
356
  disabled?: boolean;
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DNF9OS11.mjs';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-28X17NZs.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-C8a2psdX.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CndYlMM-.mjs';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BCkL-Bpy.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-_XBrGUY2.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-aOmiphoT.js';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-D3WVRbPl.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-Bik-qNI2.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CxDUeNpr.js';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-CPPLdm4G.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-B8oSaRx5.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -860,10 +860,10 @@ var adSchema = yup6.object().shape({
860
860
  }
861
861
  )
862
862
  }),
863
- resourceCover: yup6.string().url("Resource cover must be a valid URL").required("Resource cover is required"),
863
+ resourceCover: yup6.string().required("Resource cover is required"),
864
864
  resourceDescription: yup6.string().required("Resource description is required"),
865
865
  resourceId: yup6.string().required("Resource ID is required"),
866
- resourceLogo: yup6.string().url("Resource logo must be a valid URL").nullable().notRequired(),
866
+ resourceLogo: yup6.string().nullable().notRequired(),
867
867
  resourceName: yup6.string().required("Resource name is required"),
868
868
  resourceRegion: yup6.string().required("Resource region is required"),
869
869
  resourceType: yup6.mixed().oneOf(Object.values(EnumResourceType), "Please select Event or Vendor").required("Resource Type is required"),