mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
misc(nui): Renamed 'interfaces' folder to standard 'typings'
This commit is contained in:
1 parent
a77b0d16db
commit
bb5a4c7725
18 files changed
+55
-60
No files matched your search
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface IContactAlert {
|
||||
alert: string;
|
||||
setAlert: (type: string) => void;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
export interface Note {
|
||||
id?: number;
|
||||
title: string;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface NoteId {
|
||||
id: number;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface IPhoto {
|
||||
image: string;
|
||||
id: number;
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user