export const queryKeys = {
  boards: {
    all: ["boards"] as const,
  },
  posts: {
    list: (params: { page: number; pageSize: number; boardId?: string; q?: string }) =>
      ["posts", "list", params] as const,
    detail: (id: string) => ["posts", "detail", id] as const,
  },
  comments: {
    list: (postId: string) => ["comments", "list", postId] as const,
  },
  auth: {
    permissions: ["auth", "permissions"] as const,
  },
};


