@@ -10,7 +10,6 @@ import angularRequest from '../templates/core/angular/request.hbs';
1010import angularSendRequest from '../templates/core/angular/sendRequest.hbs' ;
1111import templateCoreApiError from '../templates/core/ApiError.hbs' ;
1212import templateCoreApiRequestOptions from '../templates/core/ApiRequestOptions.hbs' ;
13- import templateCoreCustomConfig from '../templates/core/CustomConfig.hbs' ;
1413import templateCoreCustomApiError from '../templates/core/custom/ApiError.hbs' ;
1514import templateCoreApiResult from '../templates/core/ApiResult.hbs' ;
1615import axiosGetHeaders from '../templates/core/axios/getHeaders.hbs' ;
@@ -32,6 +31,7 @@ import functionCatchErrorCodes from '../templates/core/functions/catchErrorCodes
3231import functionGetFormData from '../templates/core/functions/getFormData.hbs' ;
3332import functionGetQueryString from '../templates/core/functions/getQueryString.hbs' ;
3433import functionGetUrl from '../templates/core/functions/getUrl.hbs' ;
34+ import functionCustomGetUrl from '../templates/core/functions/customGetUrl.hbs' ;
3535import functionIsBlob from '../templates/core/functions/isBlob.hbs' ;
3636import functionIsDefined from '../templates/core/functions/isDefined.hbs' ;
3737import functionIsFormData from '../templates/core/functions/isFormData.hbs' ;
@@ -54,6 +54,7 @@ import xhrGetResponseBody from '../templates/core/xhr/getResponseBody.hbs';
5454import xhrGetResponseHeader from '../templates/core/xhr/getResponseHeader.hbs' ;
5555import xhrRequest from '../templates/core/xhr/request.hbs' ;
5656import xhrSendRequest from '../templates/core/xhr/sendRequest.hbs' ;
57+ import templateCoreCustomConfig from '../templates/core/CustomConfig.hbs' ;
5758import customGetHeaders from '../templates/core/custom/getHeaders.hbs' ;
5859import customGetRequestBody from '../templates/core/custom/getRequestBody.hbs' ;
5960import customGetResponseBody from '../templates/core/custom/getResponseBody.hbs' ;
@@ -184,6 +185,7 @@ export const registerHandlebarTemplates = (root: {
184185 Handlebars . registerPartial ( 'functions/getFormData' , Handlebars . template ( functionGetFormData ) ) ;
185186 Handlebars . registerPartial ( 'functions/getQueryString' , Handlebars . template ( functionGetQueryString ) ) ;
186187 Handlebars . registerPartial ( 'functions/getUrl' , Handlebars . template ( functionGetUrl ) ) ;
188+ Handlebars . registerPartial ( 'functions/customGetUrl' , Handlebars . template ( functionCustomGetUrl ) ) ;
187189 Handlebars . registerPartial ( 'functions/isBlob' , Handlebars . template ( functionIsBlob ) ) ;
188190 Handlebars . registerPartial ( 'functions/isDefined' , Handlebars . template ( functionIsDefined ) ) ;
189191 Handlebars . registerPartial ( 'functions/isFormData' , Handlebars . template ( functionIsFormData ) ) ;
@@ -240,5 +242,6 @@ export const registerHandlebarTemplates = (root: {
240242 Handlebars . registerPartial ( 'custom/getResponseHeader' , Handlebars . template ( customGetResponseHeader ) ) ;
241243 Handlebars . registerPartial ( 'custom/sendRequest' , Handlebars . template ( customSendRequest ) ) ;
242244 Handlebars . registerPartial ( 'custom/request' , Handlebars . template ( customRequest ) ) ;
245+ Handlebars . registerPartial ( 'custom/getUrl' , Handlebars . template ( templateCoreCustomApiError ) ) ;
243246 return templates ;
244247} ;
0 commit comments