@timardex/cluemart-shared 1.2.35 → 1.2.36
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 +2 -1
- 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
package/dist/mongoose/index.d.ts
DELETED
|
@@ -1,415 +0,0 @@
|
|
|
1
|
-
import mongoose from 'mongoose';
|
|
2
|
-
import { A as AdType, T as TesterType, f as UserActivityEvent, U as UserType } from '../ad-D60cy5L4.js';
|
|
3
|
-
import { p as OwnerType, q as ObjectId, r as SocialMediaType, s as ResourceImageType, C as Category, P as PartnerType, T as TermsAgreement, D as DeviceInfo, t as ResourceContactDetailsType, u as PosterUsageType, v as RelationDate, e as RelationType, V as VendorType, g as VendorInfoType, E as EventType, S as StallType, c as EventInfoType } from '../global-DvxKMAQD.js';
|
|
4
|
-
export { A as ChatModel, I as NotificationModel, z as ParticipantSchema, w as SchemaChatMessageType, y as SchemaChatType, G as SchemaCreateBulkNotificationInput, H as SchemaNotificationType, x as SchemaParticipantType } from '../global-DvxKMAQD.js';
|
|
5
|
-
import { EnumOSPlatform } from '../enums/index.js';
|
|
6
|
-
import { R as ResourceActivityType } from '../resourceActivities-B4roVKtQ.js';
|
|
7
|
-
import 'express';
|
|
8
|
-
import 'react-hook-form';
|
|
9
|
-
|
|
10
|
-
declare const AdModel: mongoose.Model<AdType, {}, {}, {}, mongoose.Document<unknown, {}, AdType, {}, {}> & AdType & Required<{
|
|
11
|
-
_id: string;
|
|
12
|
-
}> & {
|
|
13
|
-
__v: number;
|
|
14
|
-
}, any>;
|
|
15
|
-
|
|
16
|
-
type SchemaOwnerType = Omit<OwnerType, "userId"> & {
|
|
17
|
-
userId: ObjectId;
|
|
18
|
-
};
|
|
19
|
-
declare const SocialMediaTypeSchema: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
|
|
20
|
-
_id: mongoose.Types.ObjectId;
|
|
21
|
-
} & {
|
|
22
|
-
__v: number;
|
|
23
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialMediaType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialMediaType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialMediaType> & {
|
|
24
|
-
_id: mongoose.Types.ObjectId;
|
|
25
|
-
} & {
|
|
26
|
-
__v: number;
|
|
27
|
-
}>;
|
|
28
|
-
declare const ResourceImageTypeSchema: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
|
|
29
|
-
_id: mongoose.Types.ObjectId;
|
|
30
|
-
} & {
|
|
31
|
-
__v: number;
|
|
32
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
|
|
33
|
-
_id: mongoose.Types.ObjectId;
|
|
34
|
-
} & {
|
|
35
|
-
__v: number;
|
|
36
|
-
}>;
|
|
37
|
-
declare const CategorySchema: mongoose.Schema<Category, mongoose.Model<Category, any, any, any, mongoose.Document<unknown, any, Category, any, {}> & Category & {
|
|
38
|
-
_id: mongoose.Types.ObjectId;
|
|
39
|
-
} & {
|
|
40
|
-
__v: number;
|
|
41
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Category, mongoose.Document<unknown, {}, mongoose.FlatRecord<Category>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<Category> & {
|
|
42
|
-
_id: mongoose.Types.ObjectId;
|
|
43
|
-
} & {
|
|
44
|
-
__v: number;
|
|
45
|
-
}>;
|
|
46
|
-
declare const partnersSchema: mongoose.Schema<PartnerType, mongoose.Model<PartnerType, any, any, any, mongoose.Document<unknown, any, PartnerType, any, {}> & PartnerType & {
|
|
47
|
-
_id: mongoose.Types.ObjectId;
|
|
48
|
-
} & {
|
|
49
|
-
__v: number;
|
|
50
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PartnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<PartnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<PartnerType> & {
|
|
51
|
-
_id: mongoose.Types.ObjectId;
|
|
52
|
-
} & {
|
|
53
|
-
__v: number;
|
|
54
|
-
}>;
|
|
55
|
-
declare const termsAgreementSchema: mongoose.Schema<TermsAgreement, mongoose.Model<TermsAgreement, any, any, any, mongoose.Document<unknown, any, TermsAgreement, any, {}> & DeviceInfo & {
|
|
56
|
-
termVersion: string;
|
|
57
|
-
} & {
|
|
58
|
-
_id: mongoose.Types.ObjectId;
|
|
59
|
-
} & {
|
|
60
|
-
__v: number;
|
|
61
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, TermsAgreement, mongoose.Document<unknown, {}, mongoose.FlatRecord<TermsAgreement>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<TermsAgreement> & {
|
|
62
|
-
_id: mongoose.Types.ObjectId;
|
|
63
|
-
} & {
|
|
64
|
-
__v: number;
|
|
65
|
-
}>;
|
|
66
|
-
declare const baseResourceFields: {
|
|
67
|
-
active: {
|
|
68
|
-
default: boolean;
|
|
69
|
-
required: boolean;
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
};
|
|
72
|
-
adIds: {
|
|
73
|
-
ref: string;
|
|
74
|
-
required: boolean;
|
|
75
|
-
type: (typeof mongoose.Schema.Types.ObjectId)[];
|
|
76
|
-
};
|
|
77
|
-
contactDetails: mongoose.Schema<ResourceContactDetailsType, mongoose.Model<ResourceContactDetailsType, any, any, any, mongoose.Document<unknown, any, ResourceContactDetailsType, any, {}> & ResourceContactDetailsType & {
|
|
78
|
-
_id: mongoose.Types.ObjectId;
|
|
79
|
-
} & {
|
|
80
|
-
__v: number;
|
|
81
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceContactDetailsType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceContactDetailsType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceContactDetailsType> & {
|
|
82
|
-
_id: mongoose.Types.ObjectId;
|
|
83
|
-
} & {
|
|
84
|
-
__v: number;
|
|
85
|
-
}>;
|
|
86
|
-
cover: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
|
|
87
|
-
_id: mongoose.Types.ObjectId;
|
|
88
|
-
} & {
|
|
89
|
-
__v: number;
|
|
90
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
|
|
91
|
-
_id: mongoose.Types.ObjectId;
|
|
92
|
-
} & {
|
|
93
|
-
__v: number;
|
|
94
|
-
}>;
|
|
95
|
-
deletedAt: {
|
|
96
|
-
default: null;
|
|
97
|
-
required: boolean;
|
|
98
|
-
type: DateConstructor;
|
|
99
|
-
};
|
|
100
|
-
description: {
|
|
101
|
-
required: boolean;
|
|
102
|
-
type: StringConstructor;
|
|
103
|
-
};
|
|
104
|
-
images: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
|
|
105
|
-
_id: mongoose.Types.ObjectId;
|
|
106
|
-
} & {
|
|
107
|
-
__v: number;
|
|
108
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
|
|
109
|
-
_id: mongoose.Types.ObjectId;
|
|
110
|
-
} & {
|
|
111
|
-
__v: number;
|
|
112
|
-
}>[];
|
|
113
|
-
logo: mongoose.Schema<ResourceImageType, mongoose.Model<ResourceImageType, any, any, any, mongoose.Document<unknown, any, ResourceImageType, any, {}> & ResourceImageType & {
|
|
114
|
-
_id: mongoose.Types.ObjectId;
|
|
115
|
-
} & {
|
|
116
|
-
__v: number;
|
|
117
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, ResourceImageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<ResourceImageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<ResourceImageType> & {
|
|
118
|
-
_id: mongoose.Types.ObjectId;
|
|
119
|
-
} & {
|
|
120
|
-
__v: number;
|
|
121
|
-
}>;
|
|
122
|
-
name: {
|
|
123
|
-
required: boolean;
|
|
124
|
-
type: StringConstructor;
|
|
125
|
-
};
|
|
126
|
-
owner: mongoose.Schema<SchemaOwnerType, mongoose.Model<SchemaOwnerType, any, any, any, mongoose.Document<unknown, any, SchemaOwnerType, any, {}> & Omit<OwnerType, "userId"> & {
|
|
127
|
-
userId: ObjectId;
|
|
128
|
-
} & {
|
|
129
|
-
_id: mongoose.Types.ObjectId;
|
|
130
|
-
} & {
|
|
131
|
-
__v: number;
|
|
132
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaOwnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaOwnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaOwnerType> & {
|
|
133
|
-
_id: mongoose.Types.ObjectId;
|
|
134
|
-
} & {
|
|
135
|
-
__v: number;
|
|
136
|
-
}>;
|
|
137
|
-
partners: {
|
|
138
|
-
required: boolean;
|
|
139
|
-
type: mongoose.Schema<PartnerType, mongoose.Model<PartnerType, any, any, any, mongoose.Document<unknown, any, PartnerType, any, {}> & PartnerType & {
|
|
140
|
-
_id: mongoose.Types.ObjectId;
|
|
141
|
-
} & {
|
|
142
|
-
__v: number;
|
|
143
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PartnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<PartnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<PartnerType> & {
|
|
144
|
-
_id: mongoose.Types.ObjectId;
|
|
145
|
-
} & {
|
|
146
|
-
__v: number;
|
|
147
|
-
}>[];
|
|
148
|
-
};
|
|
149
|
-
posterUsage: mongoose.Schema<PosterUsageType, mongoose.Model<PosterUsageType, any, any, any, mongoose.Document<unknown, any, PosterUsageType, any, {}> & PosterUsageType & {
|
|
150
|
-
_id: mongoose.Types.ObjectId;
|
|
151
|
-
} & {
|
|
152
|
-
__v: number;
|
|
153
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, PosterUsageType, mongoose.Document<unknown, {}, mongoose.FlatRecord<PosterUsageType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<PosterUsageType> & {
|
|
154
|
-
_id: mongoose.Types.ObjectId;
|
|
155
|
-
} & {
|
|
156
|
-
__v: number;
|
|
157
|
-
}>;
|
|
158
|
-
promoCodes: {
|
|
159
|
-
required: boolean;
|
|
160
|
-
type: StringConstructor[];
|
|
161
|
-
};
|
|
162
|
-
region: {
|
|
163
|
-
required: boolean;
|
|
164
|
-
type: StringConstructor;
|
|
165
|
-
};
|
|
166
|
-
relations: {
|
|
167
|
-
default: never[];
|
|
168
|
-
required: boolean;
|
|
169
|
-
type: mongoose.Schema<{
|
|
170
|
-
relationId: ObjectId;
|
|
171
|
-
relationDates: RelationDate[];
|
|
172
|
-
}, mongoose.Model<{
|
|
173
|
-
relationId: ObjectId;
|
|
174
|
-
relationDates: RelationDate[];
|
|
175
|
-
}, any, any, any, mongoose.Document<unknown, any, {
|
|
176
|
-
relationId: ObjectId;
|
|
177
|
-
relationDates: RelationDate[];
|
|
178
|
-
}, any, {}> & {
|
|
179
|
-
relationId: ObjectId;
|
|
180
|
-
relationDates: RelationDate[];
|
|
181
|
-
} & {
|
|
182
|
-
_id: mongoose.Types.ObjectId;
|
|
183
|
-
} & {
|
|
184
|
-
__v: number;
|
|
185
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
186
|
-
relationId: ObjectId;
|
|
187
|
-
relationDates: RelationDate[];
|
|
188
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
189
|
-
relationId: ObjectId;
|
|
190
|
-
relationDates: RelationDate[];
|
|
191
|
-
}>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
|
|
192
|
-
relationId: ObjectId;
|
|
193
|
-
relationDates: RelationDate[];
|
|
194
|
-
}> & {
|
|
195
|
-
_id: mongoose.Types.ObjectId;
|
|
196
|
-
} & {
|
|
197
|
-
__v: number;
|
|
198
|
-
}>[];
|
|
199
|
-
};
|
|
200
|
-
socialMedia: mongoose.Schema<SocialMediaType, mongoose.Model<SocialMediaType, any, any, any, mongoose.Document<unknown, any, SocialMediaType, any, {}> & SocialMediaType & {
|
|
201
|
-
_id: mongoose.Types.ObjectId;
|
|
202
|
-
} & {
|
|
203
|
-
__v: number;
|
|
204
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SocialMediaType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SocialMediaType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SocialMediaType> & {
|
|
205
|
-
_id: mongoose.Types.ObjectId;
|
|
206
|
-
} & {
|
|
207
|
-
__v: number;
|
|
208
|
-
}>[];
|
|
209
|
-
termsAgreement: mongoose.Schema<TermsAgreement, mongoose.Model<TermsAgreement, any, any, any, mongoose.Document<unknown, any, TermsAgreement, any, {}> & DeviceInfo & {
|
|
210
|
-
termVersion: string;
|
|
211
|
-
} & {
|
|
212
|
-
_id: mongoose.Types.ObjectId;
|
|
213
|
-
} & {
|
|
214
|
-
__v: number;
|
|
215
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, TermsAgreement, mongoose.Document<unknown, {}, mongoose.FlatRecord<TermsAgreement>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<TermsAgreement> & {
|
|
216
|
-
_id: mongoose.Types.ObjectId;
|
|
217
|
-
} & {
|
|
218
|
-
__v: number;
|
|
219
|
-
}>;
|
|
220
|
-
};
|
|
221
|
-
|
|
222
|
-
type PushTokenType = {
|
|
223
|
-
_id: string;
|
|
224
|
-
createdAt: Date;
|
|
225
|
-
platform: EnumOSPlatform;
|
|
226
|
-
token: string;
|
|
227
|
-
updatedAt: Date;
|
|
228
|
-
userId: string;
|
|
229
|
-
};
|
|
230
|
-
type SchemaPushTokenType = Omit<PushTokenType, "userId"> & {
|
|
231
|
-
userId: ObjectId;
|
|
232
|
-
};
|
|
233
|
-
declare const PushTokenModel: mongoose.Model<SchemaPushTokenType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaPushTokenType, {}, {}> & Omit<PushTokenType, "userId"> & {
|
|
234
|
-
userId: ObjectId;
|
|
235
|
-
} & Required<{
|
|
236
|
-
_id: string;
|
|
237
|
-
}> & {
|
|
238
|
-
__v: number;
|
|
239
|
-
}, any>;
|
|
240
|
-
|
|
241
|
-
declare const relationDatesSchema: mongoose.Schema<RelationDate, mongoose.Model<RelationDate, any, any, any, mongoose.Document<unknown, any, RelationDate, any, {}> & RelationDate & {
|
|
242
|
-
_id: mongoose.Types.ObjectId;
|
|
243
|
-
} & {
|
|
244
|
-
__v: number;
|
|
245
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RelationDate, mongoose.Document<unknown, {}, mongoose.FlatRecord<RelationDate>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RelationDate> & {
|
|
246
|
-
_id: mongoose.Types.ObjectId;
|
|
247
|
-
} & {
|
|
248
|
-
__v: number;
|
|
249
|
-
}>;
|
|
250
|
-
type SchemaRelationType = Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
251
|
-
chatId: ObjectId;
|
|
252
|
-
eventId: ObjectId;
|
|
253
|
-
vendorId: ObjectId;
|
|
254
|
-
};
|
|
255
|
-
/**
|
|
256
|
-
* This is the schema for the relation type.
|
|
257
|
-
* It is used to define the structure of the relation type in the database.
|
|
258
|
-
* The schema is used by Mongoose to create a model for the relation type.
|
|
259
|
-
*/
|
|
260
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
|
|
261
|
-
chatId: ObjectId;
|
|
262
|
-
eventId: ObjectId;
|
|
263
|
-
vendorId: ObjectId;
|
|
264
|
-
} & Required<{
|
|
265
|
-
_id: string;
|
|
266
|
-
}> & {
|
|
267
|
-
__v: number;
|
|
268
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaRelationType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaRelationType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaRelationType> & Required<{
|
|
269
|
-
_id: string;
|
|
270
|
-
}> & {
|
|
271
|
-
__v: number;
|
|
272
|
-
}>;
|
|
273
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
|
|
274
|
-
chatId: ObjectId;
|
|
275
|
-
eventId: ObjectId;
|
|
276
|
-
vendorId: ObjectId;
|
|
277
|
-
} & Required<{
|
|
278
|
-
_id: string;
|
|
279
|
-
}> & {
|
|
280
|
-
__v: number;
|
|
281
|
-
}, any>;
|
|
282
|
-
|
|
283
|
-
declare const ResourceActivityModel: mongoose.Model<ResourceActivityType, {}, {}, {}, mongoose.Document<unknown, {}, ResourceActivityType, {}, {}> & ResourceActivityType & Required<{
|
|
284
|
-
_id: string;
|
|
285
|
-
}> & {
|
|
286
|
-
__v: number;
|
|
287
|
-
}, any>;
|
|
288
|
-
|
|
289
|
-
declare const TesterModel: mongoose.Model<TesterType, {}, {}, {}, mongoose.Document<unknown, {}, TesterType, {}, {}> & TesterType & Required<{
|
|
290
|
-
_id: string;
|
|
291
|
-
}> & {
|
|
292
|
-
__v: number;
|
|
293
|
-
}, any>;
|
|
294
|
-
|
|
295
|
-
type SchemaUserActivityEvent = Omit<UserActivityEvent, "resourceId"> & {
|
|
296
|
-
resourceId: ObjectId;
|
|
297
|
-
};
|
|
298
|
-
type SchemaUserType = Omit<UserType, "vendor" | "events" | "userActivity" | "_id"> & {
|
|
299
|
-
_id: ObjectId;
|
|
300
|
-
vendor: ObjectId;
|
|
301
|
-
events: ObjectId[];
|
|
302
|
-
userActivity: {
|
|
303
|
-
favourites: {
|
|
304
|
-
events: ObjectId[];
|
|
305
|
-
vendors: ObjectId[];
|
|
306
|
-
};
|
|
307
|
-
interested: {
|
|
308
|
-
events: SchemaUserActivityEvent[];
|
|
309
|
-
};
|
|
310
|
-
going: {
|
|
311
|
-
events: SchemaUserActivityEvent[];
|
|
312
|
-
};
|
|
313
|
-
present: {
|
|
314
|
-
events: SchemaUserActivityEvent[];
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
declare const UserModel: mongoose.Model<SchemaUserType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaUserType, {}, {}> & Omit<UserType, "vendor" | "_id" | "events" | "userActivity"> & {
|
|
319
|
-
_id: ObjectId;
|
|
320
|
-
vendor: ObjectId;
|
|
321
|
-
events: ObjectId[];
|
|
322
|
-
userActivity: {
|
|
323
|
-
favourites: {
|
|
324
|
-
events: ObjectId[];
|
|
325
|
-
vendors: ObjectId[];
|
|
326
|
-
};
|
|
327
|
-
interested: {
|
|
328
|
-
events: SchemaUserActivityEvent[];
|
|
329
|
-
};
|
|
330
|
-
going: {
|
|
331
|
-
events: SchemaUserActivityEvent[];
|
|
332
|
-
};
|
|
333
|
-
present: {
|
|
334
|
-
events: SchemaUserActivityEvent[];
|
|
335
|
-
};
|
|
336
|
-
};
|
|
337
|
-
} & Required<{
|
|
338
|
-
_id: mongoose.Schema.Types.ObjectId;
|
|
339
|
-
}> & {
|
|
340
|
-
__v: number;
|
|
341
|
-
}, any>;
|
|
342
|
-
|
|
343
|
-
interface VerificationTokenType {
|
|
344
|
-
email: string;
|
|
345
|
-
verificationToken: string;
|
|
346
|
-
createdAt: Date;
|
|
347
|
-
}
|
|
348
|
-
declare const VerificationTokenModel: mongoose.Model<VerificationTokenType, {}, {}, {}, mongoose.Document<unknown, {}, VerificationTokenType, {}, {}> & VerificationTokenType & {
|
|
349
|
-
_id: mongoose.Types.ObjectId;
|
|
350
|
-
} & {
|
|
351
|
-
__v: number;
|
|
352
|
-
}, any>;
|
|
353
|
-
|
|
354
|
-
type SchemaVendorType = Omit<VendorType, "vendorInfoId" | "owner" | "adIds"> & {
|
|
355
|
-
adIds?: ObjectId[];
|
|
356
|
-
owner: SchemaOwnerType;
|
|
357
|
-
vendorInfoId: ObjectId;
|
|
358
|
-
};
|
|
359
|
-
declare const VendorModel: mongoose.Model<SchemaVendorType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaVendorType, {}, {}> & Omit<VendorType, "owner" | "vendorInfoId" | "adIds"> & {
|
|
360
|
-
adIds?: ObjectId[];
|
|
361
|
-
owner: SchemaOwnerType;
|
|
362
|
-
vendorInfoId: ObjectId;
|
|
363
|
-
} & Required<{
|
|
364
|
-
_id: string;
|
|
365
|
-
}> & {
|
|
366
|
-
__v: number;
|
|
367
|
-
}, any>;
|
|
368
|
-
|
|
369
|
-
type SchemaVendorInfoType = Omit<VendorInfoType, "vendorId"> & {
|
|
370
|
-
vendorId: ObjectId;
|
|
371
|
-
};
|
|
372
|
-
declare const VendorInfoModel: mongoose.Model<SchemaVendorInfoType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaVendorInfoType, {}, {}> & Omit<VendorInfoType, "vendorId"> & {
|
|
373
|
-
vendorId: ObjectId;
|
|
374
|
-
} & Required<{
|
|
375
|
-
_id: string;
|
|
376
|
-
}> & {
|
|
377
|
-
__v: number;
|
|
378
|
-
}, any>;
|
|
379
|
-
|
|
380
|
-
type SchemaEventType = Omit<EventType, "eventInfoId" | "owner" | "adIds"> & {
|
|
381
|
-
adIds?: ObjectId[];
|
|
382
|
-
eventInfoId: ObjectId;
|
|
383
|
-
owner: SchemaOwnerType;
|
|
384
|
-
};
|
|
385
|
-
declare const EventModel: mongoose.Model<SchemaEventType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaEventType, {}, {}> & Omit<EventType, "owner" | "adIds" | "eventInfoId"> & {
|
|
386
|
-
adIds?: ObjectId[];
|
|
387
|
-
eventInfoId: ObjectId;
|
|
388
|
-
owner: SchemaOwnerType;
|
|
389
|
-
} & Required<{
|
|
390
|
-
_id: string;
|
|
391
|
-
}> & {
|
|
392
|
-
__v: number;
|
|
393
|
-
}, any>;
|
|
394
|
-
|
|
395
|
-
declare const StallTypeSchema: mongoose.Schema<StallType, mongoose.Model<StallType, any, any, any, mongoose.Document<unknown, any, StallType, any, {}> & StallType & {
|
|
396
|
-
_id: mongoose.Types.ObjectId;
|
|
397
|
-
} & {
|
|
398
|
-
__v: number;
|
|
399
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, StallType, mongoose.Document<unknown, {}, mongoose.FlatRecord<StallType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<StallType> & {
|
|
400
|
-
_id: mongoose.Types.ObjectId;
|
|
401
|
-
} & {
|
|
402
|
-
__v: number;
|
|
403
|
-
}>;
|
|
404
|
-
type SchemaEventInfoType = Omit<EventInfoType, "eventId"> & {
|
|
405
|
-
eventId: ObjectId;
|
|
406
|
-
};
|
|
407
|
-
declare const EventInfoModel: mongoose.Model<SchemaEventInfoType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaEventInfoType, {}, {}> & Omit<EventInfoType, "eventId"> & {
|
|
408
|
-
eventId: ObjectId;
|
|
409
|
-
} & Required<{
|
|
410
|
-
_id: string;
|
|
411
|
-
}> & {
|
|
412
|
-
__v: number;
|
|
413
|
-
}, any>;
|
|
414
|
-
|
|
415
|
-
export { AdModel, CategorySchema, EventInfoModel, EventModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaEventInfoType, type SchemaEventType, type SchemaOwnerType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, TesterModel, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, baseResourceFields, partnersSchema, relationDatesSchema, termsAgreementSchema };
|