Files
ohif-viewer/Packages/ohif-user-management/both/schema/reviewers.js
T

24 lines
486 B
JavaScript

import { SimpleSchema } from 'meteor/aldeed:simple-schema';
const ReviewingUserSchema = new SimpleSchema({
userId: {
type: String,
label: 'User ID'
},
userName: { // TODO: Remove this
type: String,
label: 'Name'
}
});
export const schema = new SimpleSchema({
timepointId: {
type: String,
label: 'Timepoint ID'
},
reviewers: {
type: [ ReviewingUserSchema ],
label: 'Reviewing Users'
}
});