backend/types/generated/contentTypes.d.ts (view raw)
1import type { Schema, Attribute } from '@strapi/strapi';
2
3export interface AdminPermission extends Schema.CollectionType {
4 collectionName: 'admin_permissions';
5 info: {
6 name: 'Permission';
7 description: '';
8 singularName: 'permission';
9 pluralName: 'permissions';
10 displayName: 'Permission';
11 };
12 pluginOptions: {
13 'content-manager': {
14 visible: false;
15 };
16 'content-type-builder': {
17 visible: false;
18 };
19 };
20 attributes: {
21 action: Attribute.String &
22 Attribute.Required &
23 Attribute.SetMinMaxLength<{
24 minLength: 1;
25 }>;
26 actionParameters: Attribute.JSON & Attribute.DefaultTo<{}>;
27 subject: Attribute.String &
28 Attribute.SetMinMaxLength<{
29 minLength: 1;
30 }>;
31 properties: Attribute.JSON & Attribute.DefaultTo<{}>;
32 conditions: Attribute.JSON & Attribute.DefaultTo<[]>;
33 role: Attribute.Relation<'admin::permission', 'manyToOne', 'admin::role'>;
34 createdAt: Attribute.DateTime;
35 updatedAt: Attribute.DateTime;
36 createdBy: Attribute.Relation<
37 'admin::permission',
38 'oneToOne',
39 'admin::user'
40 > &
41 Attribute.Private;
42 updatedBy: Attribute.Relation<
43 'admin::permission',
44 'oneToOne',
45 'admin::user'
46 > &
47 Attribute.Private;
48 };
49}
50
51export interface AdminUser extends Schema.CollectionType {
52 collectionName: 'admin_users';
53 info: {
54 name: 'User';
55 description: '';
56 singularName: 'user';
57 pluralName: 'users';
58 displayName: 'User';
59 };
60 pluginOptions: {
61 'content-manager': {
62 visible: false;
63 };
64 'content-type-builder': {
65 visible: false;
66 };
67 };
68 attributes: {
69 firstname: Attribute.String &
70 Attribute.SetMinMaxLength<{
71 minLength: 1;
72 }>;
73 lastname: Attribute.String &
74 Attribute.SetMinMaxLength<{
75 minLength: 1;
76 }>;
77 username: Attribute.String;
78 email: Attribute.Email &
79 Attribute.Required &
80 Attribute.Private &
81 Attribute.Unique &
82 Attribute.SetMinMaxLength<{
83 minLength: 6;
84 }>;
85 password: Attribute.Password &
86 Attribute.Private &
87 Attribute.SetMinMaxLength<{
88 minLength: 6;
89 }>;
90 resetPasswordToken: Attribute.String & Attribute.Private;
91 registrationToken: Attribute.String & Attribute.Private;
92 isActive: Attribute.Boolean &
93 Attribute.Private &
94 Attribute.DefaultTo<false>;
95 roles: Attribute.Relation<'admin::user', 'manyToMany', 'admin::role'> &
96 Attribute.Private;
97 blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
98 preferedLanguage: Attribute.String;
99 createdAt: Attribute.DateTime;
100 updatedAt: Attribute.DateTime;
101 createdBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
102 Attribute.Private;
103 updatedBy: Attribute.Relation<'admin::user', 'oneToOne', 'admin::user'> &
104 Attribute.Private;
105 };
106}
107
108export interface AdminRole extends Schema.CollectionType {
109 collectionName: 'admin_roles';
110 info: {
111 name: 'Role';
112 description: '';
113 singularName: 'role';
114 pluralName: 'roles';
115 displayName: 'Role';
116 };
117 pluginOptions: {
118 'content-manager': {
119 visible: false;
120 };
121 'content-type-builder': {
122 visible: false;
123 };
124 };
125 attributes: {
126 name: Attribute.String &
127 Attribute.Required &
128 Attribute.Unique &
129 Attribute.SetMinMaxLength<{
130 minLength: 1;
131 }>;
132 code: Attribute.String &
133 Attribute.Required &
134 Attribute.Unique &
135 Attribute.SetMinMaxLength<{
136 minLength: 1;
137 }>;
138 description: Attribute.String;
139 users: Attribute.Relation<'admin::role', 'manyToMany', 'admin::user'>;
140 permissions: Attribute.Relation<
141 'admin::role',
142 'oneToMany',
143 'admin::permission'
144 >;
145 createdAt: Attribute.DateTime;
146 updatedAt: Attribute.DateTime;
147 createdBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
148 Attribute.Private;
149 updatedBy: Attribute.Relation<'admin::role', 'oneToOne', 'admin::user'> &
150 Attribute.Private;
151 };
152}
153
154export interface AdminApiToken extends Schema.CollectionType {
155 collectionName: 'strapi_api_tokens';
156 info: {
157 name: 'Api Token';
158 singularName: 'api-token';
159 pluralName: 'api-tokens';
160 displayName: 'Api Token';
161 description: '';
162 };
163 pluginOptions: {
164 'content-manager': {
165 visible: false;
166 };
167 'content-type-builder': {
168 visible: false;
169 };
170 };
171 attributes: {
172 name: Attribute.String &
173 Attribute.Required &
174 Attribute.Unique &
175 Attribute.SetMinMaxLength<{
176 minLength: 1;
177 }>;
178 description: Attribute.String &
179 Attribute.SetMinMaxLength<{
180 minLength: 1;
181 }> &
182 Attribute.DefaultTo<''>;
183 type: Attribute.Enumeration<['read-only', 'full-access', 'custom']> &
184 Attribute.Required &
185 Attribute.DefaultTo<'read-only'>;
186 accessKey: Attribute.String &
187 Attribute.Required &
188 Attribute.SetMinMaxLength<{
189 minLength: 1;
190 }>;
191 lastUsedAt: Attribute.DateTime;
192 permissions: Attribute.Relation<
193 'admin::api-token',
194 'oneToMany',
195 'admin::api-token-permission'
196 >;
197 expiresAt: Attribute.DateTime;
198 lifespan: Attribute.BigInteger;
199 createdAt: Attribute.DateTime;
200 updatedAt: Attribute.DateTime;
201 createdBy: Attribute.Relation<
202 'admin::api-token',
203 'oneToOne',
204 'admin::user'
205 > &
206 Attribute.Private;
207 updatedBy: Attribute.Relation<
208 'admin::api-token',
209 'oneToOne',
210 'admin::user'
211 > &
212 Attribute.Private;
213 };
214}
215
216export interface AdminApiTokenPermission extends Schema.CollectionType {
217 collectionName: 'strapi_api_token_permissions';
218 info: {
219 name: 'API Token Permission';
220 description: '';
221 singularName: 'api-token-permission';
222 pluralName: 'api-token-permissions';
223 displayName: 'API Token Permission';
224 };
225 pluginOptions: {
226 'content-manager': {
227 visible: false;
228 };
229 'content-type-builder': {
230 visible: false;
231 };
232 };
233 attributes: {
234 action: Attribute.String &
235 Attribute.Required &
236 Attribute.SetMinMaxLength<{
237 minLength: 1;
238 }>;
239 token: Attribute.Relation<
240 'admin::api-token-permission',
241 'manyToOne',
242 'admin::api-token'
243 >;
244 createdAt: Attribute.DateTime;
245 updatedAt: Attribute.DateTime;
246 createdBy: Attribute.Relation<
247 'admin::api-token-permission',
248 'oneToOne',
249 'admin::user'
250 > &
251 Attribute.Private;
252 updatedBy: Attribute.Relation<
253 'admin::api-token-permission',
254 'oneToOne',
255 'admin::user'
256 > &
257 Attribute.Private;
258 };
259}
260
261export interface AdminTransferToken extends Schema.CollectionType {
262 collectionName: 'strapi_transfer_tokens';
263 info: {
264 name: 'Transfer Token';
265 singularName: 'transfer-token';
266 pluralName: 'transfer-tokens';
267 displayName: 'Transfer Token';
268 description: '';
269 };
270 pluginOptions: {
271 'content-manager': {
272 visible: false;
273 };
274 'content-type-builder': {
275 visible: false;
276 };
277 };
278 attributes: {
279 name: Attribute.String &
280 Attribute.Required &
281 Attribute.Unique &
282 Attribute.SetMinMaxLength<{
283 minLength: 1;
284 }>;
285 description: Attribute.String &
286 Attribute.SetMinMaxLength<{
287 minLength: 1;
288 }> &
289 Attribute.DefaultTo<''>;
290 accessKey: Attribute.String &
291 Attribute.Required &
292 Attribute.SetMinMaxLength<{
293 minLength: 1;
294 }>;
295 lastUsedAt: Attribute.DateTime;
296 permissions: Attribute.Relation<
297 'admin::transfer-token',
298 'oneToMany',
299 'admin::transfer-token-permission'
300 >;
301 expiresAt: Attribute.DateTime;
302 lifespan: Attribute.BigInteger;
303 createdAt: Attribute.DateTime;
304 updatedAt: Attribute.DateTime;
305 createdBy: Attribute.Relation<
306 'admin::transfer-token',
307 'oneToOne',
308 'admin::user'
309 > &
310 Attribute.Private;
311 updatedBy: Attribute.Relation<
312 'admin::transfer-token',
313 'oneToOne',
314 'admin::user'
315 > &
316 Attribute.Private;
317 };
318}
319
320export interface AdminTransferTokenPermission extends Schema.CollectionType {
321 collectionName: 'strapi_transfer_token_permissions';
322 info: {
323 name: 'Transfer Token Permission';
324 description: '';
325 singularName: 'transfer-token-permission';
326 pluralName: 'transfer-token-permissions';
327 displayName: 'Transfer Token Permission';
328 };
329 pluginOptions: {
330 'content-manager': {
331 visible: false;
332 };
333 'content-type-builder': {
334 visible: false;
335 };
336 };
337 attributes: {
338 action: Attribute.String &
339 Attribute.Required &
340 Attribute.SetMinMaxLength<{
341 minLength: 1;
342 }>;
343 token: Attribute.Relation<
344 'admin::transfer-token-permission',
345 'manyToOne',
346 'admin::transfer-token'
347 >;
348 createdAt: Attribute.DateTime;
349 updatedAt: Attribute.DateTime;
350 createdBy: Attribute.Relation<
351 'admin::transfer-token-permission',
352 'oneToOne',
353 'admin::user'
354 > &
355 Attribute.Private;
356 updatedBy: Attribute.Relation<
357 'admin::transfer-token-permission',
358 'oneToOne',
359 'admin::user'
360 > &
361 Attribute.Private;
362 };
363}
364
365export interface PluginUploadFile extends Schema.CollectionType {
366 collectionName: 'files';
367 info: {
368 singularName: 'file';
369 pluralName: 'files';
370 displayName: 'File';
371 description: '';
372 };
373 pluginOptions: {
374 'content-manager': {
375 visible: false;
376 };
377 'content-type-builder': {
378 visible: false;
379 };
380 };
381 attributes: {
382 name: Attribute.String & Attribute.Required;
383 alternativeText: Attribute.String;
384 caption: Attribute.String;
385 width: Attribute.Integer;
386 height: Attribute.Integer;
387 formats: Attribute.JSON;
388 hash: Attribute.String & Attribute.Required;
389 ext: Attribute.String;
390 mime: Attribute.String & Attribute.Required;
391 size: Attribute.Decimal & Attribute.Required;
392 url: Attribute.String & Attribute.Required;
393 previewUrl: Attribute.String;
394 provider: Attribute.String & Attribute.Required;
395 provider_metadata: Attribute.JSON;
396 related: Attribute.Relation<'plugin::upload.file', 'morphToMany'>;
397 folder: Attribute.Relation<
398 'plugin::upload.file',
399 'manyToOne',
400 'plugin::upload.folder'
401 > &
402 Attribute.Private;
403 folderPath: Attribute.String &
404 Attribute.Required &
405 Attribute.Private &
406 Attribute.SetMinMax<{
407 min: 1;
408 }>;
409 createdAt: Attribute.DateTime;
410 updatedAt: Attribute.DateTime;
411 createdBy: Attribute.Relation<
412 'plugin::upload.file',
413 'oneToOne',
414 'admin::user'
415 > &
416 Attribute.Private;
417 updatedBy: Attribute.Relation<
418 'plugin::upload.file',
419 'oneToOne',
420 'admin::user'
421 > &
422 Attribute.Private;
423 };
424}
425
426export interface PluginUploadFolder extends Schema.CollectionType {
427 collectionName: 'upload_folders';
428 info: {
429 singularName: 'folder';
430 pluralName: 'folders';
431 displayName: 'Folder';
432 };
433 pluginOptions: {
434 'content-manager': {
435 visible: false;
436 };
437 'content-type-builder': {
438 visible: false;
439 };
440 };
441 attributes: {
442 name: Attribute.String &
443 Attribute.Required &
444 Attribute.SetMinMax<{
445 min: 1;
446 }>;
447 pathId: Attribute.Integer & Attribute.Required & Attribute.Unique;
448 parent: Attribute.Relation<
449 'plugin::upload.folder',
450 'manyToOne',
451 'plugin::upload.folder'
452 >;
453 children: Attribute.Relation<
454 'plugin::upload.folder',
455 'oneToMany',
456 'plugin::upload.folder'
457 >;
458 files: Attribute.Relation<
459 'plugin::upload.folder',
460 'oneToMany',
461 'plugin::upload.file'
462 >;
463 path: Attribute.String &
464 Attribute.Required &
465 Attribute.SetMinMax<{
466 min: 1;
467 }>;
468 createdAt: Attribute.DateTime;
469 updatedAt: Attribute.DateTime;
470 createdBy: Attribute.Relation<
471 'plugin::upload.folder',
472 'oneToOne',
473 'admin::user'
474 > &
475 Attribute.Private;
476 updatedBy: Attribute.Relation<
477 'plugin::upload.folder',
478 'oneToOne',
479 'admin::user'
480 > &
481 Attribute.Private;
482 };
483}
484
485export interface PluginI18NLocale extends Schema.CollectionType {
486 collectionName: 'i18n_locale';
487 info: {
488 singularName: 'locale';
489 pluralName: 'locales';
490 collectionName: 'locales';
491 displayName: 'Locale';
492 description: '';
493 };
494 options: {
495 draftAndPublish: false;
496 };
497 pluginOptions: {
498 'content-manager': {
499 visible: false;
500 };
501 'content-type-builder': {
502 visible: false;
503 };
504 };
505 attributes: {
506 name: Attribute.String &
507 Attribute.SetMinMax<{
508 min: 1;
509 max: 50;
510 }>;
511 code: Attribute.String & Attribute.Unique;
512 createdAt: Attribute.DateTime;
513 updatedAt: Attribute.DateTime;
514 createdBy: Attribute.Relation<
515 'plugin::i18n.locale',
516 'oneToOne',
517 'admin::user'
518 > &
519 Attribute.Private;
520 updatedBy: Attribute.Relation<
521 'plugin::i18n.locale',
522 'oneToOne',
523 'admin::user'
524 > &
525 Attribute.Private;
526 };
527}
528
529export interface PluginUsersPermissionsPermission
530 extends Schema.CollectionType {
531 collectionName: 'up_permissions';
532 info: {
533 name: 'permission';
534 description: '';
535 singularName: 'permission';
536 pluralName: 'permissions';
537 displayName: 'Permission';
538 };
539 pluginOptions: {
540 'content-manager': {
541 visible: false;
542 };
543 'content-type-builder': {
544 visible: false;
545 };
546 };
547 attributes: {
548 action: Attribute.String & Attribute.Required;
549 role: Attribute.Relation<
550 'plugin::users-permissions.permission',
551 'manyToOne',
552 'plugin::users-permissions.role'
553 >;
554 createdAt: Attribute.DateTime;
555 updatedAt: Attribute.DateTime;
556 createdBy: Attribute.Relation<
557 'plugin::users-permissions.permission',
558 'oneToOne',
559 'admin::user'
560 > &
561 Attribute.Private;
562 updatedBy: Attribute.Relation<
563 'plugin::users-permissions.permission',
564 'oneToOne',
565 'admin::user'
566 > &
567 Attribute.Private;
568 };
569}
570
571export interface PluginUsersPermissionsRole extends Schema.CollectionType {
572 collectionName: 'up_roles';
573 info: {
574 name: 'role';
575 description: '';
576 singularName: 'role';
577 pluralName: 'roles';
578 displayName: 'Role';
579 };
580 pluginOptions: {
581 'content-manager': {
582 visible: false;
583 };
584 'content-type-builder': {
585 visible: false;
586 };
587 };
588 attributes: {
589 name: Attribute.String &
590 Attribute.Required &
591 Attribute.SetMinMaxLength<{
592 minLength: 3;
593 }>;
594 description: Attribute.String;
595 type: Attribute.String & Attribute.Unique;
596 permissions: Attribute.Relation<
597 'plugin::users-permissions.role',
598 'oneToMany',
599 'plugin::users-permissions.permission'
600 >;
601 users: Attribute.Relation<
602 'plugin::users-permissions.role',
603 'oneToMany',
604 'plugin::users-permissions.user'
605 >;
606 createdAt: Attribute.DateTime;
607 updatedAt: Attribute.DateTime;
608 createdBy: Attribute.Relation<
609 'plugin::users-permissions.role',
610 'oneToOne',
611 'admin::user'
612 > &
613 Attribute.Private;
614 updatedBy: Attribute.Relation<
615 'plugin::users-permissions.role',
616 'oneToOne',
617 'admin::user'
618 > &
619 Attribute.Private;
620 };
621}
622
623export interface PluginUsersPermissionsUser extends Schema.CollectionType {
624 collectionName: 'up_users';
625 info: {
626 name: 'user';
627 description: '';
628 singularName: 'user';
629 pluralName: 'users';
630 displayName: 'User';
631 };
632 options: {
633 draftAndPublish: false;
634 timestamps: true;
635 };
636 attributes: {
637 username: Attribute.String &
638 Attribute.Required &
639 Attribute.Unique &
640 Attribute.SetMinMaxLength<{
641 minLength: 3;
642 }>;
643 email: Attribute.Email &
644 Attribute.Required &
645 Attribute.SetMinMaxLength<{
646 minLength: 6;
647 }>;
648 provider: Attribute.String;
649 password: Attribute.Password &
650 Attribute.Private &
651 Attribute.SetMinMaxLength<{
652 minLength: 6;
653 }>;
654 resetPasswordToken: Attribute.String & Attribute.Private;
655 confirmationToken: Attribute.String & Attribute.Private;
656 confirmed: Attribute.Boolean & Attribute.DefaultTo<false>;
657 blocked: Attribute.Boolean & Attribute.Private & Attribute.DefaultTo<false>;
658 role: Attribute.Relation<
659 'plugin::users-permissions.user',
660 'manyToOne',
661 'plugin::users-permissions.role'
662 >;
663 events: Attribute.Relation<
664 'plugin::users-permissions.user',
665 'manyToMany',
666 'api::event.event'
667 >;
668 passengers: Attribute.Relation<
669 'plugin::users-permissions.user',
670 'oneToMany',
671 'api::passenger.passenger'
672 > &
673 Attribute.Private;
674 vehicles: Attribute.Relation<
675 'plugin::users-permissions.user',
676 'oneToMany',
677 'api::vehicle.vehicle'
678 >;
679 firstName: Attribute.String;
680 lastName: Attribute.String;
681 onboardingUser: Attribute.Boolean & Attribute.DefaultTo<false>;
682 onboardingCreator: Attribute.Boolean & Attribute.DefaultTo<false>;
683 lang: Attribute.Enumeration<['fr', 'en']> & Attribute.DefaultTo<'fr'>;
684 newsletterConsent: Attribute.Boolean & Attribute.DefaultTo<true>;
685 createdAt: Attribute.DateTime;
686 updatedAt: Attribute.DateTime;
687 createdBy: Attribute.Relation<
688 'plugin::users-permissions.user',
689 'oneToOne',
690 'admin::user'
691 > &
692 Attribute.Private;
693 updatedBy: Attribute.Relation<
694 'plugin::users-permissions.user',
695 'oneToOne',
696 'admin::user'
697 > &
698 Attribute.Private;
699 };
700}
701
702export interface PluginEmailDesignerEmailTemplate
703 extends Schema.CollectionType {
704 collectionName: 'email_templates';
705 info: {
706 singularName: 'email-template';
707 pluralName: 'email-templates';
708 displayName: 'Email-template';
709 name: 'email-template';
710 };
711 options: {
712 draftAndPublish: false;
713 timestamps: true;
714 increments: true;
715 comment: '';
716 };
717 pluginOptions: {
718 'content-manager': {
719 visible: false;
720 };
721 'content-type-builder': {
722 visible: false;
723 };
724 };
725 attributes: {
726 templateReferenceId: Attribute.Integer & Attribute.Unique;
727 design: Attribute.JSON;
728 name: Attribute.String;
729 subject: Attribute.String;
730 bodyHtml: Attribute.Text;
731 bodyText: Attribute.Text;
732 enabled: Attribute.Boolean & Attribute.DefaultTo<true>;
733 tags: Attribute.JSON;
734 createdAt: Attribute.DateTime;
735 updatedAt: Attribute.DateTime;
736 createdBy: Attribute.Relation<
737 'plugin::email-designer.email-template',
738 'oneToOne',
739 'admin::user'
740 > &
741 Attribute.Private;
742 updatedBy: Attribute.Relation<
743 'plugin::email-designer.email-template',
744 'oneToOne',
745 'admin::user'
746 > &
747 Attribute.Private;
748 };
749}
750
751export interface ApiEventEvent extends Schema.CollectionType {
752 collectionName: 'events';
753 info: {
754 name: 'event';
755 description: '';
756 singularName: 'event';
757 pluralName: 'events';
758 displayName: 'Event';
759 };
760 options: {
761 increments: true;
762 timestamps: true;
763 draftAndPublish: false;
764 };
765 attributes: {
766 name: Attribute.String & Attribute.Required;
767 email: Attribute.String & Attribute.Required;
768 date: Attribute.Date;
769 address: Attribute.Text;
770 position: Attribute.JSON;
771 uuid: Attribute.String & Attribute.Unique;
772 description: Attribute.Text &
773 Attribute.SetMinMaxLength<{
774 maxLength: 250;
775 }>;
776 newsletter: Attribute.Boolean & Attribute.Private;
777 users: Attribute.Relation<
778 'api::event.event',
779 'manyToMany',
780 'plugin::users-permissions.user'
781 >;
782 travels: Attribute.Relation<
783 'api::event.event',
784 'oneToMany',
785 'api::travel.travel'
786 >;
787 passengers: Attribute.Relation<
788 'api::event.event',
789 'oneToMany',
790 'api::passenger.passenger'
791 >;
792 createdAt: Attribute.DateTime;
793 updatedAt: Attribute.DateTime;
794 createdBy: Attribute.Relation<
795 'api::event.event',
796 'oneToOne',
797 'admin::user'
798 > &
799 Attribute.Private;
800 updatedBy: Attribute.Relation<
801 'api::event.event',
802 'oneToOne',
803 'admin::user'
804 > &
805 Attribute.Private;
806 };
807}
808
809export interface ApiPagePage extends Schema.CollectionType {
810 collectionName: 'pages';
811 info: {
812 name: 'page';
813 singularName: 'page';
814 pluralName: 'pages';
815 displayName: 'Page';
816 };
817 options: {
818 increments: true;
819 timestamps: true;
820 };
821 attributes: {
822 name: Attribute.String & Attribute.Required;
823 content: Attribute.RichText;
824 type: Attribute.Enumeration<['tos']>;
825 createdAt: Attribute.DateTime;
826 updatedAt: Attribute.DateTime;
827 createdBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
828 Attribute.Private;
829 updatedBy: Attribute.Relation<'api::page.page', 'oneToOne', 'admin::user'> &
830 Attribute.Private;
831 };
832}
833
834export interface ApiPassengerPassenger extends Schema.CollectionType {
835 collectionName: 'passengers';
836 info: {
837 name: 'Passenger';
838 description: '';
839 singularName: 'passenger';
840 pluralName: 'passengers';
841 displayName: 'Passenger';
842 };
843 options: {
844 increments: true;
845 timestamps: true;
846 draftAndPublish: false;
847 };
848 attributes: {
849 name: Attribute.String & Attribute.Required;
850 email: Attribute.Email;
851 location: Attribute.String;
852 user: Attribute.Relation<
853 'api::passenger.passenger',
854 'manyToOne',
855 'plugin::users-permissions.user'
856 >;
857 travel: Attribute.Relation<
858 'api::passenger.passenger',
859 'manyToOne',
860 'api::travel.travel'
861 >;
862 event: Attribute.Relation<
863 'api::passenger.passenger',
864 'manyToOne',
865 'api::event.event'
866 >;
867 createdAt: Attribute.DateTime;
868 updatedAt: Attribute.DateTime;
869 createdBy: Attribute.Relation<
870 'api::passenger.passenger',
871 'oneToOne',
872 'admin::user'
873 > &
874 Attribute.Private;
875 updatedBy: Attribute.Relation<
876 'api::passenger.passenger',
877 'oneToOne',
878 'admin::user'
879 > &
880 Attribute.Private;
881 };
882}
883
884export interface ApiSettingSetting extends Schema.SingleType {
885 collectionName: 'settings';
886 info: {
887 singularName: 'setting';
888 pluralName: 'settings';
889 displayName: 'Settings';
890 description: '';
891 };
892 options: {
893 draftAndPublish: false;
894 };
895 pluginOptions: {
896 i18n: {
897 localized: true;
898 };
899 };
900 attributes: {
901 gtm_id: Attribute.String &
902 Attribute.SetPluginOptions<{
903 i18n: {
904 localized: false;
905 };
906 }>;
907 about_link: Attribute.String &
908 Attribute.SetPluginOptions<{
909 i18n: {
910 localized: false;
911 };
912 }>;
913 faq_link: Attribute.String &
914 Attribute.SetPluginOptions<{
915 i18n: {
916 localized: false;
917 };
918 }>;
919 announcement: Attribute.RichText &
920 Attribute.SetPluginOptions<{
921 i18n: {
922 localized: true;
923 };
924 }>;
925 matomo_script_url: Attribute.String &
926 Attribute.SetPluginOptions<{
927 i18n: {
928 localized: false;
929 };
930 }>;
931 opencollective_link: Attribute.String &
932 Attribute.SetPluginOptions<{
933 i18n: {
934 localized: false;
935 };
936 }>;
937 code_link: Attribute.String &
938 Attribute.SetPluginOptions<{
939 i18n: {
940 localized: false;
941 };
942 }>;
943 createdAt: Attribute.DateTime;
944 updatedAt: Attribute.DateTime;
945 createdBy: Attribute.Relation<
946 'api::setting.setting',
947 'oneToOne',
948 'admin::user'
949 > &
950 Attribute.Private;
951 updatedBy: Attribute.Relation<
952 'api::setting.setting',
953 'oneToOne',
954 'admin::user'
955 > &
956 Attribute.Private;
957 localizations: Attribute.Relation<
958 'api::setting.setting',
959 'oneToMany',
960 'api::setting.setting'
961 >;
962 locale: Attribute.String;
963 };
964}
965
966export interface ApiTravelTravel extends Schema.CollectionType {
967 collectionName: 'travels';
968 info: {
969 name: 'travel';
970 description: '';
971 singularName: 'travel';
972 pluralName: 'travels';
973 displayName: 'Travel';
974 };
975 options: {
976 increments: true;
977 timestamps: true;
978 draftAndPublish: false;
979 };
980 attributes: {
981 meeting: Attribute.String;
982 departure: Attribute.DateTime;
983 details: Attribute.Text;
984 vehicleName: Attribute.String;
985 seats: Attribute.Integer &
986 Attribute.SetMinMax<{
987 min: 0;
988 }> &
989 Attribute.DefaultTo<4>;
990 phone_number: Attribute.String;
991 event: Attribute.Relation<
992 'api::travel.travel',
993 'manyToOne',
994 'api::event.event'
995 >;
996 passengers: Attribute.Relation<
997 'api::travel.travel',
998 'oneToMany',
999 'api::passenger.passenger'
1000 >;
1001 createdAt: Attribute.DateTime;
1002 updatedAt: Attribute.DateTime;
1003 createdBy: Attribute.Relation<
1004 'api::travel.travel',
1005 'oneToOne',
1006 'admin::user'
1007 > &
1008 Attribute.Private;
1009 updatedBy: Attribute.Relation<
1010 'api::travel.travel',
1011 'oneToOne',
1012 'admin::user'
1013 > &
1014 Attribute.Private;
1015 };
1016}
1017
1018export interface ApiVehicleVehicle extends Schema.CollectionType {
1019 collectionName: 'vehicles';
1020 info: {
1021 name: 'vehicle';
1022 description: '';
1023 singularName: 'vehicle';
1024 pluralName: 'vehicles';
1025 displayName: 'Vehicle';
1026 };
1027 options: {
1028 increments: true;
1029 timestamps: true;
1030 draftAndPublish: false;
1031 };
1032 attributes: {
1033 name: Attribute.String & Attribute.Required;
1034 seats: Attribute.Integer &
1035 Attribute.SetMinMax<{
1036 min: 0;
1037 }> &
1038 Attribute.DefaultTo<4>;
1039 phone_number: Attribute.String;
1040 user: Attribute.Relation<
1041 'api::vehicle.vehicle',
1042 'manyToOne',
1043 'plugin::users-permissions.user'
1044 >;
1045 createdAt: Attribute.DateTime;
1046 updatedAt: Attribute.DateTime;
1047 createdBy: Attribute.Relation<
1048 'api::vehicle.vehicle',
1049 'oneToOne',
1050 'admin::user'
1051 > &
1052 Attribute.Private;
1053 updatedBy: Attribute.Relation<
1054 'api::vehicle.vehicle',
1055 'oneToOne',
1056 'admin::user'
1057 > &
1058 Attribute.Private;
1059 };
1060}
1061
1062declare module '@strapi/types' {
1063 export module Shared {
1064 export interface ContentTypes {
1065 'admin::permission': AdminPermission;
1066 'admin::user': AdminUser;
1067 'admin::role': AdminRole;
1068 'admin::api-token': AdminApiToken;
1069 'admin::api-token-permission': AdminApiTokenPermission;
1070 'admin::transfer-token': AdminTransferToken;
1071 'admin::transfer-token-permission': AdminTransferTokenPermission;
1072 'plugin::upload.file': PluginUploadFile;
1073 'plugin::upload.folder': PluginUploadFolder;
1074 'plugin::i18n.locale': PluginI18NLocale;
1075 'plugin::users-permissions.permission': PluginUsersPermissionsPermission;
1076 'plugin::users-permissions.role': PluginUsersPermissionsRole;
1077 'plugin::users-permissions.user': PluginUsersPermissionsUser;
1078 'plugin::email-designer.email-template': PluginEmailDesignerEmailTemplate;
1079 'api::event.event': ApiEventEvent;
1080 'api::page.page': ApiPagePage;
1081 'api::passenger.passenger': ApiPassengerPassenger;
1082 'api::setting.setting': ApiSettingSetting;
1083 'api::travel.travel': ApiTravelTravel;
1084 'api::vehicle.vehicle': ApiVehicleVehicle;
1085 }
1086 }
1087}