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

+1 -23
View File
@@ -1,36 +1,14 @@
import { pool } from "./db";
import { ESX, getSource } from "./server";
import { Tweet, Profile } from '../../phone/src/common/interfaces/twitter';
import events from "../utils/events";
import config from "../utils/config";
interface Profile {
id: number;
profile_name: string;
identifier: string;
avatar_url?: string;
bio?: string;
location?: string;
job?: string;
createdAt: string;
updatedAt: string;
}
interface ProfileName {
profile_name: string;
}
interface Tweet {
id: number;
profile_id?: number;
profile_name?: string;
avatar_url?: string;
message: string;
createdAt?: string;
updatedAt?: string;
images?: string;
likes?: number;
}
/**
* Retrieve the latest 100 tweets
* @param profileId - twitter profile id of the player