Return all users with profiles (#3)
Also fixed server pre-rendering and added log off functionality
This commit is contained in:
15
src/JobsJobsJobs/Shared/Api/ProfileSearchResult.cs
Normal file
15
src/JobsJobsJobs/Shared/Api/ProfileSearchResult.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using NodaTime;
|
||||
|
||||
namespace JobsJobsJobs.Shared.Api
|
||||
{
|
||||
/// <summary>
|
||||
/// A user matching the profile search
|
||||
/// </summary>
|
||||
public record ProfileSearchResult(
|
||||
CitizenId CitizenId,
|
||||
string DisplayName,
|
||||
bool SeekingEmployment,
|
||||
bool RemoteWork,
|
||||
bool FullTime,
|
||||
Instant LastUpdated);
|
||||
}
|
||||
@@ -1,12 +1,5 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<AssemblyVersion>0.7.0.0</AssemblyVersion>
|
||||
<FileVersion>0.7.0.0</FileVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Markdig" Version="0.22.1" />
|
||||
<PackageReference Include="Nanoid" Version="2.1.0" />
|
||||
|
||||
Reference in New Issue
Block a user