Don't include Server.js in Interface.js

This commit is contained in:
Fedor Indutny
2025-10-02 07:52:51 -07:00
committed by GitHub
parent 4809351f5b
commit a6d4145c51
3 changed files with 13 additions and 15 deletions

View File

@@ -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',