UNPKG

@neynar/nodejs-sdk

Version:

SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)

72 lines (71 loc) 2.41 kB
/** * Neynar API * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details. * * The version of the OpenAPI document: 3.115.0 * Contact: team@neynar.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { UserDehydrated } from './user-dehydrated'; /** * * @export * @interface TrendingTopic */ export interface TrendingTopic { /** * The display name of the topic * @type {string} * @memberof TrendingTopic */ 'name': string; /** * A URL-friendly unique identifier for the topic * @type {string} * @memberof TrendingTopic */ 'slug': string; /** * The top-level category the topic belongs to * @type {string} * @memberof TrendingTopic */ 'top_level_topic': TrendingTopicTopLevelTopicEnum; /** * Short summary of the topic if available * @type {string} * @memberof TrendingTopic */ 'summary': string | null; /** * Up to five recent Farcaster users who posted about the topic * @type {Array<UserDehydrated>} * @memberof TrendingTopic */ 'authors': Array<UserDehydrated>; } export declare const TrendingTopicTopLevelTopicEnum: { readonly ArtsCulture: "arts_culture"; readonly BusinessEntrepreneurs: "business_entrepreneurs"; readonly CelebrityPopCulture: "celebrity_pop_culture"; readonly DiariesDailyLife: "diaries_daily_life"; readonly Family: "family"; readonly FashionStyle: "fashion_style"; readonly FilmTvVideo: "film_tv_video"; readonly FitnessHealth: "fitness_health"; readonly FoodDining: "food_dining"; readonly Gaming: "gaming"; readonly LearningEducational: "learning_educational"; readonly Music: "music"; readonly NewsSocialConcern: "news_social_concern"; readonly OtherHobbies: "other_hobbies"; readonly Relationships: "relationships"; readonly ScienceTechnology: "science_technology"; readonly Sports: "sports"; readonly TravelAdventure: "travel_adventure"; readonly YouthStudentLife: "youth_student_life"; }; export type TrendingTopicTopLevelTopicEnum = typeof TrendingTopicTopLevelTopicEnum[keyof typeof TrendingTopicTopLevelTopicEnum];