@fntio/infra-client
Version:
Self-hosted AWS access portal: credential vending, target-account trust, and grant-driven private networking as CDK stacks and constructs.
2 lines (1 loc) • 495 B
JavaScript
import{F as i,I as o,Kb as s,k as a}from"./chunk-FYA6QUPZ.js";var h=class r{http=o(s);list(){return this.http.get("/api/network/shares")}directory(){return this.http.get("/api/network/shares/directory")}create(e){return this.http.post("/api/network/shares",e).pipe(a(t=>t.share))}remove(e){return this.http.delete(`/api/network/shares/${encodeURIComponent(e)}`)}static \u0275fac=function(t){return new(t||r)};static \u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})};export{h as a};