REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 284 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/@adminjs/express/examples/mongoose/article-model.ts
Text
Base64
import mongoose from "mongoose"; const { Schema } = mongoose; const ArticleSchema = new Schema({ title: String, content: String, author: String, createdAt: Date, published: Boolean, }); const Article = mongoose.model("Article", ArticleSchema); module.exports = Article;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
admin-model.ts
216 B
lrw-r--r--
2026-02-28 00:28:38
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
article-model.ts
284 B
lrw-r--r--
2026-02-28 00:28:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).