diff options
author | Louis <6653109+artonge@users.noreply.github.com> | 2022-01-12 15:48:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 15:48:36 +0100 |
commit | 2e1491771e47eb02d297215eba6e6ce0019fc9c1 (patch) | |
tree | f327c9ae125cbddd86a1da588b3562d08b3bbe65 /apps/workflowengine | |
parent | db9fbc93072049b8816a683ca015ba53976db03a (diff) | |
parent | bfdfafde79a17b1683467c800cf2a63ba14fb1a0 (diff) | |
download | nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.tar.gz nextcloud-server-2e1491771e47eb02d297215eba6e6ce0019fc9c1.zip |
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
Diffstat (limited to 'apps/workflowengine')
10 files changed, 15 insertions, 16 deletions
diff --git a/apps/workflowengine/src/components/Checks/MultiselectTag/api.js b/apps/workflowengine/src/components/Checks/MultiselectTag/api.js index d3af76db329..be32917bca7 100644 --- a/apps/workflowengine/src/components/Checks/MultiselectTag/api.js +++ b/apps/workflowengine/src/components/Checks/MultiselectTag/api.js @@ -6,7 +6,7 @@ * @author Julius Härtl <jus@bitgrid.net> * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/components/Checks/MultiselectTag/index.js b/apps/workflowengine/src/components/Checks/MultiselectTag/index.js index 6420b49859e..a7c7e5e87e7 100644 --- a/apps/workflowengine/src/components/Checks/MultiselectTag/index.js +++ b/apps/workflowengine/src/components/Checks/MultiselectTag/index.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/components/Checks/file.js b/apps/workflowengine/src/components/Checks/file.js index 84c7ab29738..b244199c2cc 100644 --- a/apps/workflowengine/src/components/Checks/file.js +++ b/apps/workflowengine/src/components/Checks/file.js @@ -4,7 +4,7 @@ * @author Arthur Schiwon <blizzz@arthur-schiwon.de> * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/components/Checks/index.js b/apps/workflowengine/src/components/Checks/index.js index 6130f9af806..11db7fafa9c 100644 --- a/apps/workflowengine/src/components/Checks/index.js +++ b/apps/workflowengine/src/components/Checks/index.js @@ -3,7 +3,7 @@ * * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/components/Checks/request.js b/apps/workflowengine/src/components/Checks/request.js index 392407be41a..c5ed0ece439 100644 --- a/apps/workflowengine/src/components/Checks/request.js +++ b/apps/workflowengine/src/components/Checks/request.js @@ -3,7 +3,7 @@ * * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/helpers/api.js b/apps/workflowengine/src/helpers/api.js index 6b28bfb6fb3..9cad63f7d6b 100644 --- a/apps/workflowengine/src/helpers/api.js +++ b/apps/workflowengine/src/helpers/api.js @@ -5,7 +5,7 @@ * @author Julius Härtl <jus@bitgrid.net> * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/helpers/validators.js b/apps/workflowengine/src/helpers/validators.js index 9c6450731d3..b177da67889 100644 --- a/apps/workflowengine/src/helpers/validators.js +++ b/apps/workflowengine/src/helpers/validators.js @@ -3,7 +3,7 @@ * * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/mixins/valueMixin.js b/apps/workflowengine/src/mixins/valueMixin.js index 0e9690ecad2..39b9f9c3c81 100644 --- a/apps/workflowengine/src/mixins/valueMixin.js +++ b/apps/workflowengine/src/mixins/valueMixin.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js index 81735a43638..00701e9e14c 100644 --- a/apps/workflowengine/src/store.js +++ b/apps/workflowengine/src/store.js @@ -7,7 +7,7 @@ * @author Julius Härtl <jus@bitgrid.net> * @author Roeland Jago Douma <roeland@famdouma.nl> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -25,7 +25,7 @@ */ import Vue from 'vue' -import Vuex from 'vuex' +import Vuex, { Store } from 'vuex' import axios from '@nextcloud/axios' import { getApiUrl } from './helpers/api' import confirmPassword from '@nextcloud/password-confirmation' @@ -33,7 +33,7 @@ import { loadState } from '@nextcloud/initial-state' Vue.use(Vuex) -const store = new Vuex.Store({ +const store = new Store({ state: { rules: [], scope: loadState('workflowengine', 'scope'), @@ -161,8 +161,7 @@ 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 - * @return {Array} the available plugins + * @return {Function} the available plugins */ getChecksForEntity(state) { return (entity) => { diff --git a/apps/workflowengine/src/workflowengine.js b/apps/workflowengine/src/workflowengine.js index a3e92c2a997..0959ca86b25 100644 --- a/apps/workflowengine/src/workflowengine.js +++ b/apps/workflowengine/src/workflowengine.js @@ -4,7 +4,7 @@ * @author John Molakvoæ <skjnldsv@protonmail.com> * @author Julius Härtl <jus@bitgrid.net> * - * @license GNU AGPL version 3 or any later version + * @license AGPL-3.0-or-later * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -37,8 +37,8 @@ import ShippedChecks from './components/Checks' * The component should handle the v-model directive properly, * so it needs a value property to receive data and emit an input * 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 + * @property {Function} placeholder - Return a placeholder of no custom component is used + * @property {Function} validate - validate a check if no custom component is used */ /** |