Corrected typo in PackageDetails class name
This commit is contained in:
@@ -624,7 +624,7 @@
|
||||
<Compile Include="Repository\Controllers\PackageSortOrder.cs" />
|
||||
<Compile Include="Repository\Models\Category.cs" />
|
||||
<Compile Include="Repository\Models\ExternalSource.cs" />
|
||||
<Compile Include="Repository\Models\PacakgeDetails.cs" />
|
||||
<Compile Include="Repository\Models\PackageDetails.cs" />
|
||||
<Compile Include="Repository\Models\Package.cs" />
|
||||
<Compile Include="Repository\Models\PackageCompatibility.cs" />
|
||||
<Compile Include="Repository\Models\PackageImage.cs" />
|
||||
|
||||
@@ -219,6 +219,9 @@ namespace OurUmbraco.Repository.Controllers
|
||||
|
||||
public IEnumerable<Models.Category> GetCategories()
|
||||
{
|
||||
// [LK:2016-06-13@CGRT16] We're hardcoding the categories as the 'icon' isn't
|
||||
// content-manageable (yet). There is a media-picker icon, but that's for a different use.
|
||||
// When the time comes, we can switch to query for the Category nodes directly.
|
||||
return new[]
|
||||
{
|
||||
new Models.Category
|
||||
|
||||
+13
-5
@@ -1,24 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace OurUmbraco.Repository.Models
|
||||
{
|
||||
public class PacakgeDetails : Package
|
||||
public class PackageDetails : Package
|
||||
{
|
||||
public PacakgeDetails()
|
||||
public PackageDetails()
|
||||
{
|
||||
Images = new List<PackageImage>();
|
||||
Images = new List<PackageImage>();
|
||||
Compatibility = new List<PackageCompatibility>();
|
||||
ExternalSources = new List<ExternalSource>();
|
||||
}
|
||||
|
||||
public string Description { get; set; }
|
||||
|
||||
public List<PackageImage> Images { get; set; }
|
||||
|
||||
public List<PackageCompatibility> Compatibility { get; set; }
|
||||
|
||||
public List<ExternalSource> ExternalSources { get; set; }
|
||||
|
||||
|
||||
public string LicenseName { get; set; }
|
||||
|
||||
public string LicenseUrl { get; set; }
|
||||
public string NetVersion { get; set; }
|
||||
|
||||
public string NetVersion { get; set; }
|
||||
|
||||
public string ZipUrl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user