Skip to content

Commit

Permalink
fix: update neynar frame validation type (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flickque authored Mar 5, 2024
1 parent 627fe39 commit ce9b7fd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/utils/neynar/frame/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export interface NeynarFrameValidationInternalModel {
text: string;
};
url: string;
state: {
serialized: string;
};
cast: {
object: string;
hash: string;
Expand Down Expand Up @@ -79,11 +82,18 @@ export interface NeynarFrameValidationInternalModel {
version: string;
title: string;
image: string;
image_aspect_ratio: string;
buttons: {
index: number;
title: string;
action_type: string;
}[];
input: {
text: string;
};
state: {
serialized: string;
};
post_url: string;
frames_url: string;
}[];
Expand Down Expand Up @@ -123,5 +133,6 @@ export interface NeynarFrameValidationInternalModel {
recasted: boolean;
};
};
timestamp: string;
};
}
}

0 comments on commit ce9b7fd

Please sign in to comment.