refactor(api): strengthen typing

add dedicated fetchResult type (ex., for `listQuerier` return)
This commit is contained in:
parent 48db8b0575
commit e37a54e775
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

6
typings/fetchResult.ts Normal file

@ -0,0 +1,6 @@
import { IStory } from "~/models/stories";
export interface StoryFetchResult {
stories: IStory[];
total: number;
}