mirror of
https://github.com/SrIzan10/full-calendar-ics-converter.git
synced 2026-06-06 00:47:04 +00:00
30 lines
711 B
TypeScript
30 lines
711 B
TypeScript
import type { CalendarInfo } from "./calendar_settings";
|
|
|
|
export type { OFCEvent } from "./schema";
|
|
export { validateEvent } from "./schema";
|
|
|
|
export { makeDefaultPartialCalendarSource } from "./calendar_settings";
|
|
export type { CalendarInfo } from "./calendar_settings";
|
|
|
|
export const PLUGIN_SLUG = "full-calendar-plugin";
|
|
|
|
export class FCError {
|
|
message: string;
|
|
constructor(message: string) {
|
|
this.message = message;
|
|
}
|
|
}
|
|
|
|
export type EventLocation = {
|
|
file: { path: string };
|
|
lineNumber: number | undefined;
|
|
};
|
|
|
|
export type Authentication = {
|
|
type: "basic";
|
|
username: string;
|
|
password: string;
|
|
};
|
|
|
|
export type CalDAVSource = Extract<CalendarInfo, { type: "caldav" }>;
|