@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
20 lines (19 loc) • 610 B
TypeScript
import type { CalendarProviderType } from './calendarReference';
/**
* Normalized calendar definition persisted in USE CALENDAR metadata.
*
* @private internal utility of USE CALENDAR commitment
*/
export type ConfiguredCalendar = {
provider: CalendarProviderType;
url: string;
calendarId: string;
scopes: string[];
tokenRef?: string;
};
/**
* Normalizes unknown metadata payload into a typed list of configured calendars.
*
* @private internal utility of USE CALENDAR commitment
*/
export declare function normalizeConfiguredCalendars(rawCalendars: unknown): ConfiguredCalendar[];