76 lines
1.8 KiB
TypeScript
76 lines
1.8 KiB
TypeScript
import type { PostView } from "lemmy-js-client";
|
|
|
|
export const posts: PostView[] = [
|
|
{
|
|
post: {
|
|
id: 999,
|
|
name: "Post 999 title",
|
|
body: "Post 999 body.",
|
|
creator_id: 100,
|
|
community_id: 111,
|
|
removed: false,
|
|
locked: false,
|
|
published: "2024-04-01T00:00:00.000000Z",
|
|
updated: "2024-04-01T00:00:00.000000Z",
|
|
deleted: false,
|
|
nsfw: false,
|
|
thumbnail_url: "",
|
|
ap_id: "",
|
|
local: false,
|
|
language_id: 0,
|
|
featured_community: false,
|
|
featured_local: false,
|
|
},
|
|
creator: {
|
|
id: 100,
|
|
name: "user_1",
|
|
display_name: "lemmy_user",
|
|
banned: false,
|
|
published: "2024-04-01T00:00:00.000000Z",
|
|
actor_id: "https://test.lemmy/u/lemmy_user",
|
|
local: false,
|
|
deleted: false,
|
|
bot_account: false,
|
|
instance_id: 1,
|
|
},
|
|
community: {
|
|
id: 111,
|
|
name: "community_1",
|
|
title: "Community",
|
|
description: "Description 1",
|
|
removed: false,
|
|
published: "2024-04-01T00:00:00.000000Z",
|
|
updated: "2024-04-01T00:00:00.000000Z",
|
|
deleted: false,
|
|
nsfw: false,
|
|
actor_id: "https://test.lemmy/c/community_1",
|
|
local: false,
|
|
icon: "",
|
|
banner: "",
|
|
hidden: false,
|
|
posting_restricted_to_mods: false,
|
|
instance_id: 3,
|
|
visibility: "Public",
|
|
},
|
|
creator_banned_from_community: false,
|
|
creator_is_moderator: false,
|
|
creator_is_admin: false,
|
|
counts: {
|
|
post_id: 111,
|
|
comments: 20,
|
|
score: 91,
|
|
upvotes: 100,
|
|
downvotes: 9,
|
|
published: "2024-04-01T00:00:00.000000Z",
|
|
newest_comment_time: "2024-04-01T00:00:00.000000Z",
|
|
},
|
|
subscribed: "NotSubscribed",
|
|
saved: false,
|
|
read: false,
|
|
creator_blocked: false,
|
|
unread_comments: 20,
|
|
banned_from_community: false,
|
|
hidden: false,
|
|
},
|
|
];
|