@vicacha-devs/strapi-plugin-events 0.0.0-stage → 1.0.0

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.
Files changed (89) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +121 -2
  3. package/dist/admin/CalendarPage-CwCvPDRx.js +1215 -0
  4. package/dist/admin/CalendarPage-Dz7g19qp.mjs +1215 -0
  5. package/dist/admin/RRuleInput-BQl-siRj.js +11 -0
  6. package/dist/admin/RRuleInput-C8bR37X9.mjs +6 -0
  7. package/dist/admin/SettingsPage-CNG9AEO_.mjs +415 -0
  8. package/dist/admin/SettingsPage-DhjtKDmY.js +415 -0
  9. package/dist/admin/ar-mMKUXxch.js +216 -0
  10. package/dist/admin/ar-tWKEvJLB.mjs +216 -0
  11. package/dist/admin/de-CGk8UZ3W.js +216 -0
  12. package/dist/admin/de-OdbJEFs0.mjs +216 -0
  13. package/dist/admin/en-Dskn9ZPa.mjs +216 -0
  14. package/dist/admin/en-imdSlLhJ.js +216 -0
  15. package/dist/admin/es-DcMsMHrI.mjs +216 -0
  16. package/dist/admin/es-DkqqxUJQ.js +216 -0
  17. package/dist/admin/fr-BTEIPOFw.mjs +216 -0
  18. package/dist/admin/fr-D92B_ZTv.js +216 -0
  19. package/dist/admin/index-BTq_X4uT.js +1005 -0
  20. package/dist/admin/index-BatOiwBu.mjs +1006 -0
  21. package/dist/admin/index.js +6 -0
  22. package/dist/admin/index.mjs +6 -0
  23. package/dist/admin/it-CAxPpL_9.mjs +216 -0
  24. package/dist/admin/it-ClKaSCgv.js +216 -0
  25. package/dist/admin/nl-CS1aUfT7.mjs +216 -0
  26. package/dist/admin/nl-F6FIi7zw.js +216 -0
  27. package/dist/admin/pl-BfmBU9FW.mjs +216 -0
  28. package/dist/admin/pl-p8VLXi02.js +216 -0
  29. package/dist/admin/pt-BUdH0uSw.js +216 -0
  30. package/dist/admin/pt-DdulKcbk.mjs +216 -0
  31. package/dist/admin/src/components/EventSidePanel.d.ts +13 -0
  32. package/dist/admin/src/components/Initializer.d.ts +5 -0
  33. package/dist/admin/src/components/PluginIcon.d.ts +2 -0
  34. package/dist/admin/src/components/RRuleInput.d.ts +3 -0
  35. package/dist/admin/src/components/events/AttendeesManagerPanel.d.ts +15 -0
  36. package/dist/admin/src/components/events/EventsDirectoryPanel.d.ts +11 -0
  37. package/dist/admin/src/components/events/EventsKpiCards.d.ts +16 -0
  38. package/dist/admin/src/components/events/QuickCreateEventPanel.d.ts +21 -0
  39. package/dist/admin/src/components/events/calendarPageHelpers.d.ts +8 -0
  40. package/dist/admin/src/fields/rruleField.d.ts +41 -0
  41. package/dist/admin/src/index.d.ts +15 -0
  42. package/dist/admin/src/pages/CalendarPage.d.ts +3 -0
  43. package/dist/admin/src/pages/SettingsPage.d.ts +3 -0
  44. package/dist/admin/src/permissions.d.ts +15 -0
  45. package/dist/admin/src/translations/cmLabels.d.ts +1 -0
  46. package/dist/admin/src/translations/cmPlaceholders.d.ts +1 -0
  47. package/dist/admin/tr-Bp50qvL8.mjs +216 -0
  48. package/dist/admin/tr-C7G9mPtg.js +216 -0
  49. package/dist/server/index.js +3709 -0
  50. package/dist/server/index.mjs +3705 -0
  51. package/dist/server/src/bootstrap.d.ts +5 -0
  52. package/dist/server/src/config/index.d.ts +7 -0
  53. package/dist/server/src/content-types/event/schema.json.d.ts +279 -0
  54. package/dist/server/src/content-types/index.d.ts +366 -0
  55. package/dist/server/src/content-types/registration/schema.json.d.ts +86 -0
  56. package/dist/server/src/controllers/admin.d.ts +17 -0
  57. package/dist/server/src/controllers/content-api.d.ts +14 -0
  58. package/dist/server/src/controllers/index.d.ts +28 -0
  59. package/dist/server/src/destroy.d.ts +5 -0
  60. package/dist/server/src/index.d.ts +551 -0
  61. package/dist/server/src/middlewares/index.d.ts +2 -0
  62. package/dist/server/src/policies/index.d.ts +2 -0
  63. package/dist/server/src/register.d.ts +5 -0
  64. package/dist/server/src/routes/admin.d.ts +17 -0
  65. package/dist/server/src/routes/content-api.d.ts +12 -0
  66. package/dist/server/src/routes/index.d.ts +30 -0
  67. package/dist/server/src/services/ical.d.ts +18 -0
  68. package/dist/server/src/services/index.d.ts +110 -0
  69. package/dist/server/src/services/occurrence.d.ts +44 -0
  70. package/dist/server/src/services/occurrenceHelpers.d.ts +16 -0
  71. package/dist/server/src/services/occurrencePayloadHelpers.d.ts +30 -0
  72. package/dist/server/src/services/occurrenceRsvpBatch.d.ts +25 -0
  73. package/dist/server/src/services/rsvp.d.ts +51 -0
  74. package/dist/server/src/services/rsvpHelpers.d.ts +52 -0
  75. package/dist/server/src/services/rsvpMutations.d.ts +34 -0
  76. package/dist/server/src/services/rsvpSecurity.d.ts +22 -0
  77. package/dist/server/src/services/settings.d.ts +10 -0
  78. package/dist/server/src/types.d.ts +171 -0
  79. package/dist/shared/calendarSystems.d.ts +6 -0
  80. package/dist/shared/icalGenerator.d.ts +25 -0
  81. package/dist/shared/index.d.ts +6 -0
  82. package/dist/shared/index.js +753 -0
  83. package/dist/shared/index.mjs +727 -0
  84. package/dist/shared/pluginId.d.ts +4 -0
  85. package/dist/shared/rruleEngine.d.ts +20 -0
  86. package/dist/shared/spotlightHelpers.d.ts +17 -0
  87. package/dist/shared/types.d.ts +309 -0
  88. package/dist/shared/urlAndPosterHelpers.d.ts +18 -0
  89. package/package.json +109 -3
@@ -0,0 +1,551 @@
1
+ declare const _default: {
2
+ readonly register: ({ strapi }: {
3
+ strapi: import("@strapi/strapi").Core.Strapi;
4
+ }) => void;
5
+ readonly bootstrap: ({ strapi }: {
6
+ strapi: import("@strapi/strapi").Core.Strapi;
7
+ }) => Promise<void>;
8
+ readonly destroy: ({ strapi }: {
9
+ strapi: import("@strapi/strapi").Core.Strapi;
10
+ }) => void;
11
+ readonly config: {
12
+ default: import('.').EventsPluginSettings;
13
+ validator(config: Partial<import('.').EventsPluginSettings>): void;
14
+ };
15
+ readonly controllers: {
16
+ admin: ({ strapi }: {
17
+ strapi: import("@strapi/strapi").Core.Strapi;
18
+ }) => {
19
+ getSettings(ctx: import('./types').StrapiKoaContext): Promise<void>;
20
+ updateSettings(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
21
+ getCalendar(ctx: import('./types').StrapiKoaContext): Promise<void>;
22
+ reschedule(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
23
+ quickCreate(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
24
+ getEventStats(ctx: import('./types').StrapiKoaContext): Promise<void>;
25
+ listRegistrations(ctx: import('./types').StrapiKoaContext): Promise<void>;
26
+ updateRegistrationStatus(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
27
+ checkIn(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
28
+ exportRegistrationsCsv(ctx: import('./types').StrapiKoaContext): Promise<void>;
29
+ };
30
+ "content-api": ({ strapi }: {
31
+ strapi: import("@strapi/strapi").Core.Strapi;
32
+ }) => {
33
+ listOccurrences(ctx: import('./types').StrapiKoaContext): Promise<void>;
34
+ listSpotlights(ctx: import('./types').StrapiKoaContext): Promise<void>;
35
+ getEventStats(ctx: import('./types').StrapiKoaContext): Promise<void>;
36
+ registerAttendee(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
37
+ cancelRegistration(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
38
+ downloadFeedIcs(ctx: import('./types').StrapiKoaContext): Promise<void>;
39
+ downloadEventInviteIcs(ctx: import('./types').StrapiKoaContext): Promise<unknown>;
40
+ };
41
+ };
42
+ readonly routes: {
43
+ admin: {
44
+ type: string;
45
+ routes: {
46
+ method: string;
47
+ path: string;
48
+ handler: string;
49
+ config: {
50
+ policies: (string | {
51
+ name: string;
52
+ config: {
53
+ actions: string[];
54
+ };
55
+ })[];
56
+ };
57
+ }[];
58
+ };
59
+ "content-api": {
60
+ type: string;
61
+ routes: {
62
+ method: string;
63
+ path: string;
64
+ handler: string;
65
+ config: {
66
+ policies: never[];
67
+ };
68
+ }[];
69
+ };
70
+ };
71
+ readonly services: {
72
+ settings: ({ strapi }: {
73
+ strapi: import("@strapi/strapi").Core.Strapi;
74
+ }) => {
75
+ ensureInitialized(): Promise<import('.').EventsPluginSettings>;
76
+ getSettings(): Promise<import('.').EventsPluginSettings>;
77
+ updateSettings(patch: Partial<import('.').EventsPluginSettings>): Promise<import('.').EventsPluginSettings>;
78
+ };
79
+ occurrence: ({ strapi }: {
80
+ strapi: import("@strapi/strapi").Core.Strapi;
81
+ }) => {
82
+ registerCalendarFormatter(calendarId: string, formatter: import('../../shared/types').CalendarSystemFormatterFn): void;
83
+ unregisterCalendarFormatter(calendarId: string): void;
84
+ formatDateInCalendarSystem(isoOrDateKey: string, system: import('../../shared/types').CalendarSystemConfig, locale?: string, options?: {
85
+ compact?: boolean;
86
+ }): string;
87
+ getOccurrences(params: import('./services/occurrencePayloadHelpers').GetOccurrencesParams): Promise<import('.').ExpandedOccurrence[]>;
88
+ getActiveSpotlights(params?: {
89
+ date?: string;
90
+ locale?: string;
91
+ sourceId?: string;
92
+ category?: string;
93
+ includeDrafts?: boolean;
94
+ } & import('./types').PaginationParams): Promise<import('.').ExpandedOccurrence[]>;
95
+ rescheduleOccurrence(params: {
96
+ sourceId?: string;
97
+ uid?: string;
98
+ documentId: string;
99
+ occurrenceDate: string;
100
+ newStartDate: string;
101
+ newEndDate?: string;
102
+ applyToSeries?: boolean;
103
+ cancelOccurrence?: boolean;
104
+ }): Promise<Record<string, unknown>>;
105
+ quickCreateEvent(params: {
106
+ sourceId?: string;
107
+ title: string;
108
+ startDate: string;
109
+ endDate?: string;
110
+ location?: string;
111
+ category?: string;
112
+ summary?: string;
113
+ rrule?: string;
114
+ rsvpEnabled?: boolean;
115
+ capacity?: number;
116
+ }): Promise<Record<string, unknown>>;
117
+ };
118
+ rsvp: ({ strapi }: {
119
+ strapi: import("@strapi/strapi").Core.Strapi;
120
+ }) => {
121
+ getEventStats(params: {
122
+ eventUid?: string;
123
+ eventDocumentId: string;
124
+ occurrenceDate?: string | null;
125
+ capacityOverride?: number | null;
126
+ waitlistOverride?: boolean;
127
+ rsvpEnabledOverride?: boolean;
128
+ includeDrafts?: boolean;
129
+ }): Promise<import('.').RsvpStats>;
130
+ registerAttendee(eventDocumentId: string, input: import('.').RsvpRegistrationInput): Promise<import('.').RsvpRegistrationRecord & {
131
+ cancellationToken: string;
132
+ }>;
133
+ promoteFromWaitlist(params: {
134
+ eventUid: string;
135
+ eventDocumentId: string;
136
+ occurrenceDate: string;
137
+ }): Promise<import('.').RsvpRegistrationRecord[]>;
138
+ cancelByToken(token: string): Promise<{
139
+ cancelled: import('.').RsvpRegistrationRecord;
140
+ promotedCount: number;
141
+ }>;
142
+ updateRegistrationStatus(registrationDocumentId: string, newStatus: import('.').RsvpStatus): Promise<{
143
+ registration: import('.').RsvpRegistrationRecord;
144
+ promotedCount: number;
145
+ }>;
146
+ checkInAttendee(identifier: {
147
+ documentId?: string;
148
+ token?: string;
149
+ }): Promise<import('.').RsvpRegistrationRecord>;
150
+ listRegistrations(filters?: {
151
+ eventDocumentId?: string;
152
+ occurrenceDate?: string;
153
+ status?: import('.').RsvpStatus;
154
+ search?: string;
155
+ } & import('./types').PaginationParams): Promise<import('.').RsvpRegistrationRecord[]>;
156
+ exportRegistrationsCsv(filters?: {
157
+ eventDocumentId?: string;
158
+ occurrenceDate?: string;
159
+ status?: import('.').RsvpStatus;
160
+ }): Promise<string>;
161
+ formatRegistrationRecord: typeof import('./services/rsvpHelpers').formatRegistrationRecord;
162
+ };
163
+ ical: ({ strapi }: {
164
+ strapi: import("@strapi/strapi").Core.Strapi;
165
+ }) => {
166
+ generateFeedIcs(params?: {
167
+ from?: string;
168
+ to?: string;
169
+ category?: string;
170
+ sourceId?: string;
171
+ locale?: string;
172
+ }): Promise<string>;
173
+ generateEventInviteIcs(params: {
174
+ documentId: string;
175
+ occurrenceDate?: string;
176
+ locale?: string;
177
+ }): Promise<string>;
178
+ };
179
+ };
180
+ readonly contentTypes: {
181
+ event: {
182
+ schema: {
183
+ kind: string;
184
+ collectionName: string;
185
+ info: {
186
+ singularName: string;
187
+ pluralName: string;
188
+ displayName: string;
189
+ description: string;
190
+ };
191
+ options: {
192
+ draftAndPublish: boolean;
193
+ };
194
+ pluginOptions: {
195
+ "content-manager": {
196
+ visible: boolean;
197
+ };
198
+ "content-type-builder": {
199
+ visible: boolean;
200
+ };
201
+ i18n: {
202
+ localized: boolean;
203
+ };
204
+ };
205
+ attributes: {
206
+ title: {
207
+ type: string;
208
+ required: boolean;
209
+ maxLength: number;
210
+ pluginOptions: {
211
+ i18n: {
212
+ localized: boolean;
213
+ };
214
+ };
215
+ };
216
+ slug: {
217
+ type: string;
218
+ targetField: string;
219
+ required: boolean;
220
+ pluginOptions: {
221
+ i18n: {
222
+ localized: boolean;
223
+ };
224
+ };
225
+ };
226
+ summary: {
227
+ type: string;
228
+ maxLength: number;
229
+ pluginOptions: {
230
+ i18n: {
231
+ localized: boolean;
232
+ };
233
+ };
234
+ };
235
+ description: {
236
+ type: string;
237
+ pluginOptions: {
238
+ i18n: {
239
+ localized: boolean;
240
+ };
241
+ };
242
+ };
243
+ startDate: {
244
+ type: string;
245
+ required: boolean;
246
+ pluginOptions: {
247
+ i18n: {
248
+ localized: boolean;
249
+ };
250
+ };
251
+ };
252
+ endDate: {
253
+ type: string;
254
+ pluginOptions: {
255
+ i18n: {
256
+ localized: boolean;
257
+ };
258
+ };
259
+ };
260
+ allDay: {
261
+ type: string;
262
+ default: boolean;
263
+ pluginOptions: {
264
+ i18n: {
265
+ localized: boolean;
266
+ };
267
+ };
268
+ };
269
+ timezone: {
270
+ type: string;
271
+ default: string;
272
+ pluginOptions: {
273
+ i18n: {
274
+ localized: boolean;
275
+ };
276
+ };
277
+ };
278
+ recurrence: {
279
+ type: string;
280
+ customField: string;
281
+ pluginOptions: {
282
+ i18n: {
283
+ localized: boolean;
284
+ };
285
+ };
286
+ };
287
+ eventStatus: {
288
+ type: string;
289
+ enum: string[];
290
+ default: string;
291
+ required: boolean;
292
+ pluginOptions: {
293
+ i18n: {
294
+ localized: boolean;
295
+ };
296
+ };
297
+ };
298
+ locationType: {
299
+ type: string;
300
+ enum: string[];
301
+ default: string;
302
+ pluginOptions: {
303
+ i18n: {
304
+ localized: boolean;
305
+ };
306
+ };
307
+ };
308
+ location: {
309
+ type: string;
310
+ pluginOptions: {
311
+ i18n: {
312
+ localized: boolean;
313
+ };
314
+ };
315
+ };
316
+ virtualUrl: {
317
+ type: string;
318
+ pluginOptions: {
319
+ i18n: {
320
+ localized: boolean;
321
+ };
322
+ };
323
+ };
324
+ category: {
325
+ type: string;
326
+ default: string;
327
+ pluginOptions: {
328
+ i18n: {
329
+ localized: boolean;
330
+ };
331
+ };
332
+ };
333
+ speaker: {
334
+ type: string;
335
+ pluginOptions: {
336
+ i18n: {
337
+ localized: boolean;
338
+ };
339
+ };
340
+ };
341
+ speakerSlug: {
342
+ type: string;
343
+ pluginOptions: {
344
+ i18n: {
345
+ localized: boolean;
346
+ };
347
+ };
348
+ };
349
+ color: {
350
+ type: string;
351
+ default: string;
352
+ pluginOptions: {
353
+ i18n: {
354
+ localized: boolean;
355
+ };
356
+ };
357
+ };
358
+ featured: {
359
+ type: string;
360
+ default: boolean;
361
+ pluginOptions: {
362
+ i18n: {
363
+ localized: boolean;
364
+ };
365
+ };
366
+ };
367
+ rsvpEnabled: {
368
+ type: string;
369
+ default: boolean;
370
+ pluginOptions: {
371
+ i18n: {
372
+ localized: boolean;
373
+ };
374
+ };
375
+ };
376
+ capacity: {
377
+ type: string;
378
+ min: number;
379
+ pluginOptions: {
380
+ i18n: {
381
+ localized: boolean;
382
+ };
383
+ };
384
+ };
385
+ waitlistEnabled: {
386
+ type: string;
387
+ default: boolean;
388
+ pluginOptions: {
389
+ i18n: {
390
+ localized: boolean;
391
+ };
392
+ };
393
+ };
394
+ maxGuestsPerRegistration: {
395
+ type: string;
396
+ min: number;
397
+ max: number;
398
+ default: number;
399
+ pluginOptions: {
400
+ i18n: {
401
+ localized: boolean;
402
+ };
403
+ };
404
+ };
405
+ registrationDeadline: {
406
+ type: string;
407
+ pluginOptions: {
408
+ i18n: {
409
+ localized: boolean;
410
+ };
411
+ };
412
+ };
413
+ alternateDates: {
414
+ type: string;
415
+ pluginOptions: {
416
+ i18n: {
417
+ localized: boolean;
418
+ };
419
+ };
420
+ };
421
+ poster: {
422
+ type: string;
423
+ multiple: boolean;
424
+ required: boolean;
425
+ allowedTypes: string[];
426
+ pluginOptions: {
427
+ i18n: {
428
+ localized: boolean;
429
+ };
430
+ };
431
+ };
432
+ actionLinks: {
433
+ type: string;
434
+ pluginOptions: {
435
+ i18n: {
436
+ localized: boolean;
437
+ };
438
+ };
439
+ };
440
+ spotlightConfig: {
441
+ type: string;
442
+ pluginOptions: {
443
+ i18n: {
444
+ localized: boolean;
445
+ };
446
+ };
447
+ };
448
+ metadata: {
449
+ type: string;
450
+ pluginOptions: {
451
+ i18n: {
452
+ localized: boolean;
453
+ };
454
+ };
455
+ };
456
+ };
457
+ };
458
+ };
459
+ registration: {
460
+ schema: {
461
+ kind: string;
462
+ collectionName: string;
463
+ info: {
464
+ singularName: string;
465
+ pluralName: string;
466
+ displayName: string;
467
+ description: string;
468
+ };
469
+ options: {
470
+ draftAndPublish: boolean;
471
+ };
472
+ pluginOptions: {
473
+ "content-manager": {
474
+ visible: boolean;
475
+ };
476
+ "content-type-builder": {
477
+ visible: boolean;
478
+ };
479
+ };
480
+ attributes: {
481
+ eventUid: {
482
+ type: string;
483
+ required: boolean;
484
+ default: string;
485
+ };
486
+ eventDocumentId: {
487
+ type: string;
488
+ required: boolean;
489
+ };
490
+ eventTitle: {
491
+ type: string;
492
+ };
493
+ occurrenceDate: {
494
+ type: string;
495
+ required: boolean;
496
+ };
497
+ attendeeName: {
498
+ type: string;
499
+ required: boolean;
500
+ maxLength: number;
501
+ };
502
+ attendeeEmail: {
503
+ type: string;
504
+ required: boolean;
505
+ };
506
+ attendeePhone: {
507
+ type: string;
508
+ maxLength: number;
509
+ };
510
+ guestsCount: {
511
+ type: string;
512
+ required: boolean;
513
+ min: number;
514
+ max: number;
515
+ default: number;
516
+ };
517
+ status: {
518
+ type: string;
519
+ enum: string[];
520
+ default: string;
521
+ required: boolean;
522
+ };
523
+ checkInToken: {
524
+ type: string;
525
+ private: boolean;
526
+ };
527
+ checkedInAt: {
528
+ type: string;
529
+ };
530
+ locale: {
531
+ type: string;
532
+ default: string;
533
+ };
534
+ notes: {
535
+ type: string;
536
+ maxLength: number;
537
+ };
538
+ metadata: {
539
+ type: string;
540
+ };
541
+ };
542
+ };
543
+ };
544
+ };
545
+ readonly policies: {};
546
+ readonly middlewares: {};
547
+ };
548
+ export default _default;
549
+ export type { CalendarLinkSet, EventLifecycleStatus, EventLocationType, EventSourceMapping, EventsPluginSettings, ExpandedOccurrence, OccurrenceOverride, ParsedRRule, RRuleFieldValue, RRuleFrequency, RRuleWeekday, RsvpRegistrationInput, RsvpRegistrationRecord, RsvpStats, RsvpStatus, TimeSlotWindow, } from '../../shared/types';
550
+ export { buildRRule, describeRRule, expandRuleSlots, parseRRule, parseRRuleFieldValue, } from '../../shared/rruleEngine';
551
+ export { buildCalendarLinks, generateIcsCalendar, generateRegistrationsCsv, sanitizeCsvCell, } from '../../shared/icalGenerator';
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: {};
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { Core } from '@strapi/strapi';
2
+ declare const _default: ({ strapi }: {
3
+ strapi: Core.Strapi;
4
+ }) => void;
5
+ export default _default;
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ type: string;
3
+ routes: {
4
+ method: string;
5
+ path: string;
6
+ handler: string;
7
+ config: {
8
+ policies: (string | {
9
+ name: string;
10
+ config: {
11
+ actions: string[];
12
+ };
13
+ })[];
14
+ };
15
+ }[];
16
+ };
17
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ type: string;
3
+ routes: {
4
+ method: string;
5
+ path: string;
6
+ handler: string;
7
+ config: {
8
+ policies: never[];
9
+ };
10
+ }[];
11
+ };
12
+ export default _default;
@@ -0,0 +1,30 @@
1
+ declare const _default: {
2
+ admin: {
3
+ type: string;
4
+ routes: {
5
+ method: string;
6
+ path: string;
7
+ handler: string;
8
+ config: {
9
+ policies: (string | {
10
+ name: string;
11
+ config: {
12
+ actions: string[];
13
+ };
14
+ })[];
15
+ };
16
+ }[];
17
+ };
18
+ "content-api": {
19
+ type: string;
20
+ routes: {
21
+ method: string;
22
+ path: string;
23
+ handler: string;
24
+ config: {
25
+ policies: never[];
26
+ };
27
+ }[];
28
+ };
29
+ };
30
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { Core } from '@strapi/strapi';
2
+ declare const _default: ({ strapi }: {
3
+ strapi: Core.Strapi;
4
+ }) => {
5
+ generateFeedIcs(params?: {
6
+ from?: string;
7
+ to?: string;
8
+ category?: string;
9
+ sourceId?: string;
10
+ locale?: string;
11
+ }): Promise<string>;
12
+ generateEventInviteIcs(params: {
13
+ documentId: string;
14
+ occurrenceDate?: string;
15
+ locale?: string;
16
+ }): Promise<string>;
17
+ };
18
+ export default _default;