From 062e5546290f6f904de4f76ed4169137eca55871 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Mon, 15 Apr 2019 12:39:42 +0200 Subject: [PATCH] Added comments to libraries --- app/imports/api/library/Libraries.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/imports/api/library/Libraries.js b/app/imports/api/library/Libraries.js index 48b37390..ad485196 100644 --- a/app/imports/api/library/Libraries.js +++ b/app/imports/api/library/Libraries.js @@ -1,6 +1,15 @@ import schema from '/imports/api/schema.js'; import SharingSchema from '/imports/api/sharing/SharingSchema.js'; +/** + * Libraries are trees of library nodes where each node represents a character + * property. + * + * Libraries can be shared, have multiple readers and writers, and can be + * subscribed to. + * + * Permissions to library nodes are controlled by the libraries they belong to. + */ let Libraries = new Mongo.Collection('libraries'); let LibrarySchema = schema({