@euler-edu/nest 0.0.0-stage → 7.0.1-beta1

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.
Files changed (223) hide show
  1. package/lib/.tsbuildinfo +1 -0
  2. package/lib/connection/mongo/hq-status/index.d.ts +2 -0
  3. package/lib/connection/mongo/hq-status/index.d.ts.map +1 -0
  4. package/lib/connection/mongo/hq-status/index.js +6 -0
  5. package/lib/connection/mongo/hq-status/index.js.map +1 -0
  6. package/lib/connection/mongo/hq-status/serviceUptime.d.ts +39 -0
  7. package/lib/connection/mongo/hq-status/serviceUptime.d.ts.map +1 -0
  8. package/lib/connection/mongo/hq-status/serviceUptime.js +12 -0
  9. package/lib/connection/mongo/hq-status/serviceUptime.js.map +1 -0
  10. package/lib/connection/mongo/index.d.ts +3 -0
  11. package/lib/connection/mongo/index.d.ts.map +1 -0
  12. package/lib/connection/mongo/index.js +19 -0
  13. package/lib/connection/mongo/index.js.map +1 -0
  14. package/lib/connection/mongo/mongo.module.d.ts +7 -0
  15. package/lib/connection/mongo/mongo.module.d.ts.map +1 -0
  16. package/lib/connection/mongo/mongo.module.js +39 -0
  17. package/lib/connection/mongo/mongo.module.js.map +1 -0
  18. package/lib/connection/mongo/mongo.service.d.ts +27 -0
  19. package/lib/connection/mongo/mongo.service.d.ts.map +1 -0
  20. package/lib/connection/mongo/mongo.service.js +72 -0
  21. package/lib/connection/mongo/mongo.service.js.map +1 -0
  22. package/lib/connection/mongo/oj-main/contest.d.ts +399 -0
  23. package/lib/connection/mongo/oj-main/contest.d.ts.map +1 -0
  24. package/lib/connection/mongo/oj-main/contest.js +55 -0
  25. package/lib/connection/mongo/oj-main/contest.js.map +1 -0
  26. package/lib/connection/mongo/oj-main/index.d.ts +8 -0
  27. package/lib/connection/mongo/oj-main/index.d.ts.map +1 -0
  28. package/lib/connection/mongo/oj-main/index.js +18 -0
  29. package/lib/connection/mongo/oj-main/index.js.map +1 -0
  30. package/lib/connection/mongo/oj-main/mail.d.ts +55 -0
  31. package/lib/connection/mongo/oj-main/mail.d.ts.map +1 -0
  32. package/lib/connection/mongo/oj-main/mail.js +44 -0
  33. package/lib/connection/mongo/oj-main/mail.js.map +1 -0
  34. package/lib/connection/mongo/oj-main/problem.d.ts +103 -0
  35. package/lib/connection/mongo/oj-main/problem.d.ts.map +1 -0
  36. package/lib/connection/mongo/oj-main/problem.js +29 -0
  37. package/lib/connection/mongo/oj-main/problem.js.map +1 -0
  38. package/lib/connection/mongo/oj-main/record.d.ts +47 -0
  39. package/lib/connection/mongo/oj-main/record.d.ts.map +1 -0
  40. package/lib/connection/mongo/oj-main/record.js +26 -0
  41. package/lib/connection/mongo/oj-main/record.js.map +1 -0
  42. package/lib/connection/mongo/oj-main/sourceconsole.d.ts +67 -0
  43. package/lib/connection/mongo/oj-main/sourceconsole.d.ts.map +1 -0
  44. package/lib/connection/mongo/oj-main/sourceconsole.js +19 -0
  45. package/lib/connection/mongo/oj-main/sourceconsole.js.map +1 -0
  46. package/lib/connection/mongo/oj-main/sourcesubmit.d.ts +175 -0
  47. package/lib/connection/mongo/oj-main/sourcesubmit.d.ts.map +1 -0
  48. package/lib/connection/mongo/oj-main/sourcesubmit.js +47 -0
  49. package/lib/connection/mongo/oj-main/sourcesubmit.js.map +1 -0
  50. package/lib/connection/mongo/oj-main/user.d.ts +131 -0
  51. package/lib/connection/mongo/oj-main/user.d.ts.map +1 -0
  52. package/lib/connection/mongo/oj-main/user.js +35 -0
  53. package/lib/connection/mongo/oj-main/user.js.map +1 -0
  54. package/lib/connection/mongo/oj-sq/index.d.ts +3 -0
  55. package/lib/connection/mongo/oj-sq/index.d.ts.map +1 -0
  56. package/lib/connection/mongo/oj-sq/index.js +8 -0
  57. package/lib/connection/mongo/oj-sq/index.js.map +1 -0
  58. package/lib/connection/mongo/oj-sq/scoringRequest.d.ts +291 -0
  59. package/lib/connection/mongo/oj-sq/scoringRequest.d.ts.map +1 -0
  60. package/lib/connection/mongo/oj-sq/scoringRequest.js +58 -0
  61. package/lib/connection/mongo/oj-sq/scoringRequest.js.map +1 -0
  62. package/lib/connection/mongo/oj-sq/scoringServer.d.ts +39 -0
  63. package/lib/connection/mongo/oj-sq/scoringServer.d.ts.map +1 -0
  64. package/lib/connection/mongo/oj-sq/scoringServer.js +12 -0
  65. package/lib/connection/mongo/oj-sq/scoringServer.js.map +1 -0
  66. package/lib/connection/redis/index.d.ts +3 -0
  67. package/lib/connection/redis/index.d.ts.map +1 -0
  68. package/lib/connection/redis/index.js +19 -0
  69. package/lib/connection/redis/index.js.map +1 -0
  70. package/lib/connection/redis/redis.module.d.ts +5 -0
  71. package/lib/connection/redis/redis.module.d.ts.map +1 -0
  72. package/lib/connection/redis/redis.module.js +30 -0
  73. package/lib/connection/redis/redis.module.js.map +1 -0
  74. package/lib/connection/redis/redis.service.d.ts +35 -0
  75. package/lib/connection/redis/redis.service.d.ts.map +1 -0
  76. package/lib/connection/redis/redis.service.js +85 -0
  77. package/lib/connection/redis/redis.service.js.map +1 -0
  78. package/lib/connection/s3/index.d.ts +3 -0
  79. package/lib/connection/s3/index.d.ts.map +1 -0
  80. package/lib/connection/s3/index.js +19 -0
  81. package/lib/connection/s3/index.js.map +1 -0
  82. package/lib/connection/s3/s3.module.d.ts +11 -0
  83. package/lib/connection/s3/s3.module.d.ts.map +1 -0
  84. package/lib/connection/s3/s3.module.js +57 -0
  85. package/lib/connection/s3/s3.module.js.map +1 -0
  86. package/lib/connection/s3/s3.service.d.ts +54 -0
  87. package/lib/connection/s3/s3.service.d.ts.map +1 -0
  88. package/lib/connection/s3/s3.service.js +253 -0
  89. package/lib/connection/s3/s3.service.js.map +1 -0
  90. package/lib/connection/social/index.d.ts +3 -0
  91. package/lib/connection/social/index.d.ts.map +1 -0
  92. package/lib/connection/social/index.js +19 -0
  93. package/lib/connection/social/index.js.map +1 -0
  94. package/lib/connection/social/social.module.d.ts +3 -0
  95. package/lib/connection/social/social.module.d.ts.map +1 -0
  96. package/lib/connection/social/social.module.js +21 -0
  97. package/lib/connection/social/social.module.js.map +1 -0
  98. package/lib/connection/social/social.service.d.ts +16 -0
  99. package/lib/connection/social/social.service.d.ts.map +1 -0
  100. package/lib/connection/social/social.service.js +230 -0
  101. package/lib/connection/social/social.service.js.map +1 -0
  102. package/lib/connection/sqs/index.d.ts +3 -0
  103. package/lib/connection/sqs/index.d.ts.map +1 -0
  104. package/lib/connection/sqs/index.js +19 -0
  105. package/lib/connection/sqs/index.js.map +1 -0
  106. package/lib/connection/sqs/sqs.module.d.ts +5 -0
  107. package/lib/connection/sqs/sqs.module.d.ts.map +1 -0
  108. package/lib/connection/sqs/sqs.module.js +31 -0
  109. package/lib/connection/sqs/sqs.module.js.map +1 -0
  110. package/lib/connection/sqs/sqs.service.d.ts +28 -0
  111. package/lib/connection/sqs/sqs.service.d.ts.map +1 -0
  112. package/lib/connection/sqs/sqs.service.js +122 -0
  113. package/lib/connection/sqs/sqs.service.js.map +1 -0
  114. package/lib/constants/metadata.d.ts +5 -0
  115. package/lib/constants/metadata.d.ts.map +1 -0
  116. package/lib/constants/metadata.js +8 -0
  117. package/lib/constants/metadata.js.map +1 -0
  118. package/lib/decorators/auth.decorator.d.ts +15 -0
  119. package/lib/decorators/auth.decorator.d.ts.map +1 -0
  120. package/lib/decorators/auth.decorator.js +65 -0
  121. package/lib/decorators/auth.decorator.js.map +1 -0
  122. package/lib/decorators/client.decorator.d.ts +9 -0
  123. package/lib/decorators/client.decorator.d.ts.map +1 -0
  124. package/lib/decorators/client.decorator.js +49 -0
  125. package/lib/decorators/client.decorator.js.map +1 -0
  126. package/lib/decorators/endpoint.decorator.d.ts +3 -0
  127. package/lib/decorators/endpoint.decorator.d.ts.map +1 -0
  128. package/lib/decorators/endpoint.decorator.js +96 -0
  129. package/lib/decorators/endpoint.decorator.js.map +1 -0
  130. package/lib/decorators/index.d.ts +8 -0
  131. package/lib/decorators/index.d.ts.map +1 -0
  132. package/lib/decorators/index.js +24 -0
  133. package/lib/decorators/index.js.map +1 -0
  134. package/lib/decorators/mongo.decorator.d.ts +8 -0
  135. package/lib/decorators/mongo.decorator.d.ts.map +1 -0
  136. package/lib/decorators/mongo.decorator.js +115 -0
  137. package/lib/decorators/mongo.decorator.js.map +1 -0
  138. package/lib/decorators/socket.decorator.d.ts +5 -0
  139. package/lib/decorators/socket.decorator.d.ts.map +1 -0
  140. package/lib/decorators/socket.decorator.js +28 -0
  141. package/lib/decorators/socket.decorator.js.map +1 -0
  142. package/lib/decorators/sqs.decorator.d.ts +4 -0
  143. package/lib/decorators/sqs.decorator.d.ts.map +1 -0
  144. package/lib/decorators/sqs.decorator.js +8 -0
  145. package/lib/decorators/sqs.decorator.js.map +1 -0
  146. package/lib/decorators/swagger.decorator.d.ts +2 -0
  147. package/lib/decorators/swagger.decorator.d.ts.map +1 -0
  148. package/lib/decorators/swagger.decorator.js +8 -0
  149. package/lib/decorators/swagger.decorator.js.map +1 -0
  150. package/lib/filters/global.filters.d.ts +16 -0
  151. package/lib/filters/global.filters.d.ts.map +1 -0
  152. package/lib/filters/global.filters.js +75 -0
  153. package/lib/filters/global.filters.js.map +1 -0
  154. package/lib/filters/index.d.ts +2 -0
  155. package/lib/filters/index.d.ts.map +1 -0
  156. package/lib/filters/index.js +18 -0
  157. package/lib/filters/index.js.map +1 -0
  158. package/lib/guards/auth.guard.d.ts +13 -0
  159. package/lib/guards/auth.guard.d.ts.map +1 -0
  160. package/lib/guards/auth.guard.js +61 -0
  161. package/lib/guards/auth.guard.js.map +1 -0
  162. package/lib/guards/endpoint.guard.d.ts +4 -0
  163. package/lib/guards/endpoint.guard.d.ts.map +1 -0
  164. package/lib/guards/endpoint.guard.js +39 -0
  165. package/lib/guards/endpoint.guard.js.map +1 -0
  166. package/lib/guards/global.guard.d.ts +10 -0
  167. package/lib/guards/global.guard.d.ts.map +1 -0
  168. package/lib/guards/global.guard.js +139 -0
  169. package/lib/guards/global.guard.js.map +1 -0
  170. package/lib/guards/index.d.ts +5 -0
  171. package/lib/guards/index.d.ts.map +1 -0
  172. package/lib/guards/index.js +21 -0
  173. package/lib/guards/index.js.map +1 -0
  174. package/lib/guards/socket.guard.d.ts +4 -0
  175. package/lib/guards/socket.guard.d.ts.map +1 -0
  176. package/lib/guards/socket.guard.js +35 -0
  177. package/lib/guards/socket.guard.js.map +1 -0
  178. package/lib/index.d.ts +2 -0
  179. package/lib/index.d.ts.map +1 -0
  180. package/lib/index.js +3 -0
  181. package/lib/index.js.map +1 -0
  182. package/lib/logger/index.d.ts +3 -0
  183. package/lib/logger/index.d.ts.map +1 -0
  184. package/lib/logger/index.js +21 -0
  185. package/lib/logger/index.js.map +1 -0
  186. package/lib/logger/logger.module.d.ts +3 -0
  187. package/lib/logger/logger.module.d.ts.map +1 -0
  188. package/lib/logger/logger.module.js +46 -0
  189. package/lib/logger/logger.module.js.map +1 -0
  190. package/lib/recaptcha/index.d.ts +3 -0
  191. package/lib/recaptcha/index.d.ts.map +1 -0
  192. package/lib/recaptcha/index.js +19 -0
  193. package/lib/recaptcha/index.js.map +1 -0
  194. package/lib/recaptcha/recaptcha.module.d.ts +3 -0
  195. package/lib/recaptcha/recaptcha.module.d.ts.map +1 -0
  196. package/lib/recaptcha/recaptcha.module.js +21 -0
  197. package/lib/recaptcha/recaptcha.module.js.map +1 -0
  198. package/lib/recaptcha/recaptcha.service.d.ts +5 -0
  199. package/lib/recaptcha/recaptcha.service.d.ts.map +1 -0
  200. package/lib/recaptcha/recaptcha.service.js +46 -0
  201. package/lib/recaptcha/recaptcha.service.js.map +1 -0
  202. package/lib/utils/image/index.d.ts +4 -0
  203. package/lib/utils/image/index.d.ts.map +1 -0
  204. package/lib/utils/image/index.js +16 -0
  205. package/lib/utils/image/index.js.map +1 -0
  206. package/lib/utils/jwt/index.d.ts +2 -0
  207. package/lib/utils/jwt/index.d.ts.map +1 -0
  208. package/lib/utils/jwt/index.js +38 -0
  209. package/lib/utils/jwt/index.js.map +1 -0
  210. package/lib/utils/logger/index.d.ts +45 -0
  211. package/lib/utils/logger/index.d.ts.map +1 -0
  212. package/lib/utils/logger/index.js +59 -0
  213. package/lib/utils/logger/index.js.map +1 -0
  214. package/lib/utils/mongo/index.d.ts +2 -0
  215. package/lib/utils/mongo/index.d.ts.map +1 -0
  216. package/lib/utils/mongo/index.js +6 -0
  217. package/lib/utils/mongo/index.js.map +1 -0
  218. package/lib/utils/swagger/index.d.ts +7 -0
  219. package/lib/utils/swagger/index.d.ts.map +1 -0
  220. package/lib/utils/swagger/index.js +29 -0
  221. package/lib/utils/swagger/index.js.map +1 -0
  222. package/package.json +61 -3
  223. package/README.md +0 -3
@@ -0,0 +1,131 @@
1
+ import { Schema } from 'mongoose';
2
+ export declare const userSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
3
+ name: string;
4
+ created_at: NativeDate;
5
+ login_id: string;
6
+ login_pw: string;
7
+ salt: string;
8
+ access_at: NativeDate;
9
+ feeling: string;
10
+ auth_email: boolean;
11
+ auth_naver: string;
12
+ auth_facebook: string;
13
+ auth_kakao: string;
14
+ auth_google: string;
15
+ bookmark: any[];
16
+ problems_solve_len: number;
17
+ problems_submit_len: number;
18
+ trophy_len: number;
19
+ timelog_len: number;
20
+ timelog: any[];
21
+ email?: string | null | undefined;
22
+ school?: string | null | undefined;
23
+ facebook?: string | null | undefined;
24
+ agree_terms_at?: NativeDate | null | undefined;
25
+ profile_image_key?: string | null | undefined;
26
+ profile_image_updated_at?: NativeDate | null | undefined;
27
+ is_email_public?: boolean | null | undefined;
28
+ style_config?: any;
29
+ editor_config?: any;
30
+ env_config?: any;
31
+ }, import("mongoose").Document<unknown, {}, {
32
+ name: string;
33
+ created_at: NativeDate;
34
+ login_id: string;
35
+ login_pw: string;
36
+ salt: string;
37
+ access_at: NativeDate;
38
+ feeling: string;
39
+ auth_email: boolean;
40
+ auth_naver: string;
41
+ auth_facebook: string;
42
+ auth_kakao: string;
43
+ auth_google: string;
44
+ bookmark: any[];
45
+ problems_solve_len: number;
46
+ problems_submit_len: number;
47
+ trophy_len: number;
48
+ timelog_len: number;
49
+ timelog: any[];
50
+ email?: string | null | undefined;
51
+ school?: string | null | undefined;
52
+ facebook?: string | null | undefined;
53
+ agree_terms_at?: NativeDate | null | undefined;
54
+ profile_image_key?: string | null | undefined;
55
+ profile_image_updated_at?: NativeDate | null | undefined;
56
+ is_email_public?: boolean | null | undefined;
57
+ style_config?: any;
58
+ editor_config?: any;
59
+ env_config?: any;
60
+ }, {
61
+ id: string;
62
+ }, import("mongoose").DefaultSchemaOptions> & Omit<{
63
+ name: string;
64
+ created_at: NativeDate;
65
+ login_id: string;
66
+ login_pw: string;
67
+ salt: string;
68
+ access_at: NativeDate;
69
+ feeling: string;
70
+ auth_email: boolean;
71
+ auth_naver: string;
72
+ auth_facebook: string;
73
+ auth_kakao: string;
74
+ auth_google: string;
75
+ bookmark: any[];
76
+ problems_solve_len: number;
77
+ problems_submit_len: number;
78
+ trophy_len: number;
79
+ timelog_len: number;
80
+ timelog: any[];
81
+ email?: string | null | undefined;
82
+ school?: string | null | undefined;
83
+ facebook?: string | null | undefined;
84
+ agree_terms_at?: NativeDate | null | undefined;
85
+ profile_image_key?: string | null | undefined;
86
+ profile_image_updated_at?: NativeDate | null | undefined;
87
+ is_email_public?: boolean | null | undefined;
88
+ style_config?: any;
89
+ editor_config?: any;
90
+ env_config?: any;
91
+ } & {
92
+ _id: import("mongoose").Types.ObjectId;
93
+ } & {
94
+ __v: number;
95
+ }, "id"> & import("mongoose").HydratedDocumentOverrides<{
96
+ id: string;
97
+ }>, unknown, {
98
+ name: string;
99
+ created_at: NativeDate;
100
+ login_id: string;
101
+ login_pw: string;
102
+ salt: string;
103
+ access_at: NativeDate;
104
+ feeling: string;
105
+ auth_email: boolean;
106
+ auth_naver: string;
107
+ auth_facebook: string;
108
+ auth_kakao: string;
109
+ auth_google: string;
110
+ bookmark: any[];
111
+ problems_solve_len: number;
112
+ problems_submit_len: number;
113
+ trophy_len: number;
114
+ timelog_len: number;
115
+ timelog: any[];
116
+ email?: string | null | undefined;
117
+ school?: string | null | undefined;
118
+ facebook?: string | null | undefined;
119
+ agree_terms_at?: NativeDate | null | undefined;
120
+ profile_image_key?: string | null | undefined;
121
+ profile_image_updated_at?: NativeDate | null | undefined;
122
+ is_email_public?: boolean | null | undefined;
123
+ style_config?: any;
124
+ editor_config?: any;
125
+ env_config?: any;
126
+ } & {
127
+ _id: import("mongoose").Types.ObjectId;
128
+ } & {
129
+ __v: number;
130
+ }>;
131
+ //# sourceMappingURL=user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-main/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BrB,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.userSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ exports.userSchema = new mongoose_1.Schema({
6
+ login_id: { type: String, required: true, unique: true },
7
+ login_pw: { type: String, required: true },
8
+ salt: { type: String, required: true },
9
+ name: { type: String, required: true },
10
+ email: String,
11
+ school: String,
12
+ facebook: String,
13
+ access_at: { type: Date, required: true },
14
+ created_at: { type: Date, default: Date.now() },
15
+ agree_terms_at: { type: Date },
16
+ feeling: { type: String, default: '' },
17
+ auth_email: { type: Boolean, required: true, default: true },
18
+ auth_naver: { type: String, default: '' },
19
+ auth_facebook: { type: String, default: '' },
20
+ auth_kakao: { type: String, default: '' },
21
+ auth_google: { type: String, default: '' },
22
+ profile_image_key: { type: String, required: false },
23
+ profile_image_updated_at: { type: Date, required: false },
24
+ is_email_public: { type: Boolean, required: false, default: false },
25
+ bookmark: { type: Array, default: [] },
26
+ style_config: { type: Object, required: false },
27
+ editor_config: { type: Object, required: false },
28
+ env_config: { type: Object, required: false },
29
+ problems_solve_len: { type: Number, required: true, default: 0 },
30
+ problems_submit_len: { type: Number, required: true, default: 0 },
31
+ trophy_len: { type: Number, required: true, default: 0 },
32
+ timelog_len: { type: Number, required: true, default: 0 },
33
+ timelog: { type: Array, required: true, default: [] },
34
+ });
35
+ //# sourceMappingURL=user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-main/user.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAErB,QAAA,UAAU,GAAG,IAAI,iBAAM,CAAC;IACnC,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACxD,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,KAAK,EAAE,MAAM;IACb,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,MAAM;IAChB,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IACzC,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,GAAG,EAAE,EAAE;IAC/C,cAAc,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;IAC9B,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACtC,UAAU,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,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IAAI,EAAE,OAAO,EAAE,CAAC,EAAE;IAEzD,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;CACtD,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { scoringRequestSchema } from './scoringRequest';
2
+ export { scoringServerSchema } from './scoringServer';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-sq/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.scoringServerSchema = exports.scoringRequestSchema = void 0;
4
+ var scoringRequest_1 = require("./scoringRequest");
5
+ Object.defineProperty(exports, "scoringRequestSchema", { enumerable: true, get: function () { return scoringRequest_1.scoringRequestSchema; } });
6
+ var scoringServer_1 = require("./scoringServer");
7
+ Object.defineProperty(exports, "scoringServerSchema", { enumerable: true, get: function () { return scoringServer_1.scoringServerSchema; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-sq/index.ts"],"names":[],"mappings":";;;AAAA,mDAAwD;AAA/C,sHAAA,oBAAoB,OAAA;AAC7B,iDAAsD;AAA7C,oHAAA,mBAAmB,OAAA"}
@@ -0,0 +1,291 @@
1
+ import { Schema } from 'mongoose';
2
+ export declare const scoringRequestSchema: Schema<any, import("mongoose").Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
3
+ created_at: NativeDate;
4
+ updated_at: NativeDate;
5
+ status: "pending" | "processing" | "processed" | "completed";
6
+ histories: import("mongoose").Types.DocumentArray<{
7
+ created_at: NativeDate;
8
+ status: "pending" | "processing" | "processed" | "completed";
9
+ serverName: string;
10
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
11
+ created_at: NativeDate;
12
+ status: "pending" | "processing" | "processed" | "completed";
13
+ serverName: string;
14
+ }, {}, {}> & {
15
+ created_at: NativeDate;
16
+ status: "pending" | "processing" | "processed" | "completed";
17
+ serverName: string;
18
+ }>;
19
+ priority: number;
20
+ submit?: {
21
+ source: string;
22
+ compile: string;
23
+ problem_id: string;
24
+ submit_id: number;
25
+ submit_oid: import("mongoose").Types.ObjectId;
26
+ result?: {
27
+ result: string;
28
+ score: number;
29
+ testcases: import("mongoose").Types.DocumentArray<{
30
+ result: string;
31
+ inputPath?: string | null | undefined;
32
+ inputVersion?: string | null | undefined;
33
+ outputPath?: string | null | undefined;
34
+ outputVersion?: string | null | undefined;
35
+ time?: string | null | undefined;
36
+ memory?: string | null | undefined;
37
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
38
+ result: string;
39
+ inputPath?: string | null | undefined;
40
+ inputVersion?: string | null | undefined;
41
+ outputPath?: string | null | undefined;
42
+ outputVersion?: string | null | undefined;
43
+ time?: string | null | undefined;
44
+ memory?: string | null | undefined;
45
+ }, {}, {}> & {
46
+ result: string;
47
+ inputPath?: string | null | undefined;
48
+ inputVersion?: string | null | undefined;
49
+ outputPath?: string | null | undefined;
50
+ outputVersion?: string | null | undefined;
51
+ time?: string | null | undefined;
52
+ memory?: string | null | undefined;
53
+ }>;
54
+ message?: string | null | undefined;
55
+ } | null | undefined;
56
+ } | null | undefined;
57
+ run?: {
58
+ source: string;
59
+ compile: string;
60
+ time: number;
61
+ memory: number;
62
+ input: string;
63
+ run_id: import("mongoose").Types.ObjectId;
64
+ result?: {
65
+ error: string;
66
+ output: string;
67
+ time?: string | null | undefined;
68
+ memory?: string | null | undefined;
69
+ } | null | undefined;
70
+ } | null | undefined;
71
+ }, import("mongoose").Document<unknown, {}, {
72
+ created_at: NativeDate;
73
+ updated_at: NativeDate;
74
+ status: "pending" | "processing" | "processed" | "completed";
75
+ histories: import("mongoose").Types.DocumentArray<{
76
+ created_at: NativeDate;
77
+ status: "pending" | "processing" | "processed" | "completed";
78
+ serverName: string;
79
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
80
+ created_at: NativeDate;
81
+ status: "pending" | "processing" | "processed" | "completed";
82
+ serverName: string;
83
+ }, {}, {}> & {
84
+ created_at: NativeDate;
85
+ status: "pending" | "processing" | "processed" | "completed";
86
+ serverName: string;
87
+ }>;
88
+ priority: number;
89
+ submit?: {
90
+ source: string;
91
+ compile: string;
92
+ problem_id: string;
93
+ submit_id: number;
94
+ submit_oid: import("mongoose").Types.ObjectId;
95
+ result?: {
96
+ result: string;
97
+ score: number;
98
+ testcases: import("mongoose").Types.DocumentArray<{
99
+ result: string;
100
+ inputPath?: string | null | undefined;
101
+ inputVersion?: string | null | undefined;
102
+ outputPath?: string | null | undefined;
103
+ outputVersion?: string | null | undefined;
104
+ time?: string | null | undefined;
105
+ memory?: string | null | undefined;
106
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
107
+ result: string;
108
+ inputPath?: string | null | undefined;
109
+ inputVersion?: string | null | undefined;
110
+ outputPath?: string | null | undefined;
111
+ outputVersion?: string | null | undefined;
112
+ time?: string | null | undefined;
113
+ memory?: string | null | undefined;
114
+ }, {}, {}> & {
115
+ result: string;
116
+ inputPath?: string | null | undefined;
117
+ inputVersion?: string | null | undefined;
118
+ outputPath?: string | null | undefined;
119
+ outputVersion?: string | null | undefined;
120
+ time?: string | null | undefined;
121
+ memory?: string | null | undefined;
122
+ }>;
123
+ message?: string | null | undefined;
124
+ } | null | undefined;
125
+ } | null | undefined;
126
+ run?: {
127
+ source: string;
128
+ compile: string;
129
+ time: number;
130
+ memory: number;
131
+ input: string;
132
+ run_id: import("mongoose").Types.ObjectId;
133
+ result?: {
134
+ error: string;
135
+ output: string;
136
+ time?: string | null | undefined;
137
+ memory?: string | null | undefined;
138
+ } | null | undefined;
139
+ } | null | undefined;
140
+ }, {
141
+ id: string;
142
+ }, import("mongoose").DefaultSchemaOptions> & Omit<{
143
+ created_at: NativeDate;
144
+ updated_at: NativeDate;
145
+ status: "pending" | "processing" | "processed" | "completed";
146
+ histories: import("mongoose").Types.DocumentArray<{
147
+ created_at: NativeDate;
148
+ status: "pending" | "processing" | "processed" | "completed";
149
+ serverName: string;
150
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
151
+ created_at: NativeDate;
152
+ status: "pending" | "processing" | "processed" | "completed";
153
+ serverName: string;
154
+ }, {}, {}> & {
155
+ created_at: NativeDate;
156
+ status: "pending" | "processing" | "processed" | "completed";
157
+ serverName: string;
158
+ }>;
159
+ priority: number;
160
+ submit?: {
161
+ source: string;
162
+ compile: string;
163
+ problem_id: string;
164
+ submit_id: number;
165
+ submit_oid: import("mongoose").Types.ObjectId;
166
+ result?: {
167
+ result: string;
168
+ score: number;
169
+ testcases: import("mongoose").Types.DocumentArray<{
170
+ result: string;
171
+ inputPath?: string | null | undefined;
172
+ inputVersion?: string | null | undefined;
173
+ outputPath?: string | null | undefined;
174
+ outputVersion?: string | null | undefined;
175
+ time?: string | null | undefined;
176
+ memory?: string | null | undefined;
177
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
178
+ result: string;
179
+ inputPath?: string | null | undefined;
180
+ inputVersion?: string | null | undefined;
181
+ outputPath?: string | null | undefined;
182
+ outputVersion?: string | null | undefined;
183
+ time?: string | null | undefined;
184
+ memory?: string | null | undefined;
185
+ }, {}, {}> & {
186
+ result: string;
187
+ inputPath?: string | null | undefined;
188
+ inputVersion?: string | null | undefined;
189
+ outputPath?: string | null | undefined;
190
+ outputVersion?: string | null | undefined;
191
+ time?: string | null | undefined;
192
+ memory?: string | null | undefined;
193
+ }>;
194
+ message?: string | null | undefined;
195
+ } | null | undefined;
196
+ } | null | undefined;
197
+ run?: {
198
+ source: string;
199
+ compile: string;
200
+ time: number;
201
+ memory: number;
202
+ input: string;
203
+ run_id: import("mongoose").Types.ObjectId;
204
+ result?: {
205
+ error: string;
206
+ output: string;
207
+ time?: string | null | undefined;
208
+ memory?: string | null | undefined;
209
+ } | null | undefined;
210
+ } | null | undefined;
211
+ } & {
212
+ _id: import("mongoose").Types.ObjectId;
213
+ } & {
214
+ __v: number;
215
+ }, "id"> & import("mongoose").HydratedDocumentOverrides<{
216
+ id: string;
217
+ }>, unknown, {
218
+ created_at: NativeDate;
219
+ updated_at: NativeDate;
220
+ status: "pending" | "processing" | "processed" | "completed";
221
+ histories: import("mongoose").Types.DocumentArray<{
222
+ created_at: NativeDate;
223
+ status: "pending" | "processing" | "processed" | "completed";
224
+ serverName: string;
225
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
226
+ created_at: NativeDate;
227
+ status: "pending" | "processing" | "processed" | "completed";
228
+ serverName: string;
229
+ }, {}, {}> & {
230
+ created_at: NativeDate;
231
+ status: "pending" | "processing" | "processed" | "completed";
232
+ serverName: string;
233
+ }>;
234
+ priority: number;
235
+ submit?: {
236
+ source: string;
237
+ compile: string;
238
+ problem_id: string;
239
+ submit_id: number;
240
+ submit_oid: import("mongoose").Types.ObjectId;
241
+ result?: {
242
+ result: string;
243
+ score: number;
244
+ testcases: import("mongoose").Types.DocumentArray<{
245
+ result: string;
246
+ inputPath?: string | null | undefined;
247
+ inputVersion?: string | null | undefined;
248
+ outputPath?: string | null | undefined;
249
+ outputVersion?: string | null | undefined;
250
+ time?: string | null | undefined;
251
+ memory?: string | null | undefined;
252
+ }, import("mongoose").Types.Subdocument<import("mongodb").ObjectId, unknown, {
253
+ result: string;
254
+ inputPath?: string | null | undefined;
255
+ inputVersion?: string | null | undefined;
256
+ outputPath?: string | null | undefined;
257
+ outputVersion?: string | null | undefined;
258
+ time?: string | null | undefined;
259
+ memory?: string | null | undefined;
260
+ }, {}, {}> & {
261
+ result: string;
262
+ inputPath?: string | null | undefined;
263
+ inputVersion?: string | null | undefined;
264
+ outputPath?: string | null | undefined;
265
+ outputVersion?: string | null | undefined;
266
+ time?: string | null | undefined;
267
+ memory?: string | null | undefined;
268
+ }>;
269
+ message?: string | null | undefined;
270
+ } | null | undefined;
271
+ } | null | undefined;
272
+ run?: {
273
+ source: string;
274
+ compile: string;
275
+ time: number;
276
+ memory: number;
277
+ input: string;
278
+ run_id: import("mongoose").Types.ObjectId;
279
+ result?: {
280
+ error: string;
281
+ output: string;
282
+ time?: string | null | undefined;
283
+ memory?: string | null | undefined;
284
+ } | null | undefined;
285
+ } | null | undefined;
286
+ } & {
287
+ _id: import("mongoose").Types.ObjectId;
288
+ } & {
289
+ __v: number;
290
+ }>;
291
+ //# sourceMappingURL=scoringRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoringRequest.d.ts","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-sq/scoringRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAqDlC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.scoringRequestSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ const oj_scoringRequest_1 = require("@euler-edu/constant/oj-scoringRequest");
6
+ const submitResultTestcaseSchema = new mongoose_1.Schema({
7
+ inputPath: { type: String, required: false },
8
+ inputVersion: { type: String, required: false },
9
+ outputPath: { type: String, required: false },
10
+ outputVersion: { type: String, required: false },
11
+ result: { type: String, required: true },
12
+ memory: { type: String, required: false },
13
+ time: { type: String, required: false },
14
+ });
15
+ const submitResultSchema = new mongoose_1.Schema({
16
+ result: { type: String, required: true },
17
+ score: { type: Number, default: 0 },
18
+ message: { type: String, required: false },
19
+ testcases: { type: [submitResultTestcaseSchema], default: [] },
20
+ });
21
+ const submitRequestSchema = new mongoose_1.Schema({
22
+ submit_id: { type: Number, required: true },
23
+ submit_oid: { type: mongoose_1.Schema.Types.ObjectId, required: true },
24
+ problem_id: { type: String, required: true },
25
+ source: { type: String, default: '' },
26
+ compile: { type: String, required: true },
27
+ result: { type: submitResultSchema, required: false },
28
+ });
29
+ const runResultSchema = new mongoose_1.Schema({
30
+ output: { type: String, default: '' },
31
+ error: { type: String, default: '' },
32
+ time: { type: String, required: false },
33
+ memory: { type: String, required: false },
34
+ });
35
+ const runRequestSchema = new mongoose_1.Schema({
36
+ run_id: { type: mongoose_1.Schema.Types.ObjectId, required: true },
37
+ time: { type: Number, required: true },
38
+ memory: { type: Number, required: true },
39
+ source: { type: String, default: '' },
40
+ compile: { type: String, required: true },
41
+ input: { type: String, default: '' },
42
+ result: { type: runResultSchema, required: false },
43
+ });
44
+ const historySchema = new mongoose_1.Schema({
45
+ status: { type: String, enum: oj_scoringRequest_1.ojScoringRequest.statuses, required: true },
46
+ serverName: { type: String, required: true },
47
+ created_at: { type: Date, required: true },
48
+ });
49
+ exports.scoringRequestSchema = new mongoose_1.Schema({
50
+ status: { type: String, enum: oj_scoringRequest_1.ojScoringRequest.statuses, required: true },
51
+ submit: { type: submitRequestSchema, required: false },
52
+ run: { type: runRequestSchema, required: false },
53
+ histories: { type: [historySchema], required: true },
54
+ priority: { type: Number, default: 0 },
55
+ created_at: { type: Date, required: true },
56
+ updated_at: { type: Date, required: true },
57
+ });
58
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("mongoose").DefaultSchemaOptions, {
3
+ type: string;
4
+ name: string;
5
+ created_at: NativeDate;
6
+ updated_at: NativeDate;
7
+ last_scoring_request_at?: NativeDate | null | undefined;
8
+ }, import("mongoose").Document<unknown, {}, {
9
+ type: string;
10
+ name: string;
11
+ created_at: NativeDate;
12
+ updated_at: NativeDate;
13
+ last_scoring_request_at?: NativeDate | null | undefined;
14
+ }, {
15
+ id: string;
16
+ }, import("mongoose").DefaultSchemaOptions> & Omit<{
17
+ type: string;
18
+ name: string;
19
+ created_at: NativeDate;
20
+ updated_at: NativeDate;
21
+ last_scoring_request_at?: NativeDate | null | undefined;
22
+ } & {
23
+ _id: import("mongoose").Types.ObjectId;
24
+ } & {
25
+ __v: number;
26
+ }, "id"> & import("mongoose").HydratedDocumentOverrides<{
27
+ id: string;
28
+ }>, unknown, {
29
+ type: string;
30
+ name: string;
31
+ created_at: NativeDate;
32
+ updated_at: NativeDate;
33
+ last_scoring_request_at?: NativeDate | null | undefined;
34
+ } & {
35
+ _id: import("mongoose").Types.ObjectId;
36
+ } & {
37
+ __v: number;
38
+ }>;
39
+ //# sourceMappingURL=scoringServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoringServer.d.ts","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-sq/scoringServer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9B,CAAC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.scoringServerSchema = void 0;
4
+ const mongoose_1 = require("mongoose");
5
+ exports.scoringServerSchema = new mongoose_1.Schema({
6
+ name: { type: String, required: true, unique: true },
7
+ type: { type: String, required: true },
8
+ last_scoring_request_at: { type: Date, required: false },
9
+ created_at: { type: Date, required: true },
10
+ updated_at: { type: Date, required: true },
11
+ });
12
+ //# sourceMappingURL=scoringServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scoringServer.js","sourceRoot":"","sources":["../../../../src/connection/mongo/oj-sq/scoringServer.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAErB,QAAA,mBAAmB,GAAG,IAAI,iBAAM,CAAC;IAC5C,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE;IACpD,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACtC,uBAAuB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE;IACxD,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;IAC1C,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE;CAC3C,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './redis.module';
2
+ export * from './redis.service';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/connection/redis/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./redis.module"), exports);
18
+ __exportStar(require("./redis.service"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/connection/redis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,kDAAgC"}
@@ -0,0 +1,5 @@
1
+ export declare class RedisOjRankModule {
2
+ }
3
+ export declare class RedisOjAuthModule {
4
+ }
5
+ //# sourceMappingURL=redis.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"redis.module.d.ts","sourceRoot":"","sources":["../../../src/connection/redis/redis.module.ts"],"names":[],"mappings":"AAIA,qBAIa,iBAAiB;CAAG;AAEjC,qBAIa,iBAAiB;CAAG"}