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.

650 B
Raw Blame
import { createQueryKeys } from '@lukemorales/query-key-factory';
export const schedulingKeys = createQueryKeys('scheduling', {
  replacementSlots: (
    id: string,
    token: string,
    date: string,
    timeZone: string
  ) => [id, token, date, timeZone],
  receipt: (id: string, token: string) => [id, token],
  settings: (scope: string) => [scope],
  bookings: (scope: string, from: string, to: string) => [scope, from, to],
  insights: (scope: string, from: string, to: string) => [scope, from, to],
  publicProfile: (id: string) => [id],
  slots: (profile: string, event: string, date: string) => [
    profile,
    event,
    date,
  ],
});