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.

914 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * search_service
 * OpenAPI spec version: 0.1.0
 */
import type { CalendarEventSearchTimeOneOf } from './calendarEventSearchTimeOneOf';
import type { CalendarEventSearchTimeOneOfFour } from './calendarEventSearchTimeOneOfFour';

/**
 * Timed or all-day span of a calendar event.

Deliberately a local mirror of `models_soup::calendar_event::SoupCalendarEventTime`
rather than a reuse of it: this module needs both `ToSchema` (OpenAPI) and
`JsonSchema` (AI tool schemas), and `models_soup` carries no schemars
dependency. The wire shape is identical and must stay that way, so a
client can decode a search row and a soup row with one mapping.

Fields are camelCased per variant rather than via `rename_all_fields`,
which utoipa ignores.
 */
export type CalendarEventSearchTime =
  | CalendarEventSearchTimeOneOf
  | CalendarEventSearchTimeOneOfFour;