Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

361 B
Raw Blame
import { createSearchParamsCodec } from '@app/lib/split-router';
import { z } from 'zod';
import type { HomeTab } from './types';

export const homeTabSearch = {
  namespace: 'home',
  schema: z.object({ tab: z.enum(['signal', 'noise']) }),
  defaults: { tab: 'signal' as HomeTab },
};

export const homeTabSearchCodec = createSearchParamsCodec(homeTabSearch);