@timardex/cluemart-server-shared 1.0.101 → 1.0.103
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/{chunk-UXSMDLHK.mjs → chunk-S3KEHFG3.mjs} +295 -316
- package/dist/chunk-S3KEHFG3.mjs.map +1 -0
- package/dist/index.cjs +292 -312
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +292 -312
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +290 -311
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +3 -3
- package/dist/mongoose/index.d.ts +3 -3
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +292 -312
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +3 -2
- package/dist/service/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-UXSMDLHK.mjs.map +0 -1
|
@@ -18,7 +18,7 @@ type SchemaChatReportType = Omit<ReportChatUser, "reporterUserId" | "reportedUse
|
|
|
18
18
|
reportedUserId: ObjectId;
|
|
19
19
|
chatId: ObjectId;
|
|
20
20
|
};
|
|
21
|
-
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "
|
|
21
|
+
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "reporterUserId" | "reportedUserId" | "chatId"> & {
|
|
22
22
|
reporterUserId: ObjectId;
|
|
23
23
|
reportedUserId: ObjectId;
|
|
24
24
|
chatId: ObjectId;
|
|
@@ -331,7 +331,7 @@ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId">
|
|
|
331
331
|
* It is used to define the structure of the relation type in the database.
|
|
332
332
|
* The schema is used by Mongoose to create a model for the relation type.
|
|
333
333
|
*/
|
|
334
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "
|
|
334
|
+
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
335
335
|
eventId: ObjectId;
|
|
336
336
|
vendorId: ObjectId;
|
|
337
337
|
chatId: ObjectId;
|
|
@@ -344,7 +344,7 @@ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.M
|
|
|
344
344
|
}> & {
|
|
345
345
|
__v: number;
|
|
346
346
|
}>;
|
|
347
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "
|
|
347
|
+
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
348
348
|
eventId: ObjectId;
|
|
349
349
|
vendorId: ObjectId;
|
|
350
350
|
chatId: ObjectId;
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ type SchemaChatReportType = Omit<ReportChatUser, "reporterUserId" | "reportedUse
|
|
|
18
18
|
reportedUserId: ObjectId;
|
|
19
19
|
chatId: ObjectId;
|
|
20
20
|
};
|
|
21
|
-
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "
|
|
21
|
+
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "reporterUserId" | "reportedUserId" | "chatId"> & {
|
|
22
22
|
reporterUserId: ObjectId;
|
|
23
23
|
reportedUserId: ObjectId;
|
|
24
24
|
chatId: ObjectId;
|
|
@@ -331,7 +331,7 @@ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId">
|
|
|
331
331
|
* It is used to define the structure of the relation type in the database.
|
|
332
332
|
* The schema is used by Mongoose to create a model for the relation type.
|
|
333
333
|
*/
|
|
334
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "
|
|
334
|
+
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
335
335
|
eventId: ObjectId;
|
|
336
336
|
vendorId: ObjectId;
|
|
337
337
|
chatId: ObjectId;
|
|
@@ -344,7 +344,7 @@ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.M
|
|
|
344
344
|
}> & {
|
|
345
345
|
__v: number;
|
|
346
346
|
}>;
|
|
347
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "
|
|
347
|
+
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
348
348
|
eventId: ObjectId;
|
|
349
349
|
vendorId: ObjectId;
|
|
350
350
|
chatId: ObjectId;
|