@timardex/cluemart-shared 1.2.26 → 1.2.28
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-Bv5fLkN0.d.mts → ad-C-0i99zR.d.mts} +1 -1
- package/dist/{ad-DDPNpx02.d.ts → ad-ZnPU3uan.d.ts} +1 -1
- package/dist/{auth-BhUIvvZ2.d.ts → auth-BRY-YJss.d.ts} +1 -1
- package/dist/{auth-BVGs-5Vm.d.mts → auth-Ddkaba1k.d.mts} +1 -1
- package/dist/formFields/index.d.mts +2 -1
- package/dist/formFields/index.d.ts +2 -1
- package/dist/{global-BEqzo5Z2.d.mts → global-DlaX2SCk.d.mts} +114 -2
- package/dist/{global-BA84KF8J.d.ts → global-IDogsFQv.d.ts} +114 -2
- package/dist/graphql/index.d.mts +4 -3
- package/dist/graphql/index.d.ts +4 -3
- package/dist/hooks/index.d.mts +4 -3
- package/dist/hooks/index.d.ts +4 -3
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +392 -342
- package/dist/index.d.ts +392 -342
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -1
- package/dist/resourceActivities-B4roVKtQ.d.ts +34 -0
- package/dist/resourceActivities-BIjtlOGp.d.mts +34 -0
- package/dist/types/index.cjs +13 -2
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +5 -4
- package/dist/types/index.d.ts +5 -4
- package/dist/types/index.mjs +11 -1
- package/dist/types/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/package.json +13 -1
- package/dist/resourceActivities-DWC-Btmf.d.ts +0 -96
- package/dist/resourceActivities-DoLx4lPo.d.mts +0 -96
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.mjs';
|
|
2
|
-
import { C as Category,
|
|
2
|
+
import { C as Category, K as CreateFormData, t as ResourceImageType, v as PartnerType, T as TermsAgreement, u as SocialMediaType } from './global-DlaX2SCk.mjs';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EnumOSPlatform, EnumResourceType, EnumUserLicence, EnumUserRole } from './enums/index.js';
|
|
2
|
-
import { C as Category,
|
|
2
|
+
import { C as Category, K as CreateFormData, t as ResourceImageType, v as PartnerType, T as TermsAgreement, u as SocialMediaType } from './global-IDogsFQv.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-DlaX2SCk.mjs';
|
|
2
|
+
import 'mongoose';
|
|
2
3
|
import 'react-hook-form';
|
|
3
4
|
import '../enums/index.mjs';
|
|
4
5
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-IDogsFQv.js';
|
|
2
|
+
import 'mongoose';
|
|
2
3
|
import 'react-hook-form';
|
|
3
4
|
import '../enums/index.js';
|
|
4
5
|
|
|
@@ -1,5 +1,40 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
1
2
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
3
|
+
import { EnumChatType, EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumNotificationType, EnumNotificationResourceType, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
4
|
+
|
|
5
|
+
type ParticipantType = {
|
|
6
|
+
active: boolean;
|
|
7
|
+
email: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
};
|
|
10
|
+
interface ChatMessageInput {
|
|
11
|
+
content: string;
|
|
12
|
+
senderId: string;
|
|
13
|
+
}
|
|
14
|
+
interface ChatMessageType {
|
|
15
|
+
_id?: string;
|
|
16
|
+
content: string;
|
|
17
|
+
createdAt?: string;
|
|
18
|
+
senderAvatar: string | null;
|
|
19
|
+
senderId: string;
|
|
20
|
+
senderName: string;
|
|
21
|
+
updatedAt?: string;
|
|
22
|
+
}
|
|
23
|
+
interface ChatType {
|
|
24
|
+
_id: string;
|
|
25
|
+
active: boolean;
|
|
26
|
+
chatType: EnumChatType;
|
|
27
|
+
chatName: string;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
messages: ChatMessageType[];
|
|
30
|
+
participants: ParticipantType[];
|
|
31
|
+
resourceInfo: {
|
|
32
|
+
eventId: string;
|
|
33
|
+
vendorId: string;
|
|
34
|
+
} | null;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
deletedAt: string | null;
|
|
37
|
+
}
|
|
3
38
|
|
|
4
39
|
type StallType = {
|
|
5
40
|
label: string;
|
|
@@ -164,6 +199,53 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
|
164
199
|
_id: string;
|
|
165
200
|
};
|
|
166
201
|
|
|
202
|
+
interface NotificationDataType {
|
|
203
|
+
resourceId: string;
|
|
204
|
+
resourceName: string;
|
|
205
|
+
resourceType: EnumNotificationResourceType;
|
|
206
|
+
}
|
|
207
|
+
type NotificationType = {
|
|
208
|
+
_id: string;
|
|
209
|
+
userId: string;
|
|
210
|
+
title: string;
|
|
211
|
+
message: string;
|
|
212
|
+
isRead: boolean;
|
|
213
|
+
type: EnumNotificationType;
|
|
214
|
+
data: NotificationDataType | null;
|
|
215
|
+
createdAt: string;
|
|
216
|
+
updatedAt: string;
|
|
217
|
+
};
|
|
218
|
+
type NotificationCount = {
|
|
219
|
+
total: number;
|
|
220
|
+
unread: number;
|
|
221
|
+
};
|
|
222
|
+
type CreateBulkNotificationInput = {
|
|
223
|
+
userIds: string[];
|
|
224
|
+
title: string;
|
|
225
|
+
message: string;
|
|
226
|
+
type: EnumNotificationType;
|
|
227
|
+
data: NotificationDataType | null;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
|
|
231
|
+
senderId: ObjectId;
|
|
232
|
+
};
|
|
233
|
+
type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
|
|
234
|
+
userId: ObjectId;
|
|
235
|
+
};
|
|
236
|
+
type SchemaChatType = Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
|
|
237
|
+
participants: SchemaParticipantType[];
|
|
238
|
+
messages: SchemaChatMessageType[];
|
|
239
|
+
resourceInfo: {
|
|
240
|
+
eventId: ObjectId;
|
|
241
|
+
vendorId: ObjectId;
|
|
242
|
+
} | null;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
type SchemaNotificationType = Omit<NotificationType, "userId"> & {
|
|
246
|
+
userId: ObjectId;
|
|
247
|
+
};
|
|
248
|
+
|
|
167
249
|
type Nullable<T> = {
|
|
168
250
|
[K in keyof T]: T[K] | null | undefined;
|
|
169
251
|
};
|
|
@@ -328,5 +410,35 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
328
410
|
setValue: UseFormSetValue<T>;
|
|
329
411
|
watch: UseFormWatch<T>;
|
|
330
412
|
}
|
|
413
|
+
type ObjectId = mongoose.Schema.Types.ObjectId;
|
|
414
|
+
declare enum EnumPubSubEvents {
|
|
415
|
+
GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
|
|
416
|
+
GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
|
|
417
|
+
GET_NOTIFICATIONS_COUNT = "GET_NOTIFICATIONS_COUNT",
|
|
418
|
+
USER_TYPING = "USER_TYPING"
|
|
419
|
+
}
|
|
420
|
+
interface AuthUser {
|
|
421
|
+
email: string;
|
|
422
|
+
role: string;
|
|
423
|
+
userId: ObjectId;
|
|
424
|
+
}
|
|
425
|
+
interface SubscriptionPayload {
|
|
426
|
+
getChatMessage?: SchemaChatType;
|
|
427
|
+
userTyping?: SchemaChatType;
|
|
428
|
+
getNotifications?: SchemaNotificationType[];
|
|
429
|
+
getNotificationsUserId?: ObjectId;
|
|
430
|
+
getNotificationsCount?: NotificationCount & {
|
|
431
|
+
userId: ObjectId;
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
interface GraphQLContext {
|
|
435
|
+
user: AuthUser | null;
|
|
436
|
+
pubsub: {
|
|
437
|
+
publish: (eventName: EnumPubSubEvents, payload: SubscriptionPayload) => void;
|
|
438
|
+
subscribe: (eventName: EnumPubSubEvents) => AsyncIterable<any>;
|
|
439
|
+
};
|
|
440
|
+
request: Request;
|
|
441
|
+
response: Response;
|
|
442
|
+
}
|
|
331
443
|
|
|
332
|
-
export type
|
|
444
|
+
export { type NotificationDataType as $, type Region as A, type BaseResourceTypeFormData as B, type Category as C, type DeviceInfo as D, type EventType as E, type FormField as F, type GeocodeLocation as G, type SubcategoryItems as H, type Subcategory as I, type ImageObjectType as J, type CreateFormData as K, type LocationType as L, type MapMultiLocation as M, type NotificationType as N, type OptionItem as O, type ParticipantType as P, type ObjectId as Q, type Requirement as R, type StallType as S, type TermsAgreement as T, EnumPubSubEvents as U, type VendorType as V, type AuthUser as W, type SubscriptionPayload as X, type GraphQLContext as Y, type DateTimeWithPriceType as Z, type PaymentInfoType as _, type FormDateField as a, type CreateBulkNotificationInput as a0, type RelationDate as a1, type VendorLocation as a2, type VendorMenuType as a3, type VendorAttributes as a4, type ChatType as b, type EventInfoType as c, type NotificationCount as d, type RelationType as e, type ResourceConnectionsType as f, type VendorInfoType as g, type VendorFormData as h, type CreateVendorFormData as i, type VendorInfoFormData as j, type CreateVendorInfoFormData as k, type EventFormData as l, type CreateEventFormData as m, type EventInfoFormData as n, type CreateEventInfoFormData as o, type ChatMessageInput as p, type ChatMessageType as q, type Nullable as r, type ResourceContactDetailsType as s, type ResourceImageType as t, type SocialMediaType as u, type PartnerType as v, type OwnerType as w, type PosterUsageType as x, type BaseResourceType as y, type DateTimeType as z };
|
|
@@ -1,5 +1,40 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
1
2
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
2
|
-
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
3
|
+
import { EnumChatType, EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumNotificationType, EnumNotificationResourceType, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
4
|
+
|
|
5
|
+
type ParticipantType = {
|
|
6
|
+
active: boolean;
|
|
7
|
+
email: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
};
|
|
10
|
+
interface ChatMessageInput {
|
|
11
|
+
content: string;
|
|
12
|
+
senderId: string;
|
|
13
|
+
}
|
|
14
|
+
interface ChatMessageType {
|
|
15
|
+
_id?: string;
|
|
16
|
+
content: string;
|
|
17
|
+
createdAt?: string;
|
|
18
|
+
senderAvatar: string | null;
|
|
19
|
+
senderId: string;
|
|
20
|
+
senderName: string;
|
|
21
|
+
updatedAt?: string;
|
|
22
|
+
}
|
|
23
|
+
interface ChatType {
|
|
24
|
+
_id: string;
|
|
25
|
+
active: boolean;
|
|
26
|
+
chatType: EnumChatType;
|
|
27
|
+
chatName: string;
|
|
28
|
+
createdAt: string;
|
|
29
|
+
messages: ChatMessageType[];
|
|
30
|
+
participants: ParticipantType[];
|
|
31
|
+
resourceInfo: {
|
|
32
|
+
eventId: string;
|
|
33
|
+
vendorId: string;
|
|
34
|
+
} | null;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
deletedAt: string | null;
|
|
37
|
+
}
|
|
3
38
|
|
|
4
39
|
type StallType = {
|
|
5
40
|
label: string;
|
|
@@ -164,6 +199,53 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
|
164
199
|
_id: string;
|
|
165
200
|
};
|
|
166
201
|
|
|
202
|
+
interface NotificationDataType {
|
|
203
|
+
resourceId: string;
|
|
204
|
+
resourceName: string;
|
|
205
|
+
resourceType: EnumNotificationResourceType;
|
|
206
|
+
}
|
|
207
|
+
type NotificationType = {
|
|
208
|
+
_id: string;
|
|
209
|
+
userId: string;
|
|
210
|
+
title: string;
|
|
211
|
+
message: string;
|
|
212
|
+
isRead: boolean;
|
|
213
|
+
type: EnumNotificationType;
|
|
214
|
+
data: NotificationDataType | null;
|
|
215
|
+
createdAt: string;
|
|
216
|
+
updatedAt: string;
|
|
217
|
+
};
|
|
218
|
+
type NotificationCount = {
|
|
219
|
+
total: number;
|
|
220
|
+
unread: number;
|
|
221
|
+
};
|
|
222
|
+
type CreateBulkNotificationInput = {
|
|
223
|
+
userIds: string[];
|
|
224
|
+
title: string;
|
|
225
|
+
message: string;
|
|
226
|
+
type: EnumNotificationType;
|
|
227
|
+
data: NotificationDataType | null;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
|
|
231
|
+
senderId: ObjectId;
|
|
232
|
+
};
|
|
233
|
+
type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
|
|
234
|
+
userId: ObjectId;
|
|
235
|
+
};
|
|
236
|
+
type SchemaChatType = Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
|
|
237
|
+
participants: SchemaParticipantType[];
|
|
238
|
+
messages: SchemaChatMessageType[];
|
|
239
|
+
resourceInfo: {
|
|
240
|
+
eventId: ObjectId;
|
|
241
|
+
vendorId: ObjectId;
|
|
242
|
+
} | null;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
type SchemaNotificationType = Omit<NotificationType, "userId"> & {
|
|
246
|
+
userId: ObjectId;
|
|
247
|
+
};
|
|
248
|
+
|
|
167
249
|
type Nullable<T> = {
|
|
168
250
|
[K in keyof T]: T[K] | null | undefined;
|
|
169
251
|
};
|
|
@@ -328,5 +410,35 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
328
410
|
setValue: UseFormSetValue<T>;
|
|
329
411
|
watch: UseFormWatch<T>;
|
|
330
412
|
}
|
|
413
|
+
type ObjectId = mongoose.Schema.Types.ObjectId;
|
|
414
|
+
declare enum EnumPubSubEvents {
|
|
415
|
+
GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
|
|
416
|
+
GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
|
|
417
|
+
GET_NOTIFICATIONS_COUNT = "GET_NOTIFICATIONS_COUNT",
|
|
418
|
+
USER_TYPING = "USER_TYPING"
|
|
419
|
+
}
|
|
420
|
+
interface AuthUser {
|
|
421
|
+
email: string;
|
|
422
|
+
role: string;
|
|
423
|
+
userId: ObjectId;
|
|
424
|
+
}
|
|
425
|
+
interface SubscriptionPayload {
|
|
426
|
+
getChatMessage?: SchemaChatType;
|
|
427
|
+
userTyping?: SchemaChatType;
|
|
428
|
+
getNotifications?: SchemaNotificationType[];
|
|
429
|
+
getNotificationsUserId?: ObjectId;
|
|
430
|
+
getNotificationsCount?: NotificationCount & {
|
|
431
|
+
userId: ObjectId;
|
|
432
|
+
};
|
|
433
|
+
}
|
|
434
|
+
interface GraphQLContext {
|
|
435
|
+
user: AuthUser | null;
|
|
436
|
+
pubsub: {
|
|
437
|
+
publish: (eventName: EnumPubSubEvents, payload: SubscriptionPayload) => void;
|
|
438
|
+
subscribe: (eventName: EnumPubSubEvents) => AsyncIterable<any>;
|
|
439
|
+
};
|
|
440
|
+
request: Request;
|
|
441
|
+
response: Response;
|
|
442
|
+
}
|
|
331
443
|
|
|
332
|
-
export type
|
|
444
|
+
export { type NotificationDataType as $, type Region as A, type BaseResourceTypeFormData as B, type Category as C, type DeviceInfo as D, type EventType as E, type FormField as F, type GeocodeLocation as G, type SubcategoryItems as H, type Subcategory as I, type ImageObjectType as J, type CreateFormData as K, type LocationType as L, type MapMultiLocation as M, type NotificationType as N, type OptionItem as O, type ParticipantType as P, type ObjectId as Q, type Requirement as R, type StallType as S, type TermsAgreement as T, EnumPubSubEvents as U, type VendorType as V, type AuthUser as W, type SubscriptionPayload as X, type GraphQLContext as Y, type DateTimeWithPriceType as Z, type PaymentInfoType as _, type FormDateField as a, type CreateBulkNotificationInput as a0, type RelationDate as a1, type VendorLocation as a2, type VendorMenuType as a3, type VendorAttributes as a4, type ChatType as b, type EventInfoType as c, type NotificationCount as d, type RelationType as e, type ResourceConnectionsType as f, type VendorInfoType as g, type VendorFormData as h, type CreateVendorFormData as i, type VendorInfoFormData as j, type CreateVendorInfoFormData as k, type EventFormData as l, type CreateEventFormData as m, type EventInfoFormData as n, type CreateEventInfoFormData as o, type ChatMessageInput as p, type ChatMessageType as q, type Nullable as r, type ResourceContactDetailsType as s, type ResourceImageType as t, type SocialMediaType as u, type PartnerType as v, type OwnerType as w, type PosterUsageType as x, type BaseResourceType as y, type DateTimeType as z };
|
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
import {
|
|
3
|
-
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-BEqzo5Z2.mjs';
|
|
2
|
+
import { b as ChatType, E as EventType, c as EventInfoType, N as NotificationType, d as NotificationCount, e as RelationType, f as ResourceConnectionsType, V as VendorType, g as VendorInfoType } from '../global-DlaX2SCk.mjs';
|
|
4
3
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-
|
|
4
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-C-0i99zR.mjs';
|
|
5
|
+
import { R as ResourceActivityType } from '../resourceActivities-BIjtlOGp.mjs';
|
|
6
|
+
import 'mongoose';
|
|
6
7
|
import 'react-hook-form';
|
|
7
8
|
|
|
8
9
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
import {
|
|
3
|
-
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-BA84KF8J.js';
|
|
2
|
+
import { b as ChatType, E as EventType, c as EventInfoType, N as NotificationType, d as NotificationCount, e as RelationType, f as ResourceConnectionsType, V as VendorType, g as VendorInfoType } from '../global-IDogsFQv.js';
|
|
4
3
|
import { EnumResourceType } from '../enums/index.js';
|
|
5
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-
|
|
4
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-ZnPU3uan.js';
|
|
5
|
+
import { R as ResourceActivityType } from '../resourceActivities-B4roVKtQ.js';
|
|
6
|
+
import 'mongoose';
|
|
6
7
|
import 'react-hook-form';
|
|
7
8
|
|
|
8
9
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { L as LocationType,
|
|
2
|
-
import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-
|
|
3
|
-
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-
|
|
1
|
+
import { L as LocationType, h as VendorFormData, i as CreateVendorFormData, j as VendorInfoFormData, k as CreateVendorInfoFormData, l as EventFormData, m as CreateEventFormData, n as EventInfoFormData, o as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-DlaX2SCk.mjs';
|
|
2
|
+
import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-C-0i99zR.mjs';
|
|
3
|
+
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-Ddkaba1k.mjs';
|
|
4
|
+
import 'mongoose';
|
|
4
5
|
import 'react-hook-form';
|
|
5
6
|
import '../enums/index.mjs';
|
|
6
7
|
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { L as LocationType,
|
|
2
|
-
import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-
|
|
3
|
-
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-
|
|
1
|
+
import { L as LocationType, h as VendorFormData, i as CreateVendorFormData, j as VendorInfoFormData, k as CreateVendorInfoFormData, l as EventFormData, m as CreateEventFormData, n as EventInfoFormData, o as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-IDogsFQv.js';
|
|
2
|
+
import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-ZnPU3uan.js';
|
|
3
|
+
import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-BRY-YJss.js';
|
|
4
|
+
import 'mongoose';
|
|
4
5
|
import 'react-hook-form';
|
|
5
6
|
import '../enums/index.js';
|
|
6
7
|
|
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,7 @@ __export(index_exports, {
|
|
|
43
43
|
EnumNotificationType: () => EnumNotificationType,
|
|
44
44
|
EnumOSPlatform: () => EnumOSPlatform,
|
|
45
45
|
EnumPaymentMethod: () => EnumPaymentMethod,
|
|
46
|
+
EnumPubSubEvents: () => EnumPubSubEvents,
|
|
46
47
|
EnumRegions: () => EnumRegions,
|
|
47
48
|
EnumRelationResource: () => EnumRelationResource,
|
|
48
49
|
EnumResourceType: () => EnumResourceType,
|
|
@@ -6210,6 +6211,15 @@ var fonts = {
|
|
|
6210
6211
|
}
|
|
6211
6212
|
};
|
|
6212
6213
|
|
|
6214
|
+
// src/types/global.ts
|
|
6215
|
+
var EnumPubSubEvents = /* @__PURE__ */ ((EnumPubSubEvents2) => {
|
|
6216
|
+
EnumPubSubEvents2["GET_CHAT_MESSAGE"] = "GET_CHAT_MESSAGE";
|
|
6217
|
+
EnumPubSubEvents2["GET_NOTIFICATIONS"] = "GET_NOTIFICATIONS";
|
|
6218
|
+
EnumPubSubEvents2["GET_NOTIFICATIONS_COUNT"] = "GET_NOTIFICATIONS_COUNT";
|
|
6219
|
+
EnumPubSubEvents2["USER_TYPING"] = "USER_TYPING";
|
|
6220
|
+
return EnumPubSubEvents2;
|
|
6221
|
+
})(EnumPubSubEvents || {});
|
|
6222
|
+
|
|
6213
6223
|
// src/types/resourceActivities.ts
|
|
6214
6224
|
var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
|
|
6215
6225
|
EnumActivity2["FAVORITE"] = "FAVORITE";
|
|
@@ -6234,6 +6244,7 @@ var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
|
|
|
6234
6244
|
EnumNotificationType,
|
|
6235
6245
|
EnumOSPlatform,
|
|
6236
6246
|
EnumPaymentMethod,
|
|
6247
|
+
EnumPubSubEvents,
|
|
6237
6248
|
EnumRegions,
|
|
6238
6249
|
EnumRelationResource,
|
|
6239
6250
|
EnumResourceType,
|