@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
61 lines (60 loc) • 1.8 kB
TypeScript
/**
* Farcaster API V2
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 2.46.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 { CastWithInteractions } from './cast-with-interactions';
import type { UserDehydrated } from './user-dehydrated';
/**
*
* @export
* @interface ReactionWithCastInfo
*/
export interface ReactionWithCastInfo {
/**
*
* @type {string}
* @memberof ReactionWithCastInfo
*/
'reaction_type': ReactionWithCastInfoReactionTypeEnum;
/**
*
* @type {CastWithInteractions}
* @memberof ReactionWithCastInfo
*/
'cast': CastWithInteractions;
/**
*
* @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];