Skip to content

Instantly share code, notes, and snippets.

@amosuro
amosuro / 1. BriefTemplate.js
Last active April 15, 2019 05:54
Brief Templates Model Proposal
// This will be the BriefTemplate model which all Briefs will need to use. A BriefTemplate will always reference a 'type' which will be
// how we identify what further fields to use for that particular Brief.
{
type: {
type: String,
enum: ['WEBSITE', 'ANDROID_APP'],
default: 'WEBSITE'
},
status: {