Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export type Post = {
- attributes: {
- content: string;
- createdAt: string;
- description: string;
- postPublishedAt: string;
- publishedAt: string;
- title: string;
- updatedAt: string;
- };
- id: number;
- };
- export type StandalonePost = {
- data: Post;
- meta: Record<string, never>;
- };
- export type Posts = {
- data: Posts[];
- meta: {
- pagination: {
- page: number;
- pageCount: number;
- pageSize: number;
- total: number;
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement