random-bunny/src/contracts/IFetchResult.ts
Ethan Lane 50e4790fbf Add the post author to the return result ()
- Add the post author to the return result
- Update tests to accommodate for this change
- Update the documentation for this change



Reviewed-on: 
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-08-02 17:47:47 +01:00

14 lines
No EOL
315 B
TypeScript

export default interface IFetchResult {
data: {
archived: boolean,
author: string,
downs: number,
hidden: boolean,
permalink: string,
subreddit: string,
subreddit_subscribers: number,
title: string,
ups: number,
url: string
}
}