next/typings/fetchResult.ts
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ e37a54e775
refactor(api): strengthen typing
add dedicated fetchResult type (ex., for `listQuerier` return)
2023-12-06 21:36:46 -05:00

7 lines
118 B
TypeScript

import { IStory } from "~/models/stories";
export interface StoryFetchResult {
stories: IStory[];
total: number;
}