From bf2fcfa1f8e3791951ccee2a669e94fa27199e45 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 5 Aug 2024 12:50:48 -0300 Subject: data: thing: expose update value, like thingList --- src/data/composite/wiki-properties/thing.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/data') 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), + }), + ], }); -- cgit 1.3.0-6-gf8a5