hotfix/2.0.3 (#41)
- Bump minimatch from 3.0.4 to 3.1.2 - Update discord links Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ethan Lane <ethan@vylpes.com> Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/random-bunny/pulls/41 Reviewed-by: VylpesTester <tester@vylpes.com>
This commit is contained in:
parent
09cbd56493
commit
031a5455b5
10 changed files with 117 additions and 229 deletions
|
@ -1,6 +1,13 @@
|
|||
import IRedditResult from "./IRedditResult";
|
||||
|
||||
export default interface IFetchResult {
|
||||
IsSuccess: boolean;
|
||||
Result?: IRedditResult;
|
||||
data: {
|
||||
archived: boolean,
|
||||
downs: number,
|
||||
hidden: boolean,
|
||||
permalink: string,
|
||||
subreddit: string,
|
||||
subreddit_subscribers: number,
|
||||
title: string,
|
||||
ups: number,
|
||||
url: string
|
||||
}
|
||||
}
|
6
src/contracts/IReturnResult.ts
Normal file
6
src/contracts/IReturnResult.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
import IRedditResult from "./IRedditResult";
|
||||
|
||||
export default interface IReturnResult {
|
||||
IsSuccess: boolean;
|
||||
Result?: IRedditResult;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue