@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
|
@@ -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;
|
|
@@ -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;
|
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"),
|