misc(nui): Renamed 'interfaces' folder to standard 'typings'

This commit is contained in:
Taso authored and Taso committed 2020-12-13 00:06:36 -05:00
1 parent a77b0d16db
commit bb5a4c7725
18 files changed
+55 -60

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
export interface IBankCredentials {
name: string;
balance: number;
}
export interface Transfer {
id: number;
targetID: number;
source: string;
type: string;
transferAmount: number;
message: string;
}
+40
View File
@@ -0,0 +1,40 @@
interface TwitterConfig {
showNotifications: boolean;
generateProfileNameFromUsers: boolean;
allowEdtiableProfileName: boolean;
allowDeleteTweets: boolean;
allowReportTweets: boolean;
characterLimit: number;
enableAvatars: boolean;
enableEmojis: boolean;
enableImages: boolean;
maxImages: number;
}
interface General {
useDashNumber: boolean;
}
interface NotificationConfig {
horizontal: 'left' | 'center' | 'right';
vertical: 'bottom' | 'top';
}
interface BankConfig {
showNotifications: boolean;
}
export interface ServerConfig {
Locale: string;
KeyTogglePhone: number;
KeyTakeCall: number;
PhoneAsItem: boolean;
SwimDestroy: boolean;
RunRate: number;
DestoryChance: number;
DestroyPhoneReCheck: number;
twitter: TwitterConfig;
bank: BankConfig;
notificationPosition: NotificationConfig;
general: General;
}
+4
View File
@@ -0,0 +1,4 @@
export interface IContactAlert {
alert: string;
setAlert: (type: string) => void;
}
+28
View File
@@ -0,0 +1,28 @@
export interface Message {
id: number;
message: string;
user_identifier: string;
phone_number: string;
display?: string;
avatar?: string;
isRead: boolean;
isMine: boolean;
updatedAt: string;
}
export interface MessageGroup {
groupId: string;
groupDisplay: string;
isGroupChat: boolean;
avatar?: string;
label?: string;
updatedAt: string;
}
export interface CreateMessageGroupResult {
error?: boolean;
phoneNumber?: string;
duplicate?: boolean;
groupId?: string;
mine?: boolean;
}
+9
View File
@@ -0,0 +1,9 @@
export interface Note {
id?: number;
title: string;
content: string;
}
export interface NoteId {
id: number;
}
+4
View File
@@ -0,0 +1,4 @@
export interface IPhoto {
image: string;
id: number;
}
+25
View File
@@ -0,0 +1,25 @@
export interface Tweet {
id: number;
profile_name?: string;
profile_id: number;
isMine: boolean;
isReported: boolean;
avatar_url?: string;
message: string;
createdAt?: string;
updatedAt?: string;
images?: string;
likes?: number;
}
export interface Profile {
id: number;
profile_name: string;
identifier: string;
avatar_url?: string;
bio?: string;
location?: string;
job?: string;
createdAt: string;
updatedAt: string;
}