@almadar/core 7.7.1 → 7.8.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/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -944,6 +944,15 @@ interface ResolvedTrait {
|
|
|
944
944
|
ticks: ResolvedTraitTick[];
|
|
945
945
|
listens: ResolvedTraitListener[];
|
|
946
946
|
dataEntities: ResolvedTraitDataEntity[];
|
|
947
|
+
/**
|
|
948
|
+
* Atom-declared linked entity. The atom (e.g. std-pagination)
|
|
949
|
+
* declares which entity its `@entity.X` bindings resolve against
|
|
950
|
+
* (e.g. `PagedItem`). Distinct from the call-site rebind on
|
|
951
|
+
* `ResolvedTraitBinding.linkedEntity`, which a molecule may use
|
|
952
|
+
* to override the atom's default. Either side may be undefined
|
|
953
|
+
* for traits that don't bind any entity (pure interaction).
|
|
954
|
+
*/
|
|
955
|
+
linkedEntity?: string;
|
|
947
956
|
/**
|
|
948
957
|
* The trait's DECLARED `config { }` schema (per-field
|
|
949
958
|
* `{ type, default? }`). Drives `@config.X` substitution: each
|