UNPKG

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

Version:

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

48 lines (47 loc) 2.04 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 { MessageDataCastAdd } from './message-data-cast-add.js'; import { MessageDataCastRemove } from './message-data-cast-remove.js'; import { MessageDataFrameAction } from './message-data-frame-action.js'; import { MessageDataLink } from './message-data-link.js'; import { MessageDataReaction } from './message-data-reaction.js'; import { MessageDataUserDataAdd } from './message-data-user-data-add.js'; import { MessageDataUsernameProof } from './message-data-username-proof.js'; import { MessageDataVerificationAdd } from './message-data-verification-add.js'; import { MessageDataVerificationRemove } from './message-data-verification-remove.js'; /** * @type MessageAllOfData * @export */ export type MessageAllOfData = { type: 'MESSAGE_TYPE_CAST_ADD'; } & MessageDataCastAdd | { type: 'MESSAGE_TYPE_CAST_REMOVE'; } & MessageDataCastRemove | { type: 'MESSAGE_TYPE_FRAME_ACTION'; } & MessageDataFrameAction | { type: 'MESSAGE_TYPE_LINK_ADD'; } & MessageDataLink | { type: 'MESSAGE_TYPE_LINK_REMOVE'; } & MessageDataLink | { type: 'MESSAGE_TYPE_REACTION_ADD'; } & MessageDataReaction | { type: 'MESSAGE_TYPE_REACTION_REMOVE'; } & MessageDataReaction | { type: 'MESSAGE_TYPE_USERNAME_PROOF'; } & MessageDataUsernameProof | { type: 'MESSAGE_TYPE_USER_DATA_ADD'; } & MessageDataUserDataAdd | { type: 'MESSAGE_TYPE_VERIFICATION_ADD_ETH_ADDRESS'; } & MessageDataVerificationAdd | { type: 'MESSAGE_TYPE_VERIFICATION_REMOVE'; } & MessageDataVerificationRemove;