-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
249 changed files
with
11,441 additions
and
254,094 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Damselfly.Core.Constants; | ||
|
||
public static class DamselflyContants | ||
{ | ||
public const int PageSize = 250; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,50 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.9" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.9" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.9" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.9"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.9"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="7.0.9" /> | ||
<PackageReference Include="FluentValidation" Version="11.6.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="7.0.9" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="Authentication\" /> | ||
<Folder Include="Interfaces\" /> | ||
<Folder Include="Utils\" /> | ||
<Folder Include="Models\" /> | ||
<Folder Include="Models\SideCars\" /> | ||
<Folder Include="Images\" /> | ||
<Folder Include="Models\API Models\" /> | ||
<Folder Include="Models\ConfigSettings\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Damselfly.Core.Utils\Damselfly.Core.Utils.csproj" /> | ||
<ProjectReference Include="..\Damselfly.Core.Interfaces\Damselfly.Core.Interfaces.csproj" /> | ||
<ProjectReference Include="..\Damselfly.Shared.Utils\Damselfly.Shared.Utils.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="Microsoft.AspNetCore.Identity.EntityFrameworkCore" /> | ||
<None Remove="Models\" /> | ||
<None Remove="Models\SideCars\" /> | ||
<None Remove="FluentValidation" /> | ||
<None Remove="Images\" /> | ||
<None Remove="Microsoft.AspNetCore.Authorization" /> | ||
<None Remove="Models\API Models\" /> | ||
<None Remove="Models\ConfigSettings\" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Library</OutputType> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" /> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Console" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" /> | ||
<PackageReference Include="FluentValidation" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Authorization" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="Authentication\" /> | ||
<Folder Include="Utils\" /> | ||
<Folder Include="Models\" /> | ||
<Folder Include="Models\SideCars\" /> | ||
<Folder Include="Images\" /> | ||
<Folder Include="Models\ConfigSettings\" /> | ||
<Folder Include="Models\TransformationModels\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Damselfly.Core.Utils\Damselfly.Core.Utils.csproj" /> | ||
<ProjectReference Include="..\Damselfly.Core.Interfaces\Damselfly.Core.Interfaces.csproj" /> | ||
<ProjectReference Include="..\Damselfly.Shared.Utils\Damselfly.Shared.Utils.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="Microsoft.AspNetCore.Identity.EntityFrameworkCore" /> | ||
<None Remove="Models\" /> | ||
<None Remove="Models\SideCars\" /> | ||
<None Remove="FluentValidation" /> | ||
<None Remove="Images\" /> | ||
<None Remove="Microsoft.AspNetCore.Authorization" /> | ||
<None Remove="Models\API Models\" /> | ||
<None Remove="Models\ConfigSettings\" /> | ||
<None Remove="Models\TransformationModels\" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using System; | ||
|
||
namespace Damselfly.Core.ScopedServices.Interfaces; | ||
|
||
public interface ISearchHint | ||
{ | ||
Action Clear { get; set; } | ||
string Description { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
Damselfly.Core.DbModels/Models/API Models/AIMigrationRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace Damselfly.Core.DbModels.Models.API_Models; | ||
|
||
public class AIMigrationRequest | ||
{ | ||
public bool MigrateAllImages { get; set; } | ||
public bool MigrateImagesWithFaces { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
Damselfly.Core.DbModels/Models/API Models/NameChangeRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
using System; | ||
namespace Damselfly.Core.DbModels.Models.APIModels; | ||
|
||
|
||
public class NameChangeRequest | ||
{ | ||
public int ObjectId { get; set; } | ||
public int? PersonId { get; set; } | ||
public int? ImageObjectId { get; set; } | ||
public string NewName { get; set; } | ||
public bool Merge { get; set; } | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System; | ||
using Damselfly.Core.ScopedServices.Interfaces; | ||
|
||
namespace Damselfly.Core.DbModels.Models.API_Models; | ||
|
||
public class SearchHint : ISearchHint | ||
{ | ||
public Action Clear { get; set; } | ||
public string Description { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.