@timardex/cluemart-server-shared 1.0.23 → 1.0.25
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/{Chat-CpcNNMP5.d.mts → Chat-BNtvwldQ.d.mts} +2 -12
- package/dist/{Chat-CpcNNMP5.d.ts → Chat-BNtvwldQ.d.ts} +2 -12
- package/dist/{chunk-YVQTKE7R.mjs → chunk-3RRKW57O.mjs} +247 -155
- package/dist/chunk-3RRKW57O.mjs.map +1 -0
- package/dist/index.cjs +246 -154
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +22 -38
- package/dist/index.d.ts +22 -38
- package/dist/index.mjs +246 -154
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +246 -154
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +22 -28
- package/dist/mongoose/index.d.ts +22 -28
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +246 -154
- 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/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunk-YVQTKE7R.mjs.map +0 -1
|
@@ -54,14 +54,9 @@ type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
|
|
|
54
54
|
type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
|
|
55
55
|
userId: ObjectId;
|
|
56
56
|
};
|
|
57
|
-
type SchemaChatType = Omit<ChatType, "participants" | "messages"
|
|
57
|
+
type SchemaChatType = Omit<ChatType, "participants" | "messages"> & {
|
|
58
58
|
participants: SchemaParticipantType[];
|
|
59
59
|
messages: SchemaChatMessageType[];
|
|
60
|
-
resourceInfo: {
|
|
61
|
-
eventId: ObjectId;
|
|
62
|
-
partnerId: ObjectId;
|
|
63
|
-
vendorId: ObjectId;
|
|
64
|
-
} | null;
|
|
65
60
|
};
|
|
66
61
|
declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose.Model<SchemaParticipantType, any, any, any, mongoose.Document<unknown, any, SchemaParticipantType, any, {}> & Omit<ParticipantType, "userId"> & {
|
|
67
62
|
userId: ObjectId;
|
|
@@ -74,14 +69,9 @@ declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose
|
|
|
74
69
|
} & {
|
|
75
70
|
__v: number;
|
|
76
71
|
}>;
|
|
77
|
-
declare const ChatModel: mongoose.Model<SchemaChatType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatType, {}, {}> & Omit<ChatType, "participants" | "messages"
|
|
72
|
+
declare const ChatModel: mongoose.Model<SchemaChatType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatType, {}, {}> & Omit<ChatType, "participants" | "messages"> & {
|
|
78
73
|
participants: SchemaParticipantType[];
|
|
79
74
|
messages: SchemaChatMessageType[];
|
|
80
|
-
resourceInfo: {
|
|
81
|
-
eventId: ObjectId;
|
|
82
|
-
partnerId: ObjectId;
|
|
83
|
-
vendorId: ObjectId;
|
|
84
|
-
} | null;
|
|
85
75
|
} & Required<{
|
|
86
76
|
_id: string;
|
|
87
77
|
}> & {
|
|
@@ -54,14 +54,9 @@ type SchemaChatMessageType = Omit<ChatMessageType, "senderId"> & {
|
|
|
54
54
|
type SchemaParticipantType = Omit<ParticipantType, "userId"> & {
|
|
55
55
|
userId: ObjectId;
|
|
56
56
|
};
|
|
57
|
-
type SchemaChatType = Omit<ChatType, "participants" | "messages"
|
|
57
|
+
type SchemaChatType = Omit<ChatType, "participants" | "messages"> & {
|
|
58
58
|
participants: SchemaParticipantType[];
|
|
59
59
|
messages: SchemaChatMessageType[];
|
|
60
|
-
resourceInfo: {
|
|
61
|
-
eventId: ObjectId;
|
|
62
|
-
partnerId: ObjectId;
|
|
63
|
-
vendorId: ObjectId;
|
|
64
|
-
} | null;
|
|
65
60
|
};
|
|
66
61
|
declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose.Model<SchemaParticipantType, any, any, any, mongoose.Document<unknown, any, SchemaParticipantType, any, {}> & Omit<ParticipantType, "userId"> & {
|
|
67
62
|
userId: ObjectId;
|
|
@@ -74,14 +69,9 @@ declare const ParticipantSchema: mongoose.Schema<SchemaParticipantType, mongoose
|
|
|
74
69
|
} & {
|
|
75
70
|
__v: number;
|
|
76
71
|
}>;
|
|
77
|
-
declare const ChatModel: mongoose.Model<SchemaChatType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatType, {}, {}> & Omit<ChatType, "participants" | "messages"
|
|
72
|
+
declare const ChatModel: mongoose.Model<SchemaChatType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaChatType, {}, {}> & Omit<ChatType, "participants" | "messages"> & {
|
|
78
73
|
participants: SchemaParticipantType[];
|
|
79
74
|
messages: SchemaChatMessageType[];
|
|
80
|
-
resourceInfo: {
|
|
81
|
-
eventId: ObjectId;
|
|
82
|
-
partnerId: ObjectId;
|
|
83
|
-
vendorId: ObjectId;
|
|
84
|
-
} | null;
|
|
85
75
|
} & Required<{
|
|
86
76
|
_id: string;
|
|
87
77
|
}> & {
|