chore(typings): Moved common typings to root dir

This commit is contained in:
Taso committed 2021-03-14 15:19:30 -04:00
1 parent 378830245d
commit f0c5e5101e
47 files changed
+41 -46

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { IAlertProps } from '../../phone/src/common/typings/alerts';
import { IAlertProps } from '../../typings/alerts';
import events from '../utils/events';
onNet(events.BANK_SEND_TRANSFERS, (transfer: any) => {
+1 -1
View File
@@ -1,5 +1,5 @@
import events from '../utils/events';
import { ICall } from '../../phone/src/common/typings/call';
import { ICall } from '../../typings/call';
import { phoneCallStartAnim, phoneCallEndAnim } from './functions';
const exp = (global as any).exports;
+1 -1
View File
@@ -4,7 +4,7 @@ import {
Message,
MessageGroup,
SetMessageRead,
} from '../../phone/src/common/typings/messages';
} from '../../typings/messages';
import { sendMessageEvent } from '../utils/messages';
/**
+2 -2
View File
@@ -1,6 +1,6 @@
import events from '../utils/events';
import { MarketplaceListing } from '../../phone/src/common/typings/marketplace';
import { IAlertProps } from '../../phone/src/common/typings/alerts';
import { MarketplaceListing } from '../../typings/marketplace';
import { IAlertProps } from '../../typings/alerts';
onNet(events.SELLOUT_SEND_LISTING, (listing: MarketplaceListing) => {
SendNuiMessage(
+1 -2
View File
@@ -1,6 +1,6 @@
import events from '../utils/events';
import { sendTwitterMessage } from '../utils/messages';
import { IAlertProps } from '../../phone/src/common/typings/alerts';
import { IAlertProps } from '../../typings/alerts';
/**
* Twitter get or create profile
@@ -124,7 +124,6 @@ onNet(events.TWITTER_RETWEET_EXISTS, (alert: IAlertProps) => {
sendTwitterMessage(events.TWITTER_RETWEET_EXISTS, alert);
});
/**
* Twitter reporting tweets
*/