typesense
Version:
Javascript Library for Typesense
19 lines (18 loc) • 516 B
TypeScript
import ApiCall from "./ApiCall";
import { StopwordCreateSchema } from "./Stopwords";
export interface StopwordSchema extends StopwordCreateSchema {
id: string;
stopwords: string[];
locale?: string;
}
export interface StopwordDeleteSchema {
id: string;
}
export default class Stopword {
private stopwordId;
private apiCall;
constructor(stopwordId: string, apiCall: ApiCall);
retrieve(): Promise<StopwordSchema>;
delete(): Promise<StopwordDeleteSchema>;
private endpointPath;
}