@timardex/cluemart-server-shared 1.0.200 → 1.0.202
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/{Relation-1llDbRjW.d.ts → Relation-6t3Gn4pM.d.ts} +3 -3
- package/dist/{Relation-BBXiEM1-.d.mts → Relation-BjYghDE9.d.mts} +3 -3
- package/dist/{chunk-MBUS572I.mjs → chunk-7FP7SWJH.mjs} +1 -2
- package/dist/chunk-7FP7SWJH.mjs.map +1 -0
- package/dist/index.cjs +0 -1
- 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 +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +0 -1
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +1 -1
- package/dist/mongoose/index.d.ts +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +0 -1
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +1 -1
- package/dist/service/index.d.ts +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +9 -4
- package/dist/chunk-MBUS572I.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -428,7 +428,7 @@ declare const relationDatesSchema: mongoose.Schema<RelationDate, mongoose.Model<
|
|
|
428
428
|
} & {
|
|
429
429
|
__v: number;
|
|
430
430
|
}>;
|
|
431
|
-
type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId"
|
|
431
|
+
type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
|
|
432
432
|
eventId: ObjectId;
|
|
433
433
|
vendorId: ObjectId;
|
|
434
434
|
chatId: ObjectId;
|
|
@@ -438,7 +438,7 @@ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId" |
|
|
|
438
438
|
* It is used to define the structure of the relation type in the database.
|
|
439
439
|
* The schema is used by Mongoose to create a model for the relation type.
|
|
440
440
|
*/
|
|
441
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"
|
|
441
|
+
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
442
442
|
eventId: ObjectId;
|
|
443
443
|
vendorId: ObjectId;
|
|
444
444
|
chatId: ObjectId;
|
|
@@ -451,7 +451,7 @@ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.M
|
|
|
451
451
|
}> & {
|
|
452
452
|
__v: number;
|
|
453
453
|
}>;
|
|
454
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"
|
|
454
|
+
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
455
455
|
eventId: ObjectId;
|
|
456
456
|
vendorId: ObjectId;
|
|
457
457
|
chatId: ObjectId;
|
package/dist/index.d.ts
CHANGED
|
@@ -428,7 +428,7 @@ declare const relationDatesSchema: mongoose.Schema<RelationDate, mongoose.Model<
|
|
|
428
428
|
} & {
|
|
429
429
|
__v: number;
|
|
430
430
|
}>;
|
|
431
|
-
type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId"
|
|
431
|
+
type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
|
|
432
432
|
eventId: ObjectId;
|
|
433
433
|
vendorId: ObjectId;
|
|
434
434
|
chatId: ObjectId;
|
|
@@ -438,7 +438,7 @@ type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId" |
|
|
|
438
438
|
* It is used to define the structure of the relation type in the database.
|
|
439
439
|
* The schema is used by Mongoose to create a model for the relation type.
|
|
440
440
|
*/
|
|
441
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"
|
|
441
|
+
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
442
442
|
eventId: ObjectId;
|
|
443
443
|
vendorId: ObjectId;
|
|
444
444
|
chatId: ObjectId;
|
|
@@ -451,7 +451,7 @@ declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.M
|
|
|
451
451
|
}> & {
|
|
452
452
|
__v: number;
|
|
453
453
|
}>;
|
|
454
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"
|
|
454
|
+
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
455
455
|
eventId: ObjectId;
|
|
456
456
|
vendorId: ObjectId;
|
|
457
457
|
chatId: ObjectId;
|