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
type Comment { | |
_id: String! | |
# The comment's content. | |
content: String! | |
# The comment timestamp. This field is indexed to enable sorted pagination. | |
createdAt: String! | |
} | |
type Mutation { | |
# Comment on an event. |
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
/** @jsx React.DOM */ | |
var AudioPlayer = React.createClass({ | |
propTypes: { | |
source: React.PropTypes.string.isRequired, | |
isPlaying: React.PropTypes.bool.isRequired, | |
defaultTime: React.PropTypes.number, | |
onProgress: React.PropTypes.func.isRequired, | |
onTimeUpdate: React.PropTypes.func.isRequired, | |
onEnd: React.PropTypes.func.isRequired |