Lyo.HomeInventory
3.0.0
dotnet add package Lyo.HomeInventory --version 3.0.0
NuGet\Install-Package Lyo.HomeInventory -Version 3.0.0
<PackageReference Include="Lyo.HomeInventory" Version="3.0.0" />
<PackageVersion Include="Lyo.HomeInventory" Version="3.0.0" />
<PackageReference Include="Lyo.HomeInventory" />
paket add Lyo.HomeInventory --version 3.0.0
#r "nuget: Lyo.HomeInventory, 3.0.0"
#:package Lyo.HomeInventory@3.0.0
#addin nuget:?package=Lyo.HomeInventory&version=3.0.0
#tool nuget:?package=Lyo.HomeInventory&version=3.0.0
Lyo.HomeInventory
Contract for household inventory: large purchases (electronics, appliances) with warranty tracking, kitchen consumables stocked across pantries / freezers, and bin locations in
garages. Domain records (HomeItemRecord, HomeCategoryRecord, HomeLocationRecord, HomeItemStockRecord, HomeItemMovementRecord) are keyed by Guid. All operations go
through IHomeInventoryStore.
IHomeInventoryStore
SaveItemAsync(HomeItemRecord item, CancellationToken ct = default)upserts. Whenitem.Idmatches an existing row it is updated in place. Otherwise a new row is inserted. AnIdandCreatedTimestampare generated when missing.GetItemByIdAsync(Guid id, CancellationToken ct = default)one item by id.DeleteItemAsync(Guid id, CancellationToken ct = default)hard delete. Item rows have no soft-delete column.
Enums
HomeItemStatus.Active = 0,Discontinued = 1,Archived = 2.HomeItemCondition.Unknown = 0,New = 1,Used = 2,Refurbished = 3,OpenBox = 4,Damaged = 5.HomeItemMovementType.Receipt = 0,Issue = 1,TransferOut = 2,TransferIn = 3,Adjustment = 4,Return = 5,Loss = 6,StockTransfer = 7.TransferOut/TransferInare paired-ticket movements recorded individually, whileStockTransferis the single-row movement emitted byTransferStockAsync(both endpoints populated).HomeAttachmentRole.Photo,Receipt,Manual,Warranty,Document(defined inLyo.HomeInventory.Models).
Records
HomeItemRecord. The item itself. Carries Owner (EntityRef), optionalCategoryId/ParentItemId/LocationId(room assignment, independent of stock), andProductKeys(List<HomeProductKeyEntry>of kind/value/note; the same kind may appear more than once, e.g. two Wi-Fi MACs). Free-text comments live onINoteStore.HomeCategoryRecord. Optional grouping withParentCategoryId,Name,Slug,Description,SortOrder.HomeLocationRecord. Physical location withParentLocationId,Name,Code(short label/scanner code),Description,IsActive.HomeItemStockRecord. Composite key(ItemId, LocationId)withQuantityOnHand,QuantityReserved, optionalReorderPoint,UpdatedTimestamp.HomeItemMovementRecord. Immutable audit line withItemId,MovementType,Quantity, optionalFromLocationId/ToLocationId,ReferenceNumber, optionalCreatedBy(EntityRef),CreatedTimestamp.HomeAttachmentRecord. FileStorage file linked to an item, location, or category (EntityType,EntityId,FileId,Role,Caption,SortOrder,IsPrimary).
Out of scope (by design)
- Full-text fuzzy search. Wrap with
Lyo.Apiprojections externally. - Multi-home tenancy. Compose higher-level partition keys. The interface is deliberately single-scope.
Dependencies
Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).
Lyo.Common.Core(direct, lyo)Lyo.EntityReference.Models(direct, lyo)Lyo.HomeInventory.Models(direct, lyo)Lyo.Api.Models(transitive, lyo)Lyo.Common.Metadata(transitive, lyo)Lyo.DateAndTime(transitive, lyo)Lyo.Exceptions(transitive, lyo)Lyo.Json(transitive, lyo)Lyo.Parameters(transitive, lyo)Lyo.Query.Models(transitive, lyo)Microsoft.Bcl.AsyncInterfaces10.0.5(transitive, microsoft, netstandard2.0)System.Memory4.6.3(transitive, microsoft, netstandard2.0)System.Text.Encoding.CodePages10.0.5(transitive, microsoft)System.Text.Json10.0.5(transitive, microsoft, netstandard2.0)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Lyo.Common.Core (>= 3.0.0)
- Lyo.EntityReference.Models (>= 3.0.0)
- Lyo.HomeInventory.Models (>= 3.0.0)
-
net10.0
- Lyo.Common.Core (>= 3.0.0)
- Lyo.EntityReference.Models (>= 3.0.0)
- Lyo.HomeInventory.Models (>= 3.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Lyo.HomeInventory:
| Package | Downloads |
|---|---|
|
Lyo.HomeInventory.Postgres
PostgreSQL storage for Lyo.HomeInventory (EF Core): household items, rooms/locations, quantities, attachments, and change history. |
|
|
Lyo.HomeInventory.FileStorage
Optional IFileStorageService helper that saves inventory attachments and writes HomeInventory attachment rows. |
GitHub repositories
This package is not used by any popular GitHub repositories.