diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 18:32:57 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:05 +0100 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /apps/workflowengine | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) | |
download | nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/src/store.js | 7 | ||||
-rw-r--r-- | apps/workflowengine/src/workflowengine.js | 10 |
2 files changed, 9 insertions, 8 deletions
diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js index 9cb314707c8..81735a43638 100644 --- a/apps/workflowengine/src/store.js +++ b/apps/workflowengine/src/store.js @@ -159,9 +159,10 @@ const store = new Vuex.Store({ /** * Return all available checker plugins for a given entity class - * @param {Object} state the store state - * @param {Object} entity the entity class - * @returns {Array} the available plugins + * + * @param {object} state the store state + * @param {object} entity the entity class + * @return {Array} the available plugins */ getChecksForEntity(state) { return (entity) => { diff --git a/apps/workflowengine/src/workflowengine.js b/apps/workflowengine/src/workflowengine.js index 00ca352d9af..a3e92c2a997 100644 --- a/apps/workflowengine/src/workflowengine.js +++ b/apps/workflowengine/src/workflowengine.js @@ -30,7 +30,7 @@ import ShippedChecks from './components/Checks' /** * A plugin for displaying a custom value field for checks * - * @typedef {Object} CheckPlugin + * @typedef {object} CheckPlugin * @property {string} class - The PHP class name of the check * @property {Comparison[]} operators - A list of possible comparison operations running on the check * @property {Vue} component - A vue component to handle the rendering of options @@ -39,12 +39,12 @@ import ShippedChecks from './components/Checks' * event once the data has changed * @property {callable} placeholder - Return a placeholder of no custom component is used * @property {callable} validate - validate a check if no custom component is used - **/ + */ /** * A plugin for extending the admin page repesentation of a operator * - * @typedef {Object} OperatorPlugin + * @typedef {object} OperatorPlugin * @property {string} id - The PHP class name of the check * @property {string} operation - Default value for the operation field * @property {string} color - Custom color code to be applied for the operator selector @@ -55,10 +55,10 @@ import ShippedChecks from './components/Checks' */ /** - * @typedef {Object} Comparison + * @typedef {object} Comparison * @property {string} operator - value the comparison should have, e.g. !less, greater * @property {string} name - Translated readable text, e.g. less or equals - **/ + */ /** * Public javascript api for apps to register custom plugins |