bigbluebutton-strapi
Version:
Integrate online classes into Strapi CMS via BigBlueButton open-source video conferencing. This free plugin also provides API end-points to easily setup start and join buttons for web conferencing into any frontend app.
55 lines (54 loc) • 1.05 kB
JavaScript
'use strict';
module.exports = {
info: {
tableName: 'class',
singularName: 'class', // kebab-case mandatory
pluralName: 'classes', // kebab-case mandatory
displayName: 'Class',
description: 'Class',
kind: 'collectionType',
},
options: {
draftAndPublish: false,
},
pluginOptions: {
'content-manager': {
visible: false,
},
'content-type-builder': {
visible: false,
},
},
attributes: {
className: {
type: 'string',
min: 1,
configurable: false,
},
meetingId: {
type: 'string',
min: 1,
configurable: false,
},
moderatorAccessCode: {
type: 'string',
min: 1,
configurable: false,
},
viewerAccessCode: {
type: 'string',
min: 1,
configurable: false,
},
bbbSettings: {
type: 'json',
configurable: false,
},
sessions: {
type: 'relation',
relation: 'oneToMany',
target: 'plugin::bigbluebutton.session',
mappedBy: 'class',
},
},
};