mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 17:11:17 +00:00
14 lines
293 B
TypeScript
14 lines
293 B
TypeScript
import type { ContextKey } from "@aris/core"
|
|
|
|
import { contextKey } from "@aris/core"
|
|
|
|
export interface NextEvent {
|
|
title: string
|
|
startTime: Date
|
|
endTime: Date
|
|
minutesUntilStart: number
|
|
location: string | null
|
|
}
|
|
|
|
export const NextEventKey: ContextKey<NextEvent> = contextKey("nextEvent")
|