mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
25 lines
456 B
TypeScript
25 lines
456 B
TypeScript
import { ToolResponse } from '../types'
|
|
|
|
export interface RedditPost {
|
|
id: string
|
|
title: string
|
|
author: string
|
|
url: string
|
|
permalink: string
|
|
created_utc: number
|
|
score: number
|
|
num_comments: number
|
|
selftext?: string
|
|
thumbnail?: string
|
|
is_self: boolean
|
|
subreddit: string
|
|
subreddit_name_prefixed: string
|
|
}
|
|
|
|
export interface RedditHotPostsResponse extends ToolResponse {
|
|
output: {
|
|
subreddit: string
|
|
posts: RedditPost[]
|
|
}
|
|
}
|