@timardex/cluemart-shared 1.0.80 → 1.0.81
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/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/{notification-H4hE5cdq.d.mts → notification-BVKetNZq.d.mts} +6 -6
- package/dist/{notification-H4hE5cdq.d.ts → notification-BVKetNZq.d.ts} +6 -6
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as LocationType, g as StallholderFormData, h as CreateStallholderFormData, i as StallholderInfoFormData, j as CreateStallholderInfoFormData, k as MarketFormData, l as CreateMarketFormData, m as MarketInfoFormData, n as CreateMarketInfoFormData, o as UserFormData, p as CreateUserFormData, B as BaseResourceTypeFormData } from '../global-Bieh1fh8.mjs';
|
|
2
|
-
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData, g as CreateNotificationInput, h as CreateBulkNotificationInput, M as MarkNotificationReadInput, i as MarkAllNotificationsReadInput } from '../notification-
|
|
2
|
+
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData, g as CreateNotificationInput, h as CreateBulkNotificationInput, M as MarkNotificationReadInput, i as MarkAllNotificationsReadInput } from '../notification-BVKetNZq.mjs';
|
|
3
3
|
import { a as TestersFormData, C as CreateTestersFormData } from '../testers-74J9OA2P.mjs';
|
|
4
4
|
import * as _apollo_client from '@apollo/client';
|
|
5
5
|
import '../enums/index.mjs';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { L as LocationType, g as StallholderFormData, h as CreateStallholderFormData, i as StallholderInfoFormData, j as CreateStallholderInfoFormData, k as MarketFormData, l as CreateMarketFormData, m as MarketInfoFormData, n as CreateMarketInfoFormData, o as UserFormData, p as CreateUserFormData, B as BaseResourceTypeFormData } from '../global-By7aHQ1y.js';
|
|
2
|
-
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData, g as CreateNotificationInput, h as CreateBulkNotificationInput, M as MarkNotificationReadInput, i as MarkAllNotificationsReadInput } from '../notification-
|
|
2
|
+
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData, g as CreateNotificationInput, h as CreateBulkNotificationInput, M as MarkNotificationReadInput, i as MarkAllNotificationsReadInput } from '../notification-BVKetNZq.js';
|
|
3
3
|
import { a as TestersFormData, C as CreateTestersFormData } from '../testers-CqYqJvlZ.js';
|
|
4
4
|
import * as _apollo_client from '@apollo/client';
|
|
5
5
|
import '../enums/index.js';
|
package/dist/index.d.mts
CHANGED
|
@@ -544,13 +544,13 @@ interface CreateContactUsFormData {
|
|
|
544
544
|
watch: UseFormWatch<ContactUsFormData>;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
type
|
|
548
|
-
interface
|
|
547
|
+
type NotificationTypeMap = "market" | "stallholder" | "relation" | "chat" | "system";
|
|
548
|
+
interface NotificationType {
|
|
549
549
|
id: string;
|
|
550
550
|
userId: string;
|
|
551
551
|
title: string;
|
|
552
552
|
message: string;
|
|
553
|
-
type:
|
|
553
|
+
type: NotificationTypeMap;
|
|
554
554
|
isRead: boolean;
|
|
555
555
|
data?: Record<string, unknown>;
|
|
556
556
|
createdAt: string;
|
|
@@ -564,14 +564,14 @@ interface CreateNotificationInput {
|
|
|
564
564
|
userId: string;
|
|
565
565
|
title: string;
|
|
566
566
|
message: string;
|
|
567
|
-
type?:
|
|
567
|
+
type?: NotificationTypeMap;
|
|
568
568
|
data?: Record<string, unknown>;
|
|
569
569
|
}
|
|
570
570
|
interface CreateBulkNotificationInput {
|
|
571
571
|
userIds: string[];
|
|
572
572
|
title: string;
|
|
573
573
|
message: string;
|
|
574
|
-
type?:
|
|
574
|
+
type?: NotificationTypeMap;
|
|
575
575
|
data?: Record<string, unknown>;
|
|
576
576
|
}
|
|
577
577
|
interface MarkNotificationReadInput {
|
|
@@ -1259,4 +1259,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1259
1259
|
declare const paymentMethodOptions: OptionItem[];
|
|
1260
1260
|
declare function normalizeUrl(url: string): string;
|
|
1261
1261
|
|
|
1262
|
-
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, CREATE_BULK_NOTIFICATIONS, CREATE_NOTIFICATION, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateNotificationInput, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, GET_NOTIFICATION_COUNT, GET_UNREAD_NOTIFICATIONS, GET_USER_NOTIFICATIONS, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, MARK_ALL_NOTIFICATIONS_READ, MARK_NOTIFICATION_READ, type MapMultiLocation, type MarkAllNotificationsReadInput, type MarkNotificationReadInput, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type
|
|
1262
|
+
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, CREATE_BULK_NOTIFICATIONS, CREATE_NOTIFICATION, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateNotificationInput, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, GET_NOTIFICATION_COUNT, GET_UNREAD_NOTIFICATIONS, GET_USER_NOTIFICATIONS, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, MARK_ALL_NOTIFICATIONS_READ, MARK_NOTIFICATION_READ, type MapMultiLocation, type MarkAllNotificationsReadInput, type MarkNotificationReadInput, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationCount, type NotificationType, type NotificationTypeMap, type Nullable, type OptionItem, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, darkColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentInfo, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarketForm, useMarketInfoForm, useNotifications, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -544,13 +544,13 @@ interface CreateContactUsFormData {
|
|
|
544
544
|
watch: UseFormWatch<ContactUsFormData>;
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
type
|
|
548
|
-
interface
|
|
547
|
+
type NotificationTypeMap = "market" | "stallholder" | "relation" | "chat" | "system";
|
|
548
|
+
interface NotificationType {
|
|
549
549
|
id: string;
|
|
550
550
|
userId: string;
|
|
551
551
|
title: string;
|
|
552
552
|
message: string;
|
|
553
|
-
type:
|
|
553
|
+
type: NotificationTypeMap;
|
|
554
554
|
isRead: boolean;
|
|
555
555
|
data?: Record<string, unknown>;
|
|
556
556
|
createdAt: string;
|
|
@@ -564,14 +564,14 @@ interface CreateNotificationInput {
|
|
|
564
564
|
userId: string;
|
|
565
565
|
title: string;
|
|
566
566
|
message: string;
|
|
567
|
-
type?:
|
|
567
|
+
type?: NotificationTypeMap;
|
|
568
568
|
data?: Record<string, unknown>;
|
|
569
569
|
}
|
|
570
570
|
interface CreateBulkNotificationInput {
|
|
571
571
|
userIds: string[];
|
|
572
572
|
title: string;
|
|
573
573
|
message: string;
|
|
574
|
-
type?:
|
|
574
|
+
type?: NotificationTypeMap;
|
|
575
575
|
data?: Record<string, unknown>;
|
|
576
576
|
}
|
|
577
577
|
interface MarkNotificationReadInput {
|
|
@@ -1259,4 +1259,4 @@ declare const availableRegionOptions: OptionItem[];
|
|
|
1259
1259
|
declare const paymentMethodOptions: OptionItem[];
|
|
1260
1260
|
declare function normalizeUrl(url: string): string;
|
|
1261
1261
|
|
|
1262
|
-
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, CREATE_BULK_NOTIFICATIONS, CREATE_NOTIFICATION, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateNotificationInput, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, GET_NOTIFICATION_COUNT, GET_UNREAD_NOTIFICATIONS, GET_USER_NOTIFICATIONS, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, MARK_ALL_NOTIFICATIONS_READ, MARK_NOTIFICATION_READ, type MapMultiLocation, type MarkAllNotificationsReadInput, type MarkNotificationReadInput, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type
|
|
1262
|
+
export { type AdminUpdateResourceType, type BaseResourceType, type BaseResourceTypeFormData, CREATE_BULK_NOTIFICATIONS, CREATE_NOTIFICATION, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateBulkNotificationInput, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateNotificationInput, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderFormData, type CreateStallholderInfoFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, GET_NOTIFICATION_COUNT, GET_UNREAD_NOTIFICATIONS, GET_USER_NOTIFICATIONS, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, MARK_ALL_NOTIFICATIONS_READ, MARK_NOTIFICATION_READ, type MapMultiLocation, type MarkAllNotificationsReadInput, type MarkNotificationReadInput, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationCount, type NotificationType, type NotificationTypeMap, type Nullable, type OptionItem, type PaymentInfoType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SocialMediaType, type StallType, type StallholderAttributes, type StallholderFormData, type StallholderInfoFormData, type StallholderInfoType, type StallholderLocation, type StallholderType, type Subcategory, type SubcategoryItems, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, darkColors, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderFormValues, defaultStallholderInfoFormValues, fonts, formatDate, formatTimestamp, getCurrentAndFutureDates, globalDefaultValues, isFutureDatesBeforeThreshold, lightColors, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentInfo, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, sortDatesChronologically, stallTypeOptions, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useAdminUpdateResourceType, useContactUs, useContactUsForm, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreatePushToken, useCreateRelation, useCreateStallholder, useCreateStallholderInfo, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useDeleteUser, useGetChat, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderInfo, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarketForm, useMarketInfoForm, useNotifications, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderForm, useStallholderInfoForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderInfo, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|
|
@@ -98,13 +98,13 @@ interface CreateContactUsFormData {
|
|
|
98
98
|
watch: UseFormWatch<ContactUsFormData>;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
type
|
|
102
|
-
interface
|
|
101
|
+
type NotificationTypeMap = "market" | "stallholder" | "relation" | "chat" | "system";
|
|
102
|
+
interface NotificationType {
|
|
103
103
|
id: string;
|
|
104
104
|
userId: string;
|
|
105
105
|
title: string;
|
|
106
106
|
message: string;
|
|
107
|
-
type:
|
|
107
|
+
type: NotificationTypeMap;
|
|
108
108
|
isRead: boolean;
|
|
109
109
|
data?: Record<string, unknown>;
|
|
110
110
|
createdAt: string;
|
|
@@ -118,14 +118,14 @@ interface CreateNotificationInput {
|
|
|
118
118
|
userId: string;
|
|
119
119
|
title: string;
|
|
120
120
|
message: string;
|
|
121
|
-
type?:
|
|
121
|
+
type?: NotificationTypeMap;
|
|
122
122
|
data?: Record<string, unknown>;
|
|
123
123
|
}
|
|
124
124
|
interface CreateBulkNotificationInput {
|
|
125
125
|
userIds: string[];
|
|
126
126
|
title: string;
|
|
127
127
|
message: string;
|
|
128
|
-
type?:
|
|
128
|
+
type?: NotificationTypeMap;
|
|
129
129
|
data?: Record<string, unknown>;
|
|
130
130
|
}
|
|
131
131
|
interface MarkNotificationReadInput {
|
|
@@ -135,4 +135,4 @@ interface MarkAllNotificationsReadInput {
|
|
|
135
135
|
userId: string;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
export type { CreateLoginFormData as C, LoginFormData as L, MarkNotificationReadInput as M,
|
|
138
|
+
export type { CreateLoginFormData as C, LoginFormData as L, MarkNotificationReadInput as M, NotificationTypeMap as N, RegisterFormData as R, ValidateVerificationTokenFormData as V, CreateRegisterFormData as a, CreateRequestPasswordResetFormData as b, CreateValidateVerificationTokenFormData as c, CreateResetPasswordFormData as d, ContactUsFormData as e, CreateContactUsFormData as f, CreateNotificationInput as g, CreateBulkNotificationInput as h, MarkAllNotificationsReadInput as i, RequestPasswordResetFormData as j, ResetPasswordFormData as k, NotificationType as l, NotificationCount as m };
|
|
@@ -98,13 +98,13 @@ interface CreateContactUsFormData {
|
|
|
98
98
|
watch: UseFormWatch<ContactUsFormData>;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
type
|
|
102
|
-
interface
|
|
101
|
+
type NotificationTypeMap = "market" | "stallholder" | "relation" | "chat" | "system";
|
|
102
|
+
interface NotificationType {
|
|
103
103
|
id: string;
|
|
104
104
|
userId: string;
|
|
105
105
|
title: string;
|
|
106
106
|
message: string;
|
|
107
|
-
type:
|
|
107
|
+
type: NotificationTypeMap;
|
|
108
108
|
isRead: boolean;
|
|
109
109
|
data?: Record<string, unknown>;
|
|
110
110
|
createdAt: string;
|
|
@@ -118,14 +118,14 @@ interface CreateNotificationInput {
|
|
|
118
118
|
userId: string;
|
|
119
119
|
title: string;
|
|
120
120
|
message: string;
|
|
121
|
-
type?:
|
|
121
|
+
type?: NotificationTypeMap;
|
|
122
122
|
data?: Record<string, unknown>;
|
|
123
123
|
}
|
|
124
124
|
interface CreateBulkNotificationInput {
|
|
125
125
|
userIds: string[];
|
|
126
126
|
title: string;
|
|
127
127
|
message: string;
|
|
128
|
-
type?:
|
|
128
|
+
type?: NotificationTypeMap;
|
|
129
129
|
data?: Record<string, unknown>;
|
|
130
130
|
}
|
|
131
131
|
interface MarkNotificationReadInput {
|
|
@@ -135,4 +135,4 @@ interface MarkAllNotificationsReadInput {
|
|
|
135
135
|
userId: string;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
export type { CreateLoginFormData as C, LoginFormData as L, MarkNotificationReadInput as M,
|
|
138
|
+
export type { CreateLoginFormData as C, LoginFormData as L, MarkNotificationReadInput as M, NotificationTypeMap as N, RegisterFormData as R, ValidateVerificationTokenFormData as V, CreateRegisterFormData as a, CreateRequestPasswordResetFormData as b, CreateValidateVerificationTokenFormData as c, CreateResetPasswordFormData as d, ContactUsFormData as e, CreateContactUsFormData as f, CreateNotificationInput as g, CreateBulkNotificationInput as h, MarkAllNotificationsReadInput as i, RequestPasswordResetFormData as j, ResetPasswordFormData as k, NotificationType as l, NotificationCount as m };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
2
|
-
export { e as ContactUsFormData, h as CreateBulkNotificationInput, f as CreateContactUsFormData, C as CreateLoginFormData, g as CreateNotificationInput, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, i as MarkAllNotificationsReadInput, M as MarkNotificationReadInput,
|
|
2
|
+
export { e as ContactUsFormData, h as CreateBulkNotificationInput, f as CreateContactUsFormData, C as CreateLoginFormData, g as CreateNotificationInput, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, i as MarkAllNotificationsReadInput, M as MarkNotificationReadInput, m as NotificationCount, l as NotificationType, N as NotificationTypeMap, R as RegisterFormData, j as RequestPasswordResetFormData, k as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../notification-BVKetNZq.mjs';
|
|
3
3
|
export { a as ChatInput, b as ChatMessageInput, c as ChatMessageType, C as ChatType } from '../chat-BUVCf9Tu.mjs';
|
|
4
4
|
export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateMarketFormData, n as CreateMarketInfoFormData, h as CreateStallholderFormData, j as CreateStallholderInfoFormData, p as CreateUserFormData, D as DateTimeType, x as DateTimeWithPriceType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, u as MapMultiLocation, k as MarketFormData, m as MarketInfoFormData, b as MarketInfoType, M as MarketType, y as MarketWithConnectionDatesType, N as Nullable, O as OptionItem, P as PaymentInfoType, t as Region, z as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceImageType, H as SatllholderWithConnectionDatesType, r as SocialMediaType, S as StallType, E as StallholderAttributes, g as StallholderFormData, i as StallholderInfoFormData, f as StallholderInfoType, A as StallholderLocation, e as StallholderType, w as Subcategory, v as SubcategoryItems, o as UserFormData, U as UserType } from '../global-Bieh1fh8.mjs';
|
|
5
5
|
export { C as CreateTestersFormData, T as TesterType, a as TestersFormData } from '../testers-74J9OA2P.mjs';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumResourceType } from '../enums/index.js';
|
|
2
|
-
export { e as ContactUsFormData, h as CreateBulkNotificationInput, f as CreateContactUsFormData, C as CreateLoginFormData, g as CreateNotificationInput, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, i as MarkAllNotificationsReadInput, M as MarkNotificationReadInput,
|
|
2
|
+
export { e as ContactUsFormData, h as CreateBulkNotificationInput, f as CreateContactUsFormData, C as CreateLoginFormData, g as CreateNotificationInput, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, d as CreateResetPasswordFormData, c as CreateValidateVerificationTokenFormData, L as LoginFormData, i as MarkAllNotificationsReadInput, M as MarkNotificationReadInput, m as NotificationCount, l as NotificationType, N as NotificationTypeMap, R as RegisterFormData, j as RequestPasswordResetFormData, k as ResetPasswordFormData, V as ValidateVerificationTokenFormData } from '../notification-BVKetNZq.js';
|
|
3
3
|
export { a as ChatInput, b as ChatMessageInput, c as ChatMessageType, C as ChatType } from '../chat-BUVCf9Tu.js';
|
|
4
4
|
export { s as BaseResourceType, B as BaseResourceTypeFormData, C as Category, l as CreateMarketFormData, n as CreateMarketInfoFormData, h as CreateStallholderFormData, j as CreateStallholderInfoFormData, p as CreateUserFormData, D as DateTimeType, x as DateTimeWithPriceType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, L as LocationType, u as MapMultiLocation, k as MarketFormData, m as MarketInfoFormData, b as MarketInfoType, M as MarketType, y as MarketWithConnectionDatesType, N as Nullable, O as OptionItem, P as PaymentInfoType, t as Region, z as RelationDate, c as RelationType, R as Requirement, d as ResourceConnectionsType, q as ResourceImageType, H as SatllholderWithConnectionDatesType, r as SocialMediaType, S as StallType, E as StallholderAttributes, g as StallholderFormData, i as StallholderInfoFormData, f as StallholderInfoType, A as StallholderLocation, e as StallholderType, w as Subcategory, v as SubcategoryItems, o as UserFormData, U as UserType } from '../global-By7aHQ1y.js';
|
|
5
5
|
export { C as CreateTestersFormData, T as TesterType, a as TestersFormData } from '../testers-CqYqJvlZ.js';
|