Complete public search (#5)

- Bump version
- Define nav between profile and continent/skills
- Remove redundant code
This commit is contained in:
2021-06-14 21:49:20 -04:00
parent fb147888c5
commit 60ed7e1e79
14 changed files with 74 additions and 91 deletions

View File

@@ -0,0 +1,13 @@
using System.Collections.Generic;
namespace JobsJobsJobs.Shared.Api
{
/// <summary>
/// A public profile search result
/// </summary>
public record PublicSearchResult(
string Continent,
string Region,
bool RemoteWork,
IEnumerable<string> Skills);
}

View File

@@ -1,5 +1,5 @@
using NodaTime;
using System;
using System.Collections.Generic;
namespace JobsJobsJobs.Shared
{
@@ -26,6 +26,6 @@ namespace JobsJobsJobs.Shared
/// <summary>
/// Convenience property for skills associated with a profile
/// </summary>
public Skill[] Skills { get; set; } = Array.Empty<Skill>();
public ICollection<Skill> Skills { get; set; } = new List<Skill>();
}
}