@@ -61,6 +61,7 @@ public struct CustomConfigParameters: Sendable, Codable, JSONEncodable, Hashable
6161 public var noStyles : Bool ?
6262 public var pageSize : Int ?
6363 public var readonly : Bool ?
64+ public var noNewRootComments : Bool ?
6465 public var requireSSO : Bool ?
6566 public var enableResizeHandle : Bool ?
6667 public var restrictedLinkDomains : [ String ] ?
@@ -83,7 +84,7 @@ public struct CustomConfigParameters: Sendable, Codable, JSONEncodable, Hashable
8384 public var widgetSubQuestionVisibility : QuestionSubQuestionVisibility ?
8485 public var wrap : Bool ?
8586
86- public init ( absoluteAndRelativeDates: Bool ? = nil , absoluteDates: Bool ? = nil , allowAnon: Bool ? = nil , allowAnonFlag: Bool ? = nil , allowAnonVotes: Bool ? = nil , allowedLanguages: [ String ] ? = nil , collapseReplies: Bool ? = nil , commentCountFormat: String ? = nil , commentHTMLRenderingMode: CommentHTMLRenderingMode ? = nil , commentThreadDeleteMode: CommentThreadDeletionMode ? = nil , commenterNameFormat: CommenterNameFormats ? = nil , countAboveToggle: Int ? = nil , customCSS: String ? = nil , defaultAvatarSrc: String ? = nil , defaultSortDirection: SortDirections ? = nil , defaultUsername: String ? = nil , disableAutoAdminMigration: Bool ? = nil , disableAutoHashTagCreation: Bool ? = nil , disableBlocking: Bool ? = nil , disableCommenterCommentDelete: Bool ? = nil , disableCommenterCommentEdit: Bool ? = nil , disableEmailInputs: Bool ? = nil , disableLiveCommenting: Bool ? = nil , disableNotificationBell: Bool ? = nil , disableProfiles: Bool ? = nil , disableSuccessMessage: Bool ? = nil , disableToolbar: Bool ? = nil , disableUnverifiedLabel: Bool ? = nil , disableVoting: Bool ? = nil , enableCommenterLinks: Bool ? = nil , enableSearch: Bool ? = nil , enableSpoilers: Bool ? = nil , enableThirdPartyCookieBypass: Bool ? = nil , enableViewCounts: Bool ? = nil , enableVoteList: Bool ? = nil , enableWYSIWYG: Bool ? = nil , gifRating: GifRating ? = nil , hasDarkBackground: Bool ? = nil , headerHTML: String ? = nil , hideAvatars: Bool ? = nil , hideCommentsUnderCountTextFormat: String ? = nil , imageContentProfanityLevel: ImageContentProfanityLevel ? = nil , inputAfterComments: Bool ? = nil , limitCommentsByGroups: Bool ? = nil , locale: String ? = nil , maxCommentCharacterLength: Int ? = nil , maxCommentCreatedCountPUPM: Int ? = nil , noCustomConfig: Bool ? = nil , noImageUploads: Bool ? = nil , noStyles: Bool ? = nil , pageSize: Int ? = nil , readonly: Bool ? = nil , requireSSO: Bool ? = nil , enableResizeHandle: Bool ? = nil , restrictedLinkDomains: [ String ] ? = nil , showBadgesInTopBar: Bool ? = nil , showCommentSaveSuccess: Bool ? = nil , showLiveRightAway: Bool ? = nil , showQuestion: Bool ? = nil , spamRules: [ SpamRule ] ? = nil , ssoSecLvl: SSOSecurityLevel ? = nil , translations: [ String : String ] ? = nil , useShowCommentsToggle: Bool ? = nil , useSingleLineCommentInput: Bool ? = nil , voteStyle: VoteStyle ? = nil , widgetQuestionId: String ? = nil , widgetQuestionResultsStyle: CommentQuestionResultsRenderingType ? = nil , widgetQuestionStyle: QuestionRenderingType ? = nil , widgetQuestionWhenToSave: QuestionWhenSave ? = nil , widgetQuestionsRequired: CommentQuestionsRequired ? = nil , widgetSubQuestionVisibility: QuestionSubQuestionVisibility ? = nil , wrap: Bool ? = nil ) {
87+ public init ( absoluteAndRelativeDates: Bool ? = nil , absoluteDates: Bool ? = nil , allowAnon: Bool ? = nil , allowAnonFlag: Bool ? = nil , allowAnonVotes: Bool ? = nil , allowedLanguages: [ String ] ? = nil , collapseReplies: Bool ? = nil , commentCountFormat: String ? = nil , commentHTMLRenderingMode: CommentHTMLRenderingMode ? = nil , commentThreadDeleteMode: CommentThreadDeletionMode ? = nil , commenterNameFormat: CommenterNameFormats ? = nil , countAboveToggle: Int ? = nil , customCSS: String ? = nil , defaultAvatarSrc: String ? = nil , defaultSortDirection: SortDirections ? = nil , defaultUsername: String ? = nil , disableAutoAdminMigration: Bool ? = nil , disableAutoHashTagCreation: Bool ? = nil , disableBlocking: Bool ? = nil , disableCommenterCommentDelete: Bool ? = nil , disableCommenterCommentEdit: Bool ? = nil , disableEmailInputs: Bool ? = nil , disableLiveCommenting: Bool ? = nil , disableNotificationBell: Bool ? = nil , disableProfiles: Bool ? = nil , disableSuccessMessage: Bool ? = nil , disableToolbar: Bool ? = nil , disableUnverifiedLabel: Bool ? = nil , disableVoting: Bool ? = nil , enableCommenterLinks: Bool ? = nil , enableSearch: Bool ? = nil , enableSpoilers: Bool ? = nil , enableThirdPartyCookieBypass: Bool ? = nil , enableViewCounts: Bool ? = nil , enableVoteList: Bool ? = nil , enableWYSIWYG: Bool ? = nil , gifRating: GifRating ? = nil , hasDarkBackground: Bool ? = nil , headerHTML: String ? = nil , hideAvatars: Bool ? = nil , hideCommentsUnderCountTextFormat: String ? = nil , imageContentProfanityLevel: ImageContentProfanityLevel ? = nil , inputAfterComments: Bool ? = nil , limitCommentsByGroups: Bool ? = nil , locale: String ? = nil , maxCommentCharacterLength: Int ? = nil , maxCommentCreatedCountPUPM: Int ? = nil , noCustomConfig: Bool ? = nil , noImageUploads: Bool ? = nil , noStyles: Bool ? = nil , pageSize: Int ? = nil , readonly: Bool ? = nil , noNewRootComments: Bool ? = nil , requireSSO: Bool ? = nil , enableResizeHandle: Bool ? = nil , restrictedLinkDomains: [ String ] ? = nil , showBadgesInTopBar: Bool ? = nil , showCommentSaveSuccess: Bool ? = nil , showLiveRightAway: Bool ? = nil , showQuestion: Bool ? = nil , spamRules: [ SpamRule ] ? = nil , ssoSecLvl: SSOSecurityLevel ? = nil , translations: [ String : String ] ? = nil , useShowCommentsToggle: Bool ? = nil , useSingleLineCommentInput: Bool ? = nil , voteStyle: VoteStyle ? = nil , widgetQuestionId: String ? = nil , widgetQuestionResultsStyle: CommentQuestionResultsRenderingType ? = nil , widgetQuestionStyle: QuestionRenderingType ? = nil , widgetQuestionWhenToSave: QuestionWhenSave ? = nil , widgetQuestionsRequired: CommentQuestionsRequired ? = nil , widgetSubQuestionVisibility: QuestionSubQuestionVisibility ? = nil , wrap: Bool ? = nil ) {
8788 self . absoluteAndRelativeDates = absoluteAndRelativeDates
8889 self . absoluteDates = absoluteDates
8990 self . allowAnon = allowAnon
@@ -136,6 +137,7 @@ public struct CustomConfigParameters: Sendable, Codable, JSONEncodable, Hashable
136137 self . noStyles = noStyles
137138 self . pageSize = pageSize
138139 self . readonly = readonly
140+ self . noNewRootComments = noNewRootComments
139141 self . requireSSO = requireSSO
140142 self . enableResizeHandle = enableResizeHandle
141143 self . restrictedLinkDomains = restrictedLinkDomains
@@ -211,6 +213,7 @@ public struct CustomConfigParameters: Sendable, Codable, JSONEncodable, Hashable
211213 case noStyles
212214 case pageSize
213215 case readonly
216+ case noNewRootComments
214217 case requireSSO
215218 case enableResizeHandle
216219 case restrictedLinkDomains
@@ -289,6 +292,7 @@ public struct CustomConfigParameters: Sendable, Codable, JSONEncodable, Hashable
289292 try container. encodeIfPresent ( noStyles, forKey: . noStyles)
290293 try container. encodeIfPresent ( pageSize, forKey: . pageSize)
291294 try container. encodeIfPresent ( readonly, forKey: . readonly)
295+ try container. encodeIfPresent ( noNewRootComments, forKey: . noNewRootComments)
292296 try container. encodeIfPresent ( requireSSO, forKey: . requireSSO)
293297 try container. encodeIfPresent ( enableResizeHandle, forKey: . enableResizeHandle)
294298 try container. encodeIfPresent ( restrictedLinkDomains, forKey: . restrictedLinkDomains)
0 commit comments