mirror of
https://github.com/tloncorp/landscape.git
synced 2024-12-21 07:41:56 +03:00
21 lines
390 B
Plaintext
21 lines
390 B
Plaintext
|
/- reel
|
||
|
|%
|
||
|
++ enjs-metadata
|
||
|
|= =metadata:reel
|
||
|
^- json
|
||
|
=/ fields
|
||
|
%+ turn ~(tap by fields.metadata)
|
||
|
|= [key=cord value=cord]
|
||
|
^- [cord json]
|
||
|
[key s+value]
|
||
|
%- pairs:enjs:format
|
||
|
:~ ['tag' s+tag.metadata]
|
||
|
['fields' (pairs:enjs:format fields)]
|
||
|
==
|
||
|
++ dejs-metadata
|
||
|
%- ot:dejs:format
|
||
|
:~ tag+so:dejs:format
|
||
|
fields+(om so):dejs:format
|
||
|
==
|
||
|
--
|