@timardex/cluemart-shared 1.4.27 → 1.4.29
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-BNhymOFs.d.mts → auth-ntHh1fOg.d.mts} +1 -1
- package/dist/{auth-CgzvvFjw.d.ts → auth-vHL92cvq.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-D5dNxa5e.d.mts → global-B7C4U8NQ.d.mts} +2 -2
- package/dist/{global-x5DE08tD.d.ts → global-Bw14UMJB.d.ts} +2 -2
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/hooks/index.cjs +0 -9
- 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 +0 -9
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +0 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +0 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{post-DDDWdbHZ.d.ts → post-D9td0KeC.d.ts} +3 -3
- package/dist/{post-BnXA5t_U.d.mts → post-DdzJejE9.d.mts} +3 -3
- package/dist/{resourceActivities-23xD5-eJ.d.ts → resourceActivities-BoV71JcL.d.ts} +2 -2
- package/dist/{resourceActivities-B2B9oP6v.d.mts → resourceActivities-D54v3BiW.d.mts} +2 -2
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +2 -2
- package/dist/utils/index.d.ts +2 -2
- 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-B7C4U8NQ.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-Bw14UMJB.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import {
|
|
2
|
+
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumSocialMedia, EnumUserLicence } from './enums/index.mjs';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -395,4 +395,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
395
395
|
watch: UseFormWatch<T>;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
export type {
|
|
398
|
+
export type { VendorMenuType as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, PosterUsageType as H, ImageObjectType as I, Region as J, ResourceContactDetailsType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PaymentInfoType as P, SocialMediaType as Q, Requirement as R, StallType as S, Subcategory as T, UnregisteredVendorType as U, VendorType as V, SubcategoryItems as W, TermsAgreement as X, UnregisteredVendorInvitationType as Y, VendorAttributes as Z, VendorLocation as _, FormDateField as a, EventListItemType 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, BaseResourceType as s, CreateFormData as t, CreateUnregisteredVendorFormData as u, DateTimeWithPriceType as v, DeviceInfo as w, EventStatusType as x, LocationGeoType as y, OwnerType as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import {
|
|
2
|
+
import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumSocialMedia, EnumUserLicence } from './enums/index.js';
|
|
3
3
|
|
|
4
4
|
type RelationDate = {
|
|
5
5
|
dateTime: DateTimeType & {
|
|
@@ -395,4 +395,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
395
395
|
watch: UseFormWatch<T>;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
export type {
|
|
398
|
+
export type { VendorMenuType as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, PosterUsageType as H, ImageObjectType as I, Region as J, ResourceContactDetailsType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PaymentInfoType as P, SocialMediaType as Q, Requirement as R, StallType as S, Subcategory as T, UnregisteredVendorType as U, VendorType as V, SubcategoryItems as W, TermsAgreement as X, UnregisteredVendorInvitationType as Y, VendorAttributes as Z, VendorLocation as _, FormDateField as a, EventListItemType 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, BaseResourceType as s, CreateFormData as t, CreateUnregisteredVendorFormData as u, DateTimeWithPriceType as v, DeviceInfo as w, EventStatusType as x, LocationGeoType as y, OwnerType 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
|
-
import { C as ChatType, R as ReportChatUser, N as
|
|
4
|
-
import { E as
|
|
5
|
-
import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-D54v3BiW.mjs';
|
|
4
|
+
import { E as EventType, b as EventListItemType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, f as VendorInfoType, g as UserLicenceType } from '../global-B7C4U8NQ.mjs';
|
|
5
|
+
import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DdzJejE9.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
|
-
import { C as ChatType, R as ReportChatUser, N as
|
|
4
|
-
import { E as
|
|
5
|
-
import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BoV71JcL.js';
|
|
4
|
+
import { E as EventType, b as EventListItemType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, f as VendorInfoType, g as UserLicenceType } from '../global-Bw14UMJB.js';
|
|
5
|
+
import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-D9td0KeC.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -620,11 +620,6 @@ var eventInfoSchema = yup2.object().shape({
|
|
|
620
620
|
}
|
|
621
621
|
),
|
|
622
622
|
paymentInfo: yup2.array().of(paymentInfoSchema).min(1, "At least one payment method is required").required("Payment info is required")
|
|
623
|
-
/* refundPolicy: yup
|
|
624
|
-
.array()
|
|
625
|
-
.of(yup.string().trim().required("Refund policy item cannot be empty"))
|
|
626
|
-
.min(1, "At least one refund policy item is required")
|
|
627
|
-
.required("Refund policy is required"), */
|
|
628
623
|
});
|
|
629
624
|
|
|
630
625
|
// src/yupSchema/vendor.ts
|
|
@@ -1092,7 +1087,6 @@ var defaultEventInfoFormValues = {
|
|
|
1092
1087
|
// e.g., 2 hours before event opens
|
|
1093
1088
|
paymentDueHours: 12,
|
|
1094
1089
|
paymentInfo: [],
|
|
1095
|
-
//refundPolicy: [],
|
|
1096
1090
|
requirements: []
|
|
1097
1091
|
};
|
|
1098
1092
|
var defaultVendorFormValues = {
|
|
@@ -1441,7 +1435,6 @@ function useEventInfoForm(data) {
|
|
|
1441
1435
|
packInTime: data.packInTime,
|
|
1442
1436
|
paymentDueHours: data.paymentDueHours,
|
|
1443
1437
|
paymentInfo: data.paymentInfo,
|
|
1444
|
-
//refundPolicy: data.refundPolicy,
|
|
1445
1438
|
requirements: data.requirements
|
|
1446
1439
|
});
|
|
1447
1440
|
} else {
|
|
@@ -1456,7 +1449,6 @@ function useEventInfoForm(data) {
|
|
|
1456
1449
|
packInTime,
|
|
1457
1450
|
paymentDueHours,
|
|
1458
1451
|
paymentInfo,
|
|
1459
|
-
//refundPolicy,
|
|
1460
1452
|
requirements
|
|
1461
1453
|
} = getValues();
|
|
1462
1454
|
return {
|
|
@@ -1469,7 +1461,6 @@ function useEventInfoForm(data) {
|
|
|
1469
1461
|
packInTime,
|
|
1470
1462
|
paymentDueHours,
|
|
1471
1463
|
paymentInfo,
|
|
1472
|
-
//refundPolicy,
|
|
1473
1464
|
requirements
|
|
1474
1465
|
},
|
|
1475
1466
|
formState,
|