Script

Do not actually use the provided script stubs right now. The server only expects the inner contents of a function. The data is prepresented with the variable "data". And be sure to add "return data;" at the end of the script. Any questions, please ask Tina. An example of a script you can send is this:
data.newAttribute='Added!.'; return data;
(You can definitely make it more complex than this, but this is a good start.)
Script Function
{{-- --}}
{{-- Hard coding the outer pieces of the function so it looks better to the user. Right now my node server only accepts the code and creates its own function constructor. This can be changed later. Something I did not think of. The data shown in the function input will be represented as the variable "data" --}} {{-- hardcoding de las piezas exteriores de la función para que se vea mejor para el usuario. En este momento mi servidor solo acepta el código y crea su propio constructor de funciones. Esto se puede cambiar más tarde. Algo en lo que no pensé. Los datos mostrados en Function Input se representará como la variable "data" --}}
function transform(data) {

{{ $script ?? '' }}

}
                            

Function input

                        
{{ $lastOutput ?? 'Error: No output found' }}
                        
                    

Function output

                        
@if ($previewOutput)

{{ $previewOutput }}

@endif
{{-- --}}