@@ -430,38 +430,6 @@ export interface AdminUser extends Struct.CollectionTypeSchema {
430430 } ;
431431}
432432
433- export interface ApiAdminAssignmentAdminAssignment
434- extends Struct . CollectionTypeSchema {
435- collectionName : 'admin_assignments' ;
436- info : {
437- displayName : 'Admin Assignment' ;
438- pluralName : 'admin-assignments' ;
439- singularName : 'admin-assignment' ;
440- } ;
441- options : {
442- draftAndPublish : false ;
443- } ;
444- attributes : {
445- createdAt : Schema . Attribute . DateTime ;
446- createdBy : Schema . Attribute . Relation < 'oneToOne' , 'admin::user' > &
447- Schema . Attribute . Private ;
448- locale : Schema . Attribute . String & Schema . Attribute . Private ;
449- localizations : Schema . Attribute . Relation <
450- 'oneToMany' ,
451- 'api::admin-assignment.admin-assignment'
452- > &
453- Schema . Attribute . Private ;
454- publishedAt : Schema . Attribute . DateTime ;
455- schools : Schema . Attribute . Relation < 'manyToMany' , 'api::school.school' > &
456- Schema . Attribute . Required ;
457- updatedAt : Schema . Attribute . DateTime ;
458- updatedBy : Schema . Attribute . Relation < 'oneToOne' , 'admin::user' > &
459- Schema . Attribute . Private ;
460- user : Schema . Attribute . Relation < 'manyToOne' , 'admin::user' > &
461- Schema . Attribute . Required ;
462- } ;
463- }
464-
465433export interface ApiCartCart extends Struct . CollectionTypeSchema {
466434 collectionName : 'carts' ;
467435 info : {
@@ -624,7 +592,8 @@ export interface ApiSchoolSchool extends Struct.CollectionTypeSchema {
624592 'api::school.school'
625593 > &
626594 Schema . Attribute . Private ;
627- menu_items : Schema . Attribute . Relation <
595+ managers : Schema . Attribute . Relation < 'oneToMany' , 'admin::user' > ;
596+ menuItems : Schema . Attribute . Relation <
628597 'oneToMany' ,
629598 'api::menu-item.menu-item'
630599 > ;
@@ -1187,7 +1156,6 @@ declare module '@strapi/strapi' {
11871156 'admin::transfer-token' : AdminTransferToken ;
11881157 'admin::transfer-token-permission' : AdminTransferTokenPermission ;
11891158 'admin::user' : AdminUser ;
1190- 'api::admin-assignment.admin-assignment' : ApiAdminAssignmentAdminAssignment ;
11911159 'api::cart.cart' : ApiCartCart ;
11921160 'api::global.global' : ApiGlobalGlobal ;
11931161 'api::menu-item.menu-item' : ApiMenuItemMenuItem ;
0 commit comments