@okf/ootils 1.18.1 → 1.18.2
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.d.mts +1 -0
- package/dist/node.d.ts +1 -0
- package/dist/node.js +6 -0
- package/dist/node.mjs +6 -0
- package/package.json +1 -1
package/dist/node.d.mts
CHANGED
|
@@ -984,6 +984,7 @@ interface IAIChat extends Document {
|
|
|
984
984
|
createdAt: Date;
|
|
985
985
|
lastActivity: Date;
|
|
986
986
|
messages: IMessage[];
|
|
987
|
+
ACLScope: "aiChat" | "reports";
|
|
987
988
|
}
|
|
988
989
|
declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.Model<IAIChat, any, any, any, mongoose__default.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
|
|
989
990
|
_id: mongoose__default.Types.ObjectId;
|
package/dist/node.d.ts
CHANGED
|
@@ -984,6 +984,7 @@ interface IAIChat extends Document {
|
|
|
984
984
|
createdAt: Date;
|
|
985
985
|
lastActivity: Date;
|
|
986
986
|
messages: IMessage[];
|
|
987
|
+
ACLScope: "aiChat" | "reports";
|
|
987
988
|
}
|
|
988
989
|
declare const AIChatSchema: mongoose__default.Schema<IAIChat, mongoose__default.Model<IAIChat, any, any, any, mongoose__default.Document<unknown, any, IAIChat, any, {}> & IAIChat & Required<{
|
|
989
990
|
_id: mongoose__default.Types.ObjectId;
|
package/dist/node.js
CHANGED
|
@@ -906,6 +906,12 @@ var init_AIChat = __esm({
|
|
|
906
906
|
userId: { type: import_mongoose4.default.Schema.Types.ObjectId, index: true },
|
|
907
907
|
createdAt: { type: Date, index: true },
|
|
908
908
|
lastActivity: { type: Date, index: true },
|
|
909
|
+
ACLScope: {
|
|
910
|
+
type: String,
|
|
911
|
+
enum: ["aiChat", "reports"],
|
|
912
|
+
default: "aiChat",
|
|
913
|
+
index: true
|
|
914
|
+
},
|
|
909
915
|
messages: [
|
|
910
916
|
{
|
|
911
917
|
id: String,
|
package/dist/node.mjs
CHANGED
|
@@ -911,6 +911,12 @@ var init_AIChat = __esm({
|
|
|
911
911
|
userId: { type: mongoose4.Schema.Types.ObjectId, index: true },
|
|
912
912
|
createdAt: { type: Date, index: true },
|
|
913
913
|
lastActivity: { type: Date, index: true },
|
|
914
|
+
ACLScope: {
|
|
915
|
+
type: String,
|
|
916
|
+
enum: ["aiChat", "reports"],
|
|
917
|
+
default: "aiChat",
|
|
918
|
+
index: true
|
|
919
|
+
},
|
|
914
920
|
messages: [
|
|
915
921
|
{
|
|
916
922
|
id: String,
|