feat(calendar): define picker UI capability

This commit is contained in:
2026-07-20 16:57:17 +02:00
parent 15596f0742
commit 78b4afdec4
2 changed files with 19 additions and 1 deletions

View File

@@ -402,6 +402,22 @@ export type OrganizationFunctionPickerUiCapability = {
renderLabel?: (context: OrganizationFunctionLabelContext) => ReactNode;
};
export type CalendarPickerProps = PlatformRouteContext & {
value: string;
onChange: (calendarId: string) => void;
id?: string;
name?: string;
label?: ReactNode;
emptyLabel?: ReactNode;
disabled?: boolean;
required?: boolean;
className?: string;
};
export type CalendarPickerUiCapability = {
CalendarPicker: ComponentType<CalendarPickerProps>;
};
export type MailSecurity = "plain" | "tls" | "starttls";
export type MailProfileScope = "system" | "tenant" | "user" | "group" | "campaign";