diff --git a/src/BukiVedi.App/Controllers/AuthorsController.cs b/src/BukiVedi.App/Controllers/AuthorsController.cs index 1c649f5..958fe72 100644 --- a/src/BukiVedi.App/Controllers/AuthorsController.cs +++ b/src/BukiVedi.App/Controllers/AuthorsController.cs @@ -30,7 +30,7 @@ namespace BukiVedi.App.Controllers public async Task>> SearchByAuthor([FromRoute] string id) { var books = (await _library.SearchBooksByAuthor(id)).ToArray(); - return Ok(books.Select(b => BookEntityMapper.Map(b))); + return Ok(await BookEntityMapper.Map(books)); } /// diff --git a/src/BukiVedi.App/Controllers/BooksController.cs b/src/BukiVedi.App/Controllers/BooksController.cs index c2f1d58..57b497e 100644 --- a/src/BukiVedi.App/Controllers/BooksController.cs +++ b/src/BukiVedi.App/Controllers/BooksController.cs @@ -38,22 +38,12 @@ namespace BukiVedi.App.Controllers case "@favorites": { var books = (await _library.SearchFavoritesBooks(OperationContext.OperationInitiator.Id)).ToArray(); - return Ok(books.Select(b => - { - var bu = BookEntityMapper.Map(b); - bu.IsFavorite = true; // TODO сделать проверкой по справочнику в кеше - return bu; - })); + return Ok(await BookEntityMapper.Map(books)); } case "@favoriteauthors": { var books = (await _library.SearchFavoriteAuthorsBooks(OperationContext.OperationInitiator.Id)).ToArray(); - return Ok(books.Select(b => - { - var bu = BookEntityMapper.Map(b); - bu.IsFavorite = true; // TODO сделать проверкой по справочнику в кеше - return bu; - })); + return Ok(await BookEntityMapper.Map(books)); } case "@tagged": { @@ -63,30 +53,25 @@ namespace BukiVedi.App.Controllers tag = sv.ToString(); } var books = (await _library.SearchTaggedBooks(OperationContext.OperationInitiator.Id, tag: tag!)).ToArray(); - return Ok(books.Select(b => BookEntityMapper.Map(b))); + return Ok(await BookEntityMapper.Map(books)); } case "@blocked": { var books = (await _library.SearchBlockedBooks(OperationContext.OperationInitiator.Id)).ToArray(); - return Ok(books.Select(b => - { - var bu = BookEntityMapper.Map(b); - bu.IsBlocked = true; // TODO сделать проверкой по справочнику в кеше - return bu; - })); + return Ok(await BookEntityMapper.Map(books)); } case "@toread": { var books = (await _library.SearchToReadBooks(OperationContext.OperationInitiator.Id)).ToArray(); - return Ok(books.Select(b => BookEntityMapper.Map(b))); + return Ok(await BookEntityMapper.Map(books)); } default: { var books = (await _library.SearchBooks(request.Query)).ToArray(); - return Ok(books.Select(b => BookEntityMapper.Map(b))); + return Ok(await BookEntityMapper.Map(books)); } } } diff --git a/src/BukiVedi.App/Controllers/HintsController.cs b/src/BukiVedi.App/Controllers/HintsController.cs deleted file mode 100644 index fec03e3..0000000 --- a/src/BukiVedi.App/Controllers/HintsController.cs +++ /dev/null @@ -1,32 +0,0 @@ -using BukiVedi.Shared.Entities; -using BukiVedi.Shared.Services; -using Microsoft.AspNetCore.Authorization; -using Microsoft.AspNetCore.Mvc; -using MongoDB.Driver; - -namespace BukiVedi.App.Controllers -{ - [Route("api/hints")] - [ApiController] - [Authorize("authorized")] - public class HintsController - : BaseController - { - private readonly ILibrary _library; - public HintsController(ILibrary library) - : base() - { - _library = library; - } - - /// - /// Список пользовательских тегов - /// - /// - [HttpGet("tags")] - public async Task>> GetUserTags() - { - return Ok((await Tables.UserTag.Get(Builders.Filter.Eq(t => t.UserId, OperationContext.OperationInitiator.Id)))?.Select(t => t.Name)); - } - } -} diff --git a/src/BukiVedi.App/Controllers/TagsController.cs b/src/BukiVedi.App/Controllers/TagsController.cs new file mode 100644 index 0000000..dcefa85 --- /dev/null +++ b/src/BukiVedi.App/Controllers/TagsController.cs @@ -0,0 +1,59 @@ +using BukiVedi.App.Requests; +using BukiVedi.Shared.Entities; +using BukiVedi.Shared.Services; +using Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Mvc; +using MongoDB.Driver; + +namespace BukiVedi.App.Controllers +{ + [Authorize("authorized")] + [ApiController] + [Route("api/tags")] + public class TagsController + : BaseController + { + /// + /// Добавление тега для книги + /// + /// Ok + [HttpPost] + public async Task AppendTag([FromBody] AppendTagRequest request) + { + if (request != null && string.IsNullOrWhiteSpace(request.Name) == false && await Tables.Books.ExistById(request.BookId)) + { + var name = request.Name.Trim().ToLowerInvariant(); + var tagFilter = Builders.Filter.And(Builders.Filter.Eq(t => t.BookId, request.BookId), Builders.Filter.Eq(t => t.Name, name)); + if (false == await Tables.UserTag.Exists(tagFilter)) + { + await Tables.UserTag.Write(new UserTag { BookId = request.BookId, Name = name, UserId = OperationContext.OperationInitiator.Id }); + } + } + return Ok(); + } + + /// + /// Удаление тега для книги + /// + /// Ok + [HttpDelete("id")] + public async Task> RemoveTag([FromRoute] string id) + { + if (string.IsNullOrWhiteSpace(id) == false && await Tables.UserTag.ExistById(id)) + { + return Ok(await Tables.UserTag.TryRemoveById(id)); + } + return Ok(false); + } + + /// + /// Список пользовательских тегов + /// + /// + [HttpGet] + public async Task>> GetUserTags() + { + return Ok((await Tables.UserTag.Get(Builders.Filter.Eq(t => t.UserId, OperationContext.OperationInitiator.Id)))?.Select(t => t.Name)); + } + } +} diff --git a/src/BukiVedi.App/Requests/AppendTagRequest.cs b/src/BukiVedi.App/Requests/AppendTagRequest.cs new file mode 100644 index 0000000..ed38af0 --- /dev/null +++ b/src/BukiVedi.App/Requests/AppendTagRequest.cs @@ -0,0 +1,8 @@ +namespace BukiVedi.App.Requests +{ + public class AppendTagRequest + { + public string BookId { get; set; } + public string Name { get; set; } + } +} diff --git a/src/BukiVedi.App/Responces/BookResponse.cs b/src/BukiVedi.App/Responces/BookResponse.cs index b0da5fa..2677340 100644 --- a/src/BukiVedi.App/Responces/BookResponse.cs +++ b/src/BukiVedi.App/Responces/BookResponse.cs @@ -62,7 +62,7 @@ /// /// Теги(массив объектов с полями id; имя тега) /// - public TagInfo[] Tags { get; set; } + public IEnumerable Tags { get; set; } /// /// Год издания /// diff --git a/src/BukiVedi.App/Services/Mappers/BookEntityMapper.cs b/src/BukiVedi.App/Services/Mappers/BookEntityMapper.cs index 1a2b50c..c0cceab 100644 --- a/src/BukiVedi.App/Services/Mappers/BookEntityMapper.cs +++ b/src/BukiVedi.App/Services/Mappers/BookEntityMapper.cs @@ -1,22 +1,42 @@ using BukiVedi.App.Responces; using BukiVedi.Shared.Entities; +using BukiVedi.Shared.Services; +using MongoDB.Driver; namespace BukiVedi.App.Services.Mappers { public class BookEntityMapper { - public static BookResponse Map(BookEntity book) + public static async Task> Map(IEnumerable books) { - return new BookResponse + var booksIds = books.Select(x => x.Id).ToList(); + var tags_list = (await Tables.UserTag.Get(Builders.Filter.In(t => t.BookId, booksIds))); + var tags = new Dictionary>(); + foreach (var t in tags_list) { - Authors = book.Authors.Select(a => new AuthorInfo { Id = a.Id, Name = a.Name }).ToArray(), - Description = book.Description, - Format = book.Format, - Id = book.Id, - Genres = new GenreInfo[1] { new GenreInfo { Id = book.Genre.Id, Name = book.Genre.Code } }, - Title = book.Title, - Year = book.Year, - }; + if (tags.TryGetValue(t.BookId, out var list)) { list.Add(new TagInfo { Id = t.Id, Name = t.Name }); } + else + { + tags.Add(t.BookId, + new List + { + new TagInfo { Id = t.Id, Name = t.Name } + }); + } + } + + return books.Select(book => + new BookResponse + { + Authors = book.Authors.Select(a => new AuthorInfo { Id = a.Id, Name = a.Name }).ToArray(), + Description = book.Description, + Format = book.Format, + Id = book.Id, + Genres = new GenreInfo[1] { new GenreInfo { Id = book.Genre.Id, Name = book.Genre.Code } }, + Title = book.Title, + Year = book.Year, + Tags = tags.ContainsKey(book.Id) ? tags[book.Id] : null! + }); } } } diff --git a/src/BukiVedi.App/obj/Debug/net8.0/ApiEndpoints.json b/src/BukiVedi.App/obj/Debug/net8.0/ApiEndpoints.json index f4c3300..7a9593f 100644 --- a/src/BukiVedi.App/obj/Debug/net8.0/ApiEndpoints.json +++ b/src/BukiVedi.App/obj/Debug/net8.0/ApiEndpoints.json @@ -233,9 +233,25 @@ ] }, { - "ContainingType": "BukiVedi.App.Controllers.HintsController", + "ContainingType": "BukiVedi.App.Controllers.TagsController", + "Method": "AppendTag", + "RelativePath": "api/tags", + "HttpMethod": "POST", + "IsController": true, + "Order": 0, + "Parameters": [ + { + "Name": "request", + "Type": "BukiVedi.App.Requests.AppendTagRequest", + "IsRequired": true + } + ], + "ReturnTypes": [] + }, + { + "ContainingType": "BukiVedi.App.Controllers.TagsController", "Method": "GetUserTags", - "RelativePath": "api/hints/tags", + "RelativePath": "api/tags", "HttpMethod": "GET", "IsController": true, "Order": 0, @@ -251,5 +267,31 @@ "StatusCode": 200 } ] + }, + { + "ContainingType": "BukiVedi.App.Controllers.TagsController", + "Method": "RemoveTag", + "RelativePath": "api/tags/id", + "HttpMethod": "DELETE", + "IsController": true, + "Order": 0, + "Parameters": [ + { + "Name": "id", + "Type": "System.String", + "IsRequired": false + } + ], + "ReturnTypes": [ + { + "Type": "System.Boolean", + "MediaTypes": [ + "text/plain", + "application/json", + "text/json" + ], + "StatusCode": 200 + } + ] } ] \ No newline at end of file diff --git a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfo.cs b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfo.cs index 5b6a37b..a5c3346 100644 --- a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfo.cs +++ b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("BukiVedi.App")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a3d0f6854da43e4751a466c4aad31306f23988f4")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1a3354bfe43b1cd0f3b6881ad9e749c9d0575d87")] [assembly: System.Reflection.AssemblyProductAttribute("BukiVedi.App")] [assembly: System.Reflection.AssemblyTitleAttribute("BukiVedi.App")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfoInputs.cache b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfoInputs.cache index dbab027..922f4a1 100644 --- a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfoInputs.cache +++ b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.AssemblyInfoInputs.cache @@ -1 +1 @@ -e5a3d294f67b6f7db5ed4106b1e0779f1ab92391b34c7101aef3389c854bc7ea +b9e5179c1e29c1c145152c4bd263b32b05a8e7759f4db3ae908c9f5d8deb49ec diff --git a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.AssemblyReference.cache b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.AssemblyReference.cache index 8eef112..8224d39 100644 Binary files a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.AssemblyReference.cache and b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.AssemblyReference.cache differ diff --git a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.CoreCompileInputs.cache b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.CoreCompileInputs.cache index aab6c2f..6ab56da 100644 --- a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.CoreCompileInputs.cache +++ b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -4c4f32f8e585faf173948396d852ab461832b5dd36928e2eae2b6a67ddba0a04 +411769ab7f33e006bcf2fe23bf29c7beabc4c95916c9c9d86b53e1439516e4a3 diff --git a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.pdb b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.pdb index 8cd4ebe..ff40e6a 100644 Binary files a/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.pdb and b/src/BukiVedi.App/obj/Debug/net8.0/BukiVedi.App.pdb differ diff --git a/src/BukiVedi.Shared/IRepository.cs b/src/BukiVedi.Shared/IRepository.cs index 87a1e5e..a219803 100644 --- a/src/BukiVedi.Shared/IRepository.cs +++ b/src/BukiVedi.Shared/IRepository.cs @@ -25,9 +25,9 @@ namespace BukiVedi.Shared Task ModifyOne(FilterDefinition filter, UpdateDefinition update); Task Modify(FilterDefinition filter, UpdateDefinition update); Task ReWrite(T record); - internal Task TryRemove(T obj); - internal Task TryRemove(FilterDefinition filter); - internal Task TryRemoveById(string id); + Task TryRemove(T obj); + Task TryRemove(FilterDefinition filter); + Task TryRemoveById(string id); internal Task Drop(); } } diff --git a/src/BukiVedi.Shared/bin/Debug/net8.0/BukiVedi.Shared.pdb b/src/BukiVedi.Shared/bin/Debug/net8.0/BukiVedi.Shared.pdb index a3b974a..4c3efc6 100644 Binary files a/src/BukiVedi.Shared/bin/Debug/net8.0/BukiVedi.Shared.pdb and b/src/BukiVedi.Shared/bin/Debug/net8.0/BukiVedi.Shared.pdb differ diff --git a/src/BukiVedi.Shared/obj/BukiVedi.Shared.csproj.nuget.dgspec.json b/src/BukiVedi.Shared/obj/BukiVedi.Shared.csproj.nuget.dgspec.json index b193af5..cd2a309 100644 --- a/src/BukiVedi.Shared/obj/BukiVedi.Shared.csproj.nuget.dgspec.json +++ b/src/BukiVedi.Shared/obj/BukiVedi.Shared.csproj.nuget.dgspec.json @@ -67,11 +67,6 @@ }, "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200/PortableRuntimeIdentifierGraph.json" } - }, - "runtimes": { - "linux-x64": { - "#import": [] - } } }, "G:\\Documents\\GitHub\\BukiVedi\\src\\BukiVedi.Shared\\BukiVedi.Shared.csproj": { @@ -163,11 +158,6 @@ }, "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200/PortableRuntimeIdentifierGraph.json" } - }, - "runtimes": { - "linux-x64": { - "#import": [] - } } }, "G:\\Documents\\GitHub\\BukiVedi\\src\\Vendors\\LemmaGen_v3.0_PrebuiltFull\\LemmaSharpPrebuilt\\LemmaSharpPrebuilt.csproj": { @@ -293,11 +283,6 @@ }, "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200/PortableRuntimeIdentifierGraph.json" } - }, - "runtimes": { - "linux-x64": { - "#import": [] - } } } } diff --git a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfo.cs b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfo.cs index b42678a..66dfdc1 100644 --- a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfo.cs +++ b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("BukiVedi.Shared")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a3d0f6854da43e4751a466c4aad31306f23988f4")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1a3354bfe43b1cd0f3b6881ad9e749c9d0575d87")] [assembly: System.Reflection.AssemblyProductAttribute("BukiVedi.Shared")] [assembly: System.Reflection.AssemblyTitleAttribute("BukiVedi.Shared")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfoInputs.cache b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfoInputs.cache index f886852..fc75546 100644 --- a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfoInputs.cache +++ b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.AssemblyInfoInputs.cache @@ -1 +1 @@ -2dd5b54c18e88209da1a71d5242ff522bc0fd3a0e6546e22e8f2e147cbf052ea +4349296b5681078306e6f8a7c49c392998f27e3710ca922dd7193cecfc1ea515 diff --git a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.csproj.AssemblyReference.cache b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.csproj.AssemblyReference.cache index 624cc8f..59ed52e 100644 Binary files a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.csproj.AssemblyReference.cache and b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.csproj.AssemblyReference.cache differ diff --git a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.pdb b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.pdb index a3b974a..4c3efc6 100644 Binary files a/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.pdb and b/src/BukiVedi.Shared/obj/Debug/net8.0/BukiVedi.Shared.pdb differ diff --git a/src/BukiVedi.Shared/obj/project.assets.json b/src/BukiVedi.Shared/obj/project.assets.json index ecef87b..310c8bf 100644 --- a/src/BukiVedi.Shared/obj/project.assets.json +++ b/src/BukiVedi.Shared/obj/project.assets.json @@ -359,332 +359,6 @@ "bin/placeholder/ZeroLevel.dll": {} } } - }, - "net8.0/linux-x64": { - "AWSSDK.Core/3.7.100.14": { - "type": "package", - "compile": { - "lib/netcoreapp3.1/AWSSDK.Core.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/netcoreapp3.1/AWSSDK.Core.dll": { - "related": ".pdb;.xml" - } - } - }, - "AWSSDK.SecurityToken/3.7.100.14": { - "type": "package", - "dependencies": { - "AWSSDK.Core": "[3.7.100.14, 4.0.0)" - }, - "compile": { - "lib/netcoreapp3.1/AWSSDK.SecurityToken.dll": { - "related": ".pdb;.xml" - } - }, - "runtime": { - "lib/netcoreapp3.1/AWSSDK.SecurityToken.dll": { - "related": ".pdb;.xml" - } - } - }, - "DnsClient/1.6.1": { - "type": "package", - "dependencies": { - "Microsoft.Win32.Registry": "5.0.0" - }, - "compile": { - "lib/net5.0/DnsClient.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net5.0/DnsClient.dll": { - "related": ".xml" - } - } - }, - "FB2Library/1.3.3": { - "type": "package", - "compile": { - "lib/net6.0/FB2Library.dll": {} - }, - "runtime": { - "lib/net6.0/FB2Library.dll": {} - } - }, - "Microsoft.Extensions.Logging.Abstractions/2.0.0": { - "type": "package", - "compile": { - "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": { - "related": ".xml" - } - } - }, - "Microsoft.NETCore.Platforms/5.0.0": { - "type": "package", - "compile": { - "lib/netstandard1.0/_._": {} - }, - "runtime": { - "lib/netstandard1.0/_._": {} - } - }, - "Microsoft.Win32.Registry/5.0.0": { - "type": "package", - "dependencies": { - "System.Security.AccessControl": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - }, - "compile": { - "ref/netstandard2.0/Microsoft.Win32.Registry.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/Microsoft.Win32.Registry.dll": { - "related": ".xml" - } - } - }, - "MongoDB.Bson/2.24.0": { - "type": "package", - "dependencies": { - "System.Memory": "4.5.5", - "System.Runtime.CompilerServices.Unsafe": "5.0.0" - }, - "compile": { - "lib/netstandard2.1/MongoDB.Bson.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/MongoDB.Bson.dll": { - "related": ".xml" - } - } - }, - "MongoDB.Driver/2.24.0": { - "type": "package", - "dependencies": { - "Microsoft.Extensions.Logging.Abstractions": "2.0.0", - "MongoDB.Bson": "2.24.0", - "MongoDB.Driver.Core": "2.24.0", - "MongoDB.Libmongocrypt": "1.8.2" - }, - "compile": { - "lib/netstandard2.1/MongoDB.Driver.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/MongoDB.Driver.dll": { - "related": ".xml" - } - } - }, - "MongoDB.Driver.Core/2.24.0": { - "type": "package", - "dependencies": { - "AWSSDK.SecurityToken": "3.7.100.14", - "DnsClient": "1.6.1", - "Microsoft.Extensions.Logging.Abstractions": "2.0.0", - "MongoDB.Bson": "2.24.0", - "MongoDB.Libmongocrypt": "1.8.2", - "SharpCompress": "0.30.1", - "Snappier": "1.0.0", - "System.Buffers": "4.5.1", - "ZstdSharp.Port": "0.7.3" - }, - "compile": { - "lib/netstandard2.1/MongoDB.Driver.Core.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.1/MongoDB.Driver.Core.dll": { - "related": ".xml" - } - } - }, - "MongoDB.Libmongocrypt/1.8.2": { - "type": "package", - "compile": { - "lib/netstandard2.1/MongoDB.Libmongocrypt.dll": {} - }, - "runtime": { - "lib/netstandard2.1/MongoDB.Libmongocrypt.dll": {} - }, - "native": { - "runtimes/linux/native/libmongocrypt.so": {} - }, - "contentFiles": { - "contentFiles/any/any/_._": { - "buildAction": "None", - "codeLanguage": "any", - "copyToOutput": false - } - }, - "build": { - "build/_._": {} - } - }, - "SharpCompress/0.30.1": { - "type": "package", - "compile": { - "lib/net5.0/SharpCompress.dll": {} - }, - "runtime": { - "lib/net5.0/SharpCompress.dll": {} - } - }, - "Snappier/1.0.0": { - "type": "package", - "compile": { - "lib/net5.0/Snappier.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/net5.0/Snappier.dll": { - "related": ".xml" - } - } - }, - "System.Buffers/4.5.1": { - "type": "package", - "compile": { - "ref/netcoreapp2.0/_._": {} - }, - "runtime": { - "lib/netcoreapp2.0/_._": {} - } - }, - "System.Memory/4.5.5": { - "type": "package", - "compile": { - "ref/netcoreapp2.1/_._": {} - }, - "runtime": { - "lib/netcoreapp2.1/_._": {} - } - }, - "System.Runtime.CompilerServices.Unsafe/5.0.0": { - "type": "package", - "compile": { - "ref/netstandard2.1/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": { - "related": ".xml" - } - } - }, - "System.Security.AccessControl/5.0.0": { - "type": "package", - "dependencies": { - "Microsoft.NETCore.Platforms": "5.0.0", - "System.Security.Principal.Windows": "5.0.0" - }, - "compile": { - "ref/netstandard2.0/System.Security.AccessControl.dll": { - "related": ".xml" - } - }, - "runtime": { - "lib/netstandard2.0/System.Security.AccessControl.dll": { - "related": ".xml" - } - } - }, - "System.Security.Principal.Windows/5.0.0": { - "type": "package", - "compile": { - "ref/netcoreapp3.0/System.Security.Principal.Windows.dll": { - "related": ".xml" - } - }, - "runtime": { - "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { - "related": ".xml" - } - } - }, - "ZstdSharp.Port/0.7.3": { - "type": "package", - "compile": { - "lib/net7.0/ZstdSharp.dll": {} - }, - "runtime": { - "lib/net7.0/ZstdSharp.dll": {} - } - }, - "LemmaSharp/1.0.0": { - "type": "project", - "compile": { - "bin/placeholder/LemmaSharp.dll": {} - }, - "runtime": { - "bin/placeholder/LemmaSharp.dll": {} - } - }, - "LemmaSharpPrebuilt/1.0.0": { - "type": "project", - "dependencies": { - "LemmaSharp": "1.0.0" - }, - "compile": { - "bin/placeholder/LemmaSharpPrebuilt.dll": {} - }, - "runtime": { - "bin/placeholder/LemmaSharpPrebuilt.dll": {} - } - }, - "LemmaSharpPrebuiltFull/1.0.0": { - "type": "project", - "dependencies": { - "LemmaSharp": "1.0.0", - "LemmaSharpPrebuilt": "1.0.0" - }, - "compile": { - "bin/placeholder/LemmaSharpPrebuiltFull.dll": {} - }, - "runtime": { - "bin/placeholder/LemmaSharpPrebuiltFull.dll": {} - } - }, - "Sleopok.Engine/1.0.0": { - "type": "project", - "framework": ".NETCoreApp,Version=v8.0", - "dependencies": { - "ZeroLevel": "3.4.0.8" - }, - "compile": { - "bin/placeholder/Sleopok.Engine.dll": {} - }, - "runtime": { - "bin/placeholder/Sleopok.Engine.dll": {} - } - }, - "ZeroLevel/3.4.0.8": { - "type": "project", - "framework": ".NETCoreApp,Version=v8.0", - "compile": { - "bin/placeholder/ZeroLevel.dll": {} - }, - "runtime": { - "bin/placeholder/ZeroLevel.dll": {} - } - } } }, "libraries": { @@ -1313,11 +987,6 @@ }, "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200/PortableRuntimeIdentifierGraph.json" } - }, - "runtimes": { - "linux-x64": { - "#import": [] - } } } } \ No newline at end of file diff --git a/src/BukiVedi.Shared/obj/project.nuget.cache b/src/BukiVedi.Shared/obj/project.nuget.cache index 1c3e319..94d0dd8 100644 --- a/src/BukiVedi.Shared/obj/project.nuget.cache +++ b/src/BukiVedi.Shared/obj/project.nuget.cache @@ -1,6 +1,6 @@ { "version": 2, - "dgSpecHash": "PH28x1HAQv9f0NTmNqx7WpXX82izLpORxxiImmQTk9jKk/yc9Yni4anyFP84qZadoYiyIhJezrcd+gCGU9cUwA==", + "dgSpecHash": "YVwM+KO4mWGH6B1BXss/L3tLASd1EDkcdE0fSC9tmlDJYRd8v5KkEYaBZw9w1Pjlc6cFAx0UOnW6xgMSuFnyQg==", "success": true, "projectFilePath": "G:\\Documents\\GitHub\\BukiVedi\\src\\BukiVedi.Shared\\BukiVedi.Shared.csproj", "expectedPackageFiles": [ diff --git a/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfo.cs b/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfo.cs index cb82494..4324290 100644 --- a/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfo.cs +++ b/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfo.cs @@ -14,7 +14,7 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("TitleReader")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a3d0f6854da43e4751a466c4aad31306f23988f4")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1a3354bfe43b1cd0f3b6881ad9e749c9d0575d87")] [assembly: System.Reflection.AssemblyProductAttribute("TitleReader")] [assembly: System.Reflection.AssemblyTitleAttribute("TitleReader")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] diff --git a/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfoInputs.cache b/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfoInputs.cache index 789aa7e..a9596a9 100644 --- a/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfoInputs.cache +++ b/src/TitleReader/obj/Debug/net8.0/TitleReader.AssemblyInfoInputs.cache @@ -1 +1 @@ -bb1821fe2cb7b9fa9228f61c79c42670de63950df37dc8a32cd1652c3c4b559c +77a6c1edef6ad7a4d85724e4cbb6b2f35ed2ee54d591989ab3b1fe5cd12d4bf5 diff --git a/src/TitleReader/obj/Debug/net8.0/TitleReader.csproj.AssemblyReference.cache b/src/TitleReader/obj/Debug/net8.0/TitleReader.csproj.AssemblyReference.cache index 7c02a04..c5af954 100644 Binary files a/src/TitleReader/obj/Debug/net8.0/TitleReader.csproj.AssemblyReference.cache and b/src/TitleReader/obj/Debug/net8.0/TitleReader.csproj.AssemblyReference.cache differ