const e={basePath:{type:"string",__mia_configuration:{description:"The URL base path to which to send HTTP requests",label:"Base Path",attribute:!0,"schema-hint":"mia/endpoints/data-source-and-generate-data-schema"}},headers:{type:"object",__mia_configuration:{priority:"low",attribute:!1,label:"Headers",description:"Headers to add when HTTP requests are sent"},additionalProperties:{type:"string"}},credentials:{type:"string",enum:["include","omit","same-origin"],__mia_configuration:{priority:"low",attribute:!1,label:"Credentials",description:"Credentials policy to apply to HTTP requests"}},reroutingRules:{type:"array",__mia_configuration:{priority:"low",attribute:!1,label:"Rerouting Rules",description:"Rules to redirect HTTP requests"},items:{type:"object",properties:{from:{__mia_configuration:{attribute:!1,label:"Criteria",description:"  Regex (and optionally Http Method) to match incoming requests.  Request is rerouted to the destination of the first matching rule."},oneOf:[{type:"string",__mia_configuration:{attribute:!1,label:"Rule",description:"Regular expression to match incoming requests URL"}},{type:"object",properties:{url:{type:"string",__mia_configuration:{attribute:!1,label:"Url Regex",description:"Regular expression to match incoming requests URL"}},method:{type:"string",enum:["GET","POST","PATCH","PUT","DELETE"],__mia_configuration:{attribute:!1,label:"Http Method"}}}}]},to:{type:"string",__mia_configuration:{attribute:!1,label:"Destination",description:"URL pathname to which the request is redirected."}}}}}};export{e as h};
