Add PocketBase client with contracts and sharp build tooling

This commit is contained in:
tleininger committed 2026-09-22 19:32:32 +02:00
1 parent 56922707ea
commit 251f2d818b
24 files changed
+578 -20

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
namespace Elternbeirat.PocketBase;
/// <summary>
/// The envelope PocketBase wraps a records list response in. Only <see cref="Items"/>
/// is used; the paging fields are ignored because content volumes are small and the
/// client requests a large page size in a single call.
/// </summary>
/// <typeparam name="T">The record type inside <c>items</c>.</typeparam>
internal sealed record RecordList<T>
{
[JsonPropertyName("items")]
public IReadOnlyList<T> Items { get; init; } = [];
}