Merge branch 'master' of github.com:Re-Ignited-Development/new-phone-who-dis into feature/twitter-delete

This commit is contained in:
erik-sn committed 2020-10-28 16:44:44 -04:00
commit e56e208b17
9 files changed
+28 -88

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
export interface Tweet {
id: number;
profile_name?: string;
avatar_url?: string;
message: string;
createdAt?: string;
updatedAt?: string;
images?: string;
likes?: number;
}
@@ -1,9 +1,9 @@
interface TwitterConfig {
showNotifications: boolean;
generateProfileNameFromUsers: boolean;
characterLimit: number;
allowEdtiableProfileName: boolean;
allowDeleteTweets: boolean;
characterLimit: number;
enableAvatars: boolean;
enableEmojis: boolean;
enableImages: boolean;
+23
View File
@@ -0,0 +1,23 @@
export interface Tweet {
id: number;
profile_name?: string;
profile_id: number;
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;
}
-21
View File
@@ -1,21 +0,0 @@
interface TwitterConfig {
generateProfileNameFromUsers: boolean;
characterLimit: number;
allowEdtiableProfileName: boolean;
enableAvatars: boolean;
enableEmojis: boolean;
enableImages: boolean;
maxImages: number;
}
export interface ServerConfig {
Locale: string;
KeyTogglePhone: number;
KeyTakeCall: number;
PhoneAsItem: boolean;
SwimDestroy: boolean;
RunRate: number;
DestoryChance: number;
DestroyPhoneReCheck: number;
twitter: TwitterConfig;
}
+1 -1
View File
@@ -1,6 +1,6 @@
import { useRecoilValue } from "recoil";
import { phoneState } from "./state";
import { ServerConfig } from "../../interfaces/serverConfig";
import { ServerConfig } from "../../../common/interfaces/config";
interface IUsePhone {
visibility: boolean;