@timardex/cluemart-shared 1.3.79 → 1.3.80

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-ID4JxI71.mjs';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-E8ve8XPP.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData, T as TermsAgreement } from './global-DlJIK1_I.js';
1
+ import { H as CreateFormData, T as TermsAgreement } from './global-BsFcXLgV.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
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-ID4JxI71.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-E8ve8XPP.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-DlJIK1_I.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BsFcXLgV.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -116,14 +116,10 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
116
116
  _id: string;
117
117
  };
118
118
 
119
- type VendorLocation = {
119
+ type VendorLocation = Pick<MapMultiLocation, "resourceId" | "resourceName" | "resourceType" | "resourceLogo"> & {
120
120
  dateTime: Nullable<DateTimeType> | null;
121
121
  description?: string | null;
122
122
  location: Nullable<LocationType> | null;
123
- resourceId?: MapMultiLocation["resourceId"];
124
- resourceName?: MapMultiLocation["resourceName"];
125
- resourceType?: MapMultiLocation["resourceType"];
126
- resourceLogo?: MapMultiLocation["resourceLogo"];
127
123
  };
128
124
  type VendorMenuType = {
129
125
  description?: string | null;
@@ -327,11 +323,12 @@ type Region = {
327
323
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
328
324
  type MapMultiLocation = {
329
325
  dateTime: DateTimeType | null;
326
+ googlePlaceId?: string | null;
330
327
  location: LocationType | null;
331
328
  resourceId?: string;
329
+ resourceLogo?: ResourceImageType | null;
332
330
  resourceName?: string;
333
331
  resourceType?: EnumResourceType;
334
- resourceLogo?: ResourceImageType | null;
335
332
  };
336
333
  interface FormField {
337
334
  disabled?: boolean;
@@ -116,14 +116,10 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
116
116
  _id: string;
117
117
  };
118
118
 
119
- type VendorLocation = {
119
+ type VendorLocation = Pick<MapMultiLocation, "resourceId" | "resourceName" | "resourceType" | "resourceLogo"> & {
120
120
  dateTime: Nullable<DateTimeType> | null;
121
121
  description?: string | null;
122
122
  location: Nullable<LocationType> | null;
123
- resourceId?: MapMultiLocation["resourceId"];
124
- resourceName?: MapMultiLocation["resourceName"];
125
- resourceType?: MapMultiLocation["resourceType"];
126
- resourceLogo?: MapMultiLocation["resourceLogo"];
127
123
  };
128
124
  type VendorMenuType = {
129
125
  description?: string | null;
@@ -327,11 +323,12 @@ type Region = {
327
323
  type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
328
324
  type MapMultiLocation = {
329
325
  dateTime: DateTimeType | null;
326
+ googlePlaceId?: string | null;
330
327
  location: LocationType | null;
331
328
  resourceId?: string;
329
+ resourceLogo?: ResourceImageType | null;
332
330
  resourceName?: string;
333
331
  resourceType?: EnumResourceType;
334
- resourceLogo?: ResourceImageType | null;
335
332
  };
336
333
  interface FormField {
337
334
  disabled?: boolean;
@@ -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-ID4JxI71.mjs';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-D3UqQZUw.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-E8ve8XPP.mjs';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-C5EZIi9r.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-DlJIK1_I.js';
5
- import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-DG3h0khd.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-BsFcXLgV.js';
5
+ import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, P as PartnerType, a as PostType, b as EnumPostType, c as AppSettingsType } from '../post-BZFDbJZT.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -616,9 +616,9 @@ var eventInfoSchema = yup2.object().shape({
616
616
  // src/yupSchema/vendor.ts
617
617
  var yup3 = __toESM(require("yup"));
618
618
  var vendroMenuSchema = yup3.object().shape({
619
- description: yup3.string().trim().max(100).optional().nullable(),
619
+ description: yup3.string().trim().optional().nullable(),
620
620
  price: yup3.number().transform((value, originalValue) => originalValue === "" ? null : value).min(0).optional().nullable(),
621
- title: yup3.string().trim().max(50).optional().nullable()
621
+ title: yup3.string().trim().optional().nullable()
622
622
  });
623
623
  var vendorSchema = globalResourceSchema.shape({
624
624
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),