@timardex/cluemart-shared 1.3.82 → 1.3.83
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-D9jWzLNA.d.mts → auth-C1qKOUp8.d.mts} +1 -1
- package/dist/{auth-BcqAXAeR.d.ts → auth-DOEpzxHT.d.ts} +1 -1
- package/dist/formFields/index.cjs +48 -19
- 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 +48 -19
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-C-CqGkcq.d.ts → global-CnAaM_PF.d.ts} +3 -0
- package/dist/{global-m7HlUVLy.d.mts → global-Dv9q0tt9.d.mts} +3 -0
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +8 -0
- 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 +8 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +56 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +56 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post--NAnknB8.d.mts → post-DmxMsfXG.d.mts} +1 -1
- package/dist/{post-o-mKh_H2.d.ts → post-JtNQUMC3.d.ts} +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
|
@@ -61,8 +61,10 @@ interface EventInfoFormData {
|
|
|
61
61
|
requirements?: Requirement[];
|
|
62
62
|
}
|
|
63
63
|
interface EventFormData extends BaseResourceTypeFormData {
|
|
64
|
+
claimed?: boolean;
|
|
64
65
|
dateTime: DateTimeType[];
|
|
65
66
|
eventType: EnumEventType;
|
|
67
|
+
googlePlaceId?: string | null;
|
|
66
68
|
location: LocationType;
|
|
67
69
|
nzbn: string;
|
|
68
70
|
provider?: string | null;
|
|
@@ -322,6 +324,7 @@ type Region = {
|
|
|
322
324
|
};
|
|
323
325
|
type GeocodeLocation = Pick<LocationType, "latitude" | "longitude">;
|
|
324
326
|
type MapMultiLocation = {
|
|
327
|
+
claimed: boolean;
|
|
325
328
|
dateTime: DateTimeType | null;
|
|
326
329
|
googlePlaceId?: string | null;
|
|
327
330
|
location: LocationType | null;
|
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-Dv9q0tt9.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-DmxMsfXG.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-CnAaM_PF.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-JtNQUMC3.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
|
|
8
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -1039,8 +1039,10 @@ var defaultPartnerFormValues = {
|
|
|
1039
1039
|
};
|
|
1040
1040
|
var defaultEventFormValues = {
|
|
1041
1041
|
...globalDefaultValues,
|
|
1042
|
+
claimed: false,
|
|
1042
1043
|
dateTime: [],
|
|
1043
1044
|
eventType: "Market" /* MARKET */,
|
|
1045
|
+
googlePlaceId: null,
|
|
1044
1046
|
location: defaultLocation,
|
|
1045
1047
|
nzbn: "",
|
|
1046
1048
|
provider: null,
|
|
@@ -1296,8 +1298,10 @@ function useEventForm(data) {
|
|
|
1296
1298
|
if (data) {
|
|
1297
1299
|
reset({
|
|
1298
1300
|
...mapBaseResourceTypeToFormData(data),
|
|
1301
|
+
claimed: data.claimed ?? false,
|
|
1299
1302
|
dateTime: data.dateTime,
|
|
1300
1303
|
eventType: data.eventType,
|
|
1304
|
+
googlePlaceId: data.googlePlaceId,
|
|
1301
1305
|
location: data.location,
|
|
1302
1306
|
nzbn: data.nzbn,
|
|
1303
1307
|
provider: data.provider,
|
|
@@ -1312,12 +1316,14 @@ function useEventForm(data) {
|
|
|
1312
1316
|
_id,
|
|
1313
1317
|
active,
|
|
1314
1318
|
associates,
|
|
1319
|
+
claimed,
|
|
1315
1320
|
contactDetails,
|
|
1316
1321
|
cover,
|
|
1317
1322
|
coverUpload,
|
|
1318
1323
|
dateTime,
|
|
1319
1324
|
description,
|
|
1320
1325
|
eventType,
|
|
1326
|
+
googlePlaceId,
|
|
1321
1327
|
images,
|
|
1322
1328
|
imagesUpload,
|
|
1323
1329
|
location,
|
|
@@ -1340,12 +1346,14 @@ function useEventForm(data) {
|
|
|
1340
1346
|
_id,
|
|
1341
1347
|
active,
|
|
1342
1348
|
associates,
|
|
1349
|
+
claimed,
|
|
1343
1350
|
contactDetails,
|
|
1344
1351
|
cover,
|
|
1345
1352
|
coverUpload,
|
|
1346
1353
|
dateTime,
|
|
1347
1354
|
description,
|
|
1348
1355
|
eventType,
|
|
1356
|
+
googlePlaceId,
|
|
1349
1357
|
images,
|
|
1350
1358
|
imagesUpload,
|
|
1351
1359
|
location,
|