@stacksjs/calendar-api 0.67.0 → 0.68.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+ import type { CalendarLink } from '../types';
2
+
3
+ declare const dateFormat: 'YYYYMMDD' const timeFormat = 'YYYYMMDDThhmmss';
4
+ export declare function generateGoogle(link: CalendarLink): string;
5
+ declare function convertTZ(date: Date | string, tzString: string): Date;
package/dist/ics.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import type { CalendarLink } from '../types';
2
+
3
+ export declare function generateIcs(link: CalendarLink): string;
4
+ declare function buildLink(propertiesAndComponents: any): string;
5
+ declare function dateDiffInDays(from: Date, to: Date): number;
6
+ declare function generateEventUid(link: any): string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import type { CalendarLink } from "./types";
1
+ import type { CalendarLink } from './types';
2
+
2
3
  export declare function exportCalendarGoogle(link: CalendarLink): string;
3
4
  export declare function exportCalendarIcs(link: CalendarLink): string;
4
5
  export declare function exportCalendarOutlook(link: CalendarLink): string;
5
- export declare function exportCalendarYahoo(link: CalendarLink): string;
6
+ export declare function exportCalendarYahoo(link: CalendarLink): string;