Consolidated handlers that return lists of items. Renamed ApiBaseItemWrapper to ApiBaseItemContainer. Added Person and Studio DTO's to BaseItemWrapper

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-17 12:47:35 -04:00
parent 5c094afd7e
commit 5c6ec34a9c
25 changed files with 195 additions and 333 deletions

View File

@@ -1,37 +1,10 @@
using System.Collections.Generic;
using MediaBrowser.Common.Configuration;
using MediaBrowser.Model.Configuration;
namespace MediaBrowser.Controller.Configuration
{
public class ServerConfiguration : BaseApplicationConfiguration
{
public string ImagesByNamePath { get; set; }
/// <summary>
/// Gets or sets the default UI configuration
/// </summary>
public UserConfiguration DefaultUserConfiguration { get; set; }
/// <summary>
/// Gets or sets a list of registered UI device names
/// </summary>
public List<string> DeviceNames { get; set; }
/// <summary>
/// Gets or sets all available UIConfigurations
/// The key contains device name and user id
/// </summary>
public Dictionary<string, UserConfiguration> UserConfigurations { get; set; }
public ServerConfiguration()
: base()
{
DefaultUserConfiguration = new UserConfiguration();
UserConfigurations = new Dictionary<string, UserConfiguration>();
DeviceNames = new List<string>();
}
}
}