@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/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, "chatId" | "reporterUserId" | "reportedUserId"> & {
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, "eventId" | "vendorId" | "chatId"> & {
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, "eventId" | "vendorId" | "chatId"> & {
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, "chatId" | "reporterUserId" | "reportedUserId"> & {
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, "eventId" | "vendorId" | "chatId"> & {
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, "eventId" | "vendorId" | "chatId"> & {
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;