Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

305 B
Raw Blame
function sectionSearch(search: string): string {
  const params = new URLSearchParams(search);
  return new URLSearchParams(
    [...params].filter(([key]) => SECTION_SEARCH_KEYS.includes(key)),
  ).toString();
}

const SECTION_SEARCH_KEYS = ['month'];

export const sidebarItemUtils = { sectionSearch };