File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ export const resourceMandatoryFields = object({
1515} ) ;
1616
1717export const resourceMandatoryTags = object ( {
18- topic_tags : array ( )
18+ topics_tags : array ( )
1919 . of ( string ( ) . max ( 50 ) )
2020 . min ( 2 , "At least two topics are required" )
2121 . required ( "Topics are required" ) ,
2222} ) ;
2323
2424export const optionalFields = object ( {
25- programming_languages : array ( ) . of ( string ( ) . max ( 50 ) ) ,
25+ programming_languages_tags : array ( ) . of ( string ( ) . max ( 50 ) ) ,
2626 general_tags : array ( ) . of ( string ( ) . max ( 50 ) ) ,
2727} ) ;
2828
@@ -106,10 +106,10 @@ export const nullableResourceFields = object({
106106 description : string ( ) . max ( 10000 ) ,
107107 difficulties : array ( ) . of ( string ( ) ) ,
108108 pricing : string ( ) ,
109- topic_tags : array ( )
109+ topics_tags : array ( )
110110 . of ( string ( ) . max ( 50 ) )
111111 . min ( 2 , "At least two topics are required" ) ,
112- programming_language_tags : array ( ) . of ( string ( ) . max ( 50 ) ) ,
112+ programming_languages_tags : array ( ) . of ( string ( ) . max ( 50 ) ) ,
113113 general_tags : array ( ) . of ( string ( ) . max ( 50 ) ) ,
114114} ) ;
115115
You can’t perform that action at this time.
0 commit comments