@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.
- package/dist/{auth-DF4Jicci.d.mts → auth-PF5MJgeu.d.mts} +1 -1
- package/dist/{auth-BCLdh_GM.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-DlJIK1_I.d.ts → global-BsFcXLgV.d.ts} +3 -6
- package/dist/{global-ID4JxI71.d.mts → global-E8ve8XPP.d.mts} +3 -6
- 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 +3 -6
- package/dist/index.d.ts +3 -6
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DG3h0khd.d.ts → post-BZFDbJZT.d.ts} +1 -1
- package/dist/{post-D3UqQZUw.d.mts → post-C5EZIi9r.d.mts} +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -303,14 +303,10 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
303
303
|
_id: string;
|
|
304
304
|
};
|
|
305
305
|
|
|
306
|
-
type VendorLocation = {
|
|
306
|
+
type VendorLocation = Pick<MapMultiLocation, "resourceId" | "resourceName" | "resourceType" | "resourceLogo"> & {
|
|
307
307
|
dateTime: Nullable<DateTimeType> | null;
|
|
308
308
|
description?: string | null;
|
|
309
309
|
location: Nullable<LocationType> | null;
|
|
310
|
-
resourceId?: MapMultiLocation["resourceId"];
|
|
311
|
-
resourceName?: MapMultiLocation["resourceName"];
|
|
312
|
-
resourceType?: MapMultiLocation["resourceType"];
|
|
313
|
-
resourceLogo?: MapMultiLocation["resourceLogo"];
|
|
314
310
|
};
|
|
315
311
|
type VendorMenuType = {
|
|
316
312
|
description?: string | null;
|
|
@@ -514,11 +510,12 @@ type Region = {
|
|
|
514
510
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
515
511
|
type MapMultiLocation = {
|
|
516
512
|
dateTime: DateTimeType | null;
|
|
513
|
+
googlePlaceId?: string | null;
|
|
517
514
|
location: LocationType | null;
|
|
518
515
|
resourceId?: string;
|
|
516
|
+
resourceLogo?: ResourceImageType | null;
|
|
519
517
|
resourceName?: string;
|
|
520
518
|
resourceType?: EnumResourceType;
|
|
521
|
-
resourceLogo?: ResourceImageType | null;
|
|
522
519
|
};
|
|
523
520
|
interface FormField {
|
|
524
521
|
disabled?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -303,14 +303,10 @@ type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
|
303
303
|
_id: string;
|
|
304
304
|
};
|
|
305
305
|
|
|
306
|
-
type VendorLocation = {
|
|
306
|
+
type VendorLocation = Pick<MapMultiLocation, "resourceId" | "resourceName" | "resourceType" | "resourceLogo"> & {
|
|
307
307
|
dateTime: Nullable<DateTimeType> | null;
|
|
308
308
|
description?: string | null;
|
|
309
309
|
location: Nullable<LocationType> | null;
|
|
310
|
-
resourceId?: MapMultiLocation["resourceId"];
|
|
311
|
-
resourceName?: MapMultiLocation["resourceName"];
|
|
312
|
-
resourceType?: MapMultiLocation["resourceType"];
|
|
313
|
-
resourceLogo?: MapMultiLocation["resourceLogo"];
|
|
314
310
|
};
|
|
315
311
|
type VendorMenuType = {
|
|
316
312
|
description?: string | null;
|
|
@@ -514,11 +510,12 @@ type Region = {
|
|
|
514
510
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
515
511
|
type MapMultiLocation = {
|
|
516
512
|
dateTime: DateTimeType | null;
|
|
513
|
+
googlePlaceId?: string | null;
|
|
517
514
|
location: LocationType | null;
|
|
518
515
|
resourceId?: string;
|
|
516
|
+
resourceLogo?: ResourceImageType | null;
|
|
519
517
|
resourceName?: string;
|
|
520
518
|
resourceType?: EnumResourceType;
|
|
521
|
-
resourceLogo?: ResourceImageType | null;
|
|
522
519
|
};
|
|
523
520
|
interface FormField {
|
|
524
521
|
disabled?: boolean;
|
package/dist/index.mjs
CHANGED
|
@@ -5892,9 +5892,9 @@ var eventInfoSchema = yup2.object().shape({
|
|
|
5892
5892
|
// src/yupSchema/vendor.ts
|
|
5893
5893
|
import * as yup3 from "yup";
|
|
5894
5894
|
var vendroMenuSchema = yup3.object().shape({
|
|
5895
|
-
description: yup3.string().trim().
|
|
5895
|
+
description: yup3.string().trim().optional().nullable(),
|
|
5896
5896
|
price: yup3.number().transform((value, originalValue) => originalValue === "" ? null : value).min(0).optional().nullable(),
|
|
5897
|
-
title: yup3.string().trim().
|
|
5897
|
+
title: yup3.string().trim().optional().nullable()
|
|
5898
5898
|
});
|
|
5899
5899
|
var vendorSchema = globalResourceSchema.shape({
|
|
5900
5900
|
categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
|