@rokoyfa/calendar 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +21 -0
  3. package/README.md +194 -3
  4. package/api/openapi.yaml +911 -0
  5. package/dist-lib/cdn/calendar-widget.js +14 -0
  6. package/dist-lib/cdn/calendar-widget.js.map +1 -0
  7. package/dist-lib/npm/index.d.ts +1 -0
  8. package/dist-lib/npm/index.js +13055 -0
  9. package/dist-lib/npm/index.js.map +1 -0
  10. package/dist-lib/npm/types/components/Button.d.ts +17 -0
  11. package/dist-lib/npm/types/components/ChoiceChip.d.ts +13 -0
  12. package/dist-lib/npm/types/components/ConfirmModal.d.ts +11 -0
  13. package/dist-lib/npm/types/components/DateTimeField.d.ts +14 -0
  14. package/dist-lib/npm/types/components/Form.d.ts +8 -0
  15. package/dist-lib/npm/types/components/FormField.d.ts +10 -0
  16. package/dist-lib/npm/types/components/IconButton.d.ts +11 -0
  17. package/dist-lib/npm/types/components/Icons.d.ts +10 -0
  18. package/dist-lib/npm/types/components/Modal.d.ts +10 -0
  19. package/dist-lib/npm/types/components/NumberField.d.ts +12 -0
  20. package/dist-lib/npm/types/components/PageLayout.d.ts +13 -0
  21. package/dist-lib/npm/types/components/PageSection.d.ts +9 -0
  22. package/dist-lib/npm/types/components/PasswordField.d.ts +4 -0
  23. package/dist-lib/npm/types/components/SegmentedControl.d.ts +11 -0
  24. package/dist-lib/npm/types/components/SegmentedField.d.ts +11 -0
  25. package/dist-lib/npm/types/components/SelectField.d.ts +13 -0
  26. package/dist-lib/npm/types/components/StatusMessage.d.ts +13 -0
  27. package/dist-lib/npm/types/components/Stepper.d.ts +9 -0
  28. package/dist-lib/npm/types/components/Switch.d.ts +8 -0
  29. package/dist-lib/npm/types/components/Tabs.d.ts +14 -0
  30. package/dist-lib/npm/types/components/TeamsGate.d.ts +4 -0
  31. package/dist-lib/npm/types/components/TextField.d.ts +9 -0
  32. package/dist-lib/npm/types/config/calendars.d.ts +1 -0
  33. package/dist-lib/npm/types/config/routes.d.ts +17 -0
  34. package/dist-lib/npm/types/context/HostContext.d.ts +9 -0
  35. package/dist-lib/npm/types/context/RootElementContext.d.ts +2 -0
  36. package/dist-lib/npm/types/data/index.d.ts +4 -0
  37. package/dist-lib/npm/types/data/localDataSource.d.ts +3 -0
  38. package/dist-lib/npm/types/data/restDataSource.d.ts +11 -0
  39. package/dist-lib/npm/types/data/tenantDataSource.d.ts +10 -0
  40. package/dist-lib/npm/types/data/types.d.ts +21 -0
  41. package/dist-lib/npm/types/features/authorization/components/AccountMenu.d.ts +6 -0
  42. package/dist-lib/npm/types/features/authorization/components/AuthFields.d.ts +26 -0
  43. package/dist-lib/npm/types/features/authorization/components/AuthGate.d.ts +7 -0
  44. package/dist-lib/npm/types/features/authorization/components/ContinueLink.d.ts +1 -0
  45. package/dist-lib/npm/types/features/authorization/components/EmailVerificationBanner.d.ts +1 -0
  46. package/dist-lib/npm/types/features/authorization/components/ForgotPasswordPage.d.ts +1 -0
  47. package/dist-lib/npm/types/features/authorization/components/LoginPage.d.ts +1 -0
  48. package/dist-lib/npm/types/features/authorization/components/RegisterPage.d.ts +1 -0
  49. package/dist-lib/npm/types/features/authorization/components/ResendVerificationButton.d.ts +4 -0
  50. package/dist-lib/npm/types/features/authorization/components/ResetPasswordPage.d.ts +1 -0
  51. package/dist-lib/npm/types/features/authorization/components/VerifyEmailPage.d.ts +1 -0
  52. package/dist-lib/npm/types/features/authorization/components/account/AccountSettings.d.ts +1 -0
  53. package/dist-lib/npm/types/features/authorization/components/account/DeleteAccountSection.d.ts +1 -0
  54. package/dist-lib/npm/types/features/authorization/components/account/EmailSection.d.ts +4 -0
  55. package/dist-lib/npm/types/features/authorization/components/account/PasswordSection.d.ts +1 -0
  56. package/dist-lib/npm/types/features/authorization/components/account/ProfileSection.d.ts +4 -0
  57. package/dist-lib/npm/types/features/authorization/context/AuthContext.d.ts +2 -0
  58. package/dist-lib/npm/types/features/authorization/context/AuthProvider.d.ts +8 -0
  59. package/dist-lib/npm/types/features/authorization/hooks/useAuth.d.ts +18 -0
  60. package/dist-lib/npm/types/features/authorization/index.d.ts +14 -0
  61. package/dist-lib/npm/types/features/authorization/repositories/HostTokenAuthRepository.d.ts +18 -0
  62. package/dist-lib/npm/types/features/authorization/repositories/RemoteAuthRepository.d.ts +18 -0
  63. package/dist-lib/npm/types/features/authorization/types/auth.d.ts +52 -0
  64. package/dist-lib/npm/types/features/authorization/utils/validation.d.ts +22 -0
  65. package/dist-lib/npm/types/features/calendar/components/Calendar.d.ts +14 -0
  66. package/dist-lib/npm/types/features/calendar/components/CalendarHeader.d.ts +16 -0
  67. package/dist-lib/npm/types/features/calendar/components/DayColumn.d.ts +18 -0
  68. package/dist-lib/npm/types/features/calendar/components/EventBlock.d.ts +10 -0
  69. package/dist-lib/npm/types/features/calendar/components/EventChip.d.ts +8 -0
  70. package/dist-lib/npm/types/features/calendar/components/EventTitle.d.ts +8 -0
  71. package/dist-lib/npm/types/features/calendar/components/MiniMonth.d.ts +9 -0
  72. package/dist-lib/npm/types/features/calendar/components/MonthGrid.d.ts +8 -0
  73. package/dist-lib/npm/types/features/calendar/components/MonthView.d.ts +2 -0
  74. package/dist-lib/npm/types/features/calendar/components/NowIndicator.d.ts +6 -0
  75. package/dist-lib/npm/types/features/calendar/components/TimeColumn.d.ts +1 -0
  76. package/dist-lib/npm/types/features/calendar/components/TimeGridView.d.ts +2 -0
  77. package/dist-lib/npm/types/features/calendar/components/YearView.d.ts +2 -0
  78. package/dist-lib/npm/types/features/calendar/constants/grid.d.ts +4 -0
  79. package/dist-lib/npm/types/features/calendar/constants/views.d.ts +7 -0
  80. package/dist-lib/npm/types/features/calendar/context/EventSourcesContext.d.ts +3 -0
  81. package/dist-lib/npm/types/features/calendar/hooks/useCalendarView.d.ts +19 -0
  82. package/dist-lib/npm/types/features/calendar/hooks/useEventSource.d.ts +2 -0
  83. package/dist-lib/npm/types/features/calendar/hooks/useNow.d.ts +1 -0
  84. package/dist-lib/npm/types/features/calendar/hooks/useSlotSelection.d.ts +6 -0
  85. package/dist-lib/npm/types/features/calendar/index.d.ts +4 -0
  86. package/dist-lib/npm/types/features/calendar/types/editor.d.ts +5 -0
  87. package/dist-lib/npm/types/features/calendar/types/eventLayout.d.ts +14 -0
  88. package/dist-lib/npm/types/features/calendar/types/eventSource.d.ts +6 -0
  89. package/dist-lib/npm/types/features/calendar/types/view.d.ts +26 -0
  90. package/dist-lib/npm/types/features/calendar/utils/eventGeometry.d.ts +3 -0
  91. package/dist-lib/npm/types/features/calendar/utils/eventLabels.d.ts +15 -0
  92. package/dist-lib/npm/types/features/calendar/utils/layoutEvents.d.ts +3 -0
  93. package/dist-lib/npm/types/features/calendar/utils/segmentEvents.d.ts +5 -0
  94. package/dist-lib/npm/types/features/calendar/utils/slotSelection.d.ts +17 -0
  95. package/dist-lib/npm/types/features/calendars/components/ActiveCalendarIndicator.d.ts +1 -0
  96. package/dist-lib/npm/types/features/calendars/components/CalendarPreview.d.ts +4 -0
  97. package/dist-lib/npm/types/features/calendars/components/CalendarSettings.d.ts +1 -0
  98. package/dist-lib/npm/types/features/calendars/components/CalendarSwitcher.d.ts +1 -0
  99. package/dist-lib/npm/types/features/calendars/components/InvitationList.d.ts +1 -0
  100. package/dist-lib/npm/types/features/calendars/components/create/ColorStep.d.ts +7 -0
  101. package/dist-lib/npm/types/features/calendars/components/create/CreateCalendarPage.d.ts +1 -0
  102. package/dist-lib/npm/types/features/calendars/components/create/DetailsStep.d.ts +12 -0
  103. package/dist-lib/npm/types/features/calendars/components/create/MembersStep.d.ts +8 -0
  104. package/dist-lib/npm/types/features/calendars/components/create/ReviewStep.d.ts +4 -0
  105. package/dist-lib/npm/types/features/calendars/components/settings/CalendarSettingsPage.d.ts +1 -0
  106. package/dist-lib/npm/types/features/calendars/components/settings/DangerSection.d.ts +9 -0
  107. package/dist-lib/npm/types/features/calendars/components/settings/GeneralSection.d.ts +4 -0
  108. package/dist-lib/npm/types/features/calendars/components/settings/MembersSection.d.ts +11 -0
  109. package/dist-lib/npm/types/features/calendars/components/settings/TeamInvitationsSection.d.ts +12 -0
  110. package/dist-lib/npm/types/features/calendars/components/settings/TransferOwnershipModal.d.ts +8 -0
  111. package/dist-lib/npm/types/features/calendars/constants/calendars.d.ts +9 -0
  112. package/dist-lib/npm/types/features/calendars/context/CalendarsContext.d.ts +2 -0
  113. package/dist-lib/npm/types/features/calendars/context/CalendarsProvider.d.ts +8 -0
  114. package/dist-lib/npm/types/features/calendars/hooks/useCalendars.d.ts +1 -0
  115. package/dist-lib/npm/types/features/calendars/hooks/useTeam.d.ts +12 -0
  116. package/dist-lib/npm/types/features/calendars/index.d.ts +11 -0
  117. package/dist-lib/npm/types/features/calendars/repositories/LocalCalendarRepository.d.ts +20 -0
  118. package/dist-lib/npm/types/features/calendars/repositories/RemoteCalendarRepository.d.ts +23 -0
  119. package/dist-lib/npm/types/features/calendars/types/calendar.d.ts +91 -0
  120. package/dist-lib/npm/types/features/calendars/utils/draft.d.ts +7 -0
  121. package/dist-lib/npm/types/features/calendars/utils/permissions.d.ts +13 -0
  122. package/dist-lib/npm/types/features/events/components/ColorPicker.d.ts +7 -0
  123. package/dist-lib/npm/types/features/events/components/CustomColorSettings.d.ts +1 -0
  124. package/dist-lib/npm/types/features/events/components/DeleteEventModal.d.ts +8 -0
  125. package/dist-lib/npm/types/features/events/components/EventModal.d.ts +11 -0
  126. package/dist-lib/npm/types/features/events/components/RecurrenceFields.d.ts +9 -0
  127. package/dist-lib/npm/types/features/events/components/RecurrenceScopeModal.d.ts +8 -0
  128. package/dist-lib/npm/types/features/events/components/ScopeButtons.d.ts +10 -0
  129. package/dist-lib/npm/types/features/events/constants/colors.d.ts +3 -0
  130. package/dist-lib/npm/types/features/events/hooks/useCustomColors.d.ts +8 -0
  131. package/dist-lib/npm/types/features/events/hooks/useEvents.d.ts +15 -0
  132. package/dist-lib/npm/types/features/events/index.d.ts +5 -0
  133. package/dist-lib/npm/types/features/events/types/eventModal.d.ts +1 -0
  134. package/dist-lib/npm/types/features/events/utils/scopeOptions.d.ts +3 -0
  135. package/dist-lib/npm/types/features/events/utils/seriesActions.d.ts +4 -0
  136. package/dist-lib/npm/types/features/preferences/components/PreferencesSettings.d.ts +1 -0
  137. package/dist-lib/npm/types/features/preferences/context/PreferencesContext.d.ts +6 -0
  138. package/dist-lib/npm/types/features/preferences/context/PreferencesProvider.d.ts +4 -0
  139. package/dist-lib/npm/types/features/preferences/hooks/usePreferences.d.ts +1 -0
  140. package/dist-lib/npm/types/features/preferences/index.d.ts +3 -0
  141. package/dist-lib/npm/types/features/storage/components/LocalImportPrompt.d.ts +5 -0
  142. package/dist-lib/npm/types/features/storage/context/StorageContext.d.ts +2 -0
  143. package/dist-lib/npm/types/features/storage/context/StorageProvider.d.ts +8 -0
  144. package/dist-lib/npm/types/features/storage/hooks/useStorage.d.ts +7 -0
  145. package/dist-lib/npm/types/features/storage/index.d.ts +10 -0
  146. package/dist-lib/npm/types/features/storage/repositories/LocalColorRepository.d.ts +9 -0
  147. package/dist-lib/npm/types/features/storage/repositories/LocalEventRepository.d.ts +13 -0
  148. package/dist-lib/npm/types/features/storage/repositories/LocalPreferencesRepository.d.ts +8 -0
  149. package/dist-lib/npm/types/features/storage/repositories/RemoteColorRepository.d.ts +10 -0
  150. package/dist-lib/npm/types/features/storage/repositories/RemoteEventRepository.d.ts +12 -0
  151. package/dist-lib/npm/types/features/storage/repositories/RemotePreferencesRepository.d.ts +9 -0
  152. package/dist-lib/npm/types/features/storage/types/storage.d.ts +35 -0
  153. package/dist-lib/npm/types/features/storage/utils/copyEvents.d.ts +3 -0
  154. package/dist-lib/npm/types/features/storage/utils/localStorageList.d.ts +5 -0
  155. package/dist-lib/npm/types/features/storage/utils/localStorageValue.d.ts +9 -0
  156. package/dist-lib/npm/types/hooks/useArrowKeyNavigation.d.ts +6 -0
  157. package/dist-lib/npm/types/hooks/useAsyncAction.d.ts +6 -0
  158. package/dist-lib/npm/types/hooks/useAsyncResource.d.ts +9 -0
  159. package/dist-lib/npm/types/hooks/useForm.d.ts +21 -0
  160. package/dist-lib/npm/types/hooks/useFormState.d.ts +8 -0
  161. package/dist-lib/npm/types/hooks/useRequiredContext.d.ts +2 -0
  162. package/dist-lib/npm/types/hooks/useTabParam.d.ts +3 -0
  163. package/dist-lib/npm/types/i18n/I18nContext.d.ts +15 -0
  164. package/dist-lib/npm/types/i18n/I18nProvider.d.ts +7 -0
  165. package/dist-lib/npm/types/i18n/errorMessage.d.ts +2 -0
  166. package/dist-lib/npm/types/i18n/format.d.ts +28 -0
  167. package/dist-lib/npm/types/i18n/index.d.ts +8 -0
  168. package/dist-lib/npm/types/i18n/locale.d.ts +14 -0
  169. package/dist-lib/npm/types/i18n/messages/de/auth.d.ts +2 -0
  170. package/dist-lib/npm/types/i18n/messages/de/calendar.d.ts +3 -0
  171. package/dist-lib/npm/types/i18n/messages/de/calendars.d.ts +2 -0
  172. package/dist-lib/npm/types/i18n/messages/de/core.d.ts +7 -0
  173. package/dist-lib/npm/types/i18n/messages/de/events.d.ts +2 -0
  174. package/dist-lib/npm/types/i18n/messages/de/index.d.ts +2 -0
  175. package/dist-lib/npm/types/i18n/messages/de/settings.d.ts +2 -0
  176. package/dist-lib/npm/types/i18n/messages/de/storage.d.ts +2 -0
  177. package/dist-lib/npm/types/i18n/messages/en/auth.d.ts +97 -0
  178. package/dist-lib/npm/types/i18n/messages/en/calendar.d.ts +34 -0
  179. package/dist-lib/npm/types/i18n/messages/en/calendars.d.ts +177 -0
  180. package/dist-lib/npm/types/i18n/messages/en/core.d.ts +86 -0
  181. package/dist-lib/npm/types/i18n/messages/en/events.d.ts +42 -0
  182. package/dist-lib/npm/types/i18n/messages/en/index.d.ts +466 -0
  183. package/dist-lib/npm/types/i18n/messages/en/settings.d.ts +23 -0
  184. package/dist-lib/npm/types/i18n/messages/en/storage.d.ts +7 -0
  185. package/dist-lib/npm/types/i18n/messages/index.d.ts +4 -0
  186. package/dist-lib/npm/types/i18n/messages/types.d.ts +2 -0
  187. package/dist-lib/npm/types/i18n/useI18n.d.ts +3 -0
  188. package/dist-lib/npm/types/i18n/useLocaleGetter.d.ts +1 -0
  189. package/dist-lib/npm/types/i18n/weekInfo.d.ts +5 -0
  190. package/dist-lib/npm/types/lib/CalendarApp.d.ts +14 -0
  191. package/dist-lib/npm/types/lib/CalendarWidget.d.ts +2 -0
  192. package/dist-lib/npm/types/lib/IsolatedRoot.d.ts +9 -0
  193. package/dist-lib/npm/types/lib/config.d.ts +28 -0
  194. package/dist-lib/npm/types/lib/defaults.d.ts +13 -0
  195. package/dist-lib/npm/types/lib/element.d.ts +16 -0
  196. package/dist-lib/npm/types/lib/eventCallbacks.d.ts +11 -0
  197. package/dist-lib/npm/types/lib/index.d.ts +16 -0
  198. package/dist-lib/npm/types/lib/linkParam.d.ts +2 -0
  199. package/dist-lib/npm/types/lib/version.d.ts +1 -0
  200. package/dist-lib/npm/types/pages/CalendarPage.d.ts +1 -0
  201. package/dist-lib/npm/types/pages/SettingsPage.d.ts +1 -0
  202. package/dist-lib/npm/types/router.d.ts +7 -0
  203. package/dist-lib/npm/types/utils/api.d.ts +32 -0
  204. package/dist-lib/npm/types/utils/apiError.d.ts +26 -0
  205. package/dist-lib/npm/types/utils/appError.d.ts +10 -0
  206. package/dist-lib/npm/types/utils/calendarView.d.ts +3 -0
  207. package/dist-lib/npm/types/utils/classNames.d.ts +2 -0
  208. package/dist-lib/npm/types/utils/color.d.ts +5 -0
  209. package/dist-lib/npm/types/utils/date.d.ts +44 -0
  210. package/dist-lib/npm/types/utils/dom.d.ts +3 -0
  211. package/dist-lib/npm/types/utils/event.d.ts +74 -0
  212. package/dist-lib/npm/types/utils/number.d.ts +1 -0
  213. package/dist-lib/npm/types/utils/object.d.ts +3 -0
  214. package/dist-lib/npm/types/utils/preferences.d.ts +15 -0
  215. package/dist-lib/npm/types/utils/recurrence.d.ts +33 -0
  216. package/dist-lib/npm/types/utils/series.d.ts +9 -0
  217. package/dist-lib/npm/types/utils/validation.d.ts +6 -0
  218. package/package.json +82 -6
@@ -0,0 +1,91 @@
1
+ import type { EventColor } from '../../../utils/event.js';
2
+ export type CalendarKind = 'personal' | 'team';
3
+ export declare const TEAM_ROLES: readonly ["owner", "admin", "manager", "editor", "member", "contributor", "viewer"];
4
+ export type TeamRole = (typeof TEAM_ROLES)[number];
5
+ export type InvitableRole = Exclude<TeamRole, 'owner'>;
6
+ export declare const PERMISSIONS: readonly ["read_calendar", "manage_calendars", "create_entry", "update_own_entry", "update_any_entry", "delete_own_entry", "delete_any_entry", "invite_members", "manage_members", "manage_team", "delete_team"];
7
+ export type Permission = (typeof PERMISSIONS)[number];
8
+ export type CalendarSummary = {
9
+ id: string;
10
+ teamId: string;
11
+ name: string;
12
+ color: EventColor;
13
+ kind: CalendarKind;
14
+ teamName: string | null;
15
+ description: string;
16
+ role: TeamRole;
17
+ showInPersonal: boolean;
18
+ permissions: readonly Permission[];
19
+ };
20
+ export type Invitation = {
21
+ email: string;
22
+ role: InvitableRole;
23
+ };
24
+ export type CalendarDraft = {
25
+ name: string;
26
+ description: string;
27
+ color: EventColor;
28
+ invitations: Invitation[];
29
+ };
30
+ export type PendingInvitation = {
31
+ id: string;
32
+ teamId: string;
33
+ teamName: string;
34
+ description: string;
35
+ role: InvitableRole;
36
+ invitedBy: string | null;
37
+ expiresAt: string;
38
+ };
39
+ export type TeamMember = {
40
+ userId: string;
41
+ name: string;
42
+ email: string;
43
+ role: TeamRole;
44
+ joinedAt: string;
45
+ };
46
+ export type TeamInvitation = PendingInvitation & {
47
+ email: string;
48
+ };
49
+ export type CalendarChanges = Pick<CalendarSummary, 'name' | 'color'>;
50
+ export type TeamChanges = {
51
+ name: string;
52
+ description: string;
53
+ };
54
+ export interface CalendarRepository {
55
+ list(): Promise<CalendarSummary[]>;
56
+ create(draft: CalendarDraft): Promise<CalendarSummary>;
57
+ leave(teamId: string): Promise<void>;
58
+ setShowInPersonal(calendarId: string, showInPersonal: boolean): Promise<CalendarSummary>;
59
+ listInvitations(): Promise<PendingInvitation[]>;
60
+ acceptInvitation(id: string): Promise<CalendarSummary[]>;
61
+ declineInvitation(id: string): Promise<void>;
62
+ updateCalendar(calendarId: string, changes: CalendarChanges): Promise<CalendarSummary>;
63
+ updateTeam(teamId: string, changes: TeamChanges): Promise<CalendarSummary[]>;
64
+ deleteTeam(teamId: string): Promise<void>;
65
+ transferOwnership(teamId: string, userId: string): Promise<CalendarSummary[]>;
66
+ listMembers(teamId: string): Promise<TeamMember[]>;
67
+ changeMemberRole(teamId: string, userId: string, role: TeamRole): Promise<TeamMember>;
68
+ removeMember(teamId: string, userId: string): Promise<void>;
69
+ listTeamInvitations(teamId: string): Promise<TeamInvitation[]>;
70
+ invite(teamId: string, invitation: Invitation): Promise<TeamInvitation>;
71
+ revokeInvitation(teamId: string, invitationId: string): Promise<void>;
72
+ }
73
+ export type CalendarsContextValue = {
74
+ repository: CalendarRepository;
75
+ isLoading: boolean;
76
+ calendars: readonly CalendarSummary[];
77
+ invitations: readonly PendingInvitation[];
78
+ error: string | null;
79
+ activeCalendar: CalendarSummary;
80
+ visibleCalendarIds: readonly string[];
81
+ selectCalendar: (id: string) => void;
82
+ createCalendar: (draft: CalendarDraft) => Promise<CalendarSummary>;
83
+ leaveCalendar: (id: string) => Promise<void>;
84
+ setShowInPersonal: (id: string, showInPersonal: boolean) => Promise<void>;
85
+ acceptInvitation: (id: string) => Promise<void>;
86
+ declineInvitation: (id: string) => Promise<void>;
87
+ updateCalendar: (calendar: CalendarSummary, changes: CalendarChanges) => Promise<void>;
88
+ updateTeam: (calendar: CalendarSummary, changes: TeamChanges) => Promise<void>;
89
+ deleteTeam: (calendar: CalendarSummary) => Promise<void>;
90
+ transferOwnership: (calendar: CalendarSummary, userId: string) => Promise<void>;
91
+ };
@@ -0,0 +1,7 @@
1
+ import type { Messages } from '../../../i18n/index.js';
2
+ import { type FieldErrors } from '../../../utils/validation.js';
3
+ import type { CalendarDraft, Invitation } from '../types/calendar.js';
4
+ export type DetailsValues = Pick<CalendarDraft, 'name' | 'description'>;
5
+ export declare const validateDetails: ({ name, description }: DetailsValues, m: Messages) => FieldErrors<DetailsValues>;
6
+ export declare const validateInvitation: ({ email }: Invitation, existing: readonly Invitation[], ownEmail: string | null, m: Messages) => FieldErrors<Invitation>;
7
+ export declare const normalizeDraft: (draft: CalendarDraft) => CalendarDraft;
@@ -0,0 +1,13 @@
1
+ import type { Messages } from '../../../i18n/index.js';
2
+ import { type CalendarSummary, type Permission, type TeamRole } from '../types/calendar.js';
3
+ export declare const isPersonalCalendar: ({ kind }: CalendarSummary) => boolean;
4
+ export declare const canLeaveCalendar: (calendar: CalendarSummary) => boolean;
5
+ export declare const getVisibleCalendarIds: (calendars: readonly CalendarSummary[], active: CalendarSummary) => string[];
6
+ export declare const hasPermission: (calendar: CalendarSummary, permission: Permission) => boolean;
7
+ export declare const getSharedCalendars: (calendars: readonly CalendarSummary[], active: CalendarSummary) => CalendarSummary[];
8
+ export declare const outranks: (actor: TeamRole, target: TeamRole) => boolean;
9
+ export declare const getAssignableRoles: (actor: TeamRole) => ("owner" | "admin" | "manager" | "editor" | "member" | "contributor" | "viewer")[];
10
+ export declare const getInvitableRoles: (actor: TeamRole) => import("../index.ts").InvitableRole[];
11
+ export declare const canOpenSettings: (calendar: CalendarSummary) => boolean;
12
+ export declare const getDistinctTeamName: ({ name, teamName }: CalendarSummary) => string | null;
13
+ export declare const getCalendarKindLabel: (calendar: CalendarSummary, { calendars: { kind } }: Messages) => string;
@@ -0,0 +1,7 @@
1
+ import { type EventColor } from '../../../utils/event.js';
2
+ type ColorPickerProps = {
3
+ value: EventColor;
4
+ onChange: (color: EventColor) => void;
5
+ };
6
+ export declare function ColorPicker({ value, onChange }: ColorPickerProps): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export declare function CustomColorSettings(): import("react").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import type { EditScope, EventOccurrence } from '../../../utils/event.js';
2
+ type DeleteEventModalProps = {
3
+ occurrence: EventOccurrence;
4
+ onConfirm: (scope: EditScope) => Promise<void>;
5
+ onClose: () => void;
6
+ };
7
+ export declare function DeleteEventModal({ occurrence, onConfirm, onClose }: DeleteEventModalProps): import("react").JSX.Element;
8
+ export {};
@@ -0,0 +1,11 @@
1
+ import { type EditScope, type EventInput, type EventOccurrence } from '../../../utils/event.js';
2
+ type EventModalProps = {
3
+ initialValue: EventInput;
4
+ occurrence?: EventOccurrence | null;
5
+ notice?: string;
6
+ onSave: (input: EventInput, scope: EditScope) => Promise<void>;
7
+ onDelete?: () => void;
8
+ onClose: () => void;
9
+ };
10
+ export declare function EventModal({ initialValue, occurrence, notice, onSave, onDelete, onClose }: EventModalProps): import("react").JSX.Element;
11
+ export {};
@@ -0,0 +1,9 @@
1
+ import { type Recurrence, type RecurrenceValidationErrors } from '../../../utils/recurrence.js';
2
+ type RecurrenceFieldsProps = {
3
+ value: Recurrence | null;
4
+ startDate: string;
5
+ errors: RecurrenceValidationErrors;
6
+ onChange: (recurrence: Recurrence | null) => void;
7
+ };
8
+ export declare function RecurrenceFields({ value, startDate, errors, onChange }: RecurrenceFieldsProps): import("react").JSX.Element;
9
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { EditScope } from '../../../utils/event.js';
2
+ type RecurrenceScopeModalProps = {
3
+ options: readonly EditScope[];
4
+ onSelect: (scope: EditScope) => void;
5
+ onClose: () => void;
6
+ };
7
+ export declare function RecurrenceScopeModal({ options, onSelect, onClose }: RecurrenceScopeModalProps): import("react").JSX.Element;
8
+ export {};
@@ -0,0 +1,10 @@
1
+ import type { EditScope } from '../../../utils/event.js';
2
+ type ScopeButtonsProps = {
3
+ options: readonly EditScope[];
4
+ variant?: 'default' | 'danger';
5
+ disabled?: boolean;
6
+ onSelect: (scope: EditScope) => void;
7
+ onCancel: () => void;
8
+ };
9
+ export declare function ScopeButtons({ options, variant, disabled, onSelect, onCancel }: ScopeButtonsProps): import("react").JSX.Element;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import type { HexColor } from '../../../utils/color.js';
2
+ export declare const MAX_CUSTOM_COLORS = 12;
3
+ export declare const DEFAULT_CUSTOM_COLOR: HexColor;
@@ -0,0 +1,8 @@
1
+ import type { HexColor } from '../../../utils/color.js';
2
+ export declare function useCustomColors(): {
3
+ colors: `#${string}`[];
4
+ error: string | null;
5
+ addColor: (color: HexColor) => Promise<`#${string}`[]>;
6
+ removeColor: (color: HexColor) => Promise<void>;
7
+ canAddMore: boolean;
8
+ };
@@ -0,0 +1,15 @@
1
+ import { type CalendarEvent, type EditScope, type EventInput, type EventOccurrence } from '../../../utils/event.js';
2
+ import { type EventQuery } from '../../storage/index.js';
3
+ type UseEventsOptions = EventQuery & {
4
+ targetCalendarId: string;
5
+ };
6
+ export declare function useEvents({ from, to, calendarIds, targetCalendarId }: UseEventsOptions): {
7
+ events: CalendarEvent[];
8
+ error: string | null;
9
+ isLoading: boolean;
10
+ reload: () => void;
11
+ createEvent: (input: EventInput) => Promise<CalendarEvent>;
12
+ updateEvent: (occurrence: EventOccurrence, input: EventInput, scope: EditScope) => Promise<unknown>;
13
+ deleteEvent: (occurrence: EventOccurrence, scope: EditScope) => Promise<unknown>;
14
+ };
15
+ export {};
@@ -0,0 +1,5 @@
1
+ export { useEvents } from './hooks/useEvents.js';
2
+ export { EventModal } from './components/EventModal.js';
3
+ export { DeleteEventModal } from './components/DeleteEventModal.js';
4
+ export { CustomColorSettings } from './components/CustomColorSettings.js';
5
+ export { ColorPicker } from './components/ColorPicker.js';
@@ -0,0 +1 @@
1
+ export type EventModalMode = 'create' | 'edit';
@@ -0,0 +1,3 @@
1
+ import { type EditScope, type EventOccurrence } from '../../../utils/event.js';
2
+ import { type Recurrence } from '../../../utils/recurrence.js';
3
+ export declare const getScopeOptions: (occurrence: EventOccurrence | null, nextRecurrence?: Recurrence | null) => EditScope[];
@@ -0,0 +1,4 @@
1
+ import { type CalendarEvent, type EditScope, type EventInput } from '../../../utils/event.js';
2
+ import type { EventRepository } from '../../storage/index.js';
3
+ export declare const updateOccurrence: (repository: EventRepository, series: CalendarEvent, occurrenceDate: string, input: EventInput, scope: EditScope) => Promise<unknown>;
4
+ export declare const deleteOccurrence: (repository: EventRepository, series: CalendarEvent, occurrenceDate: string, scope: EditScope) => Promise<unknown>;
@@ -0,0 +1 @@
1
+ export declare function PreferencesSettings(): import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Preferences } from '../../../utils/preferences.js';
2
+ export type PreferencesContextValue = {
3
+ preferences: Preferences;
4
+ updatePreferences: (changes: Partial<Preferences>) => Promise<void>;
5
+ };
6
+ export declare const PreferencesContext: import("react").Context<PreferencesContextValue | null>;
@@ -0,0 +1,4 @@
1
+ import { type ReactNode } from 'react';
2
+ export declare function PreferencesProvider({ children }: {
3
+ children: ReactNode;
4
+ }): import("react").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export declare const usePreferences: () => import("../context/PreferencesContext.ts").PreferencesContextValue;
@@ -0,0 +1,3 @@
1
+ export { PreferencesProvider } from './context/PreferencesProvider.js';
2
+ export { usePreferences } from './hooks/usePreferences.js';
3
+ export { PreferencesSettings } from './components/PreferencesSettings.js';
@@ -0,0 +1,5 @@
1
+ type LocalImportPromptProps = {
2
+ userId: string;
3
+ };
4
+ export declare function LocalImportPrompt({ userId }: LocalImportPromptProps): import("react").JSX.Element | null;
5
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { StorageContextValue } from '../types/storage.js';
2
+ export declare const StorageContext: import("react").Context<StorageContextValue | null>;
@@ -0,0 +1,8 @@
1
+ import { type ReactNode } from 'react';
2
+ import type { StorageRepositories } from '../types/storage.js';
3
+ type StorageProviderProps = {
4
+ repositories: StorageRepositories;
5
+ children: ReactNode;
6
+ };
7
+ export declare function StorageProvider({ repositories, children }: StorageProviderProps): import("react").JSX.Element;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ export declare const useStorage: () => import("../index.ts").StorageRepositories & {
2
+ version: number;
3
+ invalidate: () => void;
4
+ };
5
+ export declare const useEventRepository: () => import("../index.ts").EventRepository;
6
+ export declare const useColorRepository: () => import("../index.ts").ColorRepository;
7
+ export declare const usePreferencesRepository: () => import("../index.ts").PreferencesRepository;
@@ -0,0 +1,10 @@
1
+ export { StorageProvider } from './context/StorageProvider.js';
2
+ export { LocalImportPrompt } from './components/LocalImportPrompt.js';
3
+ export { useColorRepository, useEventRepository, usePreferencesRepository, useStorage } from './hooks/useStorage.js';
4
+ export { LocalEventRepository } from './repositories/LocalEventRepository.js';
5
+ export { LocalColorRepository } from './repositories/LocalColorRepository.js';
6
+ export { LocalPreferencesRepository } from './repositories/LocalPreferencesRepository.js';
7
+ export { RemoteColorRepository } from './repositories/RemoteColorRepository.js';
8
+ export { RemoteEventRepository } from './repositories/RemoteEventRepository.js';
9
+ export { RemotePreferencesRepository } from './repositories/RemotePreferencesRepository.js';
10
+ export type { ColorRepository, DateRange, EventQuery, EventRepository, PreferencesRepository, StorageRepositories, StorageContextValue, StorageMode, } from './types/storage.js';
@@ -0,0 +1,9 @@
1
+ import { type HexColor } from '../../../utils/color.js';
2
+ import type { ColorRepository } from '../types/storage.js';
3
+ export declare class LocalColorRepository implements ColorRepository {
4
+ #private;
5
+ constructor(storageKey?: string);
6
+ list(): Promise<`#${string}`[]>;
7
+ add(color: HexColor): Promise<`#${string}`[]>;
8
+ remove(color: HexColor): Promise<`#${string}`[]>;
9
+ }
@@ -0,0 +1,13 @@
1
+ import { type CalendarEvent, type EventInput } from '../../../utils/event.js';
2
+ import type { EventQuery, EventRepository } from '../types/storage.js';
3
+ export declare class LocalEventRepository implements EventRepository {
4
+ #private;
5
+ constructor(storageKey?: string);
6
+ list({ from, to, calendarIds }: EventQuery): Promise<CalendarEvent[]>;
7
+ listAll(): Promise<CalendarEvent[]>;
8
+ clear(): Promise<void>;
9
+ listSeries(seriesId: string): Promise<CalendarEvent[]>;
10
+ create(calendarId: string, input: EventInput): Promise<CalendarEvent>;
11
+ update(id: string, input: EventInput): Promise<CalendarEvent>;
12
+ remove(id: string): Promise<void>;
13
+ }
@@ -0,0 +1,8 @@
1
+ import { type Preferences } from '../../../utils/preferences.js';
2
+ import type { PreferencesRepository } from '../types/storage.js';
3
+ export declare class LocalPreferencesRepository implements PreferencesRepository {
4
+ #private;
5
+ constructor(storageKey?: string);
6
+ get(): Promise<Preferences>;
7
+ update(changes: Partial<Preferences>): Promise<Preferences>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { type ApiClient } from '../../../utils/api.js';
2
+ import { type HexColor } from '../../../utils/color.js';
3
+ import type { ColorRepository } from '../types/storage.js';
4
+ export declare class RemoteColorRepository implements ColorRepository {
5
+ #private;
6
+ constructor(api: ApiClient);
7
+ list(): Promise<`#${string}`[]>;
8
+ add(color: HexColor): Promise<`#${string}`[]>;
9
+ remove(color: HexColor): Promise<`#${string}`[]>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import { type ApiClient } from '../../../utils/api.js';
2
+ import type { CalendarEvent, EventInput } from '../../../utils/event.js';
3
+ import type { EventQuery, EventRepository } from '../types/storage.js';
4
+ export declare class RemoteEventRepository implements EventRepository {
5
+ #private;
6
+ constructor(api: ApiClient);
7
+ list({ from, to, calendarIds }: EventQuery): Promise<CalendarEvent[]>;
8
+ listSeries(seriesId: string): Promise<CalendarEvent[]>;
9
+ create(calendarId: string, input: EventInput): Promise<CalendarEvent>;
10
+ update(id: string, input: EventInput): Promise<CalendarEvent>;
11
+ remove(id: string): Promise<void>;
12
+ }
@@ -0,0 +1,9 @@
1
+ import type { ApiClient } from '../../../utils/api.js';
2
+ import { type Preferences } from '../../../utils/preferences.js';
3
+ import type { PreferencesRepository } from '../types/storage.js';
4
+ export declare class RemotePreferencesRepository implements PreferencesRepository {
5
+ #private;
6
+ constructor(api: ApiClient);
7
+ get(): Promise<Preferences>;
8
+ update(changes: Partial<Preferences>): Promise<Preferences>;
9
+ }
@@ -0,0 +1,35 @@
1
+ import type { HexColor } from '../../../utils/color.js';
2
+ import type { DateRange } from '../../../utils/date.js';
3
+ import type { CalendarEvent, EventInput } from '../../../utils/event.js';
4
+ import type { Preferences } from '../../../utils/preferences.js';
5
+ export type { DateRange };
6
+ export type EventQuery = DateRange & {
7
+ calendarIds: readonly string[];
8
+ };
9
+ export interface EventRepository {
10
+ list(query: EventQuery): Promise<CalendarEvent[]>;
11
+ listSeries(seriesId: string): Promise<CalendarEvent[]>;
12
+ create(calendarId: string, input: EventInput): Promise<CalendarEvent>;
13
+ update(id: string, input: EventInput): Promise<CalendarEvent>;
14
+ remove(id: string): Promise<void>;
15
+ }
16
+ export interface ColorRepository {
17
+ list(): Promise<HexColor[]>;
18
+ add(color: HexColor): Promise<HexColor[]>;
19
+ remove(color: HexColor): Promise<HexColor[]>;
20
+ }
21
+ export interface PreferencesRepository {
22
+ get(): Promise<Preferences>;
23
+ update(changes: Partial<Preferences>): Promise<Preferences>;
24
+ }
25
+ export type StorageMode = 'local' | 'remote';
26
+ export type StorageRepositories = {
27
+ mode: StorageMode;
28
+ events: EventRepository;
29
+ colors: ColorRepository;
30
+ preferences: PreferencesRepository;
31
+ };
32
+ export type StorageContextValue = StorageRepositories & {
33
+ version: number;
34
+ invalidate: () => void;
35
+ };
@@ -0,0 +1,3 @@
1
+ import { type CalendarEvent } from '../../../utils/event.js';
2
+ import type { EventRepository } from '../types/storage.js';
3
+ export declare function copyEvents(events: readonly CalendarEvent[], target: EventRepository): Promise<number>;
@@ -0,0 +1,5 @@
1
+ import type { ErrorCode } from '../../../utils/appError.js';
2
+ import { LocalStorageValue } from './localStorageValue.js';
3
+ export declare class LocalStorageList<T> extends LocalStorageValue<T[]> {
4
+ constructor(key: string, parseItem: (value: unknown) => T | null, writeError: ErrorCode);
5
+ }
@@ -0,0 +1,9 @@
1
+ import { type ErrorCode } from '../../../utils/appError.js';
2
+ export declare class LocalStorageValue<T> {
3
+ #private;
4
+ constructor(key: string, parse: (value: unknown) => T, writeError: ErrorCode);
5
+ initialize(): void;
6
+ read(): T;
7
+ write(value: T): void;
8
+ update(change: (value: T) => T): T;
9
+ }
@@ -0,0 +1,6 @@
1
+ type ArrowKeyNavigationOptions = {
2
+ onPrevious: () => void;
3
+ onNext: () => void;
4
+ };
5
+ export declare function useArrowKeyNavigation({ onPrevious, onNext }: ArrowKeyNavigationOptions): void;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ export declare function useAsyncAction<Args extends unknown[]>(action: (...args: Args) => Promise<void>): {
2
+ run: (...args: Args) => Promise<void>;
3
+ isPending: boolean;
4
+ isSuccess: boolean;
5
+ error: string | null;
6
+ };
@@ -0,0 +1,9 @@
1
+ export declare function useAsyncResource<T>(load: () => Promise<T>, initialData: T, refreshKey?: unknown): {
2
+ data: T;
3
+ error: string | null;
4
+ isLoading: boolean;
5
+ reload: () => void;
6
+ setData: (data: T) => void;
7
+ update: (change: (data: T) => T) => void;
8
+ apply: (request: Promise<T>) => Promise<T>;
9
+ };
@@ -0,0 +1,21 @@
1
+ import type { SubmitEventHandler } from 'react';
2
+ import type { FieldErrors } from '../utils/validation.js';
3
+ type FormOptions<T extends object> = {
4
+ initialValues: T;
5
+ validate: (values: T) => FieldErrors<T>;
6
+ prepare?: (values: T) => T;
7
+ onSubmit: (values: T) => Promise<void>;
8
+ };
9
+ export declare function useForm<T extends object>({ initialValues, validate, prepare, onSubmit }: FormOptions<T>): {
10
+ handleSubmit: SubmitEventHandler<HTMLFormElement>;
11
+ run: (values: T) => Promise<void>;
12
+ isPending: boolean;
13
+ isSuccess: boolean;
14
+ error: string | null;
15
+ values: T;
16
+ errors: Partial<Record<keyof T, string>>;
17
+ setField: <K extends keyof T>(field: K, value: T[K]) => void;
18
+ validateAll: (prepared?: T) => boolean;
19
+ reset: () => void;
20
+ };
21
+ export {};
@@ -0,0 +1,8 @@
1
+ import { type FieldErrors } from '../utils/validation.js';
2
+ export declare function useFormState<T extends object>(initialValues: T, validate: (values: T) => FieldErrors<T>): {
3
+ values: T;
4
+ errors: Partial<Record<keyof T, string>>;
5
+ setField: <K extends keyof T>(field: K, value: T[K]) => void;
6
+ validateAll: (prepared?: T) => boolean;
7
+ reset: () => void;
8
+ };
@@ -0,0 +1,2 @@
1
+ import { type Context } from 'react';
2
+ export declare function useRequiredContext<T>(context: Context<T | null>, providerName: string): T & ({} | undefined);
@@ -0,0 +1,3 @@
1
+ export declare function useTabParam<T extends string>(tabs: readonly {
2
+ value: T;
3
+ }[]): readonly [T, (tab: T) => void];
@@ -0,0 +1,15 @@
1
+ import type { Formatter } from './format.js';
2
+ import type { Language } from './locale.js';
3
+ import type { Messages } from './messages/index.js';
4
+ import type { WeekInfo } from './weekInfo.js';
5
+ export type I18n = {
6
+ locale: string;
7
+ language: Language;
8
+ m: Messages;
9
+ format: Formatter;
10
+ weekInfo: WeekInfo;
11
+ };
12
+ export type I18nContextValue = I18n & {
13
+ setUserLocale: (locale: string | null) => void;
14
+ };
15
+ export declare const I18nContext: import("react").Context<I18nContextValue | null>;
@@ -0,0 +1,7 @@
1
+ import { type ReactNode } from 'react';
2
+ type I18nProviderProps = {
3
+ locale?: string;
4
+ children: ReactNode;
5
+ };
6
+ export declare function I18nProvider({ locale: hostLocale, children }: I18nProviderProps): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { Messages } from './messages/index.js';
2
+ export declare function getErrorMessage(error: unknown, m: Messages): string;
@@ -0,0 +1,28 @@
1
+ export type Formatter = ReturnType<typeof createFormatter>;
2
+ export declare function createFormatter(locale: string, firstDay: number): {
3
+ locale: string;
4
+ uses12Hours: boolean;
5
+ firstDay: number;
6
+ weekday: (date: Date) => string;
7
+ shortWeekday: (date: Date) => string;
8
+ day: (date: Date) => string;
9
+ shortDay: (isoDate: string) => string;
10
+ fullDay: (isoDate: string) => string;
11
+ longDate: (isoDate: string) => string;
12
+ monthName: (isoDate: string) => string;
13
+ monthYear: (isoDate: string) => string;
14
+ time: (minutes: number) => string;
15
+ hour: (hour: number) => string;
16
+ compactHour: (hour: number) => string;
17
+ list: (items: readonly string[]) => string;
18
+ shortWeekdays: {
19
+ weekday: number;
20
+ label: string;
21
+ }[];
22
+ longWeekdays: {
23
+ weekday: number;
24
+ label: string;
25
+ }[];
26
+ weekdayName: (mondayBasedIndex: number) => string;
27
+ weekTitle: (weekStart: Date) => string;
28
+ };
@@ -0,0 +1,8 @@
1
+ export { getErrorMessage } from './errorMessage.js';
2
+ export type { Formatter } from './format.js';
3
+ export type { I18n } from './I18nContext.js';
4
+ export { I18nProvider } from './I18nProvider.js';
5
+ export { LOCALE_CHOICES, type LocaleChoice } from './locale.js';
6
+ export type { Messages } from './messages/index.js';
7
+ export { useI18n } from './useI18n.js';
8
+ export { useLocaleGetter } from './useLocaleGetter.js';
@@ -0,0 +1,14 @@
1
+ export declare const SUPPORTED_LANGUAGES: readonly ["en", "de"];
2
+ export type Language = (typeof SUPPORTED_LANGUAGES)[number];
3
+ export declare const DEFAULT_LOCALE = "en-US";
4
+ export declare const LOCALE_CHOICES: readonly ["auto", "en-US", "en-GB", "de-DE"];
5
+ export type LocaleChoice = (typeof LOCALE_CHOICES)[number];
6
+ export declare const getLanguage: (locale: string) => Language;
7
+ type LocaleSources = {
8
+ user?: string | null;
9
+ host?: string | null;
10
+ browser?: readonly string[];
11
+ };
12
+ export declare function resolveLocale({ user, host, browser }: LocaleSources): string;
13
+ export declare const getBrowserLanguages: () => readonly string[];
14
+ export {};
@@ -0,0 +1,2 @@
1
+ import type { Messages } from '../types.js';
2
+ export declare const auth: Messages['auth'];
@@ -0,0 +1,3 @@
1
+ import type { Messages } from '../types.js';
2
+ export declare const views: Messages['views'];
3
+ export declare const calendar: Messages['calendar'];
@@ -0,0 +1,2 @@
1
+ import type { Messages } from '../types.js';
2
+ export declare const calendars: Messages['calendars'];
@@ -0,0 +1,7 @@
1
+ import type { Messages } from '../types.js';
2
+ export declare const common: Messages['common'];
3
+ export declare const errors: Messages['errors'];
4
+ export declare const validation: Messages['validation'];
5
+ export declare const colors: Messages['colors'];
6
+ export declare const themes: Messages['themes'];
7
+ export declare const recurrence: Messages['recurrence'];
@@ -0,0 +1,2 @@
1
+ import type { Messages } from '../types.js';
2
+ export declare const events: Messages['events'];
@@ -0,0 +1,2 @@
1
+ import type { Messages } from '../types.js';
2
+ export declare const de: Messages;