Configure Expo mobile project and update Android/iOS bundles
Initialize iOS and Android native projects for the Time to Leave app. Rename Android package to com.floegger.timetoleave and add iOS project files. Add FontAwesome icons, calendar types, and dependencies.
This commit is contained in:
@@ -144,3 +144,35 @@ export interface NearbyStop {
|
||||
lat: number;
|
||||
lng: number;
|
||||
}
|
||||
|
||||
// ── Calendar Source Types ──
|
||||
|
||||
/** Known calendar account types from expo-calendar. */
|
||||
export type CalendarAccountType =
|
||||
| 'caldav'
|
||||
| 'local'
|
||||
| 'exchange'
|
||||
| 'google'
|
||||
| 'mobileme'
|
||||
| 'subscriptions'
|
||||
| 'carddav'
|
||||
| 'activesync'
|
||||
| 'other'
|
||||
| 'none';
|
||||
|
||||
/** Human-readable label and visual badge for each account type. */
|
||||
export interface CalendarSourceInfo {
|
||||
label: string;
|
||||
badge: string;
|
||||
/** Icon emoji shown next to the calendar name. */
|
||||
emoji: string;
|
||||
}
|
||||
|
||||
/** Minimal calendar descriptor used for selection UI. */
|
||||
export interface SelectableCalendar {
|
||||
id: string;
|
||||
name: string;
|
||||
accountType: CalendarAccountType;
|
||||
sourceInfo: CalendarSourceInfo;
|
||||
editable: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user