@timardex/cluemart-server-shared 1.0.100 → 1.0.102
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-ZB6VYDYP.mjs → chunk-SYUZ3JWK.mjs} +299 -319
- package/dist/chunk-SYUZ3JWK.mjs.map +1 -0
- package/dist/index.cjs +294 -314
- 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 +294 -314
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +294 -314
- 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 +294 -314
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-ZB6VYDYP.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -109,7 +109,7 @@ type SchemaChatReportType = Omit<ReportChatUser, "reporterUserId" | "reportedUse
|
|
|
109
109
|
reportedUserId: ObjectId;
|
|
110
110
|
chatId: ObjectId;
|
|
111
111
|
};
|
|
112
|
-
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "
|
|
112
|
+
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "reporterUserId" | "reportedUserId" | "chatId"> & {
|
|
113
113
|
reporterUserId: ObjectId;
|
|
114
114
|
reportedUserId: ObjectId;
|
|
115
115
|
chatId: ObjectId;
|
|
@@ -422,7 +422,7 @@ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId">
|
|
|
422
422
|
* It is used to define the structure of the relation type in the database.
|
|
423
423
|
* The schema is used by Mongoose to create a model for the relation type.
|
|
424
424
|
*/
|
|
425
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "
|
|
425
|
+
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
426
426
|
eventId: ObjectId;
|
|
427
427
|
vendorId: ObjectId;
|
|
428
428
|
chatId: ObjectId;
|
|
@@ -435,7 +435,7 @@ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.M
|
|
|
435
435
|
}> & {
|
|
436
436
|
__v: number;
|
|
437
437
|
}>;
|
|
438
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "
|
|
438
|
+
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
439
439
|
eventId: ObjectId;
|
|
440
440
|
vendorId: ObjectId;
|
|
441
441
|
chatId: ObjectId;
|
package/dist/index.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ type SchemaChatReportType = Omit<ReportChatUser, "reporterUserId" | "reportedUse
|
|
|
109
109
|
reportedUserId: ObjectId;
|
|
110
110
|
chatId: ObjectId;
|
|
111
111
|
};
|
|
112
|
-
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "
|
|
112
|
+
declare const ChatReportModel: mongoose.Model<SchemaChatReportType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatReportType, {}, {}> & Omit<ReportChatUser, "reporterUserId" | "reportedUserId" | "chatId"> & {
|
|
113
113
|
reporterUserId: ObjectId;
|
|
114
114
|
reportedUserId: ObjectId;
|
|
115
115
|
chatId: ObjectId;
|
|
@@ -422,7 +422,7 @@ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId">
|
|
|
422
422
|
* It is used to define the structure of the relation type in the database.
|
|
423
423
|
* The schema is used by Mongoose to create a model for the relation type.
|
|
424
424
|
*/
|
|
425
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "
|
|
425
|
+
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
426
426
|
eventId: ObjectId;
|
|
427
427
|
vendorId: ObjectId;
|
|
428
428
|
chatId: ObjectId;
|
|
@@ -435,7 +435,7 @@ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.M
|
|
|
435
435
|
}> & {
|
|
436
436
|
__v: number;
|
|
437
437
|
}>;
|
|
438
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "
|
|
438
|
+
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
439
439
|
eventId: ObjectId;
|
|
440
440
|
vendorId: ObjectId;
|
|
441
441
|
chatId: ObjectId;
|