TodoistApiOptions
type TodoistApiOptions = {
baseUrl?: string;
customFetch?: CustomFetch;
};
Configuration options for the TodoistApi constructor
Properties
baseUrl?
optional baseUrl: string;
Optional custom API base URL. If not provided, defaults to Todoist's standard API endpoint
customFetch?
optional customFetch: CustomFetch;
Optional custom fetch function for alternative HTTP clients (e.g., Obsidian's requestUrl, React Native fetch)