ical-generator 8.1.2-develop.9 → 9.0.0-develop.2
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.
- package/README.md +13 -19
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1329 -1329
- package/dist/index.d.ts +1329 -1329
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/package.json +123 -122
- package/src/alarm.ts +499 -454
- package/src/attendee.ts +364 -345
- package/src/calendar.ts +422 -439
- package/src/category.ts +5 -14
- package/src/event.ts +1292 -1119
- package/src/index.ts +19 -25
- package/src/tools.ts +348 -258
- package/src/types.ts +86 -75
package/src/index.ts
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
import ICalCalendar, { type ICalCalendarData } from './calendar.ts';
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
/**
|
|
11
10
|
* Create a new, empty calendar and returns it.
|
|
12
11
|
*
|
|
@@ -47,77 +46,72 @@ function ical(data?: ICalCalendarData): ICalCalendar {
|
|
|
47
46
|
export default ical;
|
|
48
47
|
|
|
49
48
|
export {
|
|
50
|
-
ICalAlarmRelatesTo,
|
|
51
|
-
ICalAlarmType,
|
|
52
49
|
default as ICalAlarm,
|
|
53
50
|
type ICalAlarmBaseData,
|
|
54
51
|
type ICalAlarmData,
|
|
55
52
|
type ICalAlarmJSONData,
|
|
53
|
+
ICalAlarmRelatesTo,
|
|
56
54
|
type ICalAlarmRepeatData,
|
|
57
55
|
type ICalAlarmTriggerAfterData,
|
|
58
56
|
type ICalAlarmTriggerBeforeData,
|
|
59
57
|
type ICalAlarmTriggerData,
|
|
58
|
+
ICalAlarmType,
|
|
60
59
|
type ICalAlarmTypeValue,
|
|
61
|
-
type ICalAttachment
|
|
60
|
+
type ICalAttachment,
|
|
62
61
|
} from './alarm.ts';
|
|
63
62
|
|
|
64
63
|
export {
|
|
64
|
+
default as ICalAttendee,
|
|
65
|
+
type ICalAttendeeData,
|
|
66
|
+
type ICalAttendeeJSONData,
|
|
65
67
|
ICalAttendeeRole,
|
|
66
68
|
ICalAttendeeStatus,
|
|
67
69
|
ICalAttendeeType,
|
|
68
|
-
default as ICalAttendee,
|
|
69
|
-
type ICalAttendeeData,
|
|
70
|
-
type ICalAttendeeJSONData
|
|
71
70
|
} from './attendee.ts';
|
|
72
71
|
|
|
73
72
|
export {
|
|
74
|
-
ICalCalendarMethod,
|
|
75
73
|
default as ICalCalendar,
|
|
76
74
|
type ICalCalendarData,
|
|
77
75
|
type ICalCalendarJSONData,
|
|
78
|
-
|
|
76
|
+
ICalCalendarMethod,
|
|
77
|
+
type ICalCalendarProdIdData,
|
|
79
78
|
} from './calendar.ts';
|
|
80
79
|
|
|
81
80
|
export {
|
|
82
81
|
default as ICalCategory,
|
|
83
82
|
type ICalCategoryData,
|
|
84
|
-
type ICalCategoryJSONData
|
|
83
|
+
type ICalCategoryJSONData,
|
|
85
84
|
} from './category.ts';
|
|
86
85
|
|
|
87
86
|
export {
|
|
87
|
+
default as ICalEvent,
|
|
88
88
|
ICalEventBusyStatus,
|
|
89
89
|
ICalEventClass,
|
|
90
|
-
ICalEventStatus,
|
|
91
|
-
ICalEventTransparency,
|
|
92
|
-
default as ICalEvent,
|
|
93
90
|
type ICalEventData,
|
|
94
91
|
type ICalEventJSONData,
|
|
95
|
-
type ICalEventJSONRepeatingData
|
|
92
|
+
type ICalEventJSONRepeatingData,
|
|
93
|
+
ICalEventStatus,
|
|
94
|
+
ICalEventTransparency,
|
|
96
95
|
} from './event.ts';
|
|
97
96
|
|
|
97
|
+
export { escape, foldLines, formatDate, formatDateTZ } from './tools.ts';
|
|
98
|
+
|
|
98
99
|
export {
|
|
99
|
-
ICalEventRepeatingFreq,
|
|
100
|
-
ICalWeekday,
|
|
101
100
|
type ICalDateTimeValue,
|
|
102
101
|
type ICalDayJsStub,
|
|
103
102
|
type ICalDescription,
|
|
103
|
+
ICalEventRepeatingFreq,
|
|
104
104
|
type ICalGeo,
|
|
105
105
|
type ICalLocation,
|
|
106
|
-
type ICalLocationWithTitle,
|
|
107
106
|
type ICalLocationWithoutTitle,
|
|
107
|
+
type ICalLocationWithTitle,
|
|
108
108
|
type ICalLuxonDateTimeStub,
|
|
109
109
|
type ICalMomentDurationStub,
|
|
110
110
|
type ICalMomentStub,
|
|
111
111
|
type ICalMomentTimezoneStub,
|
|
112
112
|
type ICalOrganizer,
|
|
113
|
-
type ICalRRuleStub,
|
|
114
113
|
type ICalRepeatingOptions,
|
|
114
|
+
type ICalRRuleStub,
|
|
115
115
|
type ICalTimezone,
|
|
116
|
+
ICalWeekday,
|
|
116
117
|
} from './types.ts';
|
|
117
|
-
|
|
118
|
-
export {
|
|
119
|
-
escape,
|
|
120
|
-
foldLines,
|
|
121
|
-
formatDate,
|
|
122
|
-
formatDateTZ
|
|
123
|
-
} from './tools.ts';
|