mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-27 11:53:23 +01:00
Don't include Server.js in Interface.js
This commit is contained in:
@@ -189,6 +189,8 @@ import type {
|
||||
ServerMessageSearchResultType,
|
||||
MessageCountBySchemaVersionType,
|
||||
BackupAttachmentDownloadProgress,
|
||||
GetMessagesBetweenOptions,
|
||||
MaybeStaleCallHistory,
|
||||
} from './Interface.js';
|
||||
import {
|
||||
AttachmentDownloadSource,
|
||||
@@ -3887,12 +3889,6 @@ function getNewestMessageForConversation(
|
||||
return row;
|
||||
}
|
||||
|
||||
export type GetMessagesBetweenOptions = Readonly<{
|
||||
after: { received_at: number; sent_at: number };
|
||||
before: { received_at: number; sent_at: number };
|
||||
includeStoryReplies: boolean;
|
||||
}>;
|
||||
|
||||
function getMessagesBetween(
|
||||
db: ReadableDB,
|
||||
conversationId: string,
|
||||
@@ -5238,10 +5234,6 @@ function markCallHistoryMissed(
|
||||
return db.transaction(() => _markCallHistoryMissed(db, callIds))();
|
||||
}
|
||||
|
||||
export type MaybeStaleCallHistory = Readonly<
|
||||
Pick<CallHistoryDetails, 'callId' | 'peerId'>
|
||||
>;
|
||||
|
||||
function getRecentStaleRingsAndMarkOlderMissed(
|
||||
db: WritableDB
|
||||
): ReadonlyArray<MaybeStaleCallHistory> {
|
||||
|
||||
Reference in New Issue
Block a user