Last active
August 29, 2015 14:13
-
-
Save lefnire/9acd3aafc8037dd4554e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// db.announcements collection | |
{ | |
_id: String, | |
title: String, // title of this whole set of announcements (eg, "Mobile update, neglect strike, mystery items!") | |
date: Date, | |
global: Boolean, | |
sections: [{ | |
title: String, //Eg "Mobile app 0.0.48 released" | |
body: String, // Store this as markdown, parse to HTML on display | |
img: String, // image path if there's a teaser image (like with mystery-item previews) | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment