mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 19:34:04 +01:00
Don't include Server.js in Interface.js
This commit is contained in:
@@ -29,10 +29,6 @@ import type {
|
||||
import type { BadgeType } from '../badges/types.js';
|
||||
import type { ReadStatus } from '../messages/MessageReadStatus.js';
|
||||
import type { RawBodyRange } from '../types/BodyRange.js';
|
||||
import type {
|
||||
GetMessagesBetweenOptions,
|
||||
MaybeStaleCallHistory,
|
||||
} from './Server.js';
|
||||
import type { MessageTimestamps } from '../state/ducks/conversations.js';
|
||||
import type {
|
||||
CallHistoryDetails,
|
||||
@@ -596,6 +592,16 @@ export type KyberPreKeyTripleType = Readonly<{
|
||||
baseKey: Uint8Array;
|
||||
}>;
|
||||
|
||||
export type GetMessagesBetweenOptions = Readonly<{
|
||||
after: { received_at: number; sent_at: number };
|
||||
before: { received_at: number; sent_at: number };
|
||||
includeStoryReplies: boolean;
|
||||
}>;
|
||||
|
||||
export type MaybeStaleCallHistory = Readonly<
|
||||
Pick<CallHistoryDetails, 'callId' | 'peerId'>
|
||||
>;
|
||||
|
||||
export const MESSAGE_ATTACHMENT_COLUMNS = [
|
||||
'messageId',
|
||||
'conversationId',
|
||||
|
||||
Reference in New Issue
Block a user