mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
chore(marketplace): Misc cleanups
This commit is contained in:
1 parent
865a8e44de
commit
9404a6dd26
6 files changed
+27
-62
No files matched your search
@@ -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',
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user