@timardex/cluemart-shared 1.3.78 → 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.
- package/dist/{auth-kPVsfJlW.d.mts → auth-PF5MJgeu.d.mts} +1 -1
- package/dist/{auth-CMRsaJGn.d.ts → auth-diJnZy6e.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-BJbi-2I6.d.ts → global-BsFcXLgV.d.ts} +4 -7
- package/dist/{global-ZW2_JxF5.d.mts → global-E8ve8XPP.d.mts} +4 -7
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +2 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DPNd79g3.d.ts → post-BZFDbJZT.d.ts} +1 -1
- package/dist/{post-BsN99WIF.d.mts → post-C5EZIi9r.d.mts} +1 -1
- package/dist/types/index.d.mts +9 -5
- package/dist/types/index.d.ts +9 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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;
|
|
@@ -388,4 +385,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
388
385
|
watch: UseFormWatch<T>;
|
|
389
386
|
}
|
|
390
387
|
|
|
391
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G,
|
|
388
|
+
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 };
|
|
@@ -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;
|
|
@@ -388,4 +385,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
388
385
|
watch: UseFormWatch<T>;
|
|
389
386
|
}
|
|
390
387
|
|
|
391
|
-
export type { AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G,
|
|
388
|
+
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 };
|
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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-
|
|
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-
|
|
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: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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: () => {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -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().
|
|
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().
|
|
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"),
|