update devDependencies, fix lint issues
[squeep-authentication-module] / lib / template / helpers.js
index 67162f867f8ae784e215b43a829ed5c99b05fd70..8adeb206a04b47d8db34d8f90c9e795f0dc64372 100644 (file)
@@ -2,15 +2,15 @@
 
 /**
  * Populates nevLinks with (currently hardcoded) session-related links.
- * @param {Number} pagePathLevel relative to base
- * @param {Object} ctx
- * @param {String=} ctx.url redirect on logout
- * @param {Object=} ctx.session
- * @param {String=} ctx.session.authenticatedIdentifier
- * @param {String=} ctx.session.authenticatedProfile
- * @param {Object} options
- * @param {Object[]=} options.navLinks created if not present
- * @param {String=} options.pageIdentifier
+ * @param {number} pagePathLevel relative to base
+ * @param {object} ctx context
+ * @param {string=} ctx.url redirect on logout
+ * @param {object=} ctx.session session object
+ * @param {string=} ctx.session.authenticatedIdentifier active authentication identifier
+ * @param {string=} ctx.session.authenticatedProfile active indieauth profile
+ * @param {object} options options
+ * @param {object[]=} options.navLinks created if not present
+ * @param {string=} options.pageIdentifier internal reference to page template being rendered
  */
 function sessionNavLinks(pagePathLevel, ctx, options) {
   if (!options.navLinks) {