Skip to content

Instantly share code, notes, and snippets.

@RaulTsc
Created May 5, 2016 08:25
Show Gist options
  • Save RaulTsc/de5fcce1405d66594c8be6cd7a04b449 to your computer and use it in GitHub Desktop.
Save RaulTsc/de5fcce1405d66594c8be6cd7a04b449 to your computer and use it in GitHub Desktop.
users: {
id: 'guid',
email: '',
screenName,
password,
broadcasts: {
scheduled: ['guid'],
subscriptions: ['guid']
},
avatar: 's3url',
topics: ['guid'],
timezone,
timestamp: {
createdAt,
updatedAt
}
}
channels: {
id,
topics: ['guid'],
class: '',
title,
description,
timestamp: {
createdAt,
updatedAt
}
}
topics: {
id,
title
}
ratings: {
id,
broadcastId,
subscriberId,
hostId,
value,
timestamp: {
createdAt
}
}
comments: {
id,
broadcastId,
subscriberId,
comment,
timestamp: {
createdAt
}
}
broadcasts: {
id,
scheduled: {
planned,
actual
},
duration: {
planned,
actual
},
topicId,
host: {
id,
screenName
},
title,
description,
image,
sessionId,
timestamp: {
createdAt,
updatedAt,
deletedAt
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment