diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-08-05 12:50:48 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-08-05 20:42:08 -0300 |
commit | bf2fcfa1f8e3791951ccee2a669e94fa27199e45 (patch) | |
tree | 30a20ddd41c68a9e6769d1ebde57e4881a30225c /src/data/composite/wiki-properties/thing.js | |
parent | 8b20b6d84ee9e296ee9107eda8831aa9a18b3589 (diff) |
data: thing: expose update value, like thingList
Diffstat (limited to 'src/data/composite/wiki-properties/thing.js')
-rw-r--r-- | src/data/composite/wiki-properties/thing.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/data/composite/wiki-properties/thing.js b/src/data/composite/wiki-properties/thing.js index 5b5d77dd..1f97a362 100644 --- a/src/data/composite/wiki-properties/thing.js +++ b/src/data/composite/wiki-properties/thing.js @@ -3,6 +3,9 @@ import {input, templateCompositeFrom} from '#composite'; import {isThingClass, validateThing} from '#validators'; +import {exposeConstant, exposeUpdateValueOrContinue} + from '#composite/control-flow'; + export default templateCompositeFrom({ annotation: `wikiData`, @@ -27,5 +30,11 @@ export default templateCompositeFrom({ }), }), - steps: () => [], + steps: () => [ + exposeUpdateValueOrContinue(), + + exposeConstant({ + value: input.value(null), + }), + ], }); |