MintPlayer.Spark.Boards
11.0.0
dotnet add package MintPlayer.Spark.Boards --version 11.0.0
NuGet\Install-Package MintPlayer.Spark.Boards -Version 11.0.0
<PackageReference Include="MintPlayer.Spark.Boards" Version="11.0.0" />
<PackageVersion Include="MintPlayer.Spark.Boards" Version="11.0.0" />
<PackageReference Include="MintPlayer.Spark.Boards" />
paket add MintPlayer.Spark.Boards --version 11.0.0
#r "nuget: MintPlayer.Spark.Boards, 11.0.0"
#:package MintPlayer.Spark.Boards@11.0.0
#addin nuget:?package=MintPlayer.Spark.Boards&version=11.0.0
#tool nuget:?package=MintPlayer.Spark.Boards&version=11.0.0
MintPlayer.Spark.Boards
Dashboards of tiles for MintPlayer.Spark. The application ships default boards; each signed-in user drags, resizes, adds, renames and removes tiles, and the result is stored per user. Every tile is checked against the caller's rights on every read and save, so a board never shows (or leaks) what the caller cannot open.
builder.Services.AddSpark(builder.Configuration, spark =>
{
spark.AddBoards(); // App_Data/boards.json, Spark:Boards
// spark.AddBoards(o => o.RequireCustomizeRight = true); // saving needs Customize/Board
});
// App_Data/boards.json
{
"boards": [
{
"id": "home",
"paths": ["/home"], // the pages a server render supplies it on (optional)
"tiles": [
{ "id": "cars", "kind": "query", "target": { "query": "cars" }, "defaultSize": { "colSpan": 2, "rowSpan": 2 } },
{ "id": "car-count", "kind": "count", "target": { "query": "cars" } }
],
"layouts": {
"4": [ { "id": "cars", "position": { "colStart": 1, "rowStart": 1, "colSpan": 2, "rowSpan": 2 } } ]
}
}
]
}
A query target is the query's id or alias (cars is the alias Spark derives from GetCars), never its name.
Built-in kinds: query, count, persistentObject (entityType + id) and programUnit. An
application adds its own with o.AddKind<TKind>() and a matching client renderer
(withTileRenderers). Client: @mintplayer/ng-spark/boards (withBoards(), then <spark-board boardId="home" /> or sparkBoardRoute('home', 'home')).
Endpoints: GET/PUT/DELETE /spark/boards/{board} and GET /spark/boards/{board}/catalog. A layout is
stored as BoardLayouts/{userId}/{board}. See docs/guide-boards.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- MintPlayer.AspNetCore.Endpoints (>= 11.4.1)
- MintPlayer.SourceGenerators.Attributes (>= 13.1.2)
- MintPlayer.Spark (>= 11.1.0)
- RavenDB.Client (>= 7.2.7)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0 | 83 | 11/18/2026 |