@@ -800,22 +800,62 @@ export interface ApiPlanPlan extends Struct.CollectionTypeSchema {
800800 options : {
801801 draftAndPublish : true ;
802802 } ;
803+ pluginOptions : {
804+ i18n : {
805+ localized : true ;
806+ } ;
807+ } ;
803808 attributes : {
804- additional_perks : Schema . Attribute . Component < 'shared.perks' , true > ;
809+ additional_perks : Schema . Attribute . Component < 'shared.perks' , true > &
810+ Schema . Attribute . SetPluginOptions < {
811+ i18n : {
812+ localized : true ;
813+ } ;
814+ } > ;
805815 createdAt : Schema . Attribute . DateTime ;
806816 createdBy : Schema . Attribute . Relation < 'oneToOne' , 'admin::user' > &
807817 Schema . Attribute . Private ;
808- CTA : Schema . Attribute . Component < 'shared.button' , false > ;
809- featured : Schema . Attribute . Boolean & Schema . Attribute . DefaultTo < false > ;
810- locale : Schema . Attribute . String & Schema . Attribute . Private ;
811- localizations : Schema . Attribute . Relation < 'oneToMany' , 'api::plan.plan' > &
812- Schema . Attribute . Private ;
813- name : Schema . Attribute . String ;
814- perks : Schema . Attribute . Component < 'shared.perks' , true > ;
815- price : Schema . Attribute . Integer ;
818+ CTA : Schema . Attribute . Component < 'shared.button' , false > &
819+ Schema . Attribute . SetPluginOptions < {
820+ i18n : {
821+ localized : true ;
822+ } ;
823+ } > ;
824+ featured : Schema . Attribute . Boolean &
825+ Schema . Attribute . SetPluginOptions < {
826+ i18n : {
827+ localized : true ;
828+ } ;
829+ } > &
830+ Schema . Attribute . DefaultTo < false > ;
831+ locale : Schema . Attribute . String ;
832+ localizations : Schema . Attribute . Relation < 'oneToMany' , 'api::plan.plan' > ;
833+ name : Schema . Attribute . String &
834+ Schema . Attribute . SetPluginOptions < {
835+ i18n : {
836+ localized : true ;
837+ } ;
838+ } > ;
839+ perks : Schema . Attribute . Component < 'shared.perks' , true > &
840+ Schema . Attribute . SetPluginOptions < {
841+ i18n : {
842+ localized : true ;
843+ } ;
844+ } > ;
845+ price : Schema . Attribute . Integer &
846+ Schema . Attribute . SetPluginOptions < {
847+ i18n : {
848+ localized : true ;
849+ } ;
850+ } > ;
816851 product : Schema . Attribute . Relation < 'manyToOne' , 'api::product.product' > ;
817852 publishedAt : Schema . Attribute . DateTime ;
818- sub_text : Schema . Attribute . String ;
853+ sub_text : Schema . Attribute . String &
854+ Schema . Attribute . SetPluginOptions < {
855+ i18n : {
856+ localized : true ;
857+ } ;
858+ } > ;
819859 updatedAt : Schema . Attribute . DateTime ;
820860 updatedBy : Schema . Attribute . Relation < 'oneToOne' , 'admin::user' > &
821861 Schema . Attribute . Private ;
@@ -903,6 +943,11 @@ export interface ApiProductProduct extends Struct.CollectionTypeSchema {
903943 options : {
904944 draftAndPublish : true ;
905945 } ;
946+ pluginOptions : {
947+ i18n : {
948+ localized : true ;
949+ } ;
950+ } ;
906951 attributes : {
907952 categories : Schema . Attribute . Relation <
908953 'oneToMany' ,
@@ -911,22 +956,57 @@ export interface ApiProductProduct extends Struct.CollectionTypeSchema {
911956 createdAt : Schema . Attribute . DateTime ;
912957 createdBy : Schema . Attribute . Relation < 'oneToOne' , 'admin::user' > &
913958 Schema . Attribute . Private ;
914- description : Schema . Attribute . String ;
959+ description : Schema . Attribute . String &
960+ Schema . Attribute . SetPluginOptions < {
961+ i18n : {
962+ localized : true ;
963+ } ;
964+ } > ;
915965 dynamic_zone : Schema . Attribute . DynamicZone <
916966 [ 'dynamic-zone.related-products' , 'dynamic-zone.cta' ]
917- > ;
918- featured : Schema . Attribute . Boolean & Schema . Attribute . DefaultTo < false > ;
919- images : Schema . Attribute . Media < 'images' | 'files' | 'videos' , true > ;
920- locale : Schema . Attribute . String & Schema . Attribute . Private ;
967+ > &
968+ Schema . Attribute . SetPluginOptions < {
969+ i18n : {
970+ localized : true ;
971+ } ;
972+ } > ;
973+ featured : Schema . Attribute . Boolean &
974+ Schema . Attribute . SetPluginOptions < {
975+ i18n : {
976+ localized : true ;
977+ } ;
978+ } > &
979+ Schema . Attribute . DefaultTo < false > ;
980+ images : Schema . Attribute . Media < 'images' | 'files' | 'videos' , true > &
981+ Schema . Attribute . SetPluginOptions < {
982+ i18n : {
983+ localized : true ;
984+ } ;
985+ } > ;
986+ locale : Schema . Attribute . String ;
921987 localizations : Schema . Attribute . Relation <
922988 'oneToMany' ,
923989 'api::product.product'
924- > &
925- Schema . Attribute . Private ;
926- name : Schema . Attribute . String ;
927- perks : Schema . Attribute . Component < 'shared.perks' , true > ;
990+ > ;
991+ name : Schema . Attribute . String &
992+ Schema . Attribute . SetPluginOptions < {
993+ i18n : {
994+ localized : true ;
995+ } ;
996+ } > ;
997+ perks : Schema . Attribute . Component < 'shared.perks' , true > &
998+ Schema . Attribute . SetPluginOptions < {
999+ i18n : {
1000+ localized : true ;
1001+ } ;
1002+ } > ;
9281003 plans : Schema . Attribute . Relation < 'oneToMany' , 'api::plan.plan' > ;
929- price : Schema . Attribute . Integer ;
1004+ price : Schema . Attribute . Integer &
1005+ Schema . Attribute . SetPluginOptions < {
1006+ i18n : {
1007+ localized : true ;
1008+ } ;
1009+ } > ;
9301010 publishedAt : Schema . Attribute . DateTime ;
9311011 slug : Schema . Attribute . UID < 'name' > ;
9321012 updatedAt : Schema . Attribute . DateTime ;
0 commit comments