1import{Va as n,Xa as c}from"./chunk-QFL2PSEW.js";import{ja as s}from"./chunk-OOA2NBWP.js";import{i as t}from"./chunk-2W3Q6YC6.js";var o=class{constructor(e){this._apiService=e}url=`${n.APIBaseUrl}/project`;documentList(e,r){return t(this,null,function*(){return yield this._apiService.get(`${this.url}/${r}/documents`,{path:e}).then(i=>i)})}uploadDocument(e,r){return t(this,null,function*(){yield this._apiService.postFormDataRequest(`${this.url}/${r}/documents`,e).then(()=>{})})}deleteDocument(e,r,i){return t(this,null,function*(){return i==="file"?yield this._apiService.delete(`${this.url}/${r}/documents`,{path:e}):yield this._apiService.delete(`${this.url}/${r}/documents/folder`,{path:e})})}createFolder(e,r){return t(this,null,function*(){return yield this._apiService.post(`${this.url}/${r}/documents/folder`,{path:e})})}renameFolder(e,r,i){return t(this,null,function*(){return yield this._apiService.patch(`${this.url}/${i}/documents/folder/rename`,{path:e,newName:r})})}obtainFoldersWhereUserCanUpload(e){return t(this,null,function*(){return yield this._apiService.get(`${this.url}/${e}/documents/folder/allowed`).then(r=>r)})}};var a=new s("ProjectDocumentsRepository"),f={provide:a,useFactory:()=>new o(new c)};export{a,f as b};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.