GUACAMOLE-5: Merge sharing connection, sharing profile parameter addition.

This commit is contained in:
James Muehlner
2016-08-10 16:49:57 -07:00
12 changed files with 194 additions and 33 deletions

View File

@@ -44,13 +44,23 @@ angular.module('rest').factory('Protocol', [function defineProtocol() {
this.name = template.name;
/**
* An array of forms containing all known parameters for this protocol,
* their types, and other information.
* An array of forms describing all known parameters for a connection
* using this protocol, including their types and other information.
*
* @type Form[]
* @default []
*/
this.forms = template.forms || [];
this.connectionForms = template.connectionForms || [];
/**
* An array of forms describing all known parameters relevant to a
* sharing profile whose primary connection uses this protocol,
* including their types, and other information.
*
* @type Form[]
* @default []
*/
this.sharingProfileForms = template.sharingProfileForms || [];
};