chore(marketplace): Misc cleanups

This commit is contained in:
Taso committed 2021-06-10 17:52:14 -04:00
1 parent 865a8e44de
commit 9404a6dd26
6 files changed
+27 -62

No files matched your search

-16
View File
@@ -12,27 +12,11 @@ export interface MarketplaceListingBase {
description: string;
}
export interface MarketplaceFetchResp extends MarketplaceActionResp {
data: MarketplaceListing[];
}
export interface MarketplaceActionResp {
err: boolean;
errMsg?: string;
}
export enum MarketplaceEvents {
ADD_LISTING = 'npwd:addListing',
ADD_LISTING_SUCCESS = 'npwd:addListingSuccess',
FETCH_LISTING = 'npwd:fetchAllListings',
SEND_LISTING = 'npwd:sendAllListings',
ACTION_RESULT = 'npwd:selloutActionResult',
DELETE_LISTING = 'npwd:marketplaceDeleteListing',
DELETE_LISTING_SUCCESS = 'npwd:marketplaceDeleteListingSuccess',
REPORT_LISTING = 'npwd:reportListing',
REPORT_LISTING_SUCCESS = 'npwd:reportListingSuccess',
REPORT_LISTING_SUCESS = 'npwd:reportListingFailed',
SEND_ALERT = 'nwpd:sendListingAlert',
BROADCAST_ADD = 'npwd:sendMarketplaceBroadcastAdd',
BROADCAST_DELETE = 'npwd:sendMarketplaceBroadcastDelete',
}