MCPcopy Create free account
hub / github.com/arctic-cli/interface / buildUrl

Function buildUrl

packages/sdk/js/src/gen/client/utils.gen.ts:144–154  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

142}
143
144export const buildUrl: Client["buildUrl"] = (options) =>
145 getUrl({
146 baseUrl: options.baseUrl as string,
147 path: options.path,
148 query: options.query,
149 querySerializer:
150 typeof options.querySerializer === "function"
151 ? options.querySerializer
152 : createQuerySerializer(options.querySerializer),
153 url: options.url,
154 })
155
156export const mergeConfigs = (a: Config, b: Config): Config => {
157 const config = { ...a, ...b }

Callers 1

beforeRequestFunction · 0.90

Calls 2

getUrlFunction · 0.90
createQuerySerializerFunction · 0.70

Tested by

no test coverage detected