mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
tweak(marketplace): Tweak marketplace to match current fetching std
This commit is contained in:
1 parent
10639260e0
commit
5e225ca736
23 files changed
+148
-136
No files matched your search
+6
-11
@@ -33,7 +33,12 @@ export enum MarketplaceEvents {
|
||||
REPORT_LISTING_SUCCESS = 'npwd:reportListingSuccess',
|
||||
REPORT_LISTING_SUCESS = 'npwd:reportListingFailed',
|
||||
SEND_ALERT = 'nwpd:sendListingAlert',
|
||||
BROADCAST_EVENT = 'npwd:sendMarketplaceBroadcast',
|
||||
BROADCAST_ADD = 'npwd:sendMarketplaceBroadcastAdd',
|
||||
BROADCAST_DELETE = 'npwd:sendMarketplaceBroadcastDelete',
|
||||
}
|
||||
|
||||
export interface MarketplaceBroadcastAddDTO {
|
||||
listing: MarketplaceListing;
|
||||
}
|
||||
|
||||
export interface MarketplaceDeleteDTO {
|
||||
@@ -43,13 +48,3 @@ export interface MarketplaceDeleteDTO {
|
||||
export interface MarketplaceReportDTO {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export type MarketPlaceBroadcastData =
|
||||
| {
|
||||
type: 'ADD';
|
||||
listing: MarketplaceListing;
|
||||
}
|
||||
| {
|
||||
type: 'DELETE';
|
||||
listing: MarketplaceDeleteDTO;
|
||||
};
|
||||
Reference in new issue
Block a user