@@ -54,7 +54,17 @@ export const EVENT_THEME_PARSER = z.object({
5454 secondaryContrastHex : HEX_COLOR_PARSER ,
5555 tertiaryHex : HEX_COLOR_PARSER ,
5656 tertiaryContrastHex : HEX_COLOR_PARSER
57- } )
57+ } ) ,
58+ headingCustomStyles : z . object ( {
59+ title : z . string ( ) . nullable ( ) ,
60+ subTitle : z . string ( ) . nullable ( ) ,
61+ banner : z . string ( ) . nullable ( ) ,
62+ } ) . optional ( ) . nullable ( ) . default ( null ) ,
63+ headingSrcSet : z . array ( z . object ( {
64+ url : z . string ( ) ,
65+ descriptor : z . string ( ) . regex ( / \d (?: w | x ) / )
66+ } ) ) . min ( 1 ) . optional ( ) . nullable ( ) . default ( null ) ,
67+ customGoogleFontFamilies : z . array ( z . string ( ) ) . optional ( ) . nullable ( ) . default ( null ) ,
5868} )
5969
6070export const SOCIAL_MEDIA_TYPE = z . union ( [
@@ -178,6 +188,7 @@ export const EVENT_FEATURES_CONFIG_PARSER = z.object({
178188
179189export const EVENT_DESCRIPTOR_PARSER = LISTABLE_EVENT_PARSER . extend ( {
180190 headingTitle : z . string ( ) ,
191+ headingSubTitle : z . string ( ) . optional ( ) . nullable ( ) . default ( null ) ,
181192 headingBackground : z . string ( ) . optional ( ) . nullable ( ) . default ( null ) ,
182193 features : EVENT_FEATURES_CONFIG_PARSER ,
183194 talkFormats : z . array ( THEMABLE_TALK_FORMAT_PARSER ) ,
0 commit comments