ical-generator 6.0.1 → 6.0.2-develop.10
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 +5 -10
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +268 -47
- package/dist/index.d.ts +268 -47
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/alarm.ts +12 -12
- package/src/attendee.ts +11 -11
- package/src/calendar.ts +63 -8
- package/src/category.ts +6 -5
- package/src/event.ts +211 -17
- package/src/index.ts +8 -2
package/package.json
CHANGED
|
@@ -8,35 +8,35 @@
|
|
|
8
8
|
},
|
|
9
9
|
"description": "ical-generator is a small piece of code which generates ical calendar files",
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@qiwi/semantic-release-gh-pages-plugin": "^5.2.
|
|
11
|
+
"@qiwi/semantic-release-gh-pages-plugin": "^5.2.12",
|
|
12
12
|
"@semantic-release/changelog": "^6.0.3",
|
|
13
13
|
"@semantic-release/exec": "^6.0.3",
|
|
14
14
|
"@semantic-release/git": "^10.0.1",
|
|
15
15
|
"@semantic-release/npm": "^11.0.2",
|
|
16
16
|
"@touch4it/ical-timezones": "^1.9.0",
|
|
17
|
-
"@types/luxon": "^3.
|
|
17
|
+
"@types/luxon": "^3.4.2",
|
|
18
18
|
"@types/mocha": "^10.0.6",
|
|
19
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
20
|
-
"@typescript-eslint/parser": "^6.
|
|
21
|
-
"c8": "^
|
|
19
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
20
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
21
|
+
"c8": "^9.1.0",
|
|
22
22
|
"dayjs": "^1.11.10",
|
|
23
23
|
"eslint": "^8.56.0",
|
|
24
|
-
"eslint-plugin-jsonc": "^2.
|
|
24
|
+
"eslint-plugin-jsonc": "^2.13.0",
|
|
25
25
|
"esm": "^3.2.25",
|
|
26
26
|
"license-checker": "^25.0.1",
|
|
27
27
|
"luxon": "^3.4.4",
|
|
28
|
-
"mocha": "^10.
|
|
28
|
+
"mocha": "^10.3.0",
|
|
29
29
|
"mochawesome": "^7.1.3",
|
|
30
|
-
"moment": "^2.
|
|
31
|
-
"moment-timezone": "^0.5.
|
|
30
|
+
"moment": "^2.30.1",
|
|
31
|
+
"moment-timezone": "^0.5.45",
|
|
32
32
|
"nyc": "^15.1.0",
|
|
33
33
|
"rrule": "^2.8.1",
|
|
34
|
-
"semantic-release": "^
|
|
34
|
+
"semantic-release": "^23.0.2",
|
|
35
35
|
"semantic-release-license": "^1.0.2",
|
|
36
36
|
"source-map-support": "^0.5.21",
|
|
37
37
|
"ts-node": "^10.9.2",
|
|
38
|
-
"tsup": "^8.0.
|
|
39
|
-
"typedoc": "^0.25.
|
|
38
|
+
"tsup": "^8.0.2",
|
|
39
|
+
"typedoc": "^0.25.8",
|
|
40
40
|
"typescript": "^5.3.3"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
@@ -125,5 +125,5 @@
|
|
|
125
125
|
"test": "mocha"
|
|
126
126
|
},
|
|
127
127
|
"type": "module",
|
|
128
|
-
"version": "6.0.
|
|
128
|
+
"version": "6.0.2-develop.10"
|
|
129
129
|
}
|
package/src/alarm.ts
CHANGED
|
@@ -37,11 +37,11 @@ export type ICalAlarmData = ICalAlarmBaseData |
|
|
|
37
37
|
ICalAlarmTriggerAfterData |
|
|
38
38
|
ICalAlarmTriggerBeforeData;
|
|
39
39
|
|
|
40
|
-
type ICalAlarmTriggerData = ICalAlarmBaseData & { trigger: number | ICalDateTimeValue };
|
|
41
|
-
type ICalAlarmTriggerAfterData = ICalAlarmBaseData & { triggerAfter: number | ICalDateTimeValue };
|
|
42
|
-
type ICalAlarmTriggerBeforeData = ICalAlarmBaseData & { triggerBefore: number | ICalDateTimeValue };
|
|
40
|
+
export type ICalAlarmTriggerData = ICalAlarmBaseData & { trigger: number | ICalDateTimeValue };
|
|
41
|
+
export type ICalAlarmTriggerAfterData = ICalAlarmBaseData & { triggerAfter: number | ICalDateTimeValue };
|
|
42
|
+
export type ICalAlarmTriggerBeforeData = ICalAlarmBaseData & { triggerBefore: number | ICalDateTimeValue };
|
|
43
43
|
|
|
44
|
-
interface ICalAlarmBaseData {
|
|
44
|
+
export interface ICalAlarmBaseData {
|
|
45
45
|
type?: ICalAlarmType;
|
|
46
46
|
relatesTo?: ICalAlarmRelatesTo | null;
|
|
47
47
|
repeat?: ICalAlarmRepeatData | null;
|
|
@@ -79,7 +79,7 @@ export interface ICalAlarmJSONData {
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Usually you get an
|
|
82
|
+
* Usually you get an {@link ICalAlarm} object like this:
|
|
83
83
|
*
|
|
84
84
|
* ```javascript
|
|
85
85
|
* import ical from 'ical-generator';
|
|
@@ -88,7 +88,7 @@ export interface ICalAlarmJSONData {
|
|
|
88
88
|
* const alarm = event.createAlarm();
|
|
89
89
|
* ```
|
|
90
90
|
*
|
|
91
|
-
* You can also use the
|
|
91
|
+
* You can also use the {@link ICalAlarm} object directly:
|
|
92
92
|
*
|
|
93
93
|
* ```javascript
|
|
94
94
|
* import ical, {ICalAlarm} from 'ical-generator';
|
|
@@ -101,11 +101,11 @@ export default class ICalAlarm {
|
|
|
101
101
|
private readonly event: ICalEvent;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* Constructor of
|
|
104
|
+
* Constructor of {@link ICalAttendee}. The event reference is required
|
|
105
105
|
* to query the calendar's timezone and summary when required.
|
|
106
106
|
*
|
|
107
107
|
* @param data Alarm Data
|
|
108
|
-
* @param
|
|
108
|
+
* @param event Reference to ICalEvent object
|
|
109
109
|
*/
|
|
110
110
|
constructor (data: ICalAlarmData, event: ICalEvent) {
|
|
111
111
|
this.data = {
|
|
@@ -142,7 +142,7 @@ export default class ICalAlarm {
|
|
|
142
142
|
type (type: ICalAlarmType): this;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
* Set the alarm type. See
|
|
145
|
+
* Set the alarm type. See {@link ICalAlarmType}
|
|
146
146
|
* for available status options.
|
|
147
147
|
* @since 0.2.1
|
|
148
148
|
*/
|
|
@@ -162,7 +162,7 @@ export default class ICalAlarm {
|
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
164
|
* Get the trigger time for the alarm. Can either
|
|
165
|
-
* be a date and time value (
|
|
165
|
+
* be a date and time value ({@link ICalDateTimeValue}) or
|
|
166
166
|
* a number, which will represent the seconds between
|
|
167
167
|
* alarm and event start. The number is negative, if the
|
|
168
168
|
* alarm is triggered after the event started.
|
|
@@ -266,7 +266,7 @@ export default class ICalAlarm {
|
|
|
266
266
|
|
|
267
267
|
/**
|
|
268
268
|
* Get the trigger time for the alarm. Can either
|
|
269
|
-
* be a date and time value (
|
|
269
|
+
* be a date and time value ({@link ICalDateTimeValue}) or
|
|
270
270
|
* a number, which will represent the seconds between
|
|
271
271
|
* alarm and event start. The number is negative, if the
|
|
272
272
|
* alarm is triggered before the event started.
|
|
@@ -305,7 +305,7 @@ export default class ICalAlarm {
|
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* Get the trigger time for the alarm. Can either
|
|
308
|
-
* be a date and time value (
|
|
308
|
+
* be a date and time value ({@link ICalDateTimeValue}) or
|
|
309
309
|
* a number, which will represent the seconds between
|
|
310
310
|
* alarm and event start. The number is negative, if the
|
|
311
311
|
* alarm is triggered after the event started.
|
package/src/attendee.ts
CHANGED
|
@@ -75,7 +75,7 @@ export enum ICalAttendeeType {
|
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Usually you get an
|
|
78
|
+
* Usually you get an {@link ICalAttendee} object like this:
|
|
79
79
|
*
|
|
80
80
|
* ```javascript
|
|
81
81
|
* import ical from 'ical-generator';
|
|
@@ -84,7 +84,7 @@ export enum ICalAttendeeType {
|
|
|
84
84
|
* const attendee = event.createAttendee({ email: 'mail@example.com' });
|
|
85
85
|
* ```
|
|
86
86
|
*
|
|
87
|
-
* You can also use the
|
|
87
|
+
* You can also use the {@link ICalAttendee} object directly:
|
|
88
88
|
*
|
|
89
89
|
* ```javascript
|
|
90
90
|
* import ical, {ICalAttendee} from 'ical-generator';
|
|
@@ -97,11 +97,11 @@ export default class ICalAttendee {
|
|
|
97
97
|
private readonly event: ICalEvent;
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
|
-
* Constructor of
|
|
100
|
+
* Constructor of {@link ICalAttendee}. The event reference is
|
|
101
101
|
* required to query the calendar's timezone when required.
|
|
102
102
|
*
|
|
103
103
|
* @param data Attendee Data
|
|
104
|
-
* @param
|
|
104
|
+
* @param event Reference to ICalEvent object
|
|
105
105
|
*/
|
|
106
106
|
constructor(data: ICalAttendeeData, event: ICalEvent) {
|
|
107
107
|
this.data = {
|
|
@@ -232,7 +232,7 @@ export default class ICalAttendee {
|
|
|
232
232
|
|
|
233
233
|
/**
|
|
234
234
|
* Set the attendee's role, defaults to `REQ` / `REQ-PARTICIPANT`.
|
|
235
|
-
* Checkout
|
|
235
|
+
* Checkout {@link ICalAttendeeRole} for available roles.
|
|
236
236
|
*
|
|
237
237
|
* @since 0.2.0
|
|
238
238
|
*/
|
|
@@ -279,7 +279,7 @@ export default class ICalAttendee {
|
|
|
279
279
|
status(): ICalAttendeeStatus | null;
|
|
280
280
|
|
|
281
281
|
/**
|
|
282
|
-
* Set the attendee's status. See
|
|
282
|
+
* Set the attendee's status. See {@link ICalAttendeeStatus}
|
|
283
283
|
* for available status options.
|
|
284
284
|
*
|
|
285
285
|
* @since 0.2.0
|
|
@@ -307,7 +307,7 @@ export default class ICalAttendee {
|
|
|
307
307
|
|
|
308
308
|
/**
|
|
309
309
|
* Set attendee's type (a.k.a. CUTYPE).
|
|
310
|
-
* See
|
|
310
|
+
* See {@link ICalAttendeeType} for available status options.
|
|
311
311
|
*
|
|
312
312
|
* @since 0.2.3
|
|
313
313
|
*/
|
|
@@ -336,7 +336,7 @@ export default class ICalAttendee {
|
|
|
336
336
|
* Set the attendee's delegated-to field.
|
|
337
337
|
*
|
|
338
338
|
* Creates a new Attendee if the passed object is not already a
|
|
339
|
-
*
|
|
339
|
+
* {@link ICalAttendee} object. Will set the `delegatedTo` and
|
|
340
340
|
* `delegatedFrom` attributes.
|
|
341
341
|
*
|
|
342
342
|
* Will also set the `status` to `DELEGATED`, if attribute is set.
|
|
@@ -392,7 +392,7 @@ export default class ICalAttendee {
|
|
|
392
392
|
* Set the attendee's delegated-from field
|
|
393
393
|
*
|
|
394
394
|
* Creates a new Attendee if the passed object is not already a
|
|
395
|
-
*
|
|
395
|
+
* {@link ICalAttendee} object. Will set the `delegatedTo` and
|
|
396
396
|
* `delegatedFrom` attributes.
|
|
397
397
|
*
|
|
398
398
|
* @param delegatedFrom
|
|
@@ -426,7 +426,7 @@ export default class ICalAttendee {
|
|
|
426
426
|
/**
|
|
427
427
|
* Create a new attendee this attendee delegates to and returns
|
|
428
428
|
* this new attendee. Creates a new attendee if the passed object
|
|
429
|
-
* is not already an
|
|
429
|
+
* is not already an {@link ICalAttendee}.
|
|
430
430
|
*
|
|
431
431
|
* ```javascript
|
|
432
432
|
* const cal = ical();
|
|
@@ -449,7 +449,7 @@ export default class ICalAttendee {
|
|
|
449
449
|
/**
|
|
450
450
|
* Create a new attendee this attendee delegates from and returns
|
|
451
451
|
* this new attendee. Creates a new attendee if the passed object
|
|
452
|
-
* is not already an
|
|
452
|
+
* is not already an {@link ICalAttendee}.
|
|
453
453
|
*
|
|
454
454
|
* ```javascript
|
|
455
455
|
* const cal = ical();
|
package/src/calendar.ts
CHANGED
|
@@ -73,7 +73,7 @@ export enum ICalCalendarMethod {
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* Usually you get an
|
|
76
|
+
* Usually you get an {@link ICalCalendar} object like this:
|
|
77
77
|
* ```javascript
|
|
78
78
|
* import ical from 'ical-generator';
|
|
79
79
|
* const calendar = ical();
|
|
@@ -89,7 +89,7 @@ export default class ICalCalendar {
|
|
|
89
89
|
private readonly data: ICalCalendarInternalData;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* You can pass options to
|
|
92
|
+
* You can pass options to set up your calendar or use setters to do this.
|
|
93
93
|
*
|
|
94
94
|
* ```javascript
|
|
95
95
|
* * import ical from 'ical-generator';
|
|
@@ -110,6 +110,16 @@ export default class ICalCalendar {
|
|
|
110
110
|
* cal.name('sebbo.net');
|
|
111
111
|
* ```
|
|
112
112
|
*
|
|
113
|
+
* `cal.toString()` would then produce the following string:
|
|
114
|
+
* ```text
|
|
115
|
+
* BEGIN:VCALENDAR
|
|
116
|
+
* VERSION:2.0
|
|
117
|
+
* PRODID:-//sebbo.net//ical-generator//EN
|
|
118
|
+
* NAME:sebbo.net
|
|
119
|
+
* X-WR-CALNAME:sebbo.net
|
|
120
|
+
* END:VCALENDAR
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
113
123
|
* @param data Calendar data
|
|
114
124
|
*/
|
|
115
125
|
constructor(data: ICalCalendarData = {}) {
|
|
@@ -150,7 +160,7 @@ export default class ICalCalendar {
|
|
|
150
160
|
/**
|
|
151
161
|
* Set your feed's prodid. `prodid` can be either a
|
|
152
162
|
* string like `//sebbo.net//ical-generator//EN` or a
|
|
153
|
-
* valid
|
|
163
|
+
* valid {@link ICalCalendarProdIdData} object. `language`
|
|
154
164
|
* is optional and defaults to `EN`.
|
|
155
165
|
*
|
|
156
166
|
* ```javascript
|
|
@@ -161,6 +171,11 @@ export default class ICalCalendar {
|
|
|
161
171
|
* });
|
|
162
172
|
* ```
|
|
163
173
|
*
|
|
174
|
+
* `cal.toString()` would then produce the following string:
|
|
175
|
+
* ```text
|
|
176
|
+
* PRODID:-//My Company//My Product//EN
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
164
179
|
* @since 0.2.0
|
|
165
180
|
*/
|
|
166
181
|
prodId(prodId: ICalCalendarProdIdData | string): this;
|
|
@@ -193,7 +208,7 @@ export default class ICalCalendar {
|
|
|
193
208
|
|
|
194
209
|
/**
|
|
195
210
|
* Get the feed method attribute.
|
|
196
|
-
* See
|
|
211
|
+
* See {@link ICalCalendarMethod} for possible results.
|
|
197
212
|
*
|
|
198
213
|
* @since 0.2.8
|
|
199
214
|
*/
|
|
@@ -201,11 +216,13 @@ export default class ICalCalendar {
|
|
|
201
216
|
|
|
202
217
|
/**
|
|
203
218
|
* Set the feed method attribute.
|
|
204
|
-
* See
|
|
219
|
+
* See {@link ICalCalendarMethod} for available options.
|
|
205
220
|
*
|
|
206
221
|
* #### Typescript Example
|
|
207
222
|
* ```typescript
|
|
208
223
|
* import {ICalCalendarMethod} from 'ical-generator';
|
|
224
|
+
*
|
|
225
|
+
* // METHOD:PUBLISH
|
|
209
226
|
* calendar.method(ICalCalendarMethod.PUBLISH);
|
|
210
227
|
* ```
|
|
211
228
|
*
|
|
@@ -236,6 +253,24 @@ export default class ICalCalendar {
|
|
|
236
253
|
* Set your feed's name. Is used to fill `NAME`
|
|
237
254
|
* and `X-WR-CALNAME` in your iCal file.
|
|
238
255
|
*
|
|
256
|
+
* ```typescript
|
|
257
|
+
* import ical from 'ical-generator';
|
|
258
|
+
*
|
|
259
|
+
* const cal = ical();
|
|
260
|
+
* cal.name('Next Arrivals');
|
|
261
|
+
*
|
|
262
|
+
* cal.toString();
|
|
263
|
+
* ```
|
|
264
|
+
*
|
|
265
|
+
* ```text
|
|
266
|
+
* BEGIN:VCALENDAR
|
|
267
|
+
* VERSION:2.0
|
|
268
|
+
* PRODID:-//sebbo.net//ical-generator//EN
|
|
269
|
+
* NAME:Next Arrivals
|
|
270
|
+
* X-WR-CALNAME:Next Arrivals
|
|
271
|
+
* END:VCALENDAR
|
|
272
|
+
* ```
|
|
273
|
+
*
|
|
239
274
|
* @since 0.2.0
|
|
240
275
|
*/
|
|
241
276
|
name(name: string | null): this;
|
|
@@ -280,7 +315,7 @@ export default class ICalCalendar {
|
|
|
280
315
|
* Use this method to set your feed's timezone. Is used
|
|
281
316
|
* to fill `TIMEZONE-ID` and `X-WR-TIMEZONE` in your iCal export.
|
|
282
317
|
* Please not that all date values are treaded differently, if
|
|
283
|
-
* a timezone was set. See
|
|
318
|
+
* a timezone was set. See {@link formatDate} for details. If no
|
|
284
319
|
* time zone is specified, all information is output as UTC.
|
|
285
320
|
*
|
|
286
321
|
* ```javascript
|
|
@@ -312,7 +347,7 @@ export default class ICalCalendar {
|
|
|
312
347
|
* import ical from 'ical-generator';
|
|
313
348
|
* import {getVtimezoneComponent} from '@touch4it/ical-timezones';
|
|
314
349
|
*
|
|
315
|
-
* const cal =
|
|
350
|
+
* const cal = ical();
|
|
316
351
|
* cal.timezone({
|
|
317
352
|
* name: 'FOO',
|
|
318
353
|
* generator: getVtimezoneComponent
|
|
@@ -363,6 +398,10 @@ export default class ICalCalendar {
|
|
|
363
398
|
* cal.source('http://example.com/my/original_source.ical');
|
|
364
399
|
* ```
|
|
365
400
|
*
|
|
401
|
+
* ```text
|
|
402
|
+
* SOURCE;VALUE=URI:http://example.com/my/original_source.ical
|
|
403
|
+
* ```
|
|
404
|
+
*
|
|
366
405
|
* @since 2.2.0-develop.1
|
|
367
406
|
*/
|
|
368
407
|
source(source: string | null): this;
|
|
@@ -481,7 +520,7 @@ export default class ICalCalendar {
|
|
|
481
520
|
|
|
482
521
|
|
|
483
522
|
/**
|
|
484
|
-
* Creates a new
|
|
523
|
+
* Creates a new {@link ICalEvent} and returns it. Use options to prefill the event's attributes.
|
|
485
524
|
* Calling this method without options will create an empty event.
|
|
486
525
|
*
|
|
487
526
|
* ```javascript
|
|
@@ -595,6 +634,14 @@ export default class ICalCalendar {
|
|
|
595
634
|
* });
|
|
596
635
|
* ```
|
|
597
636
|
*
|
|
637
|
+
* ```text
|
|
638
|
+
* BEGIN:VCALENDAR
|
|
639
|
+
* VERSION:2.0
|
|
640
|
+
* PRODID:-//sebbo.net//ical-generator//EN
|
|
641
|
+
* X-MY-CUSTOM-ATTR:1337!
|
|
642
|
+
* END:VCALENDAR
|
|
643
|
+
* ```
|
|
644
|
+
*
|
|
598
645
|
* @since 1.9.0
|
|
599
646
|
*/
|
|
600
647
|
x (keyOrArray: {key: string, value: string}[] | [string, string][] | Record<string, string>): this;
|
|
@@ -608,6 +655,14 @@ export default class ICalCalendar {
|
|
|
608
655
|
* calendar.x("X-MY-CUSTOM-ATTR", "1337!");
|
|
609
656
|
* ```
|
|
610
657
|
*
|
|
658
|
+
* ```text
|
|
659
|
+
* BEGIN:VCALENDAR
|
|
660
|
+
* VERSION:2.0
|
|
661
|
+
* PRODID:-//sebbo.net//ical-generator//EN
|
|
662
|
+
* X-MY-CUSTOM-ATTR:1337!
|
|
663
|
+
* END:VCALENDAR
|
|
664
|
+
* ```
|
|
665
|
+
*
|
|
611
666
|
* @since 1.9.0
|
|
612
667
|
*/
|
|
613
668
|
x (keyOrArray: string, value: string): this;
|
package/src/category.ts
CHANGED
|
@@ -8,15 +8,16 @@ export interface ICalCategoryData {
|
|
|
8
8
|
name: string;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
export interface ICalCategoryJSONData {
|
|
12
13
|
name: string;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
export type
|
|
16
|
+
export type ICalCategoryInternalData = ICalCategoryJSONData;
|
|
16
17
|
|
|
17
18
|
|
|
18
19
|
/**
|
|
19
|
-
* Usually you get an
|
|
20
|
+
* Usually you get an {@link ICalCategory} object like this:
|
|
20
21
|
*
|
|
21
22
|
* ```javascript
|
|
22
23
|
* import ical from 'ical-generator';
|
|
@@ -25,7 +26,7 @@ export type ICalCategoryJSONData = ICalCategoryInternalData;
|
|
|
25
26
|
* const category = event.createCategory();
|
|
26
27
|
* ```
|
|
27
28
|
*
|
|
28
|
-
* You can also use the
|
|
29
|
+
* You can also use the {@link ICalCategory} object directly:
|
|
29
30
|
*
|
|
30
31
|
* ```javascript
|
|
31
32
|
* import ical, {ICalCategory} from 'ical-generator';
|
|
@@ -37,7 +38,7 @@ export default class ICalCategory {
|
|
|
37
38
|
private readonly data: ICalCategoryInternalData;
|
|
38
39
|
|
|
39
40
|
/**
|
|
40
|
-
* Constructor of
|
|
41
|
+
* Constructor of {@link ICalCategory}.
|
|
41
42
|
* @param data Category Data
|
|
42
43
|
*/
|
|
43
44
|
constructor(data: ICalCategoryData) {
|