@euler-edu/nest 7.0.2 → 7.0.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/lib/.tsbuildinfo +1 -1
- package/lib/connection/mongo/oj-main/problem.d.ts +4 -4
- package/lib/connection/mongo/oj-main/problem.js +1 -1
- package/lib/connection/mongo/oj-main/problem.js.map +1 -1
- package/lib/decorators/socket.decorator.js +1 -1
- package/lib/decorators/socket.decorator.js.map +1 -1
- package/package.json +4 -4
|
@@ -2,6 +2,7 @@ import { Schema } from 'mongoose';
|
|
|
2
2
|
export declare const problemSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
3
3
|
id: string;
|
|
4
4
|
hidden: boolean;
|
|
5
|
+
created_at: NativeDate;
|
|
5
6
|
tag: string[];
|
|
6
7
|
sample_input: string[];
|
|
7
8
|
sample_output: string[];
|
|
@@ -15,7 +16,6 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
15
16
|
url_youtube: string;
|
|
16
17
|
url_blog: string;
|
|
17
18
|
memo: string;
|
|
18
|
-
created_at?: NativeDate | null | undefined;
|
|
19
19
|
title?: {
|
|
20
20
|
kr: string;
|
|
21
21
|
} | null | undefined;
|
|
@@ -25,6 +25,7 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
25
25
|
}, import("mongoose").Document<unknown, {}, {
|
|
26
26
|
id: string;
|
|
27
27
|
hidden: boolean;
|
|
28
|
+
created_at: NativeDate;
|
|
28
29
|
tag: string[];
|
|
29
30
|
sample_input: string[];
|
|
30
31
|
sample_output: string[];
|
|
@@ -38,7 +39,6 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
38
39
|
url_youtube: string;
|
|
39
40
|
url_blog: string;
|
|
40
41
|
memo: string;
|
|
41
|
-
created_at?: NativeDate | null | undefined;
|
|
42
42
|
title?: {
|
|
43
43
|
kr: string;
|
|
44
44
|
} | null | undefined;
|
|
@@ -48,6 +48,7 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
48
48
|
}, {}, import("mongoose").DefaultSchemaOptions> & {
|
|
49
49
|
id: string;
|
|
50
50
|
hidden: boolean;
|
|
51
|
+
created_at: NativeDate;
|
|
51
52
|
tag: string[];
|
|
52
53
|
sample_input: string[];
|
|
53
54
|
sample_output: string[];
|
|
@@ -61,7 +62,6 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
61
62
|
url_youtube: string;
|
|
62
63
|
url_blog: string;
|
|
63
64
|
memo: string;
|
|
64
|
-
created_at?: NativeDate | null | undefined;
|
|
65
65
|
title?: {
|
|
66
66
|
kr: string;
|
|
67
67
|
} | null | undefined;
|
|
@@ -75,6 +75,7 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
75
75
|
}, unknown, {
|
|
76
76
|
id: string;
|
|
77
77
|
hidden: boolean;
|
|
78
|
+
created_at: NativeDate;
|
|
78
79
|
tag: string[];
|
|
79
80
|
sample_input: string[];
|
|
80
81
|
sample_output: string[];
|
|
@@ -88,7 +89,6 @@ export declare const problemSchema: Schema<any, import("mongoose").Model<any, an
|
|
|
88
89
|
url_youtube: string;
|
|
89
90
|
url_blog: string;
|
|
90
91
|
memo: string;
|
|
91
|
-
created_at?: NativeDate | null | undefined;
|
|
92
92
|
title?: {
|
|
93
93
|
kr: string;
|
|
94
94
|
} | null | undefined;
|
|
@@ -23,7 +23,7 @@ exports.problemSchema = new mongoose_1.Schema({
|
|
|
23
23
|
memo: { type: String, default: '' },
|
|
24
24
|
derived_stats: { type: Object, required: false },
|
|
25
25
|
derived_testcases: { type: Array, required: false },
|
|
26
|
-
created_at: { type: Date },
|
|
26
|
+
created_at: { type: Date, required: true },
|
|
27
27
|
updated_at: { type: Date },
|
|
28
28
|
});
|
|
29
29
|
//# sourceMappingURL=problem.js.map
|
|
@@ -1 +1 @@
|
|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AAC"}
|
|
@@ -11,7 +11,7 @@ const guards_1 = require("../guards");
|
|
|
11
11
|
const SocketGateway = (options = {}) => (0, websockets_1.WebSocketGateway)({
|
|
12
12
|
...options,
|
|
13
13
|
cors: {
|
|
14
|
-
origin:
|
|
14
|
+
origin: constants_1.default.nest.corsOrigins,
|
|
15
15
|
credentials: true,
|
|
16
16
|
...(typeof options.cors === 'object' ? options.cors : {}),
|
|
17
17
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"socket.decorator.js","sourceRoot":"","sources":["../../src/decorators/socket.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,2CAA2C;AAC3C,mDAI4B;AAG5B,2EAAmD;AAEnD,qCAAoD;AAE7C,MAAM,aAAa,GAAG,CAAC,UAA2B,EAAE,EAAE,EAAE,CAC7D,IAAA,6BAAgB,EAAC;IACf,GAAG,OAAO;IACV,IAAI,EAAE;QACJ,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"socket.decorator.js","sourceRoot":"","sources":["../../src/decorators/socket.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,2CAA2C;AAC3C,mDAI4B;AAG5B,2EAAmD;AAEnD,qCAAoD;AAE7C,MAAM,aAAa,GAAG,CAAC,UAA2B,EAAE,EAAE,EAAE,CAC7D,IAAA,6BAAgB,EAAC;IACf,GAAG,OAAO;IACV,IAAI,EAAE;QACJ,MAAM,EAAE,mBAAS,CAAC,IAAI,CAAC,WAAW;QAClC,WAAW,EAAE,IAAI;QACjB,GAAG,CAAC,OAAO,OAAO,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;KAC1D;CACF,CAAC,CAAC;AARQ,QAAA,aAAa,iBAQrB;AAEE,MAAM,SAAS,GACpB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAiB,EAAE,EAAE,CACjC,CACE,MAAc,EACd,WAA4B,EAC5B,UAA8B,EAC9B,EAAE;IACF,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,CAAU,CAAC;IAC9D,IAAA,6BAAgB,EAAC,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC;IACrC,IAAI,IAAI,EAAE,CAAC;QACT,IAAA,kBAAS,EAAC,IAAA,iCAAwB,EAAC,IAAI,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC,CAAC;AAZS,QAAA,SAAS,aAYlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@euler-edu/nest",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Euler-edu Shared NestJS Modules/Utils",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"author": "Geon Kim",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"request-ip": "^2.2.0",
|
|
47
47
|
"sharp": "^0.34.5",
|
|
48
48
|
"sqs-consumer": "^15.0.4",
|
|
49
|
-
"@euler-edu/
|
|
50
|
-
"@euler-edu/
|
|
51
|
-
"@euler-edu/
|
|
49
|
+
"@euler-edu/utils": "7.0.3",
|
|
50
|
+
"@euler-edu/constant": "7.0.3",
|
|
51
|
+
"@euler-edu/schema": "7.0.3"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/express": "^5.0.6",
|