@weekendgoals/weekendgoals-common 1.1298.10577867415 → 1.1300.10579431884
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/models/conversation-messages/index.d.ts +18 -0
- package/dist/models/conversation-messages/index.d.ts.map +1 -1
- package/dist/models/conversation-messages/index.js +2 -0
- package/dist/models/conversation-messages/index.js.map +1 -1
- package/dist/models/conversations/index.d.ts +4 -44
- package/dist/models/conversations/index.d.ts.map +1 -1
- package/dist/models/conversations/index.js +1 -0
- package/dist/models/conversations/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -8,21 +8,27 @@ export declare const ConversationMessageSchema: mongoose.Schema<any, mongoose.Mo
|
|
|
8
8
|
} & {
|
|
9
9
|
type?: number;
|
|
10
10
|
conversationId?: string;
|
|
11
|
+
userId?: string;
|
|
11
12
|
content?: string;
|
|
13
|
+
isDeleted?: boolean;
|
|
12
14
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
13
15
|
createdAt: NativeDate;
|
|
14
16
|
updatedAt: NativeDate;
|
|
15
17
|
} & {
|
|
16
18
|
type?: number;
|
|
17
19
|
conversationId?: string;
|
|
20
|
+
userId?: string;
|
|
18
21
|
content?: string;
|
|
22
|
+
isDeleted?: boolean;
|
|
19
23
|
}>> & mongoose.FlatRecord<{
|
|
20
24
|
createdAt: NativeDate;
|
|
21
25
|
updatedAt: NativeDate;
|
|
22
26
|
} & {
|
|
23
27
|
type?: number;
|
|
24
28
|
conversationId?: string;
|
|
29
|
+
userId?: string;
|
|
25
30
|
content?: string;
|
|
31
|
+
isDeleted?: boolean;
|
|
26
32
|
}> & {
|
|
27
33
|
_id: mongoose.Types.ObjectId;
|
|
28
34
|
}>;
|
|
@@ -32,21 +38,27 @@ export declare const ConversationMessageModel: mongoose.Model<{
|
|
|
32
38
|
} & {
|
|
33
39
|
type?: number;
|
|
34
40
|
conversationId?: string;
|
|
41
|
+
userId?: string;
|
|
35
42
|
content?: string;
|
|
43
|
+
isDeleted?: boolean;
|
|
36
44
|
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
37
45
|
createdAt: NativeDate;
|
|
38
46
|
updatedAt: NativeDate;
|
|
39
47
|
} & {
|
|
40
48
|
type?: number;
|
|
41
49
|
conversationId?: string;
|
|
50
|
+
userId?: string;
|
|
42
51
|
content?: string;
|
|
52
|
+
isDeleted?: boolean;
|
|
43
53
|
}> & {
|
|
44
54
|
createdAt: NativeDate;
|
|
45
55
|
updatedAt: NativeDate;
|
|
46
56
|
} & {
|
|
47
57
|
type?: number;
|
|
48
58
|
conversationId?: string;
|
|
59
|
+
userId?: string;
|
|
49
60
|
content?: string;
|
|
61
|
+
isDeleted?: boolean;
|
|
50
62
|
} & {
|
|
51
63
|
_id: mongoose.Types.ObjectId;
|
|
52
64
|
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
@@ -58,21 +70,27 @@ export declare const ConversationMessageModel: mongoose.Model<{
|
|
|
58
70
|
} & {
|
|
59
71
|
type?: number;
|
|
60
72
|
conversationId?: string;
|
|
73
|
+
userId?: string;
|
|
61
74
|
content?: string;
|
|
75
|
+
isDeleted?: boolean;
|
|
62
76
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
63
77
|
createdAt: NativeDate;
|
|
64
78
|
updatedAt: NativeDate;
|
|
65
79
|
} & {
|
|
66
80
|
type?: number;
|
|
67
81
|
conversationId?: string;
|
|
82
|
+
userId?: string;
|
|
68
83
|
content?: string;
|
|
84
|
+
isDeleted?: boolean;
|
|
69
85
|
}>> & mongoose.FlatRecord<{
|
|
70
86
|
createdAt: NativeDate;
|
|
71
87
|
updatedAt: NativeDate;
|
|
72
88
|
} & {
|
|
73
89
|
type?: number;
|
|
74
90
|
conversationId?: string;
|
|
91
|
+
userId?: string;
|
|
75
92
|
content?: string;
|
|
93
|
+
isDeleted?: boolean;
|
|
76
94
|
}> & {
|
|
77
95
|
_id: mongoose.Types.ObjectId;
|
|
78
96
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIpC,CAAC"}
|
|
@@ -5,7 +5,9 @@ const mongoose = require("mongoose");
|
|
|
5
5
|
exports.ConversationMessageSchema = new mongoose.Schema({
|
|
6
6
|
conversationId: String,
|
|
7
7
|
type: Number,
|
|
8
|
+
userId: String,
|
|
8
9
|
content: String,
|
|
10
|
+
isDeleted: Boolean,
|
|
9
11
|
}, { timestamps: true, typeKey: "$type" });
|
|
10
12
|
exports.ConversationMessageModel = mongoose.model("ConversationMessage", exports.ConversationMessageSchema, "ConversationMessages");
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,yBAAyB,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC1D;IACE,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/conversation-messages/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,yBAAyB,GAAG,IAAI,QAAQ,CAAC,MAAM,CAC1D;IACE,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,SAAS,EAAE,OAAO;CACnB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CACvC,CAAC;AAEW,QAAA,wBAAwB,GAAG,QAAQ,CAAC,KAAK,CACpD,qBAAqB,EACrB,iCAAyB,EACzB,sBAAsB,CACvB,CAAC"}
|
|
@@ -8,63 +8,23 @@ export declare const ConversationSchema: mongoose.Schema<any, mongoose.Model<any
|
|
|
8
8
|
} & {
|
|
9
9
|
name?: string;
|
|
10
10
|
userId?: string;
|
|
11
|
+
isDeleted?: boolean;
|
|
11
12
|
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
12
13
|
createdAt: NativeDate;
|
|
13
14
|
updatedAt: NativeDate;
|
|
14
15
|
} & {
|
|
15
16
|
name?: string;
|
|
16
17
|
userId?: string;
|
|
18
|
+
isDeleted?: boolean;
|
|
17
19
|
}>> & mongoose.FlatRecord<{
|
|
18
20
|
createdAt: NativeDate;
|
|
19
21
|
updatedAt: NativeDate;
|
|
20
22
|
} & {
|
|
21
23
|
name?: string;
|
|
22
24
|
userId?: string;
|
|
25
|
+
isDeleted?: boolean;
|
|
23
26
|
}> & {
|
|
24
27
|
_id: mongoose.Types.ObjectId;
|
|
25
28
|
}>;
|
|
26
|
-
export declare const ConversationModel: mongoose.Model<
|
|
27
|
-
createdAt: NativeDate;
|
|
28
|
-
updatedAt: NativeDate;
|
|
29
|
-
} & {
|
|
30
|
-
name?: string;
|
|
31
|
-
userId?: string;
|
|
32
|
-
}, {}, {}, {}, mongoose.Document<unknown, {}, {
|
|
33
|
-
createdAt: NativeDate;
|
|
34
|
-
updatedAt: NativeDate;
|
|
35
|
-
} & {
|
|
36
|
-
name?: string;
|
|
37
|
-
userId?: string;
|
|
38
|
-
}> & {
|
|
39
|
-
createdAt: NativeDate;
|
|
40
|
-
updatedAt: NativeDate;
|
|
41
|
-
} & {
|
|
42
|
-
name?: string;
|
|
43
|
-
userId?: string;
|
|
44
|
-
} & {
|
|
45
|
-
_id: mongoose.Types.ObjectId;
|
|
46
|
-
}, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
47
|
-
timestamps: true;
|
|
48
|
-
typeKey: "$type";
|
|
49
|
-
}, {
|
|
50
|
-
createdAt: NativeDate;
|
|
51
|
-
updatedAt: NativeDate;
|
|
52
|
-
} & {
|
|
53
|
-
name?: string;
|
|
54
|
-
userId?: string;
|
|
55
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
56
|
-
createdAt: NativeDate;
|
|
57
|
-
updatedAt: NativeDate;
|
|
58
|
-
} & {
|
|
59
|
-
name?: string;
|
|
60
|
-
userId?: string;
|
|
61
|
-
}>> & mongoose.FlatRecord<{
|
|
62
|
-
createdAt: NativeDate;
|
|
63
|
-
updatedAt: NativeDate;
|
|
64
|
-
} & {
|
|
65
|
-
name?: string;
|
|
66
|
-
userId?: string;
|
|
67
|
-
}> & {
|
|
68
|
-
_id: mongoose.Types.ObjectId;
|
|
69
|
-
}>>;
|
|
29
|
+
export declare const ConversationModel: mongoose.Model<any, unknown, unknown, unknown, any, any>;
|
|
70
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,UAAU,CAAC;AAErC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,0DAI7B,CAAC"}
|
|
@@ -5,6 +5,7 @@ const mongoose = require("mongoose");
|
|
|
5
5
|
exports.ConversationSchema = new mongoose.Schema({
|
|
6
6
|
userId: String,
|
|
7
7
|
name: String,
|
|
8
|
+
isDeleted: Boolean,
|
|
8
9
|
}, { timestamps: true, typeKey: "$type" });
|
|
9
10
|
exports.ConversationModel = mongoose.model("Conversation", exports.ConversationSchema, "Conversations");
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,kBAAkB,GAAG,IAAI,QAAQ,CAAC,MAAM,CACnD;IACE,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/conversations/index.ts"],"names":[],"mappings":";;;AAAA,qCAAqC;AAExB,QAAA,kBAAkB,GAAG,IAAI,QAAQ,CAAC,MAAM,CACnD;IACE,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,OAAO;CACnB,EACD,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,CACvC,CAAC;AAEW,QAAA,iBAAiB,GAAG,QAAQ,CAAC,KAAK,CAC7C,cAAc,EACd,0BAAkB,EAClB,eAAe,CAChB,CAAC"}
|