From be7e2ddf76b9bf31240cbe285366e4f6688a977c Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sat, 18 Dec 2021 18:34:12 +0100 Subject: [PATCH] Replace jQuery.Deferred in jsdoc as it is not recognized as an object --- assets/js/http/account_http_client.js | 2 +- assets/js/http/admins_http_client.js | 10 +++++----- assets/js/http/appointments_http_client.js | 10 +++++----- assets/js/http/categories_http_client.js | 10 +++++----- assets/js/http/customers_http_client.js | 10 +++++----- assets/js/http/providers_http_client.js | 10 +++++----- assets/js/http/secretaries_http_client.js | 10 +++++----- assets/js/http/services_http_client.js | 10 +++++----- assets/js/http/settings_http_client.js | 10 +++++----- assets/js/http/unavailabilities_http_client.js | 10 +++++----- 10 files changed, 46 insertions(+), 46 deletions(-) diff --git a/assets/js/http/account_http_client.js b/assets/js/http/account_http_client.js index 29dab3b2..10cee5c7 100644 --- a/assets/js/http/account_http_client.js +++ b/assets/js/http/account_http_client.js @@ -15,7 +15,7 @@ App.Http.Account = (function () { * * @param {Object} account * - * @return {jQuery.Deferred} + * @return {Object} */ function save(account) { const url = App.Utils.Url.siteUrl('account/save'); diff --git a/assets/js/http/admins_http_client.js b/assets/js/http/admins_http_client.js index 6f33cba6..0daa4f48 100644 --- a/assets/js/http/admins_http_client.js +++ b/assets/js/http/admins_http_client.js @@ -15,7 +15,7 @@ App.Http.Admins = (function () { * * @param {Object} admin * - * @return {jQuery.Deferred} + * @return {Object} */ function create(admin) { const url = App.Utils.Url.siteUrl('admins/create'); @@ -33,7 +33,7 @@ App.Http.Admins = (function () { * * @param {Object} admin * - * @return {jQuery.Deferred} + * @return {Object} */ function update(admin) { const url = App.Utils.Url.siteUrl('admins/update'); @@ -51,7 +51,7 @@ App.Http.Admins = (function () { * * @param {Number} adminId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(adminId) { const url = App.Utils.Url.siteUrl('admins/destroy'); @@ -72,7 +72,7 @@ App.Http.Admins = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('admins/search'); @@ -93,7 +93,7 @@ App.Http.Admins = (function () { * * @param {Number} adminId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(adminId) { const url = App.Utils.Url.siteUrl('admins/find'); diff --git a/assets/js/http/appointments_http_client.js b/assets/js/http/appointments_http_client.js index d9bbb2f4..3c58fd4d 100644 --- a/assets/js/http/appointments_http_client.js +++ b/assets/js/http/appointments_http_client.js @@ -15,7 +15,7 @@ App.Http.Appointments = (function () { * * @param {Object} appointment * - * @return {jQuery.Deferred} + * @return {Object} */ function create(appointment) { const url = App.Utils.Url.siteUrl('appointments/create'); @@ -33,7 +33,7 @@ App.Http.Appointments = (function () { * * @param {Object} appointment * - * @return {jQuery.Deferred} + * @return {Object} */ function update(appointment) { const url = App.Utils.Url.siteUrl('appointments/update'); @@ -51,7 +51,7 @@ App.Http.Appointments = (function () { * * @param {Number} appointmentId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(appointmentId) { const url = App.Utils.Url.siteUrl('appointments/destroy'); @@ -72,7 +72,7 @@ App.Http.Appointments = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('appointments/search'); @@ -93,7 +93,7 @@ App.Http.Appointments = (function () { * * @param {Number} appointmentId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(appointmentId) { const url = App.Utils.Url.siteUrl('appointments/find'); diff --git a/assets/js/http/categories_http_client.js b/assets/js/http/categories_http_client.js index 58e6b6f7..cb1919b7 100644 --- a/assets/js/http/categories_http_client.js +++ b/assets/js/http/categories_http_client.js @@ -15,7 +15,7 @@ App.Http.Categories = (function () { * * @param {Object} category * - * @return {jQuery.Deferred} + * @return {Object} */ function create(category) { const url = App.Utils.Url.siteUrl('categories/create'); @@ -33,7 +33,7 @@ App.Http.Categories = (function () { * * @param {Object} category * - * @return {jQuery.Deferred} + * @return {Object} */ function update(category) { const url = App.Utils.Url.siteUrl('categories/update'); @@ -51,7 +51,7 @@ App.Http.Categories = (function () { * * @param {Number} categoryId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(categoryId) { const url = App.Utils.Url.siteUrl('categories/destroy'); @@ -72,7 +72,7 @@ App.Http.Categories = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('categories/search'); @@ -93,7 +93,7 @@ App.Http.Categories = (function () { * * @param {Number} categoryId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(categoryId) { const url = App.Utils.Url.siteUrl('categories/find'); diff --git a/assets/js/http/customers_http_client.js b/assets/js/http/customers_http_client.js index de406678..8d4704f2 100644 --- a/assets/js/http/customers_http_client.js +++ b/assets/js/http/customers_http_client.js @@ -15,7 +15,7 @@ App.Http.Customers = (function () { * * @param {Object} customer * - * @return {jQuery.Deferred} + * @return {Object} */ function create(customer) { const url = App.Utils.Url.siteUrl('customers/create'); @@ -33,7 +33,7 @@ App.Http.Customers = (function () { * * @param {Object} customer * - * @return {jQuery.Deferred} + * @return {Object} */ function update(customer) { const url = App.Utils.Url.siteUrl('customers/update'); @@ -51,7 +51,7 @@ App.Http.Customers = (function () { * * @param {Number} customerId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(customerId) { const url = App.Utils.Url.siteUrl('customers/destroy'); @@ -72,7 +72,7 @@ App.Http.Customers = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('customers/search'); @@ -93,7 +93,7 @@ App.Http.Customers = (function () { * * @param {Number} customerId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(customerId) { const url = App.Utils.Url.siteUrl('customers/find'); diff --git a/assets/js/http/providers_http_client.js b/assets/js/http/providers_http_client.js index 867e38ba..65602e5a 100644 --- a/assets/js/http/providers_http_client.js +++ b/assets/js/http/providers_http_client.js @@ -15,7 +15,7 @@ App.Http.Providers = (function () { * * @param {Object} provider * - * @return {jQuery.Deferred} + * @return {Object} */ function create(provider) { const url = App.Utils.Url.siteUrl('providers/create'); @@ -33,7 +33,7 @@ App.Http.Providers = (function () { * * @param {Object} provider * - * @return {jQuery.Deferred} + * @return {Object} */ function update(provider) { const url = App.Utils.Url.siteUrl('providers/update'); @@ -51,7 +51,7 @@ App.Http.Providers = (function () { * * @param {Number} providerId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(providerId) { const url = App.Utils.Url.siteUrl('providers/destroy'); @@ -72,7 +72,7 @@ App.Http.Providers = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('providers/search'); @@ -93,7 +93,7 @@ App.Http.Providers = (function () { * * @param {Number} providerId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(providerId) { const url = App.Utils.Url.siteUrl('providers/find'); diff --git a/assets/js/http/secretaries_http_client.js b/assets/js/http/secretaries_http_client.js index 69963593..71654014 100644 --- a/assets/js/http/secretaries_http_client.js +++ b/assets/js/http/secretaries_http_client.js @@ -15,7 +15,7 @@ App.Http.Secretaries = (function () { * * @param {Object} secretary * - * @return {jQuery.Deferred} + * @return {Object} */ function create(secretary) { const url = App.Utils.Url.siteUrl('secretaries/create'); @@ -33,7 +33,7 @@ App.Http.Secretaries = (function () { * * @param {Object} secretary * - * @return {jQuery.Deferred} + * @return {Object} */ function update(secretary) { const url = App.Utils.Url.siteUrl('secretaries/update'); @@ -51,7 +51,7 @@ App.Http.Secretaries = (function () { * * @param {Number} secretaryId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(secretaryId) { const url = App.Utils.Url.siteUrl('secretaries/destroy'); @@ -72,7 +72,7 @@ App.Http.Secretaries = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('secretaries/search'); @@ -93,7 +93,7 @@ App.Http.Secretaries = (function () { * * @param {Number} secretaryId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(secretaryId) { const url = App.Utils.Url.siteUrl('secretaries/find'); diff --git a/assets/js/http/services_http_client.js b/assets/js/http/services_http_client.js index 7276fdee..edc118b0 100644 --- a/assets/js/http/services_http_client.js +++ b/assets/js/http/services_http_client.js @@ -15,7 +15,7 @@ App.Http.Services = (function () { * * @param {Object} service * - * @return {jQuery.Deferred} + * @return {Object} */ function create(service) { const url = App.Utils.Url.siteUrl('services/create'); @@ -33,7 +33,7 @@ App.Http.Services = (function () { * * @param {Object} service * - * @return {jQuery.Deferred} + * @return {Object} */ function update(service) { const url = App.Utils.Url.siteUrl('services/update'); @@ -51,7 +51,7 @@ App.Http.Services = (function () { * * @param {Number} serviceId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(serviceId) { const url = App.Utils.Url.siteUrl('services/destroy'); @@ -72,7 +72,7 @@ App.Http.Services = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('services/search'); @@ -93,7 +93,7 @@ App.Http.Services = (function () { * * @param {Number} serviceId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(serviceId) { const url = App.Utils.Url.siteUrl('services/find'); diff --git a/assets/js/http/settings_http_client.js b/assets/js/http/settings_http_client.js index da7947d9..11894b90 100644 --- a/assets/js/http/settings_http_client.js +++ b/assets/js/http/settings_http_client.js @@ -15,7 +15,7 @@ App.Http.Settings = (function () { * * @param {Object} setting * - * @return {jQuery.Deferred} + * @return {Object} */ function create(setting) { const url = App.Utils.Url.siteUrl('settings/create'); @@ -33,7 +33,7 @@ App.Http.Settings = (function () { * * @param {Object} setting * - * @return {jQuery.Deferred} + * @return {Object} */ function update(setting) { const url = App.Utils.Url.siteUrl('settings/update'); @@ -51,7 +51,7 @@ App.Http.Settings = (function () { * * @param {Number} settingId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(settingId) { const url = App.Utils.Url.siteUrl('settings/destroy'); @@ -72,7 +72,7 @@ App.Http.Settings = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('settings/search'); @@ -93,7 +93,7 @@ App.Http.Settings = (function () { * * @param {Number} settingId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(settingId) { const url = App.Utils.Url.siteUrl('settings/find'); diff --git a/assets/js/http/unavailabilities_http_client.js b/assets/js/http/unavailabilities_http_client.js index af514e26..b7683d8e 100644 --- a/assets/js/http/unavailabilities_http_client.js +++ b/assets/js/http/unavailabilities_http_client.js @@ -15,7 +15,7 @@ App.Http.Unavailabilities = (function () { * * @param {Object} unavailability * - * @return {jQuery.Deferred} + * @return {Object} */ function create(unavailability) { const url = App.Utils.Url.siteUrl('unavailabilities/create'); @@ -33,7 +33,7 @@ App.Http.Unavailabilities = (function () { * * @param {Object} unavailability * - * @return {jQuery.Deferred} + * @return {Object} */ function update(unavailability) { const url = App.Utils.Url.siteUrl('unavailabilities/update'); @@ -51,7 +51,7 @@ App.Http.Unavailabilities = (function () { * * @param {Number} unavailabilityId * - * @return {jQuery.Deferred} + * @return {Object} */ function destroy(unavailabilityId) { const url = App.Utils.Url.siteUrl('unavailabilities/destroy'); @@ -72,7 +72,7 @@ App.Http.Unavailabilities = (function () { * @param {Number} offset * @param {String} orderBy * - * @return {jQuery.Deferred} + * @return {Object} */ function search(keyword, limit, offset, orderBy) { const url = App.Utils.Url.siteUrl('unavailabilities/search'); @@ -93,7 +93,7 @@ App.Http.Unavailabilities = (function () { * * @param {Number} unavailabilityId * - * @return {jQuery.Deferred} + * @return {Object} */ function find(unavailabilityId) { const url = App.Utils.Url.siteUrl('unavailabilities/find');