@timardex/cluemart-shared 1.4.39 → 1.4.40
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-DUBji9Ck.d.mts → auth-C4rFM8ym.d.mts} +1 -1
- package/dist/{auth-DlfrrfXs.d.ts → auth-Z7ZalBiX.d.ts} +1 -1
- package/dist/{chunk-PZUKAO6K.mjs → chunk-UCRSD3WR.mjs} +4 -3
- package/dist/chunk-UCRSD3WR.mjs.map +1 -0
- package/dist/{chunk-M35ZHJPQ.mjs → chunk-V54HUJIO.mjs} +16 -13
- package/dist/chunk-V54HUJIO.mjs.map +1 -0
- package/dist/formFields/index.cjs +16 -14
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +3 -4
- package/dist/formFields/index.d.ts +3 -4
- package/dist/formFields/index.mjs +3 -5
- package/dist/{global-DgdaY28O.d.mts → global-BO4rXK3C.d.mts} +7 -5
- package/dist/{global-B07TrIzO.d.ts → global-MrQGqCLu.d.ts} +7 -5
- package/dist/graphql/index.cjs +3 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +11 -16
- 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 +10 -16
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +27 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.mjs +26 -28
- package/dist/index.mjs.map +1 -1
- package/dist/{post-75KGk2Nr.d.mts → post-B0L3Oaoy.d.mts} +1 -1
- package/dist/{post-Bt32gXMn.d.ts → post-D4h3XD7G.d.ts} +1 -1
- package/dist/{resourceActivities-PNcgmHGK.d.ts → resourceActivities-UOLb6lJs.d.ts} +1 -1
- package/dist/{resourceActivities-B2Yp2GKt.d.mts → resourceActivities-YoinRpTT.d.mts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-M35ZHJPQ.mjs.map +0 -1
- package/dist/chunk-PZUKAO6K.mjs.map +0 -1
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 NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType,
|
|
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-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-YoinRpTT.mjs';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-BO4rXK3C.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-B0L3Oaoy.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 NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-
|
|
4
|
-
import { E as EventType,
|
|
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-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-UOLb6lJs.js';
|
|
4
|
+
import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-MrQGqCLu.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-D4h3XD7G.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -620,16 +620,13 @@ 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: yup2.
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
"
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
"At least one refund policy for cancellations by vendor is required"
|
|
631
|
-
).required("Refund policy for cancellations by vendor is required")
|
|
632
|
-
})
|
|
623
|
+
refundPolicy: yup2.array().of(
|
|
624
|
+
yup2.object({
|
|
625
|
+
category: yup2.mixed().required("Category is required"),
|
|
626
|
+
label: yup2.string().required("Label is required"),
|
|
627
|
+
value: yup2.boolean().required("Value is required")
|
|
628
|
+
})
|
|
629
|
+
).min(1, "At least one refund policy item is required").required("Refund policy is required")
|
|
633
630
|
});
|
|
634
631
|
|
|
635
632
|
// src/yupSchema/vendor.ts
|
|
@@ -2634,8 +2631,9 @@ var EVENT_INFO = import_client3.gql`
|
|
|
2634
2631
|
paymentMethod
|
|
2635
2632
|
}
|
|
2636
2633
|
refundPolicy {
|
|
2637
|
-
|
|
2638
|
-
|
|
2634
|
+
category
|
|
2635
|
+
label
|
|
2636
|
+
value
|
|
2639
2637
|
}
|
|
2640
2638
|
requirements {
|
|
2641
2639
|
category
|
|
@@ -4581,10 +4579,7 @@ var defaultEventInfoFormValues = {
|
|
|
4581
4579
|
// e.g., 2 hours before event opens
|
|
4582
4580
|
paymentDueHours: 12,
|
|
4583
4581
|
paymentInfo: [],
|
|
4584
|
-
refundPolicy:
|
|
4585
|
-
cancelledByOrganiser: [],
|
|
4586
|
-
cancelledByVendor: []
|
|
4587
|
-
},
|
|
4582
|
+
refundPolicy: [],
|
|
4588
4583
|
requirements: []
|
|
4589
4584
|
};
|
|
4590
4585
|
var defaultVendorFormValues = {
|