@weekendgoals/weekendgoals-common 1.1286.10539612021 → 1.1289.10545730313

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.
@@ -0,0 +1,79 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const ConversationMessageSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ typeKey: "$type";
5
+ }, {
6
+ createdAt: NativeDate;
7
+ updatedAt: NativeDate;
8
+ } & {
9
+ type?: string;
10
+ conversationId?: string;
11
+ content?: string;
12
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
13
+ createdAt: NativeDate;
14
+ updatedAt: NativeDate;
15
+ } & {
16
+ type?: string;
17
+ conversationId?: string;
18
+ content?: string;
19
+ }>> & mongoose.FlatRecord<{
20
+ createdAt: NativeDate;
21
+ updatedAt: NativeDate;
22
+ } & {
23
+ type?: string;
24
+ conversationId?: string;
25
+ content?: string;
26
+ }> & {
27
+ _id: mongoose.Types.ObjectId;
28
+ }>;
29
+ export declare const ConversationMessageModel: mongoose.Model<{
30
+ createdAt: NativeDate;
31
+ updatedAt: NativeDate;
32
+ } & {
33
+ type?: string;
34
+ conversationId?: string;
35
+ content?: string;
36
+ }, {}, {}, {}, mongoose.Document<unknown, {}, {
37
+ createdAt: NativeDate;
38
+ updatedAt: NativeDate;
39
+ } & {
40
+ type?: string;
41
+ conversationId?: string;
42
+ content?: string;
43
+ }> & {
44
+ createdAt: NativeDate;
45
+ updatedAt: NativeDate;
46
+ } & {
47
+ type?: string;
48
+ conversationId?: string;
49
+ content?: string;
50
+ } & {
51
+ _id: mongoose.Types.ObjectId;
52
+ }, mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
53
+ timestamps: true;
54
+ typeKey: "$type";
55
+ }, {
56
+ createdAt: NativeDate;
57
+ updatedAt: NativeDate;
58
+ } & {
59
+ type?: string;
60
+ conversationId?: string;
61
+ content?: string;
62
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
63
+ createdAt: NativeDate;
64
+ updatedAt: NativeDate;
65
+ } & {
66
+ type?: string;
67
+ conversationId?: string;
68
+ content?: string;
69
+ }>> & mongoose.FlatRecord<{
70
+ createdAt: NativeDate;
71
+ updatedAt: NativeDate;
72
+ } & {
73
+ type?: string;
74
+ conversationId?: string;
75
+ content?: string;
76
+ }> & {
77
+ _id: mongoose.Types.ObjectId;
78
+ }>>;
79
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIpC,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConversationMessageModel = exports.ConversationMessageSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.ConversationMessageSchema = new mongoose.Schema({
6
+ conversationId: String,
7
+ type: String,
8
+ content: String,
9
+ }, { timestamps: true, typeKey: "$type" });
10
+ exports.ConversationMessageModel = mongoose.model("ConversationMessage", exports.ConversationMessageSchema, "ConversationMessages");
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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;CAChB,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"}
@@ -0,0 +1,70 @@
1
+ import * as mongoose from "mongoose";
2
+ export declare const ConversationSchema: mongoose.Schema<any, mongoose.Model<any, any, any, any, any, any>, {}, {}, {}, {}, {
3
+ timestamps: true;
4
+ typeKey: "$type";
5
+ }, {
6
+ createdAt: NativeDate;
7
+ updatedAt: NativeDate;
8
+ } & {
9
+ name?: string;
10
+ userId?: string;
11
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
12
+ createdAt: NativeDate;
13
+ updatedAt: NativeDate;
14
+ } & {
15
+ name?: string;
16
+ userId?: string;
17
+ }>> & mongoose.FlatRecord<{
18
+ createdAt: NativeDate;
19
+ updatedAt: NativeDate;
20
+ } & {
21
+ name?: string;
22
+ userId?: string;
23
+ }> & {
24
+ _id: mongoose.Types.ObjectId;
25
+ }>;
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
+ }>>;
70
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;EAM9B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI7B,CAAC"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConversationModel = exports.ConversationSchema = void 0;
4
+ const mongoose = require("mongoose");
5
+ exports.ConversationSchema = new mongoose.Schema({
6
+ userId: String,
7
+ name: String,
8
+ }, { timestamps: true, typeKey: "$type" });
9
+ exports.ConversationModel = mongoose.model("Conversation", exports.ConversationSchema, "Conversations");
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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;CACb,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weekendgoals/weekendgoals-common",
3
- "version": "1.1286.10539612021",
3
+ "version": "1.1289.10545730313",
4
4
  "description": "Weekend Goals Common",
5
5
  "private": false,
6
6
  "files": [