Replace jQuery.Deferred in jsdoc as it is not recognized as an object
This commit is contained in:
parent
7e6aaab45b
commit
be7e2ddf76
10 changed files with 46 additions and 46 deletions
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue