appproject-framework 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -511,6 +511,14 @@ declare class DataService {
|
|
|
511
511
|
* @returns Ok, Objeto atualizado
|
|
512
512
|
*/
|
|
513
513
|
putRequest<T, U>(url: string, param: U): Observable<T>;
|
|
514
|
+
/**
|
|
515
|
+
* Fazer requisição do tipo PUT para salvar um registro alterado
|
|
516
|
+
* Foi criado T e U porque tem caso que o tipo da request é diferente do tipo da response
|
|
517
|
+
* @param url Url parcial para fazer a requisição
|
|
518
|
+
* @param param Objeto do tipo FormData
|
|
519
|
+
* @returns Ok, Objeto com id gerado
|
|
520
|
+
*/
|
|
521
|
+
putFormRequest<T>(url: string, param: FormData): Observable<T>;
|
|
514
522
|
/**
|
|
515
523
|
* Fazer requisição do tipo GET para retornar uma lista de objetos
|
|
516
524
|
* @param url url parcial para fazer a requisição
|