@okf/ootils 1.8.2 → 1.8.3
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/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -910,8 +910,8 @@ var init_AIChat = __esm({
|
|
|
910
910
|
AIChatSchema = new import_mongoose4.default.Schema(
|
|
911
911
|
{
|
|
912
912
|
userId: { type: import_mongoose4.default.Schema.Types.ObjectId, index: true },
|
|
913
|
-
createdAt: Date,
|
|
914
|
-
lastActivity: Date,
|
|
913
|
+
createdAt: { type: Date, index: true },
|
|
914
|
+
lastActivity: { type: Date, index: true },
|
|
915
915
|
messages: [
|
|
916
916
|
{
|
|
917
917
|
id: String,
|
package/dist/node.mjs
CHANGED
|
@@ -915,8 +915,8 @@ var init_AIChat = __esm({
|
|
|
915
915
|
AIChatSchema = new mongoose4.Schema(
|
|
916
916
|
{
|
|
917
917
|
userId: { type: mongoose4.Schema.Types.ObjectId, index: true },
|
|
918
|
-
createdAt: Date,
|
|
919
|
-
lastActivity: Date,
|
|
918
|
+
createdAt: { type: Date, index: true },
|
|
919
|
+
lastActivity: { type: Date, index: true },
|
|
920
920
|
messages: [
|
|
921
921
|
{
|
|
922
922
|
id: String,
|