var u=Object.defineProperty;var c=(s,t,e)=>t in s?u(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var r=(s,t,e)=>c(s,typeof t!="symbol"?t+"":t,e);import{cB as i,cV as n}from"./index-dNe6i2rS.js";class o extends i{constructor(){super(...arguments);r(this,"getList",async(e=!1)=>this.request({url:e?"?includeValue=true":"",type:n.get}));r(this,"getInjectedPreviewLines",async e=>this.request({url:e?`runtime?projectId=${encodeURIComponent(String(e))}`:"runtime",type:n.get}));r(this,"get",async e=>this.request({url:`${encodeURIComponent(e)}`,type:n.get}));r(this,"create",async e=>this.request({url:"",data:e,type:n.post}));r(this,"update",async e=>this.request({url:`${encodeURIComponent(e.name)}`,data:{name:e.name,value:e.value,secretName:e.secretName,visibility:e.visibility,projectIdScope:e.projectIdScope},type:n.put}));r(this,"delete",async e=>this.request({url:`${encodeURIComponent(e)}`,type:n.delete}))}}const l=new o("/users/envvars");export{l as E};
