function boardsListDiscriminator(params) {
  return {
    slug: params?.slug,
    ownerId: params?.ownerId,
    organizationId: params?.organizationId,
    limit: params?.limit ?? 50,
    offset: params?.offset ?? 0
  };
}
const KANBAN_QUERY_KEYS = {
  /**
   * Key for boards.list(params) query.
   * Full key: ["boards", "list", { slug, ownerId, organizationId, limit, offset }]
   */
  boardsList: (params) => ["boards", "list", boardsListDiscriminator(params)],
  /**
   * Key for boards.detail(boardId) query.
   * Full key: ["boards", "detail", boardId]
   */
  boardDetail: (boardId) => ["boards", "detail", boardId]
};

export { KANBAN_QUERY_KEYS, boardsListDiscriminator };
