From 85f9b1432681c01d8b937e5fe72fff1a293bb87b Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Thu, 7 Mar 2024 16:56:37 +0100 Subject: [PATCH] Comments --- public/js/api/phrasen.js | 17 +++++++++++++++++ public/js/api/search.js | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/public/js/api/phrasen.js b/public/js/api/phrasen.js index 5f1fff3e4..896641bcf 100644 --- a/public/js/api/phrasen.js +++ b/public/js/api/phrasen.js @@ -1,3 +1,20 @@ +/** + * Copyright (C) 2024 fhcomplete.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + export default { loadCategory(category) { return this.$fhcApi.get('/api/frontend/v1/phrasen/loadModule/' + category); diff --git a/public/js/api/search.js b/public/js/api/search.js index e75ad9832..4655d8fa8 100644 --- a/public/js/api/search.js +++ b/public/js/api/search.js @@ -1,3 +1,20 @@ +/** + * Copyright (C) 2024 fhcomplete.org + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + export default { search(searchsettings) { const url = '/api/frontend/v1/searchbar/search';