@timardex/cluemart-shared 1.2.35 → 1.2.37
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-CWAaH5Ql.d.mts → ad-Bv5fLkN0.d.mts} +1 -1
- package/dist/{ad-D60cy5L4.d.ts → ad-DDPNpx02.d.ts} +1 -1
- package/dist/{auth-BslKse3L.d.mts → auth-BVGs-5Vm.d.mts} +1 -1
- package/dist/{auth-Ch9Nt77g.d.ts → auth-BhUIvvZ2.d.ts} +1 -1
- package/dist/formFields/index.d.mts +1 -3
- package/dist/formFields/index.d.ts +1 -3
- package/dist/{global-DvxKMAQD.d.ts → global-BA84KF8J.d.ts} +2 -148
- package/dist/{global-j9FEfVZs.d.mts → global-BEqzo5Z2.d.mts} +2 -148
- package/dist/graphql/index.d.mts +3 -5
- package/dist/graphql/index.d.ts +3 -5
- package/dist/hooks/index.d.mts +3 -5
- package/dist/hooks/index.d.ts +3 -5
- package/dist/hooks/index.mjs +5 -5
- package/dist/index.cjs +17 -1013
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +311 -819
- package/dist/index.d.ts +311 -819
- package/dist/index.mjs +17 -986
- package/dist/index.mjs.map +1 -1
- package/dist/resourceActivities-0CdofGJp.d.mts +96 -0
- package/dist/resourceActivities-BjgH9TFc.d.ts +96 -0
- package/dist/types/index.cjs +2 -26
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.mts +4 -6
- package/dist/types/index.d.ts +4 -6
- package/dist/types/index.mjs +11 -8
- package/dist/types/index.mjs.map +1 -1
- package/dist/utils/index.d.mts +1 -3
- package/dist/utils/index.d.ts +1 -3
- package/package.json +1 -4
- package/dist/chunk-4OLDTZXH.mjs +0 -26
- package/dist/chunk-4OLDTZXH.mjs.map +0 -1
- package/dist/chunk-WWL2Q5DN.mjs +0 -44
- package/dist/chunk-WWL2Q5DN.mjs.map +0 -1
- package/dist/mongoose/index.cjs +0 -1085
- package/dist/mongoose/index.cjs.map +0 -1
- package/dist/mongoose/index.d.mts +0 -415
- package/dist/mongoose/index.d.ts +0 -415
- package/dist/mongoose/index.mjs +0 -878
- package/dist/mongoose/index.mjs.map +0 -1
- package/dist/resourceActivities-B4roVKtQ.d.ts +0 -34
- package/dist/resourceActivities-BIjtlOGp.d.mts +0 -34
- package/dist/service/index.cjs +0 -172
- package/dist/service/index.cjs.map +0 -1
- package/dist/service/index.d.mts +0 -25
- package/dist/service/index.d.ts +0 -25
- package/dist/service/index.mjs +0 -79
- package/dist/service/index.mjs.map +0 -1
|
@@ -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, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-BEqzo5Z2.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, x as CreateFormData, o as ResourceImageType, P as PartnerType, T as TermsAgreement, p as SocialMediaType } from './global-BA84KF8J.js';
|
|
3
3
|
|
|
4
4
|
interface TestersFormData {
|
|
5
5
|
categories?: Category[] | null;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
2
|
-
import 'express';
|
|
3
|
-
import 'mongoose';
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BEqzo5Z2.mjs';
|
|
4
2
|
import 'react-hook-form';
|
|
5
3
|
import '../enums/index.mjs';
|
|
6
4
|
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
2
|
-
import 'express';
|
|
3
|
-
import 'mongoose';
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-BA84KF8J.js';
|
|
4
2
|
import 'react-hook-form';
|
|
5
3
|
import '../enums/index.js';
|
|
6
4
|
|
|
@@ -1,41 +1,5 @@
|
|
|
1
|
-
import { Request } from 'express';
|
|
2
|
-
import mongoose from 'mongoose';
|
|
3
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
type ParticipantType = {
|
|
7
|
-
active: boolean;
|
|
8
|
-
email: string;
|
|
9
|
-
userId: string;
|
|
10
|
-
};
|
|
11
|
-
interface ChatMessageInput {
|
|
12
|
-
content: string;
|
|
13
|
-
senderId: string;
|
|
14
|
-
}
|
|
15
|
-
interface ChatMessageType {
|
|
16
|
-
_id?: string;
|
|
17
|
-
content: string;
|
|
18
|
-
createdAt?: string;
|
|
19
|
-
senderAvatar: string | null;
|
|
20
|
-
senderId: string;
|
|
21
|
-
senderName: string;
|
|
22
|
-
updatedAt?: string;
|
|
23
|
-
}
|
|
24
|
-
interface ChatType {
|
|
25
|
-
_id: string;
|
|
26
|
-
active: boolean;
|
|
27
|
-
chatType: EnumChatType;
|
|
28
|
-
chatName: string;
|
|
29
|
-
createdAt: string;
|
|
30
|
-
messages: ChatMessageType[];
|
|
31
|
-
participants: ParticipantType[];
|
|
32
|
-
resourceInfo: {
|
|
33
|
-
eventId: string;
|
|
34
|
-
vendorId: string;
|
|
35
|
-
} | null;
|
|
36
|
-
updatedAt: string;
|
|
37
|
-
deletedAt: string | null;
|
|
38
|
-
}
|
|
2
|
+
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
|
|
39
3
|
|
|
40
4
|
type StallType = {
|
|
41
5
|
label: string;
|
|
@@ -200,86 +164,6 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
|
200
164
|
_id: string;
|
|
201
165
|
};
|
|
202
166
|
|
|
203
|
-
type SchemaCreateBulkNotificationInput = Omit<CreateBulkNotificationInput, "userIds"> & {
|
|
204
|
-
userIds: ObjectId[];
|
|
205
|
-
};
|
|
206
|
-
type SchemaNotificationType = Omit<NotificationType, "userId"> & {
|
|
207
|
-
userId: ObjectId;
|
|
208
|
-
};
|
|
209
|
-
declare const NotificationModel: mongoose.Model<SchemaNotificationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaNotificationType, {}, {}> & Omit<NotificationType, "userId"> & {
|
|
210
|
-
userId: ObjectId;
|
|
211
|
-
} & Required<{
|
|
212
|
-
_id: string;
|
|
213
|
-
}> & {
|
|
214
|
-
__v: number;
|
|
215
|
-
}, any>;
|
|
216
|
-
|
|
217
|
-
interface NotificationDataType {
|
|
218
|
-
resourceId: string;
|
|
219
|
-
resourceName: string;
|
|
220
|
-
resourceType: EnumNotificationResourceType;
|
|
221
|
-
}
|
|
222
|
-
type NotificationType = {
|
|
223
|
-
_id: string;
|
|
224
|
-
userId: string;
|
|
225
|
-
title: string;
|
|
226
|
-
message: string;
|
|
227
|
-
isRead: boolean;
|
|
228
|
-
type: EnumNotificationType;
|
|
229
|
-
data: NotificationDataType | null;
|
|
230
|
-
createdAt: string;
|
|
231
|
-
updatedAt: string;
|
|
232
|
-
};
|
|
233
|
-
type NotificationCount = {
|
|
234
|
-
total: number;
|
|
235
|
-
unread: number;
|
|
236
|
-
};
|
|
237
|
-
type CreateBulkNotificationInput = {
|
|
238
|
-
data: NotificationDataType | null;
|
|
239
|
-
message: string;
|
|
240
|
-
title: string;
|
|
241
|
-
type: EnumNotificationType;
|
|
242
|
-
userIds: string[];
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
|
|
246
|
-
senderId: ObjectId;
|
|
247
|
-
};
|
|
248
|
-
type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
|
|
249
|
-
userId: ObjectId;
|
|
250
|
-
};
|
|
251
|
-
type SchemaChatType = Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
|
|
252
|
-
participants: SchemaParticipantType[];
|
|
253
|
-
messages: SchemaChatMessageType[];
|
|
254
|
-
resourceInfo: {
|
|
255
|
-
eventId: ObjectId;
|
|
256
|
-
vendorId: ObjectId;
|
|
257
|
-
} | null;
|
|
258
|
-
};
|
|
259
|
-
declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose.Model<SchemaParticipantType, any, any, any, mongoose.Document<unknown, any, SchemaParticipantType, any, {}> & Omit<ParticipantType, "userId"> & {
|
|
260
|
-
userId: ObjectId;
|
|
261
|
-
} & {
|
|
262
|
-
_id: mongoose.Types.ObjectId;
|
|
263
|
-
} & {
|
|
264
|
-
__v: number;
|
|
265
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaParticipantType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaParticipantType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaParticipantType> & {
|
|
266
|
-
_id: mongoose.Types.ObjectId;
|
|
267
|
-
} & {
|
|
268
|
-
__v: number;
|
|
269
|
-
}>;
|
|
270
|
-
declare const ChatModel: mongoose.Model<SchemaChatType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatType, {}, {}> & Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
|
|
271
|
-
participants: SchemaParticipantType[];
|
|
272
|
-
messages: SchemaChatMessageType[];
|
|
273
|
-
resourceInfo: {
|
|
274
|
-
eventId: ObjectId;
|
|
275
|
-
vendorId: ObjectId;
|
|
276
|
-
} | null;
|
|
277
|
-
} & Required<{
|
|
278
|
-
_id: string;
|
|
279
|
-
}> & {
|
|
280
|
-
__v: number;
|
|
281
|
-
}, any>;
|
|
282
|
-
|
|
283
167
|
type Nullable<T> = {
|
|
284
168
|
[K in keyof T]: T[K] | null | undefined;
|
|
285
169
|
};
|
|
@@ -444,35 +328,5 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
444
328
|
setValue: UseFormSetValue<T>;
|
|
445
329
|
watch: UseFormWatch<T>;
|
|
446
330
|
}
|
|
447
|
-
type ObjectId = mongoose.Schema.Types.ObjectId;
|
|
448
|
-
declare enum EnumPubSubEvents {
|
|
449
|
-
GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
|
|
450
|
-
GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
|
|
451
|
-
GET_NOTIFICATIONS_COUNT = "GET_NOTIFICATIONS_COUNT",
|
|
452
|
-
USER_TYPING = "USER_TYPING"
|
|
453
|
-
}
|
|
454
|
-
interface AuthUser {
|
|
455
|
-
email: string;
|
|
456
|
-
role: string;
|
|
457
|
-
userId: ObjectId;
|
|
458
|
-
}
|
|
459
|
-
interface SubscriptionPayload {
|
|
460
|
-
getChatMessage?: SchemaChatType;
|
|
461
|
-
userTyping?: SchemaChatType;
|
|
462
|
-
getNotifications?: SchemaNotificationType[];
|
|
463
|
-
getNotificationsUserId?: ObjectId;
|
|
464
|
-
getNotificationsCount?: NotificationCount & {
|
|
465
|
-
userId: ObjectId;
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
interface GraphQLContext {
|
|
469
|
-
user: AuthUser | null;
|
|
470
|
-
pubsub: {
|
|
471
|
-
publish: (eventName: EnumPubSubEvents, payload: SubscriptionPayload) => void;
|
|
472
|
-
subscribe: (eventName: EnumPubSubEvents) => AsyncIterable<any>;
|
|
473
|
-
};
|
|
474
|
-
request: Request;
|
|
475
|
-
response: Response;
|
|
476
|
-
}
|
|
477
331
|
|
|
478
|
-
export
|
|
332
|
+
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, Requirement as R, StallType as S, TermsAgreement as T, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
|
|
@@ -1,41 +1,5 @@
|
|
|
1
|
-
import { Request } from 'express';
|
|
2
|
-
import mongoose from 'mongoose';
|
|
3
1
|
import { FieldValues, Control, FieldErrors, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
type ParticipantType = {
|
|
7
|
-
active: boolean;
|
|
8
|
-
email: string;
|
|
9
|
-
userId: string;
|
|
10
|
-
};
|
|
11
|
-
interface ChatMessageInput {
|
|
12
|
-
content: string;
|
|
13
|
-
senderId: string;
|
|
14
|
-
}
|
|
15
|
-
interface ChatMessageType {
|
|
16
|
-
_id?: string;
|
|
17
|
-
content: string;
|
|
18
|
-
createdAt?: string;
|
|
19
|
-
senderAvatar: string | null;
|
|
20
|
-
senderId: string;
|
|
21
|
-
senderName: string;
|
|
22
|
-
updatedAt?: string;
|
|
23
|
-
}
|
|
24
|
-
interface ChatType {
|
|
25
|
-
_id: string;
|
|
26
|
-
active: boolean;
|
|
27
|
-
chatType: EnumChatType;
|
|
28
|
-
chatName: string;
|
|
29
|
-
createdAt: string;
|
|
30
|
-
messages: ChatMessageType[];
|
|
31
|
-
participants: ParticipantType[];
|
|
32
|
-
resourceInfo: {
|
|
33
|
-
eventId: string;
|
|
34
|
-
vendorId: string;
|
|
35
|
-
} | null;
|
|
36
|
-
updatedAt: string;
|
|
37
|
-
deletedAt: string | null;
|
|
38
|
-
}
|
|
2
|
+
import { EnumEventType, EnumPaymentMethod, EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumVendorType, EnumFoodFlavor, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
|
|
39
3
|
|
|
40
4
|
type StallType = {
|
|
41
5
|
label: string;
|
|
@@ -200,86 +164,6 @@ type VendorInfoType = Omit<VendorInfoFormData, "_id" | "documentsUpload"> & {
|
|
|
200
164
|
_id: string;
|
|
201
165
|
};
|
|
202
166
|
|
|
203
|
-
type SchemaCreateBulkNotificationInput = Omit<CreateBulkNotificationInput, "userIds"> & {
|
|
204
|
-
userIds: ObjectId[];
|
|
205
|
-
};
|
|
206
|
-
type SchemaNotificationType = Omit<NotificationType, "userId"> & {
|
|
207
|
-
userId: ObjectId;
|
|
208
|
-
};
|
|
209
|
-
declare const NotificationModel: mongoose.Model<SchemaNotificationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaNotificationType, {}, {}> & Omit<NotificationType, "userId"> & {
|
|
210
|
-
userId: ObjectId;
|
|
211
|
-
} & Required<{
|
|
212
|
-
_id: string;
|
|
213
|
-
}> & {
|
|
214
|
-
__v: number;
|
|
215
|
-
}, any>;
|
|
216
|
-
|
|
217
|
-
interface NotificationDataType {
|
|
218
|
-
resourceId: string;
|
|
219
|
-
resourceName: string;
|
|
220
|
-
resourceType: EnumNotificationResourceType;
|
|
221
|
-
}
|
|
222
|
-
type NotificationType = {
|
|
223
|
-
_id: string;
|
|
224
|
-
userId: string;
|
|
225
|
-
title: string;
|
|
226
|
-
message: string;
|
|
227
|
-
isRead: boolean;
|
|
228
|
-
type: EnumNotificationType;
|
|
229
|
-
data: NotificationDataType | null;
|
|
230
|
-
createdAt: string;
|
|
231
|
-
updatedAt: string;
|
|
232
|
-
};
|
|
233
|
-
type NotificationCount = {
|
|
234
|
-
total: number;
|
|
235
|
-
unread: number;
|
|
236
|
-
};
|
|
237
|
-
type CreateBulkNotificationInput = {
|
|
238
|
-
data: NotificationDataType | null;
|
|
239
|
-
message: string;
|
|
240
|
-
title: string;
|
|
241
|
-
type: EnumNotificationType;
|
|
242
|
-
userIds: string[];
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
|
|
246
|
-
senderId: ObjectId;
|
|
247
|
-
};
|
|
248
|
-
type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
|
|
249
|
-
userId: ObjectId;
|
|
250
|
-
};
|
|
251
|
-
type SchemaChatType = Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
|
|
252
|
-
participants: SchemaParticipantType[];
|
|
253
|
-
messages: SchemaChatMessageType[];
|
|
254
|
-
resourceInfo: {
|
|
255
|
-
eventId: ObjectId;
|
|
256
|
-
vendorId: ObjectId;
|
|
257
|
-
} | null;
|
|
258
|
-
};
|
|
259
|
-
declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose.Model<SchemaParticipantType, any, any, any, mongoose.Document<unknown, any, SchemaParticipantType, any, {}> & Omit<ParticipantType, "userId"> & {
|
|
260
|
-
userId: ObjectId;
|
|
261
|
-
} & {
|
|
262
|
-
_id: mongoose.Types.ObjectId;
|
|
263
|
-
} & {
|
|
264
|
-
__v: number;
|
|
265
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaParticipantType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaParticipantType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaParticipantType> & {
|
|
266
|
-
_id: mongoose.Types.ObjectId;
|
|
267
|
-
} & {
|
|
268
|
-
__v: number;
|
|
269
|
-
}>;
|
|
270
|
-
declare const ChatModel: mongoose.Model<SchemaChatType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatType, {}, {}> & Omit<ChatType, "participants" | "messages" | "resourceInfo"> & {
|
|
271
|
-
participants: SchemaParticipantType[];
|
|
272
|
-
messages: SchemaChatMessageType[];
|
|
273
|
-
resourceInfo: {
|
|
274
|
-
eventId: ObjectId;
|
|
275
|
-
vendorId: ObjectId;
|
|
276
|
-
} | null;
|
|
277
|
-
} & Required<{
|
|
278
|
-
_id: string;
|
|
279
|
-
}> & {
|
|
280
|
-
__v: number;
|
|
281
|
-
}, any>;
|
|
282
|
-
|
|
283
167
|
type Nullable<T> = {
|
|
284
168
|
[K in keyof T]: T[K] | null | undefined;
|
|
285
169
|
};
|
|
@@ -444,35 +328,5 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
444
328
|
setValue: UseFormSetValue<T>;
|
|
445
329
|
watch: UseFormWatch<T>;
|
|
446
330
|
}
|
|
447
|
-
type ObjectId = mongoose.Schema.Types.ObjectId;
|
|
448
|
-
declare enum EnumPubSubEvents {
|
|
449
|
-
GET_CHAT_MESSAGE = "GET_CHAT_MESSAGE",
|
|
450
|
-
GET_NOTIFICATIONS = "GET_NOTIFICATIONS",
|
|
451
|
-
GET_NOTIFICATIONS_COUNT = "GET_NOTIFICATIONS_COUNT",
|
|
452
|
-
USER_TYPING = "USER_TYPING"
|
|
453
|
-
}
|
|
454
|
-
interface AuthUser {
|
|
455
|
-
email: string;
|
|
456
|
-
role: string;
|
|
457
|
-
userId: ObjectId;
|
|
458
|
-
}
|
|
459
|
-
interface SubscriptionPayload {
|
|
460
|
-
getChatMessage?: SchemaChatType;
|
|
461
|
-
userTyping?: SchemaChatType;
|
|
462
|
-
getNotifications?: SchemaNotificationType[];
|
|
463
|
-
getNotificationsUserId?: ObjectId;
|
|
464
|
-
getNotificationsCount?: NotificationCount & {
|
|
465
|
-
userId: ObjectId;
|
|
466
|
-
};
|
|
467
|
-
}
|
|
468
|
-
interface GraphQLContext {
|
|
469
|
-
user: AuthUser | null;
|
|
470
|
-
pubsub: {
|
|
471
|
-
publish: (eventName: EnumPubSubEvents, payload: SubscriptionPayload) => void;
|
|
472
|
-
subscribe: (eventName: EnumPubSubEvents) => AsyncIterable<any>;
|
|
473
|
-
};
|
|
474
|
-
request: Request;
|
|
475
|
-
response: Response;
|
|
476
|
-
}
|
|
477
331
|
|
|
478
|
-
export
|
|
332
|
+
export type { RelationDate as A, BaseResourceTypeFormData as B, Category as C, DeviceInfo as D, EventType as E, FormField as F, GeocodeLocation as G, VendorLocation as H, ImageObjectType as I, VendorMenuType as J, VendorAttributes as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PartnerType as P, Requirement as R, StallType as S, TermsAgreement as T, VendorType as V, FormDateField as a, EventInfoType as b, RelationType as c, ResourceConnectionsType as d, VendorInfoType as e, VendorFormData as f, CreateVendorFormData as g, VendorInfoFormData as h, CreateVendorInfoFormData as i, EventFormData as j, CreateEventFormData as k, EventInfoFormData as l, CreateEventInfoFormData as m, ResourceContactDetailsType as n, ResourceImageType as o, SocialMediaType as p, OwnerType as q, PosterUsageType as r, BaseResourceType as s, DateTimeType as t, Region as u, SubcategoryItems as v, Subcategory as w, CreateFormData as x, DateTimeWithPriceType as y, PaymentInfoType as z };
|
package/dist/graphql/index.d.mts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
import {
|
|
2
|
+
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-0CdofGJp.mjs';
|
|
3
|
+
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-BEqzo5Z2.mjs';
|
|
3
4
|
import { EnumResourceType } from '../enums/index.mjs';
|
|
4
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-
|
|
5
|
-
import { R as ResourceActivityType } from '../resourceActivities-BIjtlOGp.mjs';
|
|
6
|
-
import 'express';
|
|
7
|
-
import 'mongoose';
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-Bv5fLkN0.mjs';
|
|
8
6
|
import 'react-hook-form';
|
|
9
7
|
|
|
10
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import * as _apollo_client from '@apollo/client';
|
|
2
|
-
import {
|
|
2
|
+
import { C as ChatType, N as NotificationType, a as NotificationCount, R as ResourceActivityType } from '../resourceActivities-BjgH9TFc.js';
|
|
3
|
+
import { E as EventType, b as EventInfoType, c as RelationType, d as ResourceConnectionsType, V as VendorType, e as VendorInfoType } from '../global-BA84KF8J.js';
|
|
3
4
|
import { EnumResourceType } from '../enums/index.js';
|
|
4
|
-
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-
|
|
5
|
-
import { R as ResourceActivityType } from '../resourceActivities-B4roVKtQ.js';
|
|
6
|
-
import 'express';
|
|
7
|
-
import 'mongoose';
|
|
5
|
+
import { T as TesterType, U as UserType, A as AdType, E as EnumAdStatus } from '../ad-DDPNpx02.js';
|
|
8
6
|
import 'react-hook-form';
|
|
9
7
|
|
|
10
8
|
declare const useAdminUpdateResourceType: () => {
|
package/dist/hooks/index.d.mts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
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-
|
|
4
|
-
import 'express';
|
|
5
|
-
import 'mongoose';
|
|
1
|
+
import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-BEqzo5Z2.mjs';
|
|
2
|
+
import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-Bv5fLkN0.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-BVGs-5Vm.mjs';
|
|
6
4
|
import 'react-hook-form';
|
|
7
5
|
import '../enums/index.mjs';
|
|
8
6
|
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
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-
|
|
4
|
-
import 'express';
|
|
5
|
-
import 'mongoose';
|
|
1
|
+
import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-BA84KF8J.js';
|
|
2
|
+
import { a as UserFormData, C as CreateUserFormData, b as TestersFormData, c as CreateTestersFormData, d as AdFormData, e as CreateAdFormData } from '../ad-DDPNpx02.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-BhUIvvZ2.js';
|
|
6
4
|
import 'react-hook-form';
|
|
7
5
|
import '../enums/index.js';
|
|
8
6
|
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
dateFormat,
|
|
3
|
-
normalizeUrl,
|
|
4
|
-
timeFormat
|
|
5
|
-
} from "../chunk-GGNNB6MQ.mjs";
|
|
6
1
|
import {
|
|
7
2
|
EnumAdShowOn,
|
|
8
3
|
EnumAdStatus,
|
|
9
4
|
EnumAdStyle,
|
|
10
5
|
EnumAdType
|
|
11
6
|
} from "../chunk-XXZPSRMS.mjs";
|
|
7
|
+
import {
|
|
8
|
+
dateFormat,
|
|
9
|
+
normalizeUrl,
|
|
10
|
+
timeFormat
|
|
11
|
+
} from "../chunk-GGNNB6MQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
EnumEventType,
|
|
14
14
|
EnumFoodFlavor,
|