diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-06 16:25:29 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-10-06 16:25:29 +0100 |
commit | 2996a4d05d0ea2f8446e2a2a0383979ceec748ae (patch) | |
tree | aeab360ac4c1aa14f50b638f9b799dad8df55ff8 /src/models/Log.ts | |
parent | 115210bfd9a5ae7bb8b516ce0d2cf3d9042dead7 (diff) |
Run Prettier on all files
Diffstat (limited to 'src/models/Log.ts')
-rwxr-xr-x | src/models/Log.ts | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/models/Log.ts b/src/models/Log.ts index 8f905fd..24991d4 100755 --- a/src/models/Log.ts +++ b/src/models/Log.ts @@ -1,33 +1,33 @@ import mongoose from "mongoose"; export interface ILog extends mongoose.Document { - status: string; - process: string; - message: string; - timestamp: Date; + status: string; + process: string; + message: string; + timestamp: Date; } const LogSchema = new mongoose.Schema({ - status: { - type: String, - trim: true, - required: true, - }, - process: { - type: String, - trim: true, - required: true, - }, - message: { - type: String, - trim: true, - required: true, - }, - timestamp: { - type: Date, - trim: true, - required: true, - }, + status: { + type: String, + trim: true, + required: true, + }, + process: { + type: String, + trim: true, + required: true, + }, + message: { + type: String, + trim: true, + required: true, + }, + timestamp: { + type: Date, + trim: true, + required: true, + }, }); export default mongoose.model<ILog>("Log", LogSchema); |