@yaakapp/api
Version:
Yaak is a desktop [API client](https://yaak.app/blog/yet-another-api-client) for interacting with REST, GraphQL, Server Sent Events (SSE), WebSocket, and gRPC APIs. It's built using Tauri, Rust, and ReactJS.
15 lines (14 loc) • 356 B
TypeScript
import type { Context } from './Context';
type FilterPluginResponse = {
filtered: string;
};
export type FilterPlugin = {
name: string;
description?: string;
onFilter(ctx: Context, args: {
payload: string;
filter: string;
mimeType: string;
}): Promise<FilterPluginResponse> | FilterPluginResponse;
};
export {};