Lyo.HomeInventory
1.0.2
dotnet add package Lyo.HomeInventory --version 1.0.2
NuGet\Install-Package Lyo.HomeInventory -Version 1.0.2
<PackageReference Include="Lyo.HomeInventory" Version="1.0.2" />
<PackageVersion Include="Lyo.HomeInventory" Version="1.0.2" />
<PackageReference Include="Lyo.HomeInventory" />
paket add Lyo.HomeInventory --version 1.0.2
#r "nuget: Lyo.HomeInventory, 1.0.2"
#:package Lyo.HomeInventory@1.0.2
#addin nuget:?package=Lyo.HomeInventory&version=1.0.2
#tool nuget:?package=Lyo.HomeInventory&version=1.0.2
Lyo.HomeInventory
Portable 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, and all operations flow through IHomeInventoryStore.
Surface — 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)— single item by id.GetItemBySkuAsync(string sku, CancellationToken ct = default)— case-insensitive SKU lookup (trims and lower-cases the input before matching).DeleteItemAsync(Guid id, CancellationToken ct = default)— hard delete (no soft-delete column on item rows).
Surface — 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).
Surface — Records
HomeItemRecord— the item itself. Carries Owner (EntityRef), optionalCategoryId/ParentItemId, all the catalog metadata (Sku,Upc,Ean,Isbn,Manufacturer,ManufacturerPartNumber,Seller,VendorSku,ModelNumber,Color,SerialNumber,Imei,EthernetMacAddress,WifiMacAddress,BluetoothMacAddress), pricing (Msrp,Cost,Currency), dimensions (WeightGrams,LengthMm,WidthMm,HeightMm), lifecycle (AcquiredDate,WarrantyExpires), provenance (CountryOfOrigin,LotNumber,BatchNumber), and aCustomAttributesJsonescape hatch.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,Notes, optionalCreatedBy(EntityRef),CreatedTimestamp.
Out of scope (by design)
- Full-text fuzzy search — wrap with
Lyo.Apiprojections externally. - Image attachments — combine with
Lyo.FileMetadataStore. - 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— (direct, lyo)Lyo.EntityReference.Models— (direct, lyo)Lyo.Exceptions— (transitive, lyo)Microsoft.Extensions.Logging.Abstractions10.0.5— (transitive, microsoft)System.Memory4.6.3— (transitive, microsoft, netstandard2.0)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 (>= 1.0.2)
- Lyo.EntityReference.Models (>= 1.0.2)
-
net10.0
- Lyo.Common (>= 1.0.2)
- Lyo.EntityReference.Models (>= 1.0.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Lyo.HomeInventory:
| Package | Downloads |
|---|---|
|
Lyo.HomeInventory.Postgres
PostgreSQL storage for Lyo.HomeInventory (EF Core): household items, rooms/locations, quantities, and change history. |
GitHub repositories
This package is not used by any popular GitHub repositories.