mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-21 22:16:24 +01:00
jsdoc type casing
This commit is contained in:
parent
387ef83b72
commit
8621fdbfa3
@ -18,7 +18,7 @@ export class QuickReplySet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {String} name - name of the QuickReplySet
|
* @param {string} name - name of the QuickReplySet
|
||||||
*/
|
*/
|
||||||
static get(name) {
|
static get(name) {
|
||||||
return this.list.find(it=>it.name == name);
|
return this.list.find(it=>it.name == name);
|
||||||
@ -27,17 +27,17 @@ export class QuickReplySet {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**@type {String}*/ name;
|
/**@type {string}*/ name;
|
||||||
/**@type {Boolean}*/ disableSend = false;
|
/**@type {boolean}*/ disableSend = false;
|
||||||
/**@type {Boolean}*/ placeBeforeInput = false;
|
/**@type {boolean}*/ placeBeforeInput = false;
|
||||||
/**@type {Boolean}*/ injectInput = false;
|
/**@type {boolean}*/ injectInput = false;
|
||||||
/**@type {QuickReply[]}*/ qrList = [];
|
/**@type {QuickReply[]}*/ qrList = [];
|
||||||
|
|
||||||
/**@type {Number}*/ idIndex = 0;
|
/**@type {number}*/ idIndex = 0;
|
||||||
|
|
||||||
/**@type {Boolean}*/ isDeleted = false;
|
/**@type {boolean}*/ isDeleted = false;
|
||||||
|
|
||||||
/**@type {Function}*/ save;
|
/**@type {function}*/ save;
|
||||||
|
|
||||||
/**@type {HTMLElement}*/ dom;
|
/**@type {HTMLElement}*/ dom;
|
||||||
/**@type {HTMLElement}*/ settingsDom;
|
/**@type {HTMLElement}*/ settingsDom;
|
||||||
@ -190,7 +190,7 @@ export class QuickReplySet {
|
|||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {QuickReply} qr
|
* @param {QuickReply} qr
|
||||||
* @param {String} [message] - optional altered message to be used
|
* @param {string} [message] - optional altered message to be used
|
||||||
* @param {SlashCommandScope} [scope] - optional scope to be used when running the command
|
* @param {SlashCommandScope} [scope] - optional scope to be used when running the command
|
||||||
*/
|
*/
|
||||||
async execute(qr, message = null, isAutoExecute = false, scope = null) {
|
async execute(qr, message = null, isAutoExecute = false, scope = null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user