MCPcopy
hub / github.com/gitroomhq/postiz-app / Params

Interface Params

libraries/helpers/src/utils/custom.fetch.func.ts:1–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface Params {
2 baseUrl: string;
3 beforeRequest?: (url: string, options: RequestInit) => Promise<RequestInit>;
4 afterRequest?: (
5 url: string,
6 options: RequestInit,
7 response: Response
8 ) => Promise<boolean>;
9}
10export const customFetch = (
11 params: Params,
12 auth?: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected