mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-21 01:21:17 +00:00
Rename all references across the codebase: package names, imports, source IDs, directory names, docs, and configs. Co-authored-by: Ona <no-reply@ona.com>
23 lines
617 B
TypeScript
23 lines
617 B
TypeScript
import type { FeedItem } from "@aelis/core"
|
|
|
|
import type { CalendarEventData } from "./types"
|
|
|
|
export const CalendarFeedItemType = {
|
|
Event: "calendar-event",
|
|
AllDay: "calendar-all-day",
|
|
} as const
|
|
|
|
export type CalendarFeedItemType = (typeof CalendarFeedItemType)[keyof typeof CalendarFeedItemType]
|
|
|
|
export interface CalendarEventFeedItem extends FeedItem<
|
|
typeof CalendarFeedItemType.Event,
|
|
CalendarEventData
|
|
> {}
|
|
|
|
export interface CalendarAllDayFeedItem extends FeedItem<
|
|
typeof CalendarFeedItemType.AllDay,
|
|
CalendarEventData
|
|
> {}
|
|
|
|
export type CalendarFeedItem = CalendarEventFeedItem | CalendarAllDayFeedItem
|