@rr0/data
Version:
RR0 data model
21 lines (20 loc) • 523 B
TypeScript
import { RR0Data } from "../RR0Data.js";
import { Level2Date as EdtfDate } from "@rr0/time";
import { Place } from "@rr0/place";
import { RR0EventType } from "./RR0EventType.js";
export declare class RR0Event<T = RR0EventType> extends RR0Data {
readonly eventType: T;
/**
* When this event occurred.
*/
readonly time?: EdtfDate;
constructor(eventType: T,
/**
* When this event occurred.
*/
time?: EdtfDate);
/**
* Where this event occurred
*/
place?: Place;
}