@timardex/cluemart-shared 1.4.73 → 1.4.74
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-CovYLFRn.d.ts → auth-DKNuFwhE.d.ts} +1 -1
- package/dist/{auth-Cdfen6gg.d.mts → auth-TqKVpwo1.d.mts} +1 -1
- package/dist/{chunk-2OEDUG7U.mjs → chunk-4LT5GOOP.mjs} +1 -5
- package/dist/{chunk-2OEDUG7U.mjs.map → chunk-4LT5GOOP.mjs.map} +1 -1
- package/dist/{chunk-7FRB62SE.mjs → chunk-W465TNSV.mjs} +1 -5
- package/dist/chunk-W465TNSV.mjs.map +1 -0
- package/dist/formFields/index.cjs +0 -4
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +1 -1
- package/dist/{global-HUZHOXHh.d.ts → global-B-g-Dv61.d.ts} +0 -4
- package/dist/{global-D_ckWQMA.d.mts → global-DvWluf-6.d.mts} +0 -4
- package/dist/graphql/index.cjs +0 -4
- 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 +1 -19
- 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 +3 -13
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +1 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +0 -4
- package/dist/index.d.ts +0 -4
- package/dist/index.mjs +1 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post-aU2ITfZh.d.mts → post-5WEzHfXv.d.mts} +1 -1
- package/dist/{post-DIylz7DM.d.ts → post-D_KFXmTl.d.ts} +1 -1
- package/dist/{resourceActivities-dxnqHVVc.d.mts → resourceActivities-DFtvysCz.d.mts} +1 -1
- package/dist/{resourceActivities-CwSss-73.d.ts → resourceActivities-DoJUbR_I.d.ts} +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-7FRB62SE.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, 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-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, 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-DFtvysCz.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-DvWluf-6.mjs';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-5WEzHfXv.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, 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-
|
|
5
|
-
import { U as UserType, P as PartnerType, R as ResourceByUser, 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-DoJUbR_I.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-B-g-Dv61.js';
|
|
5
|
+
import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-D_KFXmTl.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
|
@@ -463,17 +463,7 @@ var stallTypesSchema = yup.object({
|
|
|
463
463
|
"",
|
|
464
464
|
noLeadingZeros("Stall price", { allowDecimal: true })
|
|
465
465
|
),
|
|
466
|
-
stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
|
|
467
|
-
electricity: yup.object({
|
|
468
|
-
selected: yup.boolean().nullable().optional().label("Electricity Available"),
|
|
469
|
-
price: yup.number().transform(
|
|
470
|
-
(value, originalValue) => originalValue === "" ? null : value
|
|
471
|
-
).integer("Electricity price must be a whole number").test(
|
|
472
|
-
"no-leading-zeros",
|
|
473
|
-
"",
|
|
474
|
-
noLeadingZeros("Electricity price", { allowDecimal: true })
|
|
475
|
-
).nullable().optional()
|
|
476
|
-
}).nullable().optional().label("Electricity Information")
|
|
466
|
+
stallCapacity: yup.number().label("Stall Capacity").typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
|
|
477
467
|
});
|
|
478
468
|
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
479
469
|
stallTypes: yup.array().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
|
|
@@ -949,10 +939,6 @@ var stallTypes = [
|
|
|
949
939
|
"Workshop/seating area"
|
|
950
940
|
];
|
|
951
941
|
var stallTypeOptions = stallTypes.map((type) => ({
|
|
952
|
-
electricity: {
|
|
953
|
-
price: null,
|
|
954
|
-
selected: false
|
|
955
|
-
},
|
|
956
942
|
label: type,
|
|
957
943
|
price: 0,
|
|
958
944
|
stallCapacity: 0
|
|
@@ -2351,10 +2337,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
|
|
|
2351
2337
|
label
|
|
2352
2338
|
price
|
|
2353
2339
|
stallCapacity
|
|
2354
|
-
electricity {
|
|
2355
|
-
price
|
|
2356
|
-
selected
|
|
2357
|
-
}
|
|
2358
2340
|
}
|
|
2359
2341
|
`;
|
|
2360
2342
|
var RELATION_DATES_FRAGMENT = import_client2.gql`
|