mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Show banners
This commit is contained in:
		
							
								
								
									
										9
									
								
								assets/js/typings/ServerConfig.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								assets/js/typings/ServerConfig.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -41,6 +41,14 @@ declare interface AccountInformationPolicy {
 | 
			
		||||
    max_location_length: number,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare interface Banner {
 | 
			
		||||
    enabled: boolean,
 | 
			
		||||
    expire ?: number,
 | 
			
		||||
    nature: "information"|"warning"|"success",
 | 
			
		||||
    message: Map<string, string>,
 | 
			
		||||
    link ?: string,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
declare interface StaticServerConfig {
 | 
			
		||||
    terms_url: string,
 | 
			
		||||
    privacy_policy_url: string,
 | 
			
		||||
@@ -50,4 +58,5 @@ declare interface StaticServerConfig {
 | 
			
		||||
    data_conservation_policy: DataConservationPolicySettings,
 | 
			
		||||
    conversations_policy: ConversationPolicy,
 | 
			
		||||
    account_info_policy: AccountInformationPolicy,
 | 
			
		||||
    banner?: Banner,
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user