|
@@ -9,6 +9,8 @@ const permittedChannelsSchema = new mongoose.Schema({
|
|
|
const schema = new mongoose.Schema({
|
|
const schema = new mongoose.Schema({
|
|
|
tokenGtoP: { type: String, required: true, unique: true },
|
|
tokenGtoP: { type: String, required: true, unique: true },
|
|
|
tokenPtoG: { type: String, required: true, unique: true },
|
|
tokenPtoG: { type: String, required: true, unique: true },
|
|
|
|
|
+ supportedCommandsForBroadcastUse: { type: [String], default: [] },
|
|
|
|
|
+ supportedCommandsForSingleUse: { type: [String], default: [] },
|
|
|
permittedChannels: permittedChannelsSchema,
|
|
permittedChannels: permittedChannelsSchema,
|
|
|
});
|
|
});
|
|
|
|
|
|