jsdocs
This commit is contained in:
+2
-2
@@ -54,7 +54,7 @@ import DefaultValueProvider from 'helpers/model/default-value-provider';
|
||||
*
|
||||
* @typedef module:model~defs
|
||||
* @type {Object}
|
||||
* @property {Object.<string, module:model~fieldDefs>} [fields] Fields.
|
||||
* @property {Object.<string, module:model~fieldDefs & Record>} [fields] Fields.
|
||||
* @property {Object.<string, Object.<string, *>>} [links] Links.
|
||||
*/
|
||||
|
||||
@@ -62,7 +62,7 @@ import DefaultValueProvider from 'helpers/model/default-value-provider';
|
||||
* Field definitions.
|
||||
*
|
||||
* @typedef module:model~fieldDefs
|
||||
* @type {Object & Record}
|
||||
* @type {Object}
|
||||
* @property {string} type A type.
|
||||
*/
|
||||
|
||||
|
||||
@@ -645,6 +645,16 @@ class FieldManagerEditView extends View {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {string|null} type
|
||||
* @param {string} name
|
||||
* @param {boolean|null} readOnly
|
||||
* @param {Record} params
|
||||
* @param {Record} [options]
|
||||
* @param {function} [callback]
|
||||
* @return {Promise<Bull.View>}
|
||||
*/
|
||||
createFieldView(type, name, readOnly, params, options, callback) {
|
||||
const viewName = (params || {}).view || this.getFieldManager().getViewName(type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user