@qite/tide-client
Version:
Frontend client for Tide
30 lines (29 loc) • 648 B
TypeScript
import { TideClientConfig } from "../types";
/**
* api/web/file/feed
* fetch a xml from blob feed.
* @param config
* @param slug
* @param signal
* @returns OK if succeeded.
*/
export declare const feedXml: (
config: TideClientConfig,
request: string,
signal?: AbortSignal | undefined
) => Promise<Response>;
/**
* api/web/file/feed
* fetch a xml from blob feed in subfolder.
* @param config
* @param slug
* @param folder
* @param signal
* @returns OK if succeeded.
*/
export declare const feedXmlFolder: (
config: TideClientConfig,
slug: string,
folder: string,
signal?: AbortSignal | undefined
) => Promise<Response>;