From 635b611ca965f45a94b70c64476c08570cc1e5e9 Mon Sep 17 00:00:00 2001 From: Chris Nussbaum Date: Thu, 22 Aug 2024 08:00:12 -0500 Subject: [PATCH 1/2] Revert "NuGet updates (#145)" This reverts commit 8a9860f87a5cdb1a4936460bc39129c198be8be4. --- .../ElectronicsTime/ElectronicsTimeApp.cs | 2 +- .../NuttyTree.NetDaemon.Application.csproj | 12 ++++++------ .../HomeAssistant/Extensions/TodoEntityExtensions.cs | 8 ++++---- .../NuttyTree.NetDaemon.Infrastructure.csproj | 2 +- src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj | 2 +- .../NuttyTree.NetDaemon.Application.UnitTests.csproj | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs b/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs index 9f21267..59f4e4c 100644 --- a/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs +++ b/src/NuttyTree.NetDaemon.Application/ElectronicsTime/ElectronicsTimeApp.cs @@ -124,7 +124,7 @@ private async Task HandleToDoListChangeAsync(StateChange - - - - - - + + + + + + diff --git a/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs b/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs index 95accfd..9b963bc 100644 --- a/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs +++ b/src/NuttyTree.NetDaemon.Infrastructure/HomeAssistant/Extensions/TodoEntityExtensions.cs @@ -14,8 +14,8 @@ public static class TodoEntityExtensions public static async Task AddItemAsync( this TodoEntity entity, string item, - DateOnly? dueDate = null, - DateTime? dueDatetime = null, + object? dueDate = null, + object? dueDatetime = null, string? description = null, CancellationToken cancellationToken = default) { @@ -44,8 +44,8 @@ public static void UpdateItem( Guid uid, string? name = null, ToDoListItemStatus? status = null, - DateOnly? dueDate = null, - DateTime? dueDatetime = null, + object? dueDate = null, + object? dueDatetime = null, string? description = null) { entity.UpdateItem($"{uid}", name, $"{status}", dueDate, dueDatetime, description); diff --git a/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj b/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj index 5ffd9f5..fda1f75 100644 --- a/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj +++ b/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj @@ -8,7 +8,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj b/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj index 997fa13..9f24095 100644 --- a/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj +++ b/src/NuttyTree.NetDaemon/NuttyTree.NetDaemon.csproj @@ -9,7 +9,7 @@ - + diff --git a/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj b/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj index 3066b45..4a9d1bb 100644 --- a/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj +++ b/tests/NuttyTree.NetDaemon.Application.UnitTests/NuttyTree.NetDaemon.Application.UnitTests.csproj @@ -7,7 +7,7 @@ - + From c74de04eea5f3e682e35c9cd623c031001ea9624 Mon Sep 17 00:00:00 2001 From: Chris Nussbaum Date: Thu, 22 Aug 2024 08:46:09 -0500 Subject: [PATCH 2/2] Pin code gen version also --- .../NuttyTree.NetDaemon.Infrastructure.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj b/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj index fda1f75..cb418c3 100644 --- a/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj +++ b/src/NuttyTree.NetDaemon.Infrastructure/NuttyTree.NetDaemon.Infrastructure.csproj @@ -22,7 +22,7 @@ - +