sk-front-lib 0.15.3 → 0.15.4
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/crud/sk-document.service.d.ts +1 -0
- package/esm2020/crud/sk-document.service.mjs +4 -1
- package/fesm2015/sk-front-lib-crud.mjs +3 -0
- package/fesm2015/sk-front-lib-crud.mjs.map +1 -1
- package/fesm2020/sk-front-lib-crud.mjs +3 -0
- package/fesm2020/sk-front-lib-crud.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -249,6 +249,9 @@ class SkDocumentService {
|
|
|
249
249
|
createAdminDocument(data) {
|
|
250
250
|
return this._apiService.post(`/api/admin/documents`, data).pipe(map(response => new SkDocument(response.data)));
|
|
251
251
|
}
|
|
252
|
+
copyAdminDocument(id) {
|
|
253
|
+
return this._apiService.post(`/api/admin/documents/${id}/copy`, {}).pipe(map(response => new SkDocument(response.data)));
|
|
254
|
+
}
|
|
252
255
|
writePost(data) {
|
|
253
256
|
return this._apiService.post(`/api/public/documents`, data).pipe(map(response => response.data));
|
|
254
257
|
}
|