mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
14 lines
490 B
JavaScript
14 lines
490 B
JavaScript
import { Mongo } from 'meteor/mongo';
|
|
|
|
// Board Settings / Bots: one document per time a card is handed to a bot
|
|
// (models/lib/botRuns.js). Written only by the server - a dispatch, and what
|
|
// the bot's runner reports through WeKan's REST API - and published only to
|
|
// the board's admins, in the Bots view.
|
|
const BotRuns = new Mongo.Collection('bot_runs');
|
|
|
|
if (Meteor.isServer) {
|
|
BotRuns.deny({ insert: () => true, update: () => true, remove: () => true });
|
|
}
|
|
|
|
export default BotRuns;
|