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

Function buildUrl

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

Source from the content-addressed store, hash-verified

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

Callers 1

beforeRequestFunction · 0.90

Calls 2

getUrlFunction · 0.90
createQuerySerializerFunction · 0.70

Tested by

no test coverage detected