zek 19.0.5 → 19.0.6
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/fesm2022/zek.mjs
CHANGED
|
@@ -1820,6 +1820,9 @@ class CrudService extends BaseService {
|
|
|
1820
1820
|
restore(id) {
|
|
1821
1821
|
return this.api.patch(`api/${this.controller}/${id}/restore`).pipe(catchError(this.handleError(this.restore.name, null)));
|
|
1822
1822
|
}
|
|
1823
|
+
submit(id, model) {
|
|
1824
|
+
return this.api.patch(`api/${this.controller}/${id}/submit`, model).pipe(catchError(this.handleError(this.submit.name, null)));
|
|
1825
|
+
}
|
|
1823
1826
|
approve(id, model) {
|
|
1824
1827
|
return this.api.patch(`api/${this.controller}/${id}/approve`, model).pipe(catchError(this.handleError(this.approve.name, null)));
|
|
1825
1828
|
}
|