@@ -362,6 +362,50 @@ export interface AdminTransferTokenPermission extends Schema.CollectionType {
362362 } ;
363363}
364364
365+ export interface ApiHomeHome extends Schema . SingleType {
366+ collectionName : 'homes' ;
367+ info : {
368+ singularName : 'home' ;
369+ pluralName : 'homes' ;
370+ displayName : 'Home' ;
371+ description : '' ;
372+ } ;
373+ options : {
374+ draftAndPublish : false ;
375+ } ;
376+ attributes : {
377+ title : Attribute . String ;
378+ slug : Attribute . UID < 'api::home.home' , 'title' > ;
379+ createdAt : Attribute . DateTime ;
380+ updatedAt : Attribute . DateTime ;
381+ createdBy : Attribute . Relation < 'api::home.home' , 'oneToOne' , 'admin::user' > &
382+ Attribute . Private ;
383+ updatedBy : Attribute . Relation < 'api::home.home' , 'oneToOne' , 'admin::user' > &
384+ Attribute . Private ;
385+ } ;
386+ }
387+
388+ export interface ApiPagePage extends Schema . CollectionType {
389+ collectionName : 'pages' ;
390+ info : {
391+ singularName : 'page' ;
392+ pluralName : 'pages' ;
393+ displayName : 'Page' ;
394+ } ;
395+ options : {
396+ draftAndPublish : false ;
397+ } ;
398+ attributes : {
399+ title : Attribute . String & Attribute . Required ;
400+ createdAt : Attribute . DateTime ;
401+ updatedAt : Attribute . DateTime ;
402+ createdBy : Attribute . Relation < 'api::page.page' , 'oneToOne' , 'admin::user' > &
403+ Attribute . Private ;
404+ updatedBy : Attribute . Relation < 'api::page.page' , 'oneToOne' , 'admin::user' > &
405+ Attribute . Private ;
406+ } ;
407+ }
408+
365409export interface PluginUploadFile extends Schema . CollectionType {
366410 collectionName : 'files' ;
367411 info : {
@@ -788,51 +832,6 @@ export interface PluginUsersPermissionsUser extends Schema.CollectionType {
788832 } ;
789833}
790834
791- export interface ApiHomeHome extends Schema . SingleType {
792- collectionName : 'homes' ;
793- info : {
794- singularName : 'home' ;
795- pluralName : 'homes' ;
796- displayName : 'Home' ;
797- description : '' ;
798- } ;
799- options : {
800- draftAndPublish : false ;
801- } ;
802- attributes : {
803- title : Attribute . String ;
804- Profile : Attribute . Component < 'core.profile' > ;
805- slug : Attribute . UID < 'api::home.home' , 'title' > ;
806- createdAt : Attribute . DateTime ;
807- updatedAt : Attribute . DateTime ;
808- createdBy : Attribute . Relation < 'api::home.home' , 'oneToOne' , 'admin::user' > &
809- Attribute . Private ;
810- updatedBy : Attribute . Relation < 'api::home.home' , 'oneToOne' , 'admin::user' > &
811- Attribute . Private ;
812- } ;
813- }
814-
815- export interface ApiPagePage extends Schema . CollectionType {
816- collectionName : 'pages' ;
817- info : {
818- singularName : 'page' ;
819- pluralName : 'pages' ;
820- displayName : 'Page' ;
821- } ;
822- options : {
823- draftAndPublish : false ;
824- } ;
825- attributes : {
826- title : Attribute . String & Attribute . Required ;
827- createdAt : Attribute . DateTime ;
828- updatedAt : Attribute . DateTime ;
829- createdBy : Attribute . Relation < 'api::page.page' , 'oneToOne' , 'admin::user' > &
830- Attribute . Private ;
831- updatedBy : Attribute . Relation < 'api::page.page' , 'oneToOne' , 'admin::user' > &
832- Attribute . Private ;
833- } ;
834- }
835-
836835declare module '@strapi/types' {
837836 export module Shared {
838837 export interface ContentTypes {
@@ -843,6 +842,8 @@ declare module '@strapi/types' {
843842 'admin::api-token-permission' : AdminApiTokenPermission ;
844843 'admin::transfer-token' : AdminTransferToken ;
845844 'admin::transfer-token-permission' : AdminTransferTokenPermission ;
845+ 'api::home.home' : ApiHomeHome ;
846+ 'api::page.page' : ApiPagePage ;
846847 'plugin::upload.file' : PluginUploadFile ;
847848 'plugin::upload.folder' : PluginUploadFolder ;
848849 'plugin::content-releases.release' : PluginContentReleasesRelease ;
@@ -851,8 +852,6 @@ declare module '@strapi/types' {
851852 'plugin::users-permissions.permission' : PluginUsersPermissionsPermission ;
852853 'plugin::users-permissions.role' : PluginUsersPermissionsRole ;
853854 'plugin::users-permissions.user' : PluginUsersPermissionsUser ;
854- 'api::home.home' : ApiHomeHome ;
855- 'api::page.page' : ApiPagePage ;
856855 }
857856 }
858857}
0 commit comments