// This is a v0 wire-shape fixture (served as a /api/v3 mock response and
// parsed by threadiverse's v0 compat layer). The shape intentionally uses
// the old v0 field names (`actor_id`, `published`, `counts`, etc.) — not the
// threadiverse public type, which is v1-aligned.

export const posts = [
  {
    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",
      published: "2024-04-01T00:00:00.000000Z",
      actor_id: "https://test.lemmy/u/lemmy_user",
      local: false,
      deleted: false,
      bot_account: false,
      banned: 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,
      visibility: "Public",
      instance_id: 1,
    },
    creator_banned_from_community: false,
    creator_is_moderator: false,
    creator_is_admin: false,
    counts: {
      post_id: 999,
      comments: 20,
      score: 91,
      upvotes: 100,
      downvotes: 9,
      newest_comment_time: "2024-04-01T00:00:00.000000Z",
      published: "2024-04-01T00:00:00.000000Z",
    },
    subscribed: "Subscribed",
    saved: false,
    read: false,
    creator_blocked: false,
    unread_comments: 20,
    banned_from_community: false,
    hidden: false,
  },
];
