UNPKG

@standard-crypto/farcaster-js-hub-rest

Version:

A tool for interacting with the REST API of any Farcaster hub.

39 lines (38 loc) 1.06 kB
/** * Farcaster Hub REST API * Perform basic queries of Farcaster state via the REST API of a Farcaster hub. See the [Farcaster docs](https://www.thehubble.xyz/docs/httpapi/httpapi.html) for more details. Some client libraries: - [TypeScript](https://www.npmjs.com/package/@standard-crypto/farcaster-js-hub-rest) * * The version of the OpenAPI document: 1.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { CastId } from './cast-id.js'; import { ReactionType } from './reaction-type.js'; /** * Adds or removes a Reaction from a Cast * @export * @interface ReactionBody */ export interface ReactionBody { /** * * @type {ReactionType} * @memberof ReactionBody */ 'type': ReactionType; /** * * @type {CastId} * @memberof ReactionBody */ 'targetCastId'?: CastId; /** * * @type {string} * @memberof ReactionBody */ 'targetUrl'?: string; }