Add admin reports to admin panel

* Broken cards
* Attachments
* Orphaned Attachments
This commit is contained in:
John R. Supplee 2021-04-06 12:24:08 +02:00
parent 4de830d663
commit 0e593c7d81
9 changed files with 237 additions and 7 deletions

View file

@ -1,3 +1,8 @@
export const AttachmentStorage = new Mongo.Collection(
'cfs_gridfs.attachments.files',
);
export const AvatarStorage = new Mongo.Collection('cfs_gridfs.avatars.files');
const localFSStore = process.env.ATTACHMENTS_STORE_PATH;
const storeName = 'attachments';
const defaultStoreOptions = {