Update better-sqlite3 and remove FTS optimization

This commit is contained in:
Fedor Indutny
2023-09-01 00:33:31 +02:00
committed by GitHub
parent 77b799c7b0
commit f3eee779a0
11 changed files with 39 additions and 141 deletions

View File

@@ -411,11 +411,6 @@ export type GetAllStoriesResultType = ReadonlyArray<
}
>;
export type FTSOptimizationStateType = Readonly<{
steps: number;
done?: boolean;
}>;
export type EditedMessageType = Readonly<{
conversationId: string;
messageId: string;
@@ -823,10 +818,6 @@ export type DataInterface = {
getMaxMessageCounter(): Promise<number | undefined>;
getStatisticsForLogging(): Promise<Record<string, string>>;
optimizeFTS: (
state?: FTSOptimizationStateType
) => Promise<FTSOptimizationStateType | undefined>;
};
export type ServerInterface = DataInterface & {