export const conversationsRoutes = {
  conversations: () => '/conversations',
  thread: {
    detail: (id: number | string) =>
      `${conversationsRoutes.conversations()}/${id}`,
  },
  new: {
    conversation: () => `${conversationsRoutes.conversations()}/new`,
    group: () => `${conversationsRoutes.new.conversation()}/group`,
  },
};

export const conversationsSkeletonRoutes = {
  conversations: () => '/conversations',
  thread: {
    detail: () => `${conversationsSkeletonRoutes.conversations()}/:id`,
  },
  new: {
    conversation: () => `${conversationsRoutes.conversations()}/new`,
    group: () => `${conversationsRoutes.new.conversation()}/group`,
  },
};
