Headless CMS and Content Managment Hub
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

57 lines
1.6 KiB

// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ==========================================================================
using System.Collections.Generic;
namespace Squidex.Areas.Api.Controllers.UI
{
public sealed class MyUIOptions
{
public Dictionary<string, string> RegexSuggestions { get; set; }
public Dictionary<string, string> More { get; set; } = new Dictionary<string, string>();
public MapOptions Map { get; set; }
public GoogleOptions Google { get; set; }
public int ReferencesDropdownItemCount { get; set; } = 100;
public bool ShowInfo { get; set; }
public bool HideNews { get; set; }
public bool HideOnboarding { get; set; }
public bool HideDateButtons { get; set; }
public bool HideDateTimeModeButton { get; set; }
public bool DisableScheduledChanges { get; set; }
public bool RedirectToLogin { get; set; }
public bool OnlyAdminsCanCreateApps { get; set; }
public sealed class MapOptions
{
public string Type { get; set; }
public MapGoogleOptions GoogleMaps { get; set; }
}
public sealed class MapGoogleOptions
{
public string Key { get; set; }
}
public sealed class GoogleOptions
{
public string AnalyticsId { get; set; }
}
}
}