UNPKG

ts-foursquare

Version:
34 lines (25 loc) 729 B
import { NVenue } from './venue.d' export declare namespace NMiniVenue { interface IResponse { minivenues: IMiniVenue[] } type TMiniVenue = Pick<NVenue.IVenue, TMiniVenueKeys> type TMiniVenueKeys = 'id' | 'name' | 'hasPerk' type TMiniCategory = Pick<NVenue.ICategory, TMiniCategoryKeys> type TMiniCategoryKeys = 'icon' | 'id' | 'name' | 'pluralName' | 'shortName' type TMiniLocation = Pick<NVenue.ILocation, TMiniLocationKeys> type TMiniLocationKeys = | 'address' | 'city' | 'country' | 'crossStreet' | 'distance' | 'lat' | 'lng' | 'postalCode' | 'state' interface IMiniVenue extends TMiniVenue { categories: TMiniCategory[] location: TMiniLocation } }