mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Migrate messages, conversations, conversation_view, background to TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
This commit is contained in:
committed by
Josh Perez
parent
6e7930f7a9
commit
b5df9b4067
@@ -15,8 +15,10 @@ interface Contact {
|
||||
isMe?: boolean;
|
||||
}
|
||||
|
||||
export type ChangeType = 'add' | 'remove' | 'name' | 'avatar' | 'general';
|
||||
|
||||
interface Change {
|
||||
type: 'add' | 'remove' | 'name' | 'avatar' | 'general';
|
||||
type: ChangeType;
|
||||
newName?: string;
|
||||
contacts?: Array<Contact>;
|
||||
}
|
||||
|
||||
@@ -5,8 +5,14 @@ import { ContactName } from './ContactName';
|
||||
import { Intl } from '../Intl';
|
||||
import { LocalizerType } from '../../types/Util';
|
||||
|
||||
export type TimerNotificationType =
|
||||
| 'fromOther'
|
||||
| 'fromMe'
|
||||
| 'fromSync'
|
||||
| 'fromMember';
|
||||
|
||||
export type PropsData = {
|
||||
type: 'fromOther' | 'fromMe' | 'fromSync' | 'fromMember';
|
||||
type: TimerNotificationType;
|
||||
phoneNumber?: string;
|
||||
profileName?: string;
|
||||
title: string;
|
||||
|
||||
Reference in New Issue
Block a user