@timardex/cluemart-shared 1.3.93 → 1.3.94

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 { H as CreateFormData, T as TermsAgreement } from './global-CATVSBHP.js';
1
+ import { J as CreateFormData, T as TermsAgreement } from './global-DhdaUgit.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData, T as TermsAgreement } from './global-vtWGHz0A.mjs';
1
+ import { J as CreateFormData, T as TermsAgreement } from './global-nBtELIbB.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 Requirement, S as StallType, C as Category } from '../global-vtWGHz0A.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-nBtELIbB.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 Requirement, S as StallType, C as Category } from '../global-CATVSBHP.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DhdaUgit.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -323,10 +323,14 @@ type Region = {
323
323
  longitudeDelta: number;
324
324
  };
325
325
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
326
+ type EventStatusType = {
327
+ googlePlaceId?: string | null;
328
+ claimed: boolean;
329
+ };
326
330
  type MapMultiLocation = {
327
331
  claimed: boolean;
328
332
  dateTime: DateTimeType | null;
329
- googlePlaceId?: string | null;
333
+ eventStatus?: EventStatusType | null;
330
334
  location: LocationType | null;
331
335
  resourceCover?: ResourceImageType | null;
332
336
  resourceId?: string;
@@ -389,4 +393,4 @@ interface CreateFormData<T extends FieldValues> {
389
393
  watch: UseFormWatch<T>;
390
394
  }
391
395
 
392
- export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, CreateFormData as H, ImageObjectType as I, DateTimeWithPriceType as J, PaymentInfoType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, Region as x, SubcategoryItems as y, Subcategory as z };
396
+ export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, Subcategory as H, ImageObjectType as I, CreateFormData as J, DateTimeWithPriceType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, PaymentInfoType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorLocation as W, VendorMenuType as X, VendorAttributes as Y, UnregisteredVendorInvitationType as Z, CreateUnregisteredVendorFormData as _, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, Region as x, EventStatusType as y, SubcategoryItems as z };
@@ -323,10 +323,14 @@ type Region = {
323
323
  longitudeDelta: number;
324
324
  };
325
325
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
326
+ type EventStatusType = {
327
+ googlePlaceId?: string | null;
328
+ claimed: boolean;
329
+ };
326
330
  type MapMultiLocation = {
327
331
  claimed: boolean;
328
332
  dateTime: DateTimeType | null;
329
- googlePlaceId?: string | null;
333
+ eventStatus?: EventStatusType | null;
330
334
  location: LocationType | null;
331
335
  resourceCover?: ResourceImageType | null;
332
336
  resourceId?: string;
@@ -389,4 +393,4 @@ interface CreateFormData<T extends FieldValues> {
389
393
  watch: UseFormWatch<T>;
390
394
  }
391
395
 
392
- export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, CreateFormData as H, ImageObjectType as I, DateTimeWithPriceType as J, PaymentInfoType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, VendorLocation as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorMenuType as W, VendorAttributes as X, UnregisteredVendorInvitationType as Y, CreateUnregisteredVendorFormData as Z, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, Region as x, SubcategoryItems as y, Subcategory as z };
396
+ export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, Subcategory as H, ImageObjectType as I, CreateFormData as J, DateTimeWithPriceType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, PaymentInfoType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, VendorLocation as W, VendorMenuType as X, VendorAttributes as Y, UnregisteredVendorInvitationType as Z, CreateUnregisteredVendorFormData as _, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, Region as x, EventStatusType as y, SubcategoryItems as z };
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
3
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-CJRTZROh.mjs';
4
- import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-vtWGHz0A.mjs';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, a as SubscriptionPlansResponse, P as PartnerType, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-KKjsD8r6.mjs';
4
+ import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-nBtELIbB.mjs';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, a as SubscriptionPlansResponse, P as PartnerType, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-6NrMiDXU.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
3
  import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-CVwxvGeC.js';
4
- import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-CATVSBHP.js';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, a as SubscriptionPlansResponse, P as PartnerType, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DxTq9285.js';
4
+ import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-DhdaUgit.js';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, a as SubscriptionPlansResponse, P as PartnerType, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-X19bKaRF.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -510,8 +510,8 @@ var socialMediaSchema = yup.object({
510
510
  var globalResourceSchema = yup.object().shape({
511
511
  active: yup.boolean().required("Active is required"),
512
512
  cover: yup.object({
513
- source: yup.string().label("Cover").required("Cover is required"),
514
- title: yup.string().label("Cover Title").required("Cover is required")
513
+ source: yup.string().label("Cover").required("Cover Image is required"),
514
+ title: yup.string().label("Cover Title").required("Cover Title is required")
515
515
  }),
516
516
  contactDetails: contactDetailsSchema,
517
517
  description: yup.string().label("Description").trim().min(3).required("Description is required"),