@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
47 lines (46 loc) • 1.6 kB
TypeScript
/**
* 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.175.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 { FarcasterManifest } from './farcaster-manifest';
import type { FetchRelevantFrames200ResponseRelevantFramesInnerFrameMetadata } from './fetch-relevant-frames200-response-relevant-frames-inner-frame-metadata';
import type { FrameActionButton } from './frame-action-button';
import type { FrameV1Input } from './frame-v1-input';
import type { FrameV1State } from './frame-v1-state';
import type { UserDehydrated } from './user-dehydrated';
export interface Frame {
'buttons'?: Array<FrameActionButton>;
/**
* Launch URL of the mini app
*/
'frames_url': string;
/**
* URL of the image
*/
'image': string;
'image_aspect_ratio'?: string;
'input'?: FrameV1Input;
/**
* Post URL to take an action on this mini app
*/
'post_url'?: string;
'state'?: FrameV1State;
/**
* Button title of a mini app
*/
'title'?: string;
/**
* Version of the mini app, \'next\' for v2, \'vNext\' for v1
*/
'version': string;
'author'?: UserDehydrated;
'manifest'?: FarcasterManifest;
'metadata'?: FetchRelevantFrames200ResponseRelevantFramesInnerFrameMetadata;
}