backend/types/generated/contentTypes.d.ts (view raw)
1import type { Attribute, Schema } from '@strapi/strapi';
2
3export interface AdminApiToken extends Schema.CollectionType {
4 collectionName: 'strapi_api_tokens';
5 info: {
6 description: '';
7 displayName: 'Api Token';
8 name: 'Api Token';
9 pluralName: 'api-tokens';
10 singularName: 'api-token';
11 };
12 pluginOptions: {
13 'content-manager': {
14 visible: false;
15 };
16 'content-type-builder': {
17 visible: false;
18 };
19 };
20 attributes: {
21 accessKey: Attribute.String &
22 Attribute.Required &
23 Attribute.SetMinMaxLength<{
24 minLength: 1;
25 }>;
26 createdAt: Attribute.DateTime;
27 createdBy: Attribute.Relation<
28 'admin::api-token',
29 'oneToOne',
30 'admin::user'
31 > &
32 Attribute.Private;
33 description: Attribute.String &
34 Attribute.SetMinMaxLength<{
35 minLength: 1;
36 }> &
37 Attribute.DefaultTo<''>;
38 expiresAt: Attribute.DateTime;
39 lastUsedAt: Attribute.DateTime;
40 lifespan: Attribute.BigInteger;
41 name: Attribute.String &
42 Attribute.Required &
43 Attribute.Unique &
44 Attribute.SetMinMaxLength<{
45 minLength: 1;
46 }>;
47 permissions: Attribute.Relation<
48 'admin::api-token',
49 'oneToMany',
50 'admin::api-token-permission'
51 >;
52 type: Attribute.Enumeration<['read-only', 'full-access', 'custom']> &
53 Attribute.Required &
54 Attribute.DefaultTo<'read-only'>;
55 updatedAt: Attribute.DateTime;
56 updatedBy: Attribute.Relation<
57 'admin::api-token',
58 'oneToOne',
59 'admin::user'
60 > &
61 Attribute.Private;
62 };
63}
64
65export interface AdminApiTokenPermission extends Schema.CollectionType {
66 collectionName: 'strapi_api_token_permissions';
67 info: {
68 description: '';
69 displayName: 'API Token Permission';
70 name: 'API Token Permission';
71 pluralName: 'api-token-permissions';
72 singularName: 'api-token-permission';
73 };
74 pluginOptions: {
75 'content-manager': {
76 visible: false;
77 };
78 'content-type-builder': {
79 visible: false;
80 };
81 };
82 attributes: {
83 action: Attribute.String &
84 Attribute.Required &
85 Attribute.SetMinMaxLength<{
86 minLength: 1;
87 }>;
88 createdAt: Attribute.DateTime;
89 createdBy: Attribute.Relation<
90 'admin::api-token-permission',
91 'oneToOne',
92 'admin::user'
93 > &
94 Attribute.Private;
95 token: Attribute.Relation<
96 'admin::api-token-permission',
97 'manyToOne',
98 'admin::api-token'
99 >;
100 updatedAt: Attribute.DateTime;
101 updatedBy: Attribute.Relation<
102 'admin::api-token-permission',
103 'oneToOne',
104 'admin::user'
105 > &
106 Attribute.Private;
107 };
108}
109
110export interface AdminPermission extends Schema.CollectionType {
111 collectionName: 'admin_permissions';
112 info: {
113 description: '';
114 displayName: 'Permission';
115 name: 'Permission';
116 pluralName: 'permissions';
117 singularName: 'permission';
118 };
119 pluginOptions: {
120 'content-manager': {
121 visible: false;
122 };
123 'content-type-builder': {
124 visible: false;
125 };
126 };
127 attributes: {
128 action: Attribute.String &
129 Attribute.Required &
130 Attribute.SetMinMaxLength<{
131 minLength: 1;
132 }>;
133 actionParameters: Attribute.JSON & Attribute.DefaultTo<{}>;
134 conditions: Attribute.JSON & Attribute.DefaultTo<[]>;
135 createdAt: Attribute.DateTime;
136 createdBy: Attribute.Relation<
137 'admin::permission',
138 'oneToOne',
139 'admin::user'
140 > &
141 Attribute.Private;
142 properties: Attribute.JSON & Attribute.DefaultTo<{}>;
143 role: Attribute.Relation<'admin::permission', 'manyToOne', 'admin::role'>;
144 subject: Attribute.String &
145 Attribute.SetMinMaxLength<{
146 minLength: 1;
147 }>;
148 updatedAt: Attribute.DateTime;
149 updatedBy: Attribute.Relation<
150 'admin::permission',
151 'oneToOne',
152 'admin::user'
153 > &
154 Attribute.Private;
155 };
156}
157
158export interface AdminRole extends Schema.CollectionType {
159 collectionName: 'admin_roles';
160 info: {
161 description: '';
162 displayName: 'Role';
163 name: 'Role';
164 pluralName: 'roles';
165 singularName: 'role';
166 };
167 pluginOptions: {
168 'content-manager': {
169 visible: false;
170 };
171 'content-type-builder': {
172 visible: false;
173 };
174 };
175 attributes: {
176 code: Attribute.String &
177 Attribute.Required &
178 Attribute.Unique &
179 Attribute.SetMinMaxLength<{
180 minLength: 1;
181 }>;
182 createdAt: Attribute.DateTime;
183 createdBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
184 Attribute.Private;
185 description: Attribute.String;
186 name: Attribute.String &
187 Attribute.Required &
188 Attribute.Unique &
189 Attribute.SetMinMaxLength<{
190 minLength: 1;
191 }>;
192 permissions: Attribute.Relation<
193 'admin::role',
194 'oneToMany',
195 'admin::permission'
196 >;
197 updatedAt: Attribute.DateTime;
198 updatedBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
199 Attribute.Private;
200 users: Attribute.Relation<'admin::role', 'manyToMany', 'admin::user'>;
201 };
202}
203
204export interface AdminTransferToken extends Schema.CollectionType {
205 collectionName: 'strapi_transfer_tokens';
206 info: {
207 description: '';
208 displayName: 'Transfer Token';
209 name: 'Transfer Token';
210 pluralName: 'transfer-tokens';
211 singularName: 'transfer-token';
212 };
213 pluginOptions: {
214 'content-manager': {
215 visible: false;
216 };
217 'content-type-builder': {
218 visible: false;
219 };
220 };
221 attributes: {
222 accessKey: Attribute.String &
223 Attribute.Required &
224 Attribute.SetMinMaxLength<{
225 minLength: 1;
226 }>;
227 createdAt: Attribute.DateTime;
228 createdBy: Attribute.Relation<
229 'admin::transfer-token',
230 'oneToOne',
231 'admin::user'
232 > &
233 Attribute.Private;
234 description: Attribute.String &
235 Attribute.SetMinMaxLength<{
236 minLength: 1;
237 }> &
238 Attribute.DefaultTo<''>;
239 expiresAt: Attribute.DateTime;
240 lastUsedAt: Attribute.DateTime;
241 lifespan: Attribute.BigInteger;
242 name: Attribute.String &
243 Attribute.Required &
244 Attribute.Unique &
245 Attribute.SetMinMaxLength<{
246 minLength: 1;
247 }>;
248 permissions: Attribute.Relation<
249 'admin::transfer-token',
250 'oneToMany',
251 'admin::transfer-token-permission'
252 >;
253 updatedAt: Attribute.DateTime;
254 updatedBy: Attribute.Relation<
255 'admin::transfer-token',
256 'oneToOne',
257 'admin::user'
258 > &
259 Attribute.Private;
260 };
261}
262
263export interface AdminTransferTokenPermission extends Schema.CollectionType {
264 collectionName: 'strapi_transfer_token_permissions';
265 info: {
266 description: '';
267 displayName: 'Transfer Token Permission';
268 name: 'Transfer Token Permission';
269 pluralName: 'transfer-token-permissions';
270 singularName: 'transfer-token-permission';
271 };
272 pluginOptions: {
273 'content-manager': {
274 visible: false;
275 };
276 'content-type-builder': {
277 visible: false;
278 };
279 };
280 attributes: {
281 action: Attribute.String &
282 Attribute.Required &
283 Attribute.SetMinMaxLength<{
284 minLength: 1;
285 }>;
286 createdAt: Attribute.DateTime;
287 createdBy: Attribute.Relation<
288 'admin::transfer-token-permission',
289 'oneToOne',
290 'admin::user'
291 > &
292 Attribute.Private;
293 token: Attribute.Relation<
294 'admin::transfer-token-permission',
295 'manyToOne',
296 'admin::transfer-token'
297 >;
298 updatedAt: Attribute.DateTime;
299 updatedBy: Attribute.Relation<
300 'admin::transfer-token-permission',
301 'oneToOne',
302 'admin::user'
303 > &
304 Attribute.Private;
305 };
306}
307
308export interface AdminUser extends Schema.CollectionType {
309 collectionName: 'admin_users';
310 info: {
311 description: '';
312 displayName: 'User';
313 name: 'User';
314 pluralName: 'users';
315 singularName: 'user';
316 };
317 pluginOptions: {
318 'content-manager': {
319 visible: false;
320 };
321 'content-type-builder': {
322 visible: false;
323 };
324 };
325 attributes: {
326 blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
327 createdAt: Attribute.DateTime;
328 createdBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
329 Attribute.Private;
330 email: Attribute.Email &
331 Attribute.Required &
332 Attribute.Private &
333 Attribute.Unique &
334 Attribute.SetMinMaxLength<{
335 minLength: 6;
336 }>;
337 firstname: Attribute.String &
338 Attribute.SetMinMaxLength<{
339 minLength: 1;
340 }>;
341 isActive: Attribute.Boolean &
342 Attribute.Private &
343 Attribute.DefaultTo<false>;
344 lastname: Attribute.String &
345 Attribute.SetMinMaxLength<{
346 minLength: 1;
347 }>;
348 password: Attribute.Password &
349 Attribute.Private &
350 Attribute.SetMinMaxLength<{
351 minLength: 6;
352 }>;
353 preferedLanguage: Attribute.String;
354 registrationToken: Attribute.String & Attribute.Private;
355 resetPasswordToken: Attribute.String & Attribute.Private;
356 roles: Attribute.Relation<'admin::user', 'manyToMany', 'admin::role'> &
357 Attribute.Private;
358 updatedAt: Attribute.DateTime;
359 updatedBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
360 Attribute.Private;
361 username: Attribute.String;
362 };
363}
364
365export interface ApiEventEvent extends Schema.CollectionType {
366 collectionName: 'events';
367 info: {
368 description: '';
369 displayName: 'Event';
370 name: 'event';
371 pluralName: 'events';
372 singularName: 'event';
373 };
374 options: {
375 draftAndPublish: false;
376 };
377 attributes: {
378 address: Attribute.Text;
379 administrators: Attribute.String;
380 createdAt: Attribute.DateTime;
381 createdBy: Attribute.Relation<
382 'api::event.event',
383 'oneToOne',
384 'admin::user'
385 > &
386 Attribute.Private;
387 creator: Attribute.Relation<
388 'api::event.event',
389 'oneToOne',
390 'plugin::users-permissions.user'
391 >;
392 date: Attribute.Date;
393 description: Attribute.Text &
394 Attribute.SetMinMaxLength<{
395 maxLength: 250;
396 }>;
397 email: Attribute.String & Attribute.Required;
398 enabled_modules: Attribute.JSON &
399 Attribute.CustomField<
400 'plugin::multi-select.multi-select',
401 ['caroster-plus']
402 >;
403 isReturnEvent: Attribute.Boolean & Attribute.DefaultTo<false>;
404 lang: Attribute.Enumeration<['fr', 'en', 'de', 'nl', 'it']> &
405 Attribute.DefaultTo<'en'>;
406 latitude: Attribute.Float;
407 linkedEvent: Attribute.Relation<
408 'api::event.event',
409 'oneToOne',
410 'api::event.event'
411 >;
412 longitude: Attribute.Float;
413 name: Attribute.String & Attribute.Required;
414 newsletter: Attribute.Boolean & Attribute.Private;
415 passengers: Attribute.Relation<
416 'api::event.event',
417 'oneToMany',
418 'api::passenger.passenger'
419 >;
420 travels: Attribute.Relation<
421 'api::event.event',
422 'oneToMany',
423 'api::travel.travel'
424 >;
425 unpaid: Attribute.Boolean & Attribute.DefaultTo<false>;
426 updatedAt: Attribute.DateTime;
427 updatedBy: Attribute.Relation<
428 'api::event.event',
429 'oneToOne',
430 'admin::user'
431 > &
432 Attribute.Private;
433 users: Attribute.Relation<
434 'api::event.event',
435 'manyToMany',
436 'plugin::users-permissions.user'
437 >;
438 uuid: Attribute.String & Attribute.Unique;
439 };
440}
441
442export interface ApiModuleModule extends Schema.SingleType {
443 collectionName: 'modules';
444 info: {
445 description: '';
446 displayName: 'Modules';
447 pluralName: 'modules';
448 singularName: 'module';
449 };
450 options: {
451 draftAndPublish: false;
452 };
453 pluginOptions: {
454 i18n: {
455 localized: true;
456 };
457 };
458 attributes: {
459 caroster_plus_enabled: Attribute.Boolean &
460 Attribute.SetPluginOptions<{
461 i18n: {
462 localized: false;
463 };
464 }> &
465 Attribute.DefaultTo<false>;
466 caroster_plus_price: Attribute.Decimal &
467 Attribute.SetPluginOptions<{
468 i18n: {
469 localized: false;
470 };
471 }> &
472 Attribute.DefaultTo<0>;
473 caroster_plus_pricing_grid_id: Attribute.String &
474 Attribute.Required &
475 Attribute.SetPluginOptions<{
476 i18n: {
477 localized: true;
478 };
479 }>;
480 caroster_plus_publishable_key: Attribute.String &
481 Attribute.Required &
482 Attribute.SetPluginOptions<{
483 i18n: {
484 localized: true;
485 };
486 }>;
487 createdAt: Attribute.DateTime;
488 createdBy: Attribute.Relation<
489 'api::module.module',
490 'oneToOne',
491 'admin::user'
492 > &
493 Attribute.Private;
494 locale: Attribute.String;
495 localizations: Attribute.Relation<
496 'api::module.module',
497 'oneToMany',
498 'api::module.module'
499 >;
500 updatedAt: Attribute.DateTime;
501 updatedBy: Attribute.Relation<
502 'api::module.module',
503 'oneToOne',
504 'admin::user'
505 > &
506 Attribute.Private;
507 };
508}
509
510export interface ApiNotificationNotification extends Schema.CollectionType {
511 collectionName: 'notifications';
512 info: {
513 description: '';
514 displayName: 'Notification';
515 pluralName: 'notifications';
516 singularName: 'notification';
517 };
518 options: {
519 draftAndPublish: false;
520 };
521 attributes: {
522 createdAt: Attribute.DateTime;
523 createdBy: Attribute.Relation<
524 'api::notification.notification',
525 'oneToOne',
526 'admin::user'
527 > &
528 Attribute.Private;
529 event: Attribute.Relation<
530 'api::notification.notification',
531 'oneToOne',
532 'api::event.event'
533 >;
534 payload: Attribute.JSON;
535 read: Attribute.Boolean & Attribute.DefaultTo<false>;
536 type: Attribute.Enumeration<
537 [
538 'NewPassengerInYourTrip',
539 'NewTrip',
540 'NewTripAlert',
541 'DeletedTrip',
542 'DeletedYourTrip',
543 'DeletedFromTrip',
544 'AssignedByAdmin',
545 'AddedAsAdmin',
546 'EventCreated',
547 'EventEnded',
548 'EventRecap',
549 'PassengerJoinTrip',
550 'ContactTripCreator',
551 'EnabledCarosterPlus'
552 ]
553 > &
554 Attribute.Required;
555 updatedAt: Attribute.DateTime;
556 updatedBy: Attribute.Relation<
557 'api::notification.notification',
558 'oneToOne',
559 'admin::user'
560 > &
561 Attribute.Private;
562 user: Attribute.Relation<
563 'api::notification.notification',
564 'manyToOne',
565 'plugin::users-permissions.user'
566 >;
567 };
568}
569
570export interface ApiPagePage extends Schema.CollectionType {
571 collectionName: 'pages';
572 info: {
573 displayName: 'Page';
574 name: 'page';
575 pluralName: 'pages';
576 singularName: 'page';
577 };
578 options: {
579 increments: true;
580 timestamps: true;
581 };
582 attributes: {
583 content: Attribute.RichText;
584 createdAt: Attribute.DateTime;
585 createdBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
586 Attribute.Private;
587 name: Attribute.String & Attribute.Required;
588 type: Attribute.Enumeration<['tos']>;
589 updatedAt: Attribute.DateTime;
590 updatedBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
591 Attribute.Private;
592 };
593}
594
595export interface ApiPassengerPassenger extends Schema.CollectionType {
596 collectionName: 'passengers';
597 info: {
598 description: '';
599 displayName: 'Passenger';
600 name: 'Passenger';
601 pluralName: 'passengers';
602 singularName: 'passenger';
603 };
604 options: {
605 draftAndPublish: false;
606 };
607 attributes: {
608 createdAt: Attribute.DateTime;
609 createdBy: Attribute.Relation<
610 'api::passenger.passenger',
611 'oneToOne',
612 'admin::user'
613 > &
614 Attribute.Private;
615 email: Attribute.Email;
616 event: Attribute.Relation<
617 'api::passenger.passenger',
618 'manyToOne',
619 'api::event.event'
620 >;
621 lastname: Attribute.String;
622 location: Attribute.String;
623 name: Attribute.String & Attribute.Required;
624 phone: Attribute.String;
625 phoneCountry: Attribute.String;
626 travel: Attribute.Relation<
627 'api::passenger.passenger',
628 'manyToOne',
629 'api::travel.travel'
630 >;
631 updatedAt: Attribute.DateTime;
632 updatedBy: Attribute.Relation<
633 'api::passenger.passenger',
634 'oneToOne',
635 'admin::user'
636 > &
637 Attribute.Private;
638 user: Attribute.Relation<
639 'api::passenger.passenger',
640 'manyToOne',
641 'plugin::users-permissions.user'
642 >;
643 };
644}
645
646export interface ApiSettingSetting extends Schema.SingleType {
647 collectionName: 'settings';
648 info: {
649 description: '';
650 displayName: 'Settings';
651 pluralName: 'settings';
652 singularName: 'setting';
653 };
654 options: {
655 draftAndPublish: false;
656 };
657 pluginOptions: {
658 i18n: {
659 localized: true;
660 };
661 };
662 attributes: {
663 about_link: Attribute.String &
664 Attribute.SetPluginOptions<{
665 i18n: {
666 localized: false;
667 };
668 }>;
669 announcement: Attribute.RichText &
670 Attribute.SetPluginOptions<{
671 i18n: {
672 localized: true;
673 };
674 }>;
675 code_link: Attribute.String &
676 Attribute.SetPluginOptions<{
677 i18n: {
678 localized: false;
679 };
680 }>;
681 createdAt: Attribute.DateTime;
682 createdBy: Attribute.Relation<
683 'api::setting.setting',
684 'oneToOne',
685 'admin::user'
686 > &
687 Attribute.Private;
688 data_policy_link: Attribute.String &
689 Attribute.SetPluginOptions<{
690 i18n: {
691 localized: false;
692 };
693 }>;
694 gtm_id: Attribute.String &
695 Attribute.SetPluginOptions<{
696 i18n: {
697 localized: false;
698 };
699 }>;
700 locale: Attribute.String;
701 localizations: Attribute.Relation<
702 'api::setting.setting',
703 'oneToMany',
704 'api::setting.setting'
705 >;
706 matomo_script_url: Attribute.String &
707 Attribute.SetPluginOptions<{
708 i18n: {
709 localized: false;
710 };
711 }>;
712 opencollective_link: Attribute.String &
713 Attribute.SetPluginOptions<{
714 i18n: {
715 localized: false;
716 };
717 }>;
718 stripe_dashboard_link: Attribute.String &
719 Attribute.SetPluginOptions<{
720 i18n: {
721 localized: false;
722 };
723 }>;
724 tos_link: Attribute.String &
725 Attribute.SetPluginOptions<{
726 i18n: {
727 localized: false;
728 };
729 }>;
730 updatedAt: Attribute.DateTime;
731 updatedBy: Attribute.Relation<
732 'api::setting.setting',
733 'oneToOne',
734 'admin::user'
735 > &
736 Attribute.Private;
737 };
738}
739
740export interface ApiTravelTravel extends Schema.CollectionType {
741 collectionName: 'travels';
742 info: {
743 description: '';
744 displayName: 'Travel';
745 name: 'travel';
746 pluralName: 'travels';
747 singularName: 'travel';
748 };
749 options: {
750 draftAndPublish: false;
751 };
752 attributes: {
753 createdAt: Attribute.DateTime;
754 createdBy: Attribute.Relation<
755 'api::travel.travel',
756 'oneToOne',
757 'admin::user'
758 > &
759 Attribute.Private;
760 departureDate: Attribute.Date;
761 departureTime: Attribute.String;
762 details: Attribute.Text;
763 event: Attribute.Relation<
764 'api::travel.travel',
765 'manyToOne',
766 'api::event.event'
767 >;
768 firstname: Attribute.String;
769 lastname: Attribute.String;
770 meeting: Attribute.String;
771 meeting_latitude: Attribute.Float;
772 meeting_longitude: Attribute.Float;
773 passengers: Attribute.Relation<
774 'api::travel.travel',
775 'oneToMany',
776 'api::passenger.passenger'
777 >;
778 phone_number: Attribute.String;
779 phoneCountry: Attribute.String;
780 seats: Attribute.Integer &
781 Attribute.SetMinMax<
782 {
783 min: 0;
784 },
785 number
786 > &
787 Attribute.DefaultTo<4>;
788 updatedAt: Attribute.DateTime;
789 updatedBy: Attribute.Relation<
790 'api::travel.travel',
791 'oneToOne',
792 'admin::user'
793 > &
794 Attribute.Private;
795 user: Attribute.Relation<
796 'api::travel.travel',
797 'oneToOne',
798 'plugin::users-permissions.user'
799 >;
800 vehicleName: Attribute.String;
801 };
802}
803
804export interface ApiTripAlertTripAlert extends Schema.CollectionType {
805 collectionName: 'trip_alerts';
806 info: {
807 description: '';
808 displayName: 'TripAlert';
809 pluralName: 'trip-alerts';
810 singularName: 'trip-alert';
811 };
812 options: {
813 draftAndPublish: false;
814 };
815 attributes: {
816 address: Attribute.String;
817 createdAt: Attribute.DateTime;
818 createdBy: Attribute.Relation<
819 'api::trip-alert.trip-alert',
820 'oneToOne',
821 'admin::user'
822 > &
823 Attribute.Private;
824 enabled: Attribute.Boolean & Attribute.DefaultTo<true>;
825 event: Attribute.Relation<
826 'api::trip-alert.trip-alert',
827 'oneToOne',
828 'api::event.event'
829 >;
830 latitude: Attribute.Float;
831 longitude: Attribute.Float;
832 radius: Attribute.Float &
833 Attribute.SetMinMax<
834 {
835 min: 0;
836 },
837 number
838 >;
839 updatedAt: Attribute.DateTime;
840 updatedBy: Attribute.Relation<
841 'api::trip-alert.trip-alert',
842 'oneToOne',
843 'admin::user'
844 > &
845 Attribute.Private;
846 user: Attribute.Relation<
847 'api::trip-alert.trip-alert',
848 'oneToOne',
849 'plugin::users-permissions.user'
850 >;
851 };
852}
853
854export interface PluginContentReleasesRelease extends Schema.CollectionType {
855 collectionName: 'strapi_releases';
856 info: {
857 displayName: 'Release';
858 pluralName: 'releases';
859 singularName: 'release';
860 };
861 options: {
862 draftAndPublish: false;
863 };
864 pluginOptions: {
865 'content-manager': {
866 visible: false;
867 };
868 'content-type-builder': {
869 visible: false;
870 };
871 };
872 attributes: {
873 actions: Attribute.Relation<
874 'plugin::content-releases.release',
875 'oneToMany',
876 'plugin::content-releases.release-action'
877 >;
878 createdAt: Attribute.DateTime;
879 createdBy: Attribute.Relation<
880 'plugin::content-releases.release',
881 'oneToOne',
882 'admin::user'
883 > &
884 Attribute.Private;
885 name: Attribute.String & Attribute.Required;
886 releasedAt: Attribute.DateTime;
887 scheduledAt: Attribute.DateTime;
888 status: Attribute.Enumeration<
889 ['ready', 'blocked', 'failed', 'done', 'empty']
890 > &
891 Attribute.Required;
892 timezone: Attribute.String;
893 updatedAt: Attribute.DateTime;
894 updatedBy: Attribute.Relation<
895 'plugin::content-releases.release',
896 'oneToOne',
897 'admin::user'
898 > &
899 Attribute.Private;
900 };
901}
902
903export interface PluginContentReleasesReleaseAction
904 extends Schema.CollectionType {
905 collectionName: 'strapi_release_actions';
906 info: {
907 displayName: 'Release Action';
908 pluralName: 'release-actions';
909 singularName: 'release-action';
910 };
911 options: {
912 draftAndPublish: false;
913 };
914 pluginOptions: {
915 'content-manager': {
916 visible: false;
917 };
918 'content-type-builder': {
919 visible: false;
920 };
921 };
922 attributes: {
923 contentType: Attribute.String & Attribute.Required;
924 createdAt: Attribute.DateTime;
925 createdBy: Attribute.Relation<
926 'plugin::content-releases.release-action',
927 'oneToOne',
928 'admin::user'
929 > &
930 Attribute.Private;
931 entry: Attribute.Relation<
932 'plugin::content-releases.release-action',
933 'morphToOne'
934 >;
935 isEntryValid: Attribute.Boolean;
936 locale: Attribute.String;
937 release: Attribute.Relation<
938 'plugin::content-releases.release-action',
939 'manyToOne',
940 'plugin::content-releases.release'
941 >;
942 type: Attribute.Enumeration<['publish', 'unpublish']> & Attribute.Required;
943 updatedAt: Attribute.DateTime;
944 updatedBy: Attribute.Relation<
945 'plugin::content-releases.release-action',
946 'oneToOne',
947 'admin::user'
948 > &
949 Attribute.Private;
950 };
951}
952
953export interface PluginI18NLocale extends Schema.CollectionType {
954 collectionName: 'i18n_locale';
955 info: {
956 collectionName: 'locales';
957 description: '';
958 displayName: 'Locale';
959 pluralName: 'locales';
960 singularName: 'locale';
961 };
962 options: {
963 draftAndPublish: false;
964 };
965 pluginOptions: {
966 'content-manager': {
967 visible: false;
968 };
969 'content-type-builder': {
970 visible: false;
971 };
972 };
973 attributes: {
974 code: Attribute.String & Attribute.Unique;
975 createdAt: Attribute.DateTime;
976 createdBy: Attribute.Relation<
977 'plugin::i18n.locale',
978 'oneToOne',
979 'admin::user'
980 > &
981 Attribute.Private;
982 name: Attribute.String &
983 Attribute.SetMinMax<
984 {
985 max: 50;
986 min: 1;
987 },
988 number
989 >;
990 updatedAt: Attribute.DateTime;
991 updatedBy: Attribute.Relation<
992 'plugin::i18n.locale',
993 'oneToOne',
994 'admin::user'
995 > &
996 Attribute.Private;
997 };
998}
999
1000export interface PluginUploadFile extends Schema.CollectionType {
1001 collectionName: 'files';
1002 info: {
1003 description: '';
1004 displayName: 'File';
1005 pluralName: 'files';
1006 singularName: 'file';
1007 };
1008 pluginOptions: {
1009 'content-manager': {
1010 visible: false;
1011 };
1012 'content-type-builder': {
1013 visible: false;
1014 };
1015 };
1016 attributes: {
1017 alternativeText: Attribute.String;
1018 caption: Attribute.String;
1019 createdAt: Attribute.DateTime;
1020 createdBy: Attribute.Relation<
1021 'plugin::upload.file',
1022 'oneToOne',
1023 'admin::user'
1024 > &
1025 Attribute.Private;
1026 ext: Attribute.String;
1027 folder: Attribute.Relation<
1028 'plugin::upload.file',
1029 'manyToOne',
1030 'plugin::upload.folder'
1031 > &
1032 Attribute.Private;
1033 folderPath: Attribute.String &
1034 Attribute.Required &
1035 Attribute.Private &
1036 Attribute.SetMinMax<
1037 {
1038 min: 1;
1039 },
1040 number
1041 >;
1042 formats: Attribute.JSON;
1043 hash: Attribute.String & Attribute.Required;
1044 height: Attribute.Integer;
1045 mime: Attribute.String & Attribute.Required;
1046 name: Attribute.String & Attribute.Required;
1047 previewUrl: Attribute.String;
1048 provider: Attribute.String & Attribute.Required;
1049 provider_metadata: Attribute.JSON;
1050 related: Attribute.Relation<'plugin::upload.file', 'morphToMany'>;
1051 size: Attribute.Decimal & Attribute.Required;
1052 updatedAt: Attribute.DateTime;
1053 updatedBy: Attribute.Relation<
1054 'plugin::upload.file',
1055 'oneToOne',
1056 'admin::user'
1057 > &
1058 Attribute.Private;
1059 url: Attribute.String & Attribute.Required;
1060 width: Attribute.Integer;
1061 };
1062}
1063
1064export interface PluginUploadFolder extends Schema.CollectionType {
1065 collectionName: 'upload_folders';
1066 info: {
1067 displayName: 'Folder';
1068 pluralName: 'folders';
1069 singularName: 'folder';
1070 };
1071 pluginOptions: {
1072 'content-manager': {
1073 visible: false;
1074 };
1075 'content-type-builder': {
1076 visible: false;
1077 };
1078 };
1079 attributes: {
1080 children: Attribute.Relation<
1081 'plugin::upload.folder',
1082 'oneToMany',
1083 'plugin::upload.folder'
1084 >;
1085 createdAt: Attribute.DateTime;
1086 createdBy: Attribute.Relation<
1087 'plugin::upload.folder',
1088 'oneToOne',
1089 'admin::user'
1090 > &
1091 Attribute.Private;
1092 files: Attribute.Relation<
1093 'plugin::upload.folder',
1094 'oneToMany',
1095 'plugin::upload.file'
1096 >;
1097 name: Attribute.String &
1098 Attribute.Required &
1099 Attribute.SetMinMax<
1100 {
1101 min: 1;
1102 },
1103 number
1104 >;
1105 parent: Attribute.Relation<
1106 'plugin::upload.folder',
1107 'manyToOne',
1108 'plugin::upload.folder'
1109 >;
1110 path: Attribute.String &
1111 Attribute.Required &
1112 Attribute.SetMinMax<
1113 {
1114 min: 1;
1115 },
1116 number
1117 >;
1118 pathId: Attribute.Integer & Attribute.Required & Attribute.Unique;
1119 updatedAt: Attribute.DateTime;
1120 updatedBy: Attribute.Relation<
1121 'plugin::upload.folder',
1122 'oneToOne',
1123 'admin::user'
1124 > &
1125 Attribute.Private;
1126 };
1127}
1128
1129export interface PluginUsersPermissionsPermission
1130 extends Schema.CollectionType {
1131 collectionName: 'up_permissions';
1132 info: {
1133 description: '';
1134 displayName: 'Permission';
1135 name: 'permission';
1136 pluralName: 'permissions';
1137 singularName: 'permission';
1138 };
1139 pluginOptions: {
1140 'content-manager': {
1141 visible: false;
1142 };
1143 'content-type-builder': {
1144 visible: false;
1145 };
1146 };
1147 attributes: {
1148 action: Attribute.String & Attribute.Required;
1149 createdAt: Attribute.DateTime;
1150 createdBy: Attribute.Relation<
1151 'plugin::users-permissions.permission',
1152 'oneToOne',
1153 'admin::user'
1154 > &
1155 Attribute.Private;
1156 role: Attribute.Relation<
1157 'plugin::users-permissions.permission',
1158 'manyToOne',
1159 'plugin::users-permissions.role'
1160 >;
1161 updatedAt: Attribute.DateTime;
1162 updatedBy: Attribute.Relation<
1163 'plugin::users-permissions.permission',
1164 'oneToOne',
1165 'admin::user'
1166 > &
1167 Attribute.Private;
1168 };
1169}
1170
1171export interface PluginUsersPermissionsRole extends Schema.CollectionType {
1172 collectionName: 'up_roles';
1173 info: {
1174 description: '';
1175 displayName: 'Role';
1176 name: 'role';
1177 pluralName: 'roles';
1178 singularName: 'role';
1179 };
1180 pluginOptions: {
1181 'content-manager': {
1182 visible: false;
1183 };
1184 'content-type-builder': {
1185 visible: false;
1186 };
1187 };
1188 attributes: {
1189 createdAt: Attribute.DateTime;
1190 createdBy: Attribute.Relation<
1191 'plugin::users-permissions.role',
1192 'oneToOne',
1193 'admin::user'
1194 > &
1195 Attribute.Private;
1196 description: Attribute.String;
1197 name: Attribute.String &
1198 Attribute.Required &
1199 Attribute.SetMinMaxLength<{
1200 minLength: 3;
1201 }>;
1202 permissions: Attribute.Relation<
1203 'plugin::users-permissions.role',
1204 'oneToMany',
1205 'plugin::users-permissions.permission'
1206 >;
1207 type: Attribute.String & Attribute.Unique;
1208 updatedAt: Attribute.DateTime;
1209 updatedBy: Attribute.Relation<
1210 'plugin::users-permissions.role',
1211 'oneToOne',
1212 'admin::user'
1213 > &
1214 Attribute.Private;
1215 users: Attribute.Relation<
1216 'plugin::users-permissions.role',
1217 'oneToMany',
1218 'plugin::users-permissions.user'
1219 >;
1220 };
1221}
1222
1223export interface PluginUsersPermissionsUser extends Schema.CollectionType {
1224 collectionName: 'up_users';
1225 info: {
1226 description: '';
1227 displayName: 'User';
1228 name: 'user';
1229 pluralName: 'users';
1230 singularName: 'user';
1231 };
1232 options: {
1233 draftAndPublish: false;
1234 };
1235 attributes: {
1236 blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
1237 confirmationToken: Attribute.String & Attribute.Private;
1238 confirmed: Attribute.Boolean & Attribute.DefaultTo<false>;
1239 createdAt: Attribute.DateTime;
1240 createdBy: Attribute.Relation<
1241 'plugin::users-permissions.user',
1242 'oneToOne',
1243 'admin::user'
1244 > &
1245 Attribute.Private;
1246 email: Attribute.Email &
1247 Attribute.Required &
1248 Attribute.SetMinMaxLength<{
1249 minLength: 6;
1250 }>;
1251 events: Attribute.Relation<
1252 'plugin::users-permissions.user',
1253 'manyToMany',
1254 'api::event.event'
1255 >;
1256 firstName: Attribute.String;
1257 lang: Attribute.Enumeration<['fr', 'en', 'de', 'nl', 'it']> &
1258 Attribute.DefaultTo<'en'>;
1259 lastName: Attribute.String;
1260 newsletterConsent: Attribute.Boolean & Attribute.DefaultTo<false>;
1261 notificationEnabled: Attribute.Boolean & Attribute.DefaultTo<true>;
1262 notifications: Attribute.Relation<
1263 'plugin::users-permissions.user',
1264 'oneToMany',
1265 'api::notification.notification'
1266 >;
1267 onboardingCreator: Attribute.Boolean & Attribute.DefaultTo<false>;
1268 onboardingUser: Attribute.Boolean & Attribute.DefaultTo<false>;
1269 passengers: Attribute.Relation<
1270 'plugin::users-permissions.user',
1271 'oneToMany',
1272 'api::passenger.passenger'
1273 > &
1274 Attribute.Private;
1275 password: Attribute.Password &
1276 Attribute.Private &
1277 Attribute.SetMinMaxLength<{
1278 minLength: 6;
1279 }>;
1280 provider: Attribute.String;
1281 resetPasswordToken: Attribute.String & Attribute.Private;
1282 role: Attribute.Relation<
1283 'plugin::users-permissions.user',
1284 'manyToOne',
1285 'plugin::users-permissions.role'
1286 >;
1287 tosAcceptationDate: Attribute.DateTime;
1288 updatedAt: Attribute.DateTime;
1289 updatedBy: Attribute.Relation<
1290 'plugin::users-permissions.user',
1291 'oneToOne',
1292 'admin::user'
1293 > &
1294 Attribute.Private;
1295 username: Attribute.String &
1296 Attribute.Required &
1297 Attribute.Unique &
1298 Attribute.SetMinMaxLength<{
1299 minLength: 3;
1300 }>;
1301 };
1302}
1303
1304declare module '@strapi/types' {
1305 export module Shared {
1306 export interface ContentTypes {
1307 'admin::api-token': AdminApiToken;
1308 'admin::api-token-permission': AdminApiTokenPermission;
1309 'admin::permission': AdminPermission;
1310 'admin::role': AdminRole;
1311 'admin::transfer-token': AdminTransferToken;
1312 'admin::transfer-token-permission': AdminTransferTokenPermission;
1313 'admin::user': AdminUser;
1314 'api::event.event': ApiEventEvent;
1315 'api::module.module': ApiModuleModule;
1316 'api::notification.notification': ApiNotificationNotification;
1317 'api::page.page': ApiPagePage;
1318 'api::passenger.passenger': ApiPassengerPassenger;
1319 'api::setting.setting': ApiSettingSetting;
1320 'api::travel.travel': ApiTravelTravel;
1321 'api::trip-alert.trip-alert': ApiTripAlertTripAlert;
1322 'plugin::content-releases.release': PluginContentReleasesRelease;
1323 'plugin::content-releases.release-action': PluginContentReleasesReleaseAction;
1324 'plugin::i18n.locale': PluginI18NLocale;
1325 'plugin::upload.file': PluginUploadFile;
1326 'plugin::upload.folder': PluginUploadFolder;
1327 'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
1328 'plugin::users-permissions.role': PluginUsersPermissionsRole;
1329 'plugin::users-permissions.user': PluginUsersPermissionsUser;
1330 }
1331 }
1332}