@cosmicdrift/kumiko-types 0.250.0 → 0.251.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/screen.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.251.0",
|
|
4
4
|
"description": "Framework-Type-Definitions für Kumiko — FeatureDefinition, BootCheck-Types und die reinen Engine-Types. Erlaubt Downstream-Konsumenten, gegen die Type-Contracts zu bauen, ohne das ganze Framework-Package zu importieren. Enthaelt keine identitaets-sensitiven Runtime-Werte mehr (Error-Klassen leben seit #1629 in kumiko-framework, Brand-Symbole nutzen Symbol.for) und ist deshalb eine plain dependency, keine peerDependency.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
package/src/screen.ts
CHANGED
|
@@ -835,6 +835,20 @@ export type EditRelatedListSection = {
|
|
|
835
835
|
* `field` must name a column with `sortable: true` — boot-validator pins
|
|
836
836
|
* that, same as `entityList.defaultSort`. */
|
|
837
837
|
readonly defaultSort?: ListSortSpec;
|
|
838
|
+
/** Renders a search box whose debounced term rides along as
|
|
839
|
+
* `payload.search` on this section's own query. Opt-in, unlike
|
|
840
|
+
* `projectionList.searchable` (derived from the bound query's schema): a
|
|
841
|
+
* relatedList query is an ordinary child-rows handler, so a `search`
|
|
842
|
+
* parameter in its schema is not by itself a statement that this section
|
|
843
|
+
* should offer search. The boot-validator rejects `true` when the query's
|
|
844
|
+
* Zod schema has no `search` parameter. */
|
|
845
|
+
readonly searchable?: boolean;
|
|
846
|
+
/** User-toggleable facet dropdowns — same explicit-label `ListFacetSpec` as
|
|
847
|
+
* `projectionList.facets` (a relatedList has no entity to derive filterable
|
|
848
|
+
* fields from). `field` must be a declared column and the bound query
|
|
849
|
+
* handler must accept `filters` in its Zod schema — the boot-validator
|
|
850
|
+
* checks both. Selected values ride along as `payload.filters`. */
|
|
851
|
+
readonly facets?: readonly ListFacetSpec[];
|
|
838
852
|
/** Row click opens the target entity's detail screen via ObjectTarget —
|
|
839
853
|
* the `detailFor` lookup owns the entity→screen mapping, so no screenId
|
|
840
854
|
* is named here. `idColumn` names the row key holding that id (default
|