UNPKG

@neynar/nodejs-sdk

Version:

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

67 lines (66 loc) 1.86 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 { Cast } from './cast'; import type { UserDehydrated } from './user-dehydrated'; /** * * @export * @interface ReactionWithCastInfo */ export interface ReactionWithCastInfo { /** * * @type {string} * @memberof ReactionWithCastInfo */ 'reaction_type': ReactionWithCastInfoReactionTypeEnum; /** * * @type {UserDehydrated} * @memberof ReactionWithCastInfo */ 'app'?: UserDehydrated; /** * * @type {Cast} * @memberof ReactionWithCastInfo */ 'cast': Cast; /** * * @type {string} * @memberof ReactionWithCastInfo */ 'reaction_timestamp': string; /** * * @type {string} * @memberof ReactionWithCastInfo */ 'object': ReactionWithCastInfoObjectEnum; /** * * @type {UserDehydrated} * @memberof ReactionWithCastInfo */ 'user': UserDehydrated; } export declare const ReactionWithCastInfoReactionTypeEnum: { readonly Like: "like"; readonly Recast: "recast"; }; export type ReactionWithCastInfoReactionTypeEnum = typeof ReactionWithCastInfoReactionTypeEnum[keyof typeof ReactionWithCastInfoReactionTypeEnum]; export declare const ReactionWithCastInfoObjectEnum: { readonly Likes: "likes"; readonly Recasts: "recasts"; }; export type ReactionWithCastInfoObjectEnum = typeof ReactionWithCastInfoObjectEnum[keyof typeof ReactionWithCastInfoObjectEnum];