@timardex/cluemart-shared 1.1.78 → 1.1.79
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/{ad-ByaFgKCJ.d.ts → ad-Ce7cLdiv.d.ts} +4 -4
- package/dist/{ad-BoyPTKzO.d.mts → ad-DwRLMLYf.d.mts} +4 -4
- package/dist/{auth-CatvNkT_.d.ts → auth-D0DRigoH.d.ts} +1 -1
- package/dist/{auth-CsMldwsP.d.mts → auth-waRIlEXb.d.mts} +1 -1
- package/dist/{chunk-ERBPRUAF.mjs → chunk-MVZHKSTO.mjs} +12 -12
- package/dist/chunk-MVZHKSTO.mjs.map +1 -0
- package/dist/{chunk-JFIG6CV2.mjs → chunk-YOGSPGDV.mjs} +2 -2
- package/dist/chunk-YOGSPGDV.mjs.map +1 -0
- package/dist/{chunk-JZMSWUO5.mjs → chunk-Z4MFANBF.mjs} +2 -2
- package/dist/enums/index.cjs +11 -11
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +11 -11
- package/dist/enums/index.d.ts +11 -11
- package/dist/enums/index.mjs +1 -1
- package/dist/formFields/index.cjs +26 -26
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +7 -7
- package/dist/formFields/index.d.ts +7 -7
- package/dist/formFields/index.mjs +23 -23
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-BsANkXhj.d.ts → global-SUox6kvO.d.ts} +14 -14
- package/dist/{global-Dt-vAIF9.d.mts → global-yFmN7ypZ.d.mts} +14 -14
- package/dist/graphql/index.cjs +249 -248
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +33 -33
- package/dist/graphql/index.d.ts +33 -33
- package/dist/graphql/index.mjs +236 -235
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +36 -36
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +15 -15
- package/dist/hooks/index.d.ts +15 -15
- package/dist/hooks/index.mjs +33 -33
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +321 -320
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +74 -74
- package/dist/index.d.ts +74 -74
- package/dist/index.mjs +298 -297
- package/dist/index.mjs.map +1 -1
- package/dist/{resourceViews-C2CYUMC0.d.ts → resourceViews-CcElRvU6.d.ts} +2 -2
- package/dist/{resourceViews-ja9Qif1X.d.mts → resourceViews-Xr7sq5z4.d.mts} +2 -2
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.mjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-ERBPRUAF.mjs.map +0 -1
- package/dist/chunk-JFIG6CV2.mjs.map +0 -1
- /package/dist/{chunk-JZMSWUO5.mjs.map → chunk-Z4MFANBF.mjs.map} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -25,7 +25,7 @@ declare enum EnumPaymentMethod {
|
|
|
25
25
|
STRIPE = "stripe"
|
|
26
26
|
}
|
|
27
27
|
declare enum EnumResourceType {
|
|
28
|
-
|
|
28
|
+
EVENT = "event",
|
|
29
29
|
STALLHOLDER = "stallholder"
|
|
30
30
|
}
|
|
31
31
|
declare enum EnumOSPlatform {
|
|
@@ -34,20 +34,20 @@ declare enum EnumOSPlatform {
|
|
|
34
34
|
WEB = "web"
|
|
35
35
|
}
|
|
36
36
|
declare enum EnumRelationResource {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
EVENT_INVITE_STALLHOLDER = "event_invite_stallholder",
|
|
38
|
+
STALLHOLDER_APPLICATION_TO_EVENT = "stallholder_application_to_event"
|
|
39
39
|
}
|
|
40
40
|
declare enum EnumNotificationResourceType {
|
|
41
|
-
|
|
41
|
+
CREATED_EVENT = "created_event",
|
|
42
42
|
CREATED_STALLHOLDER = "created_stallholder",
|
|
43
|
-
|
|
43
|
+
APPROVED_EVENT = "approved_event",
|
|
44
44
|
APPROVED_STALLHOLDER = "approved_stallholder",
|
|
45
45
|
NEW_CHAT_MESSAGE = "new_chat_message",
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
EVENT_INVITE_STALLHOLDER = "event_invite_stallholder",
|
|
47
|
+
STALLHOLDER_APPLICATION_TO_EVENT = "stallholder_application_to_event"
|
|
48
48
|
}
|
|
49
49
|
declare enum EnumNotificationType {
|
|
50
|
-
|
|
50
|
+
EVENT = "event",
|
|
51
51
|
STALLHOLDER = "stallholder",
|
|
52
52
|
RELATION = "relation",
|
|
53
53
|
CHAT = "chat",
|
|
@@ -74,11 +74,11 @@ declare enum ImageTypeEnum {
|
|
|
74
74
|
LOGO = "logo"
|
|
75
75
|
}
|
|
76
76
|
declare enum EnumUserLicence {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
PRO_EVENT = "pro_event",
|
|
78
|
+
PRO_PLUS_EVENT = "pro_plus_event",
|
|
79
79
|
PRO_PLUS_STALLHOLDER = "pro_plus_stallholder",
|
|
80
80
|
PRO_STALLHOLDER = "pro_stallholder",
|
|
81
|
-
|
|
81
|
+
STANDARD_EVENT = "standard_event",
|
|
82
82
|
STANDARD_STALLHOLDER = "standard_stallholder"
|
|
83
83
|
}
|
|
84
84
|
declare enum EnumUserRole {
|
|
@@ -110,7 +110,7 @@ interface RelationType {
|
|
|
110
110
|
createdAt?: string;
|
|
111
111
|
deletedAt?: string | null;
|
|
112
112
|
lastUpdateBy: EnumResourceType;
|
|
113
|
-
|
|
113
|
+
eventId: string;
|
|
114
114
|
relationDates: RelationDate[];
|
|
115
115
|
relationType: EnumRelationResource;
|
|
116
116
|
stallholderId: string;
|
|
@@ -140,38 +140,38 @@ type Requirement = {
|
|
|
140
140
|
label: string;
|
|
141
141
|
value: boolean;
|
|
142
142
|
};
|
|
143
|
-
interface
|
|
143
|
+
interface EventInfoFormData {
|
|
144
144
|
_id?: string;
|
|
145
145
|
applicationDeadlineHours: number;
|
|
146
146
|
contactDetails?: ResourceContactDetailsType | null;
|
|
147
147
|
dateTime: DateTimeWithPriceType[];
|
|
148
|
-
|
|
148
|
+
eventId: string;
|
|
149
149
|
packInTime: number;
|
|
150
150
|
paymentDueHours: number;
|
|
151
151
|
paymentInfo: PaymentInfoType[];
|
|
152
152
|
requirements?: Requirement[];
|
|
153
153
|
}
|
|
154
|
-
interface
|
|
154
|
+
interface EventFormData extends BaseResourceTypeFormData {
|
|
155
155
|
dateTime: DateTimeType[];
|
|
156
156
|
location: LocationType;
|
|
157
157
|
provider?: string | null;
|
|
158
158
|
rainOrShine: boolean;
|
|
159
159
|
tags: string[];
|
|
160
160
|
}
|
|
161
|
-
type
|
|
162
|
-
type
|
|
163
|
-
interface
|
|
161
|
+
type CreateEventInfoFormData = CreateFormData<EventInfoFormData>;
|
|
162
|
+
type CreateEventFormData = CreateFormData<EventFormData>;
|
|
163
|
+
interface EventType extends BaseResourceType {
|
|
164
164
|
dateTime: DateTimeType[];
|
|
165
165
|
location: LocationType;
|
|
166
|
-
|
|
166
|
+
eventInfoId: string;
|
|
167
167
|
provider: string | null;
|
|
168
168
|
rainOrShine: boolean;
|
|
169
169
|
tags: string[];
|
|
170
170
|
}
|
|
171
|
-
type
|
|
171
|
+
type EventInfoType = Omit<EventInfoFormData, "_id"> & {
|
|
172
172
|
_id: string;
|
|
173
173
|
};
|
|
174
|
-
interface
|
|
174
|
+
interface EventWithConnectionDatesType extends EventType {
|
|
175
175
|
relationDates: RelationDate[] | undefined;
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -227,7 +227,7 @@ interface StallholderType extends BaseResourceType {
|
|
|
227
227
|
type StallholderInfoType = Omit<StallholderInfoFormData, "_id" | "foodSafetyGradeFilesUpload"> & {
|
|
228
228
|
_id: string;
|
|
229
229
|
};
|
|
230
|
-
interface
|
|
230
|
+
interface StallholderWithConnectionDatesType extends StallholderType {
|
|
231
231
|
relationDates: RelationDate[] | undefined;
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -348,8 +348,8 @@ type ImageObjectType = {
|
|
|
348
348
|
name: string;
|
|
349
349
|
};
|
|
350
350
|
interface ResourceConnectionsType {
|
|
351
|
-
|
|
352
|
-
stallholders:
|
|
351
|
+
events: EventWithConnectionDatesType[] | null;
|
|
352
|
+
stallholders: StallholderWithConnectionDatesType[] | null;
|
|
353
353
|
}
|
|
354
354
|
interface CreateFormData<T extends FieldValues> {
|
|
355
355
|
control: Control<T, any>;
|
|
@@ -439,7 +439,7 @@ interface ChatType {
|
|
|
439
439
|
messages: ChatMessageType[];
|
|
440
440
|
participants: ParticipantType[];
|
|
441
441
|
resourceInfo: {
|
|
442
|
-
|
|
442
|
+
eventId: string;
|
|
443
443
|
stallholderId: string;
|
|
444
444
|
} | null;
|
|
445
445
|
updatedAt: string;
|
|
@@ -530,13 +530,13 @@ interface UserType {
|
|
|
530
530
|
email: string;
|
|
531
531
|
isTester: boolean;
|
|
532
532
|
favourites: {
|
|
533
|
-
|
|
533
|
+
events: string[];
|
|
534
534
|
stallholders: string[];
|
|
535
535
|
};
|
|
536
536
|
firstName: string;
|
|
537
537
|
lastName: string;
|
|
538
538
|
licences: EnumUserLicence[] | null;
|
|
539
|
-
|
|
539
|
+
events: string[] | null;
|
|
540
540
|
password: string;
|
|
541
541
|
platform: EnumOSPlatform | null;
|
|
542
542
|
preferredRegion: string;
|
|
@@ -548,7 +548,7 @@ interface UserType {
|
|
|
548
548
|
|
|
549
549
|
declare enum EnumAdShowOn {
|
|
550
550
|
FRONT_PAGE = "Front_page",
|
|
551
|
-
|
|
551
|
+
EVENTS_PAGE = "Events_page",
|
|
552
552
|
STALLHOLDERS_PAGE = "Stallholders_page"
|
|
553
553
|
}
|
|
554
554
|
declare enum EnumAdStatus {
|
|
@@ -642,17 +642,17 @@ declare const stallholderProducedIn: FormField;
|
|
|
642
642
|
declare const packagingOptions: OptionItem[];
|
|
643
643
|
declare const producedIngOptions: OptionItem[];
|
|
644
644
|
|
|
645
|
-
declare const
|
|
646
|
-
declare const
|
|
647
|
-
declare const
|
|
645
|
+
declare const eventBasicInfoFields: FormField[];
|
|
646
|
+
declare const eventStartDateFields: FormDateField[];
|
|
647
|
+
declare const eventEndDateFields: FormDateField[];
|
|
648
648
|
declare const availableTagTypes: {
|
|
649
649
|
icon: string;
|
|
650
650
|
label: string;
|
|
651
651
|
}[];
|
|
652
652
|
declare const tagOptions: OptionItem[];
|
|
653
653
|
|
|
654
|
-
declare const
|
|
655
|
-
declare const
|
|
654
|
+
declare const eventInfo: FormField[];
|
|
655
|
+
declare const eventInfoPaymentInfo: FormField[];
|
|
656
656
|
declare const requirementsOptions: Requirement[];
|
|
657
657
|
declare const stallTypeOptions: StallType[];
|
|
658
658
|
|
|
@@ -762,70 +762,70 @@ declare const useContactUs: () => {
|
|
|
762
762
|
loading: boolean;
|
|
763
763
|
};
|
|
764
764
|
|
|
765
|
-
declare const
|
|
766
|
-
|
|
765
|
+
declare const useCreateEvent: () => {
|
|
766
|
+
createEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
767
767
|
error: _apollo_client.ApolloError | undefined;
|
|
768
768
|
loading: boolean;
|
|
769
769
|
};
|
|
770
|
-
declare const
|
|
770
|
+
declare const useUpdateEvent: () => {
|
|
771
771
|
error: _apollo_client.ApolloError | undefined;
|
|
772
772
|
loading: boolean;
|
|
773
|
-
|
|
773
|
+
updateEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
774
774
|
};
|
|
775
|
-
declare const
|
|
776
|
-
|
|
775
|
+
declare const useDeleteEvent: () => {
|
|
776
|
+
deleteEvent: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
777
777
|
error: _apollo_client.ApolloError | undefined;
|
|
778
778
|
loading: boolean;
|
|
779
779
|
};
|
|
780
|
-
declare const
|
|
781
|
-
|
|
780
|
+
declare const useCreateEventInfo: () => {
|
|
781
|
+
createEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
782
782
|
error: _apollo_client.ApolloError | undefined;
|
|
783
783
|
loading: boolean;
|
|
784
784
|
};
|
|
785
|
-
declare const
|
|
785
|
+
declare const useUpdateEventInfo: () => {
|
|
786
786
|
error: _apollo_client.ApolloError | undefined;
|
|
787
787
|
loading: boolean;
|
|
788
|
-
|
|
788
|
+
updateEventInfo: (options?: _apollo_client.MutationFunctionOptions<any, _apollo_client.OperationVariables, _apollo_client.DefaultContext, _apollo_client.ApolloCache<any>> | undefined) => Promise<_apollo_client.FetchResult<any>>;
|
|
789
789
|
};
|
|
790
790
|
|
|
791
|
-
declare const
|
|
791
|
+
declare const useGetEvents: () => {
|
|
792
792
|
error: _apollo_client.ApolloError | undefined;
|
|
793
|
+
events: EventType[];
|
|
793
794
|
loading: boolean;
|
|
794
|
-
markets: MarketType[];
|
|
795
795
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
796
796
|
};
|
|
797
|
-
declare const
|
|
797
|
+
declare const useGetEvent: (_id: string) => {
|
|
798
798
|
error: _apollo_client.ApolloError | undefined;
|
|
799
|
+
event: EventType;
|
|
799
800
|
loading: boolean;
|
|
800
|
-
market: MarketType;
|
|
801
801
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
802
802
|
};
|
|
803
|
-
declare const
|
|
803
|
+
declare const useGetEventsByRegion: (region: string) => {
|
|
804
804
|
error: _apollo_client.ApolloError | undefined;
|
|
805
|
+
eventsByRegion: EventType[];
|
|
805
806
|
loading: boolean;
|
|
806
|
-
marketsByRegion: MarketType[];
|
|
807
807
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
808
808
|
};
|
|
809
|
-
declare const
|
|
809
|
+
declare const useSearchEvents: (search: string, region: string) => {
|
|
810
810
|
error: _apollo_client.ApolloError | undefined;
|
|
811
|
+
eventsSearch: EventType[];
|
|
811
812
|
loading: boolean;
|
|
812
|
-
marketsSearch: MarketType[];
|
|
813
813
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
814
814
|
};
|
|
815
|
-
declare const
|
|
815
|
+
declare const useGetEventsNearMe: (location: {
|
|
816
816
|
latitude: number;
|
|
817
817
|
longitude: number;
|
|
818
818
|
radius?: number;
|
|
819
819
|
}) => {
|
|
820
820
|
error: _apollo_client.ApolloError | undefined;
|
|
821
|
+
eventsNearMe: EventType[];
|
|
821
822
|
loading: boolean;
|
|
822
|
-
marketsNearMe: MarketType[];
|
|
823
823
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
824
824
|
};
|
|
825
|
-
declare const
|
|
825
|
+
declare const useGetEventInfo: (eventId: string) => {
|
|
826
826
|
error: _apollo_client.ApolloError | undefined;
|
|
827
|
+
eventInfo: EventInfoType;
|
|
827
828
|
loading: boolean;
|
|
828
|
-
marketInfo: MarketInfoType;
|
|
829
829
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
830
830
|
};
|
|
831
831
|
|
|
@@ -917,16 +917,16 @@ declare const useGetRelation: (_id: string) => {
|
|
|
917
917
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
918
918
|
relation: RelationType;
|
|
919
919
|
};
|
|
920
|
-
declare const
|
|
920
|
+
declare const useGetRelationByEventAndStallholder: (eventId: string, stallholderId: string) => {
|
|
921
921
|
error: _apollo_client.ApolloError | undefined;
|
|
922
922
|
loading: boolean;
|
|
923
923
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
924
|
-
|
|
924
|
+
relationByEventAndStallholder: RelationType;
|
|
925
925
|
};
|
|
926
|
-
declare const
|
|
926
|
+
declare const useGetEventRelations: (eventId: string) => {
|
|
927
927
|
error: _apollo_client.ApolloError | undefined;
|
|
928
|
+
eventRelations: RelationType[];
|
|
928
929
|
loading: boolean;
|
|
929
|
-
marketRelations: RelationType[];
|
|
930
930
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
931
931
|
};
|
|
932
932
|
declare const useGetStallholderRelations: (stallholderId: string) => {
|
|
@@ -1073,11 +1073,11 @@ declare const useGetUser: (_id: string) => {
|
|
|
1073
1073
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
1074
1074
|
user: UserType;
|
|
1075
1075
|
};
|
|
1076
|
-
declare const
|
|
1076
|
+
declare const useGetUserEvents: () => {
|
|
1077
1077
|
error: _apollo_client.ApolloError | undefined;
|
|
1078
1078
|
loading: boolean;
|
|
1079
1079
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
1080
|
-
|
|
1080
|
+
userEvents: EventType[];
|
|
1081
1081
|
};
|
|
1082
1082
|
declare const useGetUserStallholder: () => {
|
|
1083
1083
|
error: _apollo_client.ApolloError | undefined;
|
|
@@ -1090,7 +1090,7 @@ declare const useGetUserFavourites: () => {
|
|
|
1090
1090
|
loading: boolean;
|
|
1091
1091
|
refetch: (variables?: Partial<_apollo_client.OperationVariables> | undefined) => Promise<_apollo_client.ApolloQueryResult<any>>;
|
|
1092
1092
|
userFavourites: {
|
|
1093
|
-
|
|
1093
|
+
events: EventType[];
|
|
1094
1094
|
stallholders: StallholderType[];
|
|
1095
1095
|
};
|
|
1096
1096
|
};
|
|
@@ -1181,20 +1181,20 @@ declare function useStallholderForm(data?: StallholderFormData): CreateStallhold
|
|
|
1181
1181
|
declare function useStallholderInfoForm(data?: StallholderInfoFormData): CreateStallholderInfoFormData;
|
|
1182
1182
|
|
|
1183
1183
|
/**
|
|
1184
|
-
* Custom hook to manage the
|
|
1184
|
+
* Custom hook to manage the event form state and validation.
|
|
1185
1185
|
*
|
|
1186
|
-
* @param {
|
|
1187
|
-
* @returns {
|
|
1186
|
+
* @param {EventFormData} data - The initial form data.
|
|
1187
|
+
* @returns {CreateEventFormData} - The form methods and state.
|
|
1188
1188
|
*/
|
|
1189
|
-
declare function
|
|
1189
|
+
declare function useEventForm(data?: EventFormData): CreateEventFormData;
|
|
1190
1190
|
|
|
1191
1191
|
/**
|
|
1192
|
-
* Custom hook to manage the
|
|
1192
|
+
* Custom hook to manage the event form state and validation.
|
|
1193
1193
|
*
|
|
1194
|
-
* @param {
|
|
1195
|
-
* @returns {
|
|
1194
|
+
* @param {EventInfoFormData} data - The initial form data.
|
|
1195
|
+
* @returns {CreateEventInfoFormData} - The form methods and state.
|
|
1196
1196
|
*/
|
|
1197
|
-
declare function
|
|
1197
|
+
declare function useEventInfoForm(data?: EventInfoFormData): CreateEventInfoFormData;
|
|
1198
1198
|
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Custom hook to manage the user form state and validation.
|
|
@@ -1225,11 +1225,11 @@ declare function useValidateVerificationTokenForm(): CreateValidateVerificationT
|
|
|
1225
1225
|
declare function useResetPasswordForm(): CreateResetPasswordFormData;
|
|
1226
1226
|
|
|
1227
1227
|
declare const globalDefaultValues: BaseResourceTypeFormData;
|
|
1228
|
-
declare const
|
|
1229
|
-
declare const
|
|
1228
|
+
declare const defaultEventFormValues: EventFormData;
|
|
1229
|
+
declare const defaultEventInfoFormValues: EventInfoFormData;
|
|
1230
1230
|
declare const defaultStallholderFormValues: StallholderFormData;
|
|
1231
1231
|
declare const defaultStallholderInfoFormValues: StallholderInfoFormData;
|
|
1232
|
-
declare function mapBaseResourceTypeToFormData(data:
|
|
1232
|
+
declare function mapBaseResourceTypeToFormData(data: EventFormData | StallholderFormData): BaseResourceTypeFormData;
|
|
1233
1233
|
|
|
1234
1234
|
declare function useTestersForm(data?: TestersFormData): CreateTestersFormData;
|
|
1235
1235
|
|
|
@@ -1339,4 +1339,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1339
1339
|
declare const paymentMethodOptions: OptionItem[];
|
|
1340
1340
|
declare function normalizeUrl(url: string): string;
|
|
1341
1341
|
|
|
1342
|
-
export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type
|
|
1342
|
+
export { type AdFormData, type AdType, type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateAdFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateEventFormData, type CreateEventInfoFormData, type CreateFormData, type CreateLoginFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumAdShowOn, EnumAdStatus, EnumAdStyle, EnumAdType, EnumChatType, EnumInviteStatus, EnumNotificationResourceType, EnumNotificationType, EnumOSPlatform, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumSocialMedia, EnumUserLicence, EnumUserRole, type EventFormData, type EventInfoFormData, type EventInfoType, type EventType, type EventWithConnectionDatesType, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type NotificationCount, type NotificationDataType, type NotificationType, type Nullable, type OptionItem, type OwnerType, type ParticipantType, type PaymentInfoType, type PlacePrediction, type PosterInputType, type PosterUsageType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceContactDetailsType, type ResourceImageType, type ResourceViewEntry, type ResourceViewInputType, type ResourceViewsType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type StallholderWithConnectionDatesType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, companyContactFields, contactUsFields, darkColors, dateFormat, defaultEventFormValues, defaultEventInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAdForm, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateAd, useCreateBulkNotifications, useCreateEvent, useCreateEventInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateResourceViews, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteAd, useDeleteAllNotifications, useDeleteChat, useDeleteEvent, useDeleteNotification, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useEventForm, useEventInfoForm, useGetAd, useGetAds, useGetAdsByRegion, useGetChat, useGetChatSubscription, useGetEvent, useGetEventInfo, useGetEventRelations, useGetEvents, useGetEventsByRegion, useGetEventsNearMe, useGetNotificationCount, useGetNotificationCountSubscription, useGetRelation, useGetRelationByEventAndStallholder, useGetResourceConnections, useGetResourceViews, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserEvents, useGetUserFavourites, useGetUserNotifications, useGetUserNotificationsSubscription, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarkAllNotificationsRead, useMarkNotificationRead, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchEvents, useSearchStallholders, useSelectPackage, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateAd, useUpdateEvent, useUpdateEventInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|