{"id":"JanwnZ2rM60f","url":"https://totaljs.es/docs/flow/11-1/guides/introduction/","project":"flow","version":"11-1","section":"guides","language":"en","title":"What is Total.js Flow","summary":"What Total.js Flow is, the words it uses and where to go next.","markdown":"---\ntitle: What is Total.js Flow\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/introduction/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# What is Total.js Flow\n\n> What Total.js Flow is, the words it uses and where to go next.\n\nTotal.js Flow is a visual tool for building data processes in your browser. You drag components onto a canvas, connect them with lines, and Flow runs the result on your own server.\n\nThis documentation covers release 11.1.\n\n![The designer with a Trigger, a Code and a Print node connected in a line](/files/Janwmv2KM61f.webp)\n\n## The words Flow uses\n\n| Word | What it means |\n|---|---|\n| **FlowStream** | One process that you design. Each FlowStream runs on its own, so you can pause or restart it without touching the others. |\n| **Designer** | The screen where you build a FlowStream. |\n| **Component** | A building block, such as **Trigger**, **Code** or **Print**. You download components into each FlowStream. |\n| **Node** | A component placed on the canvas. |\n| **Connection** | The line that carries data from the output of one node to the input of another. |\n| **Group** | A named area on the canvas that keeps related nodes together. |\n\n## What to read next\n\n1. Install Flow: [Install from source](../install-source/).\n2. Sign in for the first time: [First sign-in](../first-sign-in/).\n3. Build something that runs: [Your first FlowStream](../first-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnZ2rM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/introduction/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Was ist Total.js Flow","summary":"Was Total.js Flow ist, welche Begriffe es verwendet und wie es weitergeht.","markdown":"---\ntitle: Was ist Total.js Flow\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/introduction/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Was ist Total.js Flow\n\n> Was Total.js Flow ist, welche Begriffe es verwendet und wie es weitergeht.\n\nTotal.js Flow ist ein visuelles Werkzeug, mit dem du Datenprozesse in deinem Browser baust. Du ziehst Komponenten auf eine Arbeitsfläche, verbindest sie mit Linien, und Flow führt das Ergebnis auf deinem eigenen Server aus.\n\nDiese Dokumentation beschreibt die Version 11.1.\n\n![Der Designer mit einem Trigger-, einem Code- und einem Print-Node, die in einer Reihe verbunden sind](/files/Janwmv2KM61f.webp)\n\n## Die Begriffe in Flow\n\n| Begriff | Bedeutung |\n|---|---|\n| **FlowStream** | Ein Prozess, den du gestaltest. Jeder FlowStream läuft für sich, du kannst ihn also pausieren oder neu starten, ohne die anderen zu berühren. |\n| **Designer** | Der Bildschirm, auf dem du einen FlowStream baust. |\n| **Component** (Komponente) | Ein Baustein wie **Trigger**, **Code** oder **Print**. Du lädst Komponenten in jeden FlowStream herunter. |\n| **Node** | Eine Komponente, die auf der Arbeitsfläche platziert ist. |\n| **Connection** (Verbindung) | Die Linie, die Daten vom Ausgang eines Nodes zum Eingang eines anderen transportiert. |\n| **Group** (Gruppe) | Ein benannter Bereich auf der Arbeitsfläche, der zusammengehörige Nodes beieinanderhält. |\n\n## Wie es weitergeht\n\n1. Installiere Flow: [Aus dem Quellcode installieren](../install-source/).\n2. Melde dich zum ersten Mal an: [Erste Anmeldung](../first-sign-in/).\n3. Baue etwas, das läuft: [Dein erster FlowStream](../first-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnZ2rM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/introduction/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Qué es Total.js Flow","summary":"Qué es Total.js Flow, las palabras que usa y por dónde seguir.","markdown":"---\ntitle: \"Qué es Total.js Flow\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/introduction/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Qué es Total.js Flow\n\n> Qué es Total.js Flow, las palabras que usa y por dónde seguir.\n\nTotal.js Flow es una herramienta visual para crear procesos de datos en tu navegador. Arrastras componentes a un lienzo, los conectas con líneas y Flow ejecuta el resultado en tu propio servidor.\n\nEsta documentación corresponde a la versión 11.1.\n\n![El diseñador con un nodo Trigger, uno Code y uno Print conectados en línea](/files/Janwmv2KM61f.webp)\n\n## Las palabras que usa Flow\n\n| Palabra | Qué significa |\n|---|---|\n| **FlowStream** | Un proceso que diseñas. Cada FlowStream funciona por su cuenta, así que puedes pausarlo o reiniciarlo sin tocar los demás. |\n| **Designer** (diseñador) | La pantalla donde construyes un FlowStream. |\n| **Component** (componente) | Una pieza de construcción, como **Trigger**, **Code** o **Print**. Descargas los componentes en cada FlowStream. |\n| **Node** (nodo) | Un componente colocado en el lienzo. |\n| **Connection** (conexión) | La línea que lleva los datos de la salida de un nodo a la entrada de otro. |\n| **Group** (grupo) | Una zona del lienzo con nombre que mantiene juntos los nodos relacionados. |\n\n## Qué leer a continuación\n\n1. Instala Flow: [Instalar desde el código fuente](../install-source/).\n2. Inicia sesión por primera vez: [Primer inicio de sesión](../first-sign-in/).\n3. Crea algo que funcione: [Tu primer FlowStream](../first-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnZ2rM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/introduction/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Qu’est-ce que Total.js Flow","summary":"Ce qu’est Total.js Flow, les mots qu’il utilise et par où continuer.","markdown":"---\ntitle: \"Qu’est-ce que Total.js Flow\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/introduction/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Qu’est-ce que Total.js Flow\n\n> Ce qu’est Total.js Flow, les mots qu’il utilise et par où continuer.\n\nTotal.js Flow est un outil visuel pour construire des traitements de données dans ton navigateur. Tu fais glisser des composants sur un canevas, tu les relies par des lignes, et Flow exécute le résultat sur ton propre serveur.\n\nCette documentation porte sur la version 11.1.\n\n![Le designer avec un nœud Trigger, un nœud Code et un nœud Print connectés en ligne](/files/Janwmv2KM61f.webp)\n\n## Les mots qu’utilise Flow\n\n| Mot | Ce qu’il signifie |\n|---|---|\n| **FlowStream** | Un processus que tu conçois. Chaque FlowStream fonctionne de façon indépendante : tu peux donc le mettre en pause ou le redémarrer sans toucher aux autres. |\n| **Designer** | L’écran où tu construis un FlowStream. |\n| **Component** (composant) | Une brique de base, comme **Trigger**, **Code** ou **Print**. Tu télécharges les composants dans chaque FlowStream. |\n| **Node** (nœud) | Un composant placé sur le canevas. |\n| **Connection** (connexion) | La ligne qui transporte les données de la sortie d’un nœud vers l’entrée d’un autre. |\n| **Group** (groupe) | Une zone nommée sur le canevas qui garde ensemble des nœuds liés. |\n\n## Que lire ensuite\n\n1. Installe Flow : [Installer depuis les sources](../install-source/).\n2. Connecte-toi pour la première fois : [Première connexion](../first-sign-in/).\n3. Construis quelque chose qui fonctionne : [Ton premier FlowStream](../first-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnZ2rM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/introduction/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Cos'è Total.js Flow","summary":"Cos'è Total.js Flow, le parole che usa e cosa leggere dopo.","markdown":"---\ntitle: \"Cos'è Total.js Flow\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/introduction/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Cos'è Total.js Flow\n\n> Cos'è Total.js Flow, le parole che usa e cosa leggere dopo.\n\nTotal.js Flow è uno strumento visuale per costruire processi di dati nel browser. Trascini i componenti su un canvas, li colleghi con delle linee e Flow esegue il risultato sul tuo server.\n\nQuesta documentazione riguarda la versione 11.1.\n\n![Il designer con un nodo Trigger, un nodo Code e un nodo Print collegati in linea](/files/Janwmv2KM61f.webp)\n\n## Le parole che usa Flow\n\n| Parola | Cosa significa |\n|---|---|\n| **FlowStream** | Un processo che progetti tu. Ogni FlowStream funziona per conto suo, quindi puoi metterlo in pausa o riavviarlo senza toccare gli altri. |\n| **Designer** | La schermata in cui costruisci un FlowStream. |\n| **Component** (componente) | Un elemento di base, come **Trigger**, **Code** o **Print**. Scarichi i componenti in ogni FlowStream. |\n| **Node** (nodo) | Un componente posizionato sul canvas. |\n| **Connection** (connessione) | La linea che porta i dati dall'uscita di un nodo all'ingresso di un altro. |\n| **Group** (gruppo) | Una zona del canvas con un nome, che tiene insieme i nodi correlati. |\n\n## Cosa leggere dopo\n\n1. Installa Flow: [Installare dal codice sorgente](../install-source/).\n2. Accedi per la prima volta: [Primo accesso](../first-sign-in/).\n3. Costruisci qualcosa che funziona: [Il tuo primo FlowStream](../first-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnZ2rM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/introduction/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Čo je Total.js Flow","summary":"Čo je Total.js Flow, aké pojmy používa a kam pokračovať ďalej.","markdown":"---\ntitle: \"Čo je Total.js Flow\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/introduction/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Čo je Total.js Flow\n\n> Čo je Total.js Flow, aké pojmy používa a kam pokračovať ďalej.\n\nTotal.js Flow je vizuálny nástroj na vytváranie dátových procesov priamo v prehliadači. Komponenty pretiahneš na plátno, prepojíš ich čiarami a Flow výsledok spustí na tvojom vlastnom serveri.\n\nTáto dokumentácia sa vzťahuje na vydanie 11.1.\n\n![Návrhár s uzlami Trigger, Code a Print prepojenými za sebou](/files/Janwmv2KM61f.webp)\n\n## Pojmy, ktoré Flow používa\n\n| Pojem | Čo znamená |\n|---|---|\n| **FlowStream** | Jeden proces, ktorý navrhneš. Každý FlowStream beží samostatne, takže ho môžeš pozastaviť alebo reštartovať bez zásahu do ostatných. |\n| **Designer** (návrhár) | Obrazovka, na ktorej zostavuješ FlowStream. |\n| **Component** (komponent) | Stavebný prvok, napríklad **Trigger**, **Code** alebo **Print**. Komponenty sťahuješ do každého FlowStreamu. |\n| **Node** (uzol) | Komponent umiestnený na plátne. |\n| **Connection** (prepojenie) | Čiara, ktorá prenáša dáta z výstupu jedného uzla na vstup druhého. |\n| **Group** (skupina) | Pomenovaná oblasť na plátne, ktorá drží súvisiace uzly pokope. |\n\n## Čo si prečítať ďalej\n\n1. Nainštaluj Flow: [Inštalácia zo zdrojového kódu](../install-source/).\n2. Prihlás sa prvýkrát: [Prvé prihlásenie](../first-sign-in/).\n3. Zostav niečo, čo funguje: [Tvoj prvý FlowStream](../first-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnY2pM60f","url":"https://totaljs.es/docs/flow/11-1/guides/install-source/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Install from source","summary":"Install Total.js Flow with Node.js and start it on your server.","markdown":"---\ntitle: Install from source\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/install-source/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Install from source\n\n> Install Total.js Flow with Node.js and start it on your server.\n\nYou need [Node.js](https://nodejs.org) and a copy of the Flow source code.\n\n## Install and start\n\n**1.** Get the code and open its folder:\n\n```bash\ngit clone https://github.com/totaljs/flow.git\ncd flow\n```\n\n**2.** Install the dependencies:\n\n```bash\nnpm install\n```\n\n**3.** Start Flow:\n\n```bash\nnpm run start\n```\n\n**4.** Open `http://localhost:8000` in your browser.\n\n## Use another port\n\nPass the port when you start Flow:\n\n```bash\nnode index.js 8080\n```\n\nYou can also set the port in the [configuration file](../../reference/config-file/) with the `$port` key.\n\n## Keep your server safe\n\n- Sign in as soon as Flow is running. Until you do, the sign-in page shows the generated account. See [First sign-in](../first-sign-in/).\n- Use HTTPS and restrict who can reach the server when Flow is available over a network.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnY2pM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/install-source/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Aus dem Quellcode installieren","summary":"Installiere Total.js Flow mit Node.js und starte es auf deinem Server.","markdown":"---\ntitle: Aus dem Quellcode installieren\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/install-source/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Aus dem Quellcode installieren\n\n> Installiere Total.js Flow mit Node.js und starte es auf deinem Server.\n\nDu brauchst [Node.js](https://nodejs.org) und eine Kopie des Quellcodes von Flow.\n\n## Installieren und starten\n\n**1.** Hol dir den Code und öffne seinen Ordner:\n\n```bash\ngit clone https://github.com/totaljs/flow.git\ncd flow\n```\n\n**2.** Installiere die Abhängigkeiten:\n\n```bash\nnpm install\n```\n\n**3.** Starte Flow:\n\n```bash\nnpm run start\n```\n\n**4.** Öffne `http://localhost:8000` in deinem Browser.\n\n## Einen anderen Port verwenden\n\nGib den Port beim Start von Flow an:\n\n```bash\nnode index.js 8080\n```\n\nDu kannst den Port auch in der [Konfigurationsdatei](../../reference/config-file/) mit dem Schlüssel `$port` festlegen.\n\n## Deinen Server schützen\n\n- Melde dich an, sobald Flow läuft. Bis dahin zeigt die Anmeldeseite das erzeugte Konto an. Mehr dazu unter [Erste Anmeldung](../first-sign-in/).\n- Verwende HTTPS und beschränke, wer den Server erreichen kann, wenn Flow über ein Netzwerk erreichbar ist.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnY2pM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/install-source/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Instalar desde el código fuente","summary":"Instala Total.js Flow con Node.js y arráncalo en tu servidor.","markdown":"---\ntitle: \"Instalar desde el código fuente\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/install-source/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Instalar desde el código fuente\n\n> Instala Total.js Flow con Node.js y arráncalo en tu servidor.\n\nNecesitas [Node.js](https://nodejs.org) y una copia del código fuente de Flow.\n\n## Instalar y arrancar\n\n**1.** Descarga el código y abre su carpeta:\n\n```bash\ngit clone https://github.com/totaljs/flow.git\ncd flow\n```\n\n**2.** Instala las dependencias:\n\n```bash\nnpm install\n```\n\n**3.** Arranca Flow:\n\n```bash\nnpm run start\n```\n\n**4.** Abre `http://localhost:8000` en tu navegador.\n\n## Usar otro puerto\n\nIndica el puerto al arrancar Flow:\n\n```bash\nnode index.js 8080\n```\n\nTambién puedes definir el puerto en el [archivo de configuración](../../reference/config-file/) con la clave `$port`.\n\n## Mantén tu servidor seguro\n\n- Inicia sesión en cuanto Flow esté en marcha. Hasta que lo hagas, la página de inicio de sesión muestra la cuenta generada. Consulta [Primer inicio de sesión](../first-sign-in/).\n- Usa HTTPS y limita quién puede acceder al servidor cuando Flow esté disponible en una red.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnY2pM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/install-source/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Installer depuis les sources","summary":"Installe Total.js Flow avec Node.js et démarre-le sur ton serveur.","markdown":"---\ntitle: Installer depuis les sources\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/install-source/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Installer depuis les sources\n\n> Installe Total.js Flow avec Node.js et démarre-le sur ton serveur.\n\nTu as besoin de [Node.js](https://nodejs.org) et d’une copie du code source de Flow.\n\n## Installer et démarrer\n\n**1.** Récupère le code et ouvre son dossier :\n\n```bash\ngit clone https://github.com/totaljs/flow.git\ncd flow\n```\n\n**2.** Installe les dépendances :\n\n```bash\nnpm install\n```\n\n**3.** Démarre Flow :\n\n```bash\nnpm run start\n```\n\n**4.** Ouvre `http://localhost:8000` dans ton navigateur.\n\n## Utiliser un autre port\n\nIndique le port au démarrage de Flow :\n\n```bash\nnode index.js 8080\n```\n\nTu peux aussi définir le port dans le [fichier de configuration](../../reference/config-file/) avec la clé `$port`.\n\n## Protéger ton serveur\n\n- Connecte-toi dès que Flow fonctionne. Tant que tu ne l’as pas fait, la page de connexion affiche le compte généré. Consulte [Première connexion](../first-sign-in/).\n- Utilise HTTPS et limite qui peut accéder au serveur quand Flow est disponible sur un réseau.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnY2pM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/install-source/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Installare dal codice sorgente","summary":"Installa Total.js Flow con Node.js e avvialo sul tuo server.","markdown":"---\ntitle: Installare dal codice sorgente\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/install-source/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Installare dal codice sorgente\n\n> Installa Total.js Flow con Node.js e avvialo sul tuo server.\n\nTi servono [Node.js](https://nodejs.org) e una copia del codice sorgente di Flow.\n\n## Installare e avviare\n\n**1.** Scarica il codice e apri la sua cartella:\n\n```bash\ngit clone https://github.com/totaljs/flow.git\ncd flow\n```\n\n**2.** Installa le dipendenze:\n\n```bash\nnpm install\n```\n\n**3.** Avvia Flow:\n\n```bash\nnpm run start\n```\n\n**4.** Apri `http://localhost:8000` nel browser.\n\n## Usare un'altra porta\n\nIndica la porta quando avvii Flow:\n\n```bash\nnode index.js 8080\n```\n\nPuoi anche impostare la porta nel [file di configurazione](../../reference/config-file/) con la chiave `$port`.\n\n## Proteggere il server\n\n- Accedi appena Flow è in funzione. Finché non lo fai, la pagina di accesso mostra l'account generato. Leggi [Primo accesso](../first-sign-in/).\n- Usa HTTPS e limita chi può raggiungere il server quando Flow è disponibile in rete.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnY2pM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/install-source/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Inštalácia zo zdrojového kódu","summary":"Nainštaluj Total.js Flow pomocou Node.js a spusti ho na svojom serveri.","markdown":"---\ntitle: \"Inštalácia zo zdrojového kódu\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/install-source/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Inštalácia zo zdrojového kódu\n\n> Nainštaluj Total.js Flow pomocou Node.js a spusti ho na svojom serveri.\n\nPotrebuješ [Node.js](https://nodejs.org) a kópiu zdrojového kódu Flow.\n\n## Inštalácia a spustenie\n\n**1.** Získaj kód a otvor jeho priečinok:\n\n```bash\ngit clone https://github.com/totaljs/flow.git\ncd flow\n```\n\n**2.** Nainštaluj závislosti:\n\n```bash\nnpm install\n```\n\n**3.** Spusti Flow:\n\n```bash\nnpm run start\n```\n\n**4.** V prehliadači otvor `http://localhost:8000`.\n\n## Použitie iného portu\n\nPort zadaj pri spustení Flow:\n\n```bash\nnode index.js 8080\n```\n\nPort môžeš nastaviť aj v [konfiguračnom súbore](../../reference/config-file/) pomocou kľúča `$port`.\n\n## Chráň svoj server\n\n- Prihlás sa hneď, ako Flow beží. Dovtedy prihlasovacia stránka ukazuje vygenerovaný účet. Pozri si [Prvé prihlásenie](../first-sign-in/).\n- Ak je Flow dostupný cez sieť, používaj HTTPS a obmedz, kto sa na server dostane.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnI2cM61f","url":"https://totaljs.es/docs/flow/11-1/guides/first-sign-in/","project":"flow","version":"11-1","section":"guides","language":"en","title":"First sign-in","summary":"Sign in with the account that Flow generates on its first start.","markdown":"---\ntitle: First sign-in\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/first-sign-in/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# First sign-in\n\n> Sign in with the account that Flow generates on its first start.\n\nThe first time Flow starts, it creates one account with a random user name and password.\n\n## Sign in\n\n**1.** Open Flow in your browser. The sign-in page shows a **Default account** box with the generated values.\n\n![The sign-in page with the Default account box, the values hidden in this picture](/files/JanwnF2aM61f.webp)\n\n**2.** Select **Fill in the form**.\n\n**3.** Select **Sign in**.\n\nFlow opens the list of FlowStreams, and the sign-in page stops showing the **Default account** box.\n\n## Choose your own password\n\nChange the generated values straight away. See [Change your credentials](../change-credentials/).\n\n## Sign in later\n\nEnter your user name and password, and select **Sign in**.\n\n![The sign-in form with the User name and Password fields](/files/JanwnG2bM60f.webp)\n\nTo leave, select **Sign out** at the bottom of the left menu.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnI2cM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/first-sign-in/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Erste Anmeldung","summary":"Melde dich mit dem Konto an, das Flow beim ersten Start erzeugt.","markdown":"---\ntitle: Erste Anmeldung\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/first-sign-in/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Erste Anmeldung\n\n> Melde dich mit dem Konto an, das Flow beim ersten Start erzeugt.\n\nBeim ersten Start erstellt Flow ein Konto mit einem zufälligen Benutzernamen und Passwort.\n\n## Anmelden\n\n**1.** Öffne Flow in deinem Browser. Die Anmeldeseite zeigt ein Feld **Default account** (Standardkonto) mit den erzeugten Werten.\n\n![Die Anmeldeseite mit dem Feld Default account, die Werte sind auf diesem Bild ausgeblendet](/files/JanwnF2aM61f.webp)\n\n**2.** Wähle **Fill in the form**.\n\n**3.** Wähle **Sign in**.\n\nFlow öffnet die Liste der FlowStreams, und die Anmeldeseite zeigt das Feld **Default account** nicht mehr an.\n\n## Dein eigenes Passwort wählen\n\nÄndere die erzeugten Werte sofort. Mehr dazu unter [Deine Zugangsdaten ändern](../change-credentials/).\n\n## Später anmelden\n\nGib deinen Benutzernamen und dein Passwort ein und wähle **Sign in**.\n\n![Das Anmeldeformular mit den Feldern User name und Password](/files/JanwnG2bM60f.webp)\n\nZum Abmelden wählst du **Sign out** unten im linken Menü.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnI2cM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/first-sign-in/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Primer inicio de sesión","summary":"Inicia sesión con la cuenta que Flow genera la primera vez que arranca.","markdown":"---\ntitle: \"Primer inicio de sesión\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/first-sign-in/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Primer inicio de sesión\n\n> Inicia sesión con la cuenta que Flow genera la primera vez que arranca.\n\nLa primera vez que Flow arranca, crea una cuenta con un nombre de usuario y una contraseña aleatorios.\n\n## Iniciar sesión\n\n**1.** Abre Flow en tu navegador. La página de inicio de sesión muestra un recuadro **Default account** (cuenta predeterminada) con los datos generados.\n\n![La página de inicio de sesión con el recuadro Default account, con los datos ocultos en esta imagen](/files/JanwnF2aM61f.webp)\n\n**2.** Selecciona **Fill in the form** (rellenar el formulario).\n\n**3.** Selecciona **Sign in** (iniciar sesión).\n\nFlow abre la lista de FlowStreams, y la página de inicio de sesión deja de mostrar el recuadro **Default account**.\n\n## Elige tu propia contraseña\n\nCambia los datos generados de inmediato. Consulta [Cambiar tus credenciales](../change-credentials/).\n\n## Iniciar sesión más adelante\n\nEscribe tu nombre de usuario y tu contraseña, y selecciona **Sign in**.\n\n![El formulario de inicio de sesión con los campos User name y Password](/files/JanwnG2bM60f.webp)\n\nPara salir, selecciona **Sign out** en la parte inferior del menú de la izquierda.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnI2cM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/first-sign-in/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Première connexion","summary":"Connecte-toi avec le compte que Flow génère à son premier démarrage.","markdown":"---\ntitle: \"Première connexion\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/first-sign-in/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Première connexion\n\n> Connecte-toi avec le compte que Flow génère à son premier démarrage.\n\nAu premier démarrage, Flow crée un compte avec un nom d’utilisateur et un mot de passe aléatoires.\n\n## Se connecter\n\n**1.** Ouvre Flow dans ton navigateur. La page de connexion affiche un encadré **Default account** (compte par défaut) avec les valeurs générées.\n\n![La page de connexion avec l’encadré Default account, les valeurs étant masquées sur cette image](/files/JanwnF2aM61f.webp)\n\n**2.** Sélectionne **Fill in the form** (remplir le formulaire).\n\n**3.** Sélectionne **Sign in** (se connecter).\n\nFlow ouvre la liste des FlowStreams, et la page de connexion n’affiche plus l’encadré **Default account**.\n\n## Choisir ton propre mot de passe\n\nChange les valeurs générées tout de suite. Consulte [Changer tes identifiants](../change-credentials/).\n\n## Te connecter plus tard\n\nSaisis ton nom d’utilisateur et ton mot de passe, puis sélectionne **Sign in**.\n\n![Le formulaire de connexion avec les champs User name et Password](/files/JanwnG2bM60f.webp)\n\nPour partir, sélectionne **Sign out** en bas du menu de gauche.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnI2cM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/first-sign-in/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Primo accesso","summary":"Accedi con l'account che Flow genera al primo avvio.","markdown":"---\ntitle: Primo accesso\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/first-sign-in/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Primo accesso\n\n> Accedi con l'account che Flow genera al primo avvio.\n\nLa prima volta che si avvia, Flow crea un account con nome utente e password casuali.\n\n## Accedere\n\n**1.** Apri Flow nel browser. La pagina di accesso mostra un riquadro **Default account** con i dati generati.\n\n![La pagina di accesso con il riquadro Default account, con i dati nascosti in questa immagine](/files/JanwnF2aM61f.webp)\n\n**2.** Seleziona **Fill in the form**.\n\n**3.** Seleziona **Sign in**.\n\nFlow apre l'elenco dei FlowStream e la pagina di accesso smette di mostrare il riquadro **Default account**.\n\n## Scegliere la tua password\n\nCambia subito i dati generati. Leggi [Cambiare le credenziali](../change-credentials/).\n\n## Accedere in seguito\n\nInserisci il nome utente e la password, poi seleziona **Sign in**.\n\n![Il modulo di accesso con i campi User name e Password](/files/JanwnG2bM60f.webp)\n\nPer uscire, seleziona **Sign out** in fondo al menu a sinistra.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnI2cM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/first-sign-in/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Prvé prihlásenie","summary":"Prihlás sa účtom, ktorý Flow vygeneruje pri prvom spustení.","markdown":"---\ntitle: \"Prvé prihlásenie\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/first-sign-in/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Prvé prihlásenie\n\n> Prihlás sa účtom, ktorý Flow vygeneruje pri prvom spustení.\n\nPri prvom spustení Flow vytvorí jeden účet s náhodným používateľským menom a heslom.\n\n## Prihlásenie\n\n**1.** Otvor Flow v prehliadači. Na prihlasovacej stránke sa zobrazí rámček **Default account** s vygenerovanými údajmi.\n\n![Prihlasovacia stránka s rámčekom Default account, údaje sú na tomto obrázku skryté](/files/JanwnF2aM61f.webp)\n\n**2.** Vyber **Fill in the form** (vyplniť formulár).\n\n**3.** Vyber **Sign in** (prihlásiť sa).\n\nFlow otvorí zoznam FlowStreamov a prihlasovacia stránka prestane zobrazovať rámček **Default account**.\n\n## Zvoľ si vlastné heslo\n\nVygenerované údaje hneď zmeň. Pozri si [Zmeň svoje prihlasovacie údaje](../change-credentials/).\n\n## Neskoršie prihlásenie\n\nZadaj používateľské meno a heslo a vyber **Sign in**.\n\n![Prihlasovací formulár s poľami User name a Password](/files/JanwnG2bM60f.webp)\n\nAk sa chceš odhlásiť, vyber **Sign out** v dolnej časti ľavej ponuky.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnC2YM61f","url":"https://totaljs.es/docs/flow/11-1/guides/first-flowstream/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Your first FlowStream","summary":"Create a FlowStream, add two components, connect them and run it.","markdown":"---\ntitle: Your first FlowStream\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/first-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Your first FlowStream\n\n> Create a FlowStream, add two components, connect them and run it.\n\nIn this guide you build a small FlowStream: a **Trigger** sends a message and a **Print** node shows it.\n\n## Create the FlowStream\n\n1. In the list of FlowStreams, select **Create FlowStream**. If the list already has items, select **Create new** in the left menu.\n2. Enter a **Name**, for example `Demo project`.\n3. Select **SUBMIT**.\n4. Select the new FlowStream in the list. The designer opens.\n\n## Download the components\n\nA new FlowStream has no components. The designer welcomes you with three short steps.\n\n1. Select **NEXT** twice, then **DONE**. The **Download components** window opens.\n2. Select **Trigger**, then **IMPORT**.\n3. Select **Print**, then **IMPORT**.\n4. Select **Close**.\n\nBoth components now appear in the list on the left.\n\n## Build the design\n\n1. Drag **Trigger** from the left list onto the canvas.\n2. Drag **Print** onto the canvas, to the right of the Trigger.\n3. Drag from the dot next to **Output** on the Trigger to the dot next to **Input** on Print.\n4. Select **APPLY** in the toolbar, then **Continue**.\n\n## Run it\n\nSelect **Run** on the Trigger node. The message appears inside the Print node, and **Messages** in the status bar goes up by one.\n\n![A Trigger node connected to a Print node that shows the received message](/files/JanwnB2XM60f.webp)\n\nNext, learn your way around [the designer](../designer-overview/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnC2YM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/first-flowstream/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Dein erster FlowStream","summary":"Erstelle einen FlowStream, füge zwei Komponenten hinzu, verbinde sie und führe ihn aus.","markdown":"---\ntitle: Dein erster FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/first-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Dein erster FlowStream\n\n> Erstelle einen FlowStream, füge zwei Komponenten hinzu, verbinde sie und führe ihn aus.\n\nIn dieser Anleitung baust du einen kleinen FlowStream: Ein **Trigger** sendet eine Nachricht und ein **Print**-Node zeigt sie an.\n\n## Den FlowStream erstellen\n\n1. Wähle in der Liste der FlowStreams **Create FlowStream**. Wenn die Liste schon Einträge enthält, wähle **Create new** im linken Menü.\n2. Gib einen **Name** ein, zum Beispiel `Demo project`.\n3. Wähle **SUBMIT**.\n4. Wähle den neuen FlowStream in der Liste aus. Der Designer öffnet sich.\n\n## Die Komponenten herunterladen\n\nEin neuer FlowStream hat keine Komponenten. Der Designer begrüßt dich mit drei kurzen Schritten.\n\n1. Wähle zweimal **NEXT** und dann **DONE**. Das Fenster **Download components** öffnet sich.\n2. Wähle **Trigger** und dann **IMPORT**.\n3. Wähle **Print** und dann **IMPORT**.\n4. Wähle **Close**.\n\nBeide Komponenten erscheinen jetzt in der Liste links.\n\n## Das Design bauen\n\n1. Ziehe **Trigger** aus der linken Liste auf die Arbeitsfläche.\n2. Ziehe **Print** auf die Arbeitsfläche, rechts neben den Trigger.\n3. Ziehe vom Punkt neben **Output** am Trigger zum Punkt neben **Input** an Print.\n4. Wähle **APPLY** in der Werkzeugleiste und dann **Continue**.\n\n## Ausführen\n\nWähle **Run** am Trigger-Node. Die Nachricht erscheint im Print-Node, und **Messages** in der Statusleiste erhöht sich um eins.\n\n![Ein Trigger-Node, verbunden mit einem Print-Node, der die empfangene Nachricht anzeigt](/files/JanwnB2XM60f.webp)\n\nAls Nächstes lernst du [den Designer](../designer-overview/) kennen.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnC2YM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/first-flowstream/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Tu primer FlowStream","summary":"Crea un FlowStream, añade dos componentes, conéctalos y ejecútalo.","markdown":"---\ntitle: Tu primer FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/first-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Tu primer FlowStream\n\n> Crea un FlowStream, añade dos componentes, conéctalos y ejecútalo.\n\nEn esta guía construyes un FlowStream pequeño: un **Trigger** envía un mensaje y un nodo **Print** lo muestra.\n\n## Crear el FlowStream\n\n1. En la lista de FlowStreams, selecciona **Create FlowStream**. Si la lista ya tiene elementos, selecciona **Create new** en el menú de la izquierda.\n2. Escribe un **Name** (nombre), por ejemplo `Demo project`.\n3. Selecciona **SUBMIT**.\n4. Selecciona el FlowStream nuevo en la lista. Se abre el diseñador.\n\n## Descargar los componentes\n\nUn FlowStream nuevo no tiene componentes. El diseñador te da la bienvenida con tres pasos cortos.\n\n1. Selecciona **NEXT** dos veces y luego **DONE**. Se abre la ventana **Download components**.\n2. Selecciona **Trigger** y luego **IMPORT**.\n3. Selecciona **Print** y luego **IMPORT**.\n4. Selecciona **Close**.\n\nLos dos componentes aparecen ahora en la lista de la izquierda.\n\n## Construir el diseño\n\n1. Arrastra **Trigger** desde la lista de la izquierda hasta el lienzo.\n2. Arrastra **Print** hasta el lienzo, a la derecha del Trigger.\n3. Arrastra desde el punto junto a **Output** del Trigger hasta el punto junto a **Input** de Print.\n4. Selecciona **APPLY** en la barra de herramientas y luego **Continue**.\n\n## Ejecutarlo\n\nSelecciona **Run** en el nodo Trigger. El mensaje aparece dentro del nodo Print, y **Messages** sube en uno en la barra de estado.\n\n![Un nodo Trigger conectado a un nodo Print que muestra el mensaje recibido](/files/JanwnB2XM60f.webp)\n\nA continuación, aprende a moverte por [el diseñador](../designer-overview/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnC2YM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/first-flowstream/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Ton premier FlowStream","summary":"Crée un FlowStream, ajoute deux composants, connecte-les et lance-le.","markdown":"---\ntitle: Ton premier FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/first-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Ton premier FlowStream\n\n> Crée un FlowStream, ajoute deux composants, connecte-les et lance-le.\n\nDans ce guide, tu construis un petit FlowStream : un **Trigger** envoie un message et un nœud **Print** l’affiche.\n\n## Créer le FlowStream\n\n1. Dans la liste des FlowStreams, sélectionne **Create FlowStream**. Si la liste contient déjà des éléments, sélectionne **Create new** dans le menu de gauche.\n2. Saisis un **Name** (nom), par exemple `Demo project`.\n3. Sélectionne **SUBMIT**.\n4. Sélectionne le nouveau FlowStream dans la liste. Le designer s’ouvre.\n\n## Télécharger les composants\n\nUn nouveau FlowStream n’a aucun composant. Le designer t’accueille avec trois courtes étapes.\n\n1. Sélectionne **NEXT** deux fois, puis **DONE**. La fenêtre **Download components** s’ouvre.\n2. Sélectionne **Trigger**, puis **IMPORT**.\n3. Sélectionne **Print**, puis **IMPORT**.\n4. Sélectionne **Close**.\n\nLes deux composants apparaissent maintenant dans la liste de gauche.\n\n## Construire le design\n\n1. Fais glisser **Trigger** de la liste de gauche vers le canevas.\n2. Fais glisser **Print** sur le canevas, à droite du Trigger.\n3. Fais glisser le point à côté de **Output** sur le Trigger jusqu’au point à côté de **Input** sur Print.\n4. Sélectionne **APPLY** dans la barre d’outils, puis **Continue**.\n\n## Le lancer\n\nSélectionne **Run** sur le nœud Trigger. Le message apparaît dans le nœud Print, et **Messages** augmente de un dans la barre d’état.\n\n![Un nœud Trigger connecté à un nœud Print qui affiche le message reçu](/files/JanwnB2XM60f.webp)\n\nEnsuite, apprends à te repérer dans [le designer](../designer-overview/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnC2YM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/first-flowstream/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Il tuo primo FlowStream","summary":"Crea un FlowStream, aggiungi due componenti, collegali e avvialo.","markdown":"---\ntitle: Il tuo primo FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/first-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Il tuo primo FlowStream\n\n> Crea un FlowStream, aggiungi due componenti, collegali e avvialo.\n\nIn questa guida costruisci un piccolo FlowStream: un **Trigger** invia un messaggio e un nodo **Print** lo mostra.\n\n## Creare il FlowStream\n\n1. Nell'elenco dei FlowStream, seleziona **Create FlowStream**. Se l'elenco contiene già degli elementi, seleziona **Create new** nel menu a sinistra.\n2. Inserisci un **Name**, ad esempio `Demo project`.\n3. Seleziona **SUBMIT**.\n4. Seleziona il nuovo FlowStream nell'elenco. Si apre il designer.\n\n## Scaricare i componenti\n\nUn nuovo FlowStream non ha componenti. Il designer ti accoglie con tre brevi passaggi.\n\n1. Seleziona **NEXT** due volte, poi **DONE**. Si apre la finestra **Download components**.\n2. Seleziona **Trigger**, poi **IMPORT**.\n3. Seleziona **Print**, poi **IMPORT**.\n4. Seleziona **Close**.\n\nOra entrambi i componenti compaiono nell'elenco a sinistra.\n\n## Costruire il progetto\n\n1. Trascina **Trigger** dall'elenco a sinistra sul canvas.\n2. Trascina **Print** sul canvas, a destra del Trigger.\n3. Trascina dal punto accanto a **Output** sul Trigger al punto accanto a **Input** su Print.\n4. Seleziona **APPLY** nella barra degli strumenti, poi **Continue**.\n\n## Avviarlo\n\nSeleziona **Run** sul nodo Trigger. Il messaggio compare all'interno del nodo Print e il valore di **Messages** nella barra di stato aumenta di uno.\n\n![Un nodo Trigger collegato a un nodo Print che mostra il messaggio ricevuto](/files/JanwnB2XM60f.webp)\n\nOra impara a orientarti nel [designer](../designer-overview/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnC2YM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/first-flowstream/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Tvoj prvý FlowStream","summary":"Vytvor FlowStream, pridaj dva komponenty, prepoj ich a spusti.","markdown":"---\ntitle: \"Tvoj prvý FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/first-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Tvoj prvý FlowStream\n\n> Vytvor FlowStream, pridaj dva komponenty, prepoj ich a spusti.\n\nV tomto návode si zostavíš malý FlowStream: **Trigger** odošle správu a uzol **Print** ju zobrazí.\n\n## Vytvorenie FlowStreamu\n\n1. V zozname FlowStreamov vyber **Create FlowStream**. Ak už zoznam obsahuje položky, vyber v ľavej ponuke **Create new**.\n2. Zadaj **Name** (názov), napríklad `Demo project`.\n3. Vyber **SUBMIT**.\n4. Vyber nový FlowStream v zozname. Otvorí sa návrhár.\n\n## Stiahnutie komponentov\n\nNový FlowStream nemá žiadne komponenty. Návrhár ťa privíta tromi krátkymi krokmi.\n\n1. Dvakrát vyber **NEXT** a potom **DONE**. Otvorí sa okno **Download components**.\n2. Vyber **Trigger** a potom **IMPORT**.\n3. Vyber **Print** a potom **IMPORT**.\n4. Vyber **Close**.\n\nOba komponenty sa teraz zobrazujú v zozname vľavo.\n\n## Zostavenie návrhu\n\n1. Pretiahni **Trigger** zo zoznamu vľavo na plátno.\n2. Pretiahni **Print** na plátno, napravo od uzla Trigger.\n3. Potiahni od bodky pri **Output** na uzle Trigger k bodke pri **Input** na uzle Print.\n4. Na paneli nástrojov vyber **APPLY** a potom **Continue**.\n\n## Spustenie\n\nNa uzle Trigger vyber **Run**. Správa sa objaví v uzle Print a hodnota **Messages** v stavovom riadku sa zvýši o jednotku.\n\n![Uzol Trigger prepojený s uzlom Print, ktorý zobrazuje prijatú správu](/files/JanwnB2XM60f.webp)\n\nĎalej sa zorientuj v [návrhárovi](../designer-overview/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnP2hM60f","url":"https://totaljs.es/docs/flow/11-1/guides/flowstreams-list/","project":"flow","version":"11-1","section":"guides","language":"en","title":"The FlowStreams list","summary":"Read the list of FlowStreams and what each card tells you.","markdown":"---\ntitle: The FlowStreams list\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/flowstreams-list/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# The FlowStreams list\n\n> Read the list of FlowStreams and what each card tells you.\n\nThe list is the first screen you see after signing in. To return to it from anywhere, select **Flow** in the left menu.\n\n![The list with three FlowStreams in two groups, one of them paused](/files/JanwnK2eM61f.webp)\n\n## What each row shows\n\n| Part | What it tells you |\n|---|---|\n| Icon and name | The icon, color and name you chose. |\n| **Running** or **Paused** | Whether the FlowStream processes messages. |\n| Path | The [proxy endpoint](../proxy-endpoint/), if the FlowStream has one. |\n| Memory | The memory the FlowStream uses right now. |\n| Three dots | The menu with all the actions for this FlowStream. |\n\nFlowStreams with the same **Group** appear together under the group name.\n\n## Open a FlowStream\n\nSelect a row to open its designer in a new tab at the top of the screen.\n\n## The FlowStream menu\n\nSelect the three dots at the end of a row.\n\n![The menu of a FlowStream](/files/JanwnM2fM60f.webp)\n\n| Item | Where to read more |\n|---|---|\n| **Variables** | [Variables](../variables/) |\n| **Pause**, **Play**, **Restart** | [Pause and restart a FlowStream](../pause-restart/) |\n| **Open in new tab** | Opens the designer in its own browser tab. |\n| **Edit** | [Create a FlowStream](../create-flowstream/) |\n| **Clone**, **Remove** | [Clone or remove a FlowStream](../clone-remove/) |\n| **Copy as JSON**, **Download** | [Export a FlowStream](../export-flowstream/) |\n\n## The main menu\n\nSelect the blue button in the top left corner of the list.\n\n![The main menu with Create new, Import FlowStream, Templates, Variables and Settings](/files/JanwnO2gM61f.webp)\n\n**Import FlowStream**, **Templates** and **Variables** are only available here.\n\n## Find a FlowStream\n\nSelect the magnifier at the top right, then type part of the name.\n\n## The status bar\n\nThe bar at the bottom shows **Memory**, **Messages**, **Pending**, **Per minute** and **Online clients**, followed by the Flow and Total.js versions.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnP2hM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/flowstreams-list/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Die Liste der FlowStreams","summary":"Lies die Liste der FlowStreams und erfahre, was dir jede Karte sagt.","markdown":"---\ntitle: Die Liste der FlowStreams\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/flowstreams-list/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Die Liste der FlowStreams\n\n> Lies die Liste der FlowStreams und erfahre, was dir jede Karte sagt.\n\nDie Liste ist der erste Bildschirm, den du nach der Anmeldung siehst. Um von überall dorthin zurückzukehren, wähle **Flow** im linken Menü.\n\n![Die Liste mit drei FlowStreams in zwei Gruppen, einer davon pausiert](/files/JanwnK2eM61f.webp)\n\n## Was jede Zeile zeigt\n\n| Teil | Was er dir sagt |\n|---|---|\n| Symbol und Name | Das Symbol, die Farbe und der Name, die du gewählt hast. |\n| **Running** oder **Paused** | Ob der FlowStream Nachrichten verarbeitet. |\n| Pfad | Der [Proxy-Endpunkt](../proxy-endpoint/), falls der FlowStream einen hat. |\n| Speicher | Der Speicher, den der FlowStream gerade belegt. |\n| Drei Punkte | Das Menü mit allen Aktionen für diesen FlowStream. |\n\nFlowStreams mit derselben **Group** erscheinen zusammen unter dem Gruppennamen.\n\n## Einen FlowStream öffnen\n\nWähle eine Zeile aus, um ihren Designer in einem neuen Tab oben auf dem Bildschirm zu öffnen.\n\n## Das FlowStream-Menü\n\nWähle die drei Punkte am Ende einer Zeile.\n\n![Das Menü eines FlowStreams](/files/JanwnM2fM60f.webp)\n\n| Eintrag | Hier erfährst du mehr |\n|---|---|\n| **Variables** | [Variablen](../variables/) |\n| **Pause**, **Play**, **Restart** | [Einen FlowStream pausieren und neu starten](../pause-restart/) |\n| **Open in new tab** | Öffnet den Designer in einem eigenen Browser-Tab. |\n| **Edit** | [Einen FlowStream erstellen](../create-flowstream/) |\n| **Clone**, **Remove** | [Einen FlowStream klonen oder entfernen](../clone-remove/) |\n| **Copy as JSON**, **Download** | [Einen FlowStream exportieren](../export-flowstream/) |\n\n## Das Hauptmenü\n\nWähle die blaue Schaltfläche in der oberen linken Ecke der Liste.\n\n![Das Hauptmenü mit Create new, Import FlowStream, Templates, Variables und Settings](/files/JanwnO2gM61f.webp)\n\n**Import FlowStream**, **Templates** und **Variables** gibt es nur hier.\n\n## Einen FlowStream finden\n\nWähle oben rechts die Lupe und tippe einen Teil des Namens ein.\n\n## Die Statusleiste\n\nDie Leiste am unteren Rand zeigt **Memory**, **Messages**, **Pending**, **Per minute** und **Online clients**, gefolgt von den Versionen von Flow und Total.js.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnP2hM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/flowstreams-list/","project":"flow","version":"11-1","section":"guides","language":"es","title":"La lista de FlowStreams","summary":"Aprende a leer la lista de FlowStreams y lo que te indica cada tarjeta.","markdown":"---\ntitle: La lista de FlowStreams\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/flowstreams-list/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# La lista de FlowStreams\n\n> Aprende a leer la lista de FlowStreams y lo que te indica cada tarjeta.\n\nLa lista es la primera pantalla que ves al iniciar sesión. Para volver a ella desde cualquier sitio, selecciona **Flow** en el menú de la izquierda.\n\n![La lista con tres FlowStreams en dos grupos, uno de ellos en pausa](/files/JanwnK2eM61f.webp)\n\n## Qué muestra cada fila\n\n| Parte | Qué te indica |\n|---|---|\n| Icono y nombre | El icono, el color y el nombre que has elegido. |\n| **Running** o **Paused** | Si el FlowStream procesa mensajes (en marcha) o no (en pausa). |\n| Ruta | El [proxy endpoint](../proxy-endpoint/), si el FlowStream tiene uno. |\n| Memoria | La memoria que usa el FlowStream en este momento. |\n| Tres puntos | El menú con todas las acciones de este FlowStream. |\n\nLos FlowStreams con el mismo **Group** (grupo) aparecen juntos bajo el nombre del grupo.\n\n## Abrir un FlowStream\n\nSelecciona una fila para abrir su diseñador en una pestaña nueva en la parte superior de la pantalla.\n\n## El menú del FlowStream\n\nSelecciona los tres puntos al final de una fila.\n\n![El menú de un FlowStream](/files/JanwnM2fM60f.webp)\n\n| Opción | Dónde leer más |\n|---|---|\n| **Variables** | [Variables](../variables/) |\n| **Pause**, **Play**, **Restart** | [Pausar y reiniciar un FlowStream](../pause-restart/) |\n| **Open in new tab** | Abre el diseñador en su propia pestaña del navegador. |\n| **Edit** | [Crear un FlowStream](../create-flowstream/) |\n| **Clone**, **Remove** | [Clonar o eliminar un FlowStream](../clone-remove/) |\n| **Copy as JSON**, **Download** | [Exportar un FlowStream](../export-flowstream/) |\n\n## El menú principal\n\nSelecciona el botón azul de la esquina superior izquierda de la lista.\n\n![El menú principal con Create new, Import FlowStream, Templates, Variables y Settings](/files/JanwnO2gM61f.webp)\n\n**Import FlowStream**, **Templates** y **Variables** solo están disponibles aquí.\n\n## Encontrar un FlowStream\n\nSelecciona la lupa de la parte superior derecha y escribe parte del nombre.\n\n## La barra de estado\n\nLa barra inferior muestra **Memory**, **Messages**, **Pending**, **Per minute** y **Online clients**, seguidos de las versiones de Flow y Total.js.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnP2hM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/flowstreams-list/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"La liste des FlowStreams","summary":"Lis la liste des FlowStreams et ce que chaque carte t’indique.","markdown":"---\ntitle: La liste des FlowStreams\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/flowstreams-list/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# La liste des FlowStreams\n\n> Lis la liste des FlowStreams et ce que chaque carte t’indique.\n\nLa liste est le premier écran que tu vois après t’être connecté. Pour y revenir depuis n’importe où, sélectionne **Flow** dans le menu de gauche.\n\n![La liste avec trois FlowStreams répartis en deux groupes, dont un en pause](/files/JanwnK2eM61f.webp)\n\n## Ce que montre chaque ligne\n\n| Partie | Ce qu’elle t’indique |\n|---|---|\n| Icône et nom | L’icône, la couleur et le nom que tu as choisis. |\n| **Running** ou **Paused** | Si le FlowStream traite les messages. |\n| Chemin | Le [proxy endpoint](../proxy-endpoint/), si le FlowStream en a un. |\n| Mémoire | La mémoire que le FlowStream utilise en ce moment. |\n| Trois points | Le menu avec toutes les actions pour ce FlowStream. |\n\nLes FlowStreams qui ont le même **Group** (groupe) apparaissent ensemble sous le nom du groupe.\n\n## Ouvrir un FlowStream\n\nSélectionne une ligne pour ouvrir son designer dans un nouvel onglet en haut de l’écran.\n\n## Le menu du FlowStream\n\nSélectionne les trois points au bout d’une ligne.\n\n![Le menu d’un FlowStream](/files/JanwnM2fM60f.webp)\n\n| Élément | Où en savoir plus |\n|---|---|\n| **Variables** | [Variables](../variables/) |\n| **Pause**, **Play**, **Restart** | [Mettre en pause et redémarrer un FlowStream](../pause-restart/) |\n| **Open in new tab** | Ouvre le designer dans son propre onglet du navigateur. |\n| **Edit** | [Créer un FlowStream](../create-flowstream/) |\n| **Clone**, **Remove** | [Cloner ou supprimer un FlowStream](../clone-remove/) |\n| **Copy as JSON**, **Download** | [Exporter un FlowStream](../export-flowstream/) |\n\n## Le menu principal\n\nSélectionne le bouton bleu en haut à gauche de la liste.\n\n![Le menu principal avec Create new, Import FlowStream, Templates, Variables et Settings](/files/JanwnO2gM61f.webp)\n\n**Import FlowStream**, **Templates** et **Variables** ne sont disponibles qu’ici.\n\n## Trouver un FlowStream\n\nSélectionne la loupe en haut à droite, puis écris une partie du nom.\n\n## La barre d’état\n\nLa barre du bas affiche **Memory**, **Messages**, **Pending**, **Per minute** et **Online clients**, suivis des versions de Flow et de Total.js.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnP2hM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/flowstreams-list/","project":"flow","version":"11-1","section":"guides","language":"it","title":"L'elenco dei FlowStream","summary":"Leggi l'elenco dei FlowStream e scopri cosa ti dice ogni scheda.","markdown":"---\ntitle: \"L'elenco dei FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/flowstreams-list/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# L'elenco dei FlowStream\n\n> Leggi l'elenco dei FlowStream e scopri cosa ti dice ogni scheda.\n\nL'elenco è la prima schermata che vedi dopo l'accesso. Per tornarci da qualsiasi punto, seleziona **Flow** nel menu a sinistra.\n\n![L'elenco con tre FlowStream in due gruppi, uno dei quali in pausa](/files/JanwnK2eM61f.webp)\n\n## Cosa mostra ogni riga\n\n| Parte | Cosa ti dice |\n|---|---|\n| Icona e nome | L'icona, il colore e il nome che hai scelto. |\n| **Running** o **Paused** | Se il FlowStream sta elaborando i messaggi. |\n| Percorso | Il [proxy endpoint](../proxy-endpoint/), se il FlowStream ne ha uno. |\n| Memoria | La memoria che il FlowStream sta usando in questo momento. |\n| Tre puntini | Il menu con tutte le azioni per questo FlowStream. |\n\nI FlowStream con lo stesso **Group** compaiono insieme sotto il nome del gruppo.\n\n## Aprire un FlowStream\n\nSeleziona una riga per aprire il suo designer in una nuova scheda nella parte superiore della schermata.\n\n## Il menu del FlowStream\n\nSeleziona i tre puntini alla fine di una riga.\n\n![Il menu di un FlowStream](/files/JanwnM2fM60f.webp)\n\n| Voce | Dove saperne di più |\n|---|---|\n| **Variables** | [Variabili](../variables/) |\n| **Pause**, **Play**, **Restart** | [Mettere in pausa e riavviare un FlowStream](../pause-restart/) |\n| **Open in new tab** | Apre il designer in una scheda separata del browser. |\n| **Edit** | [Creare un FlowStream](../create-flowstream/) |\n| **Clone**, **Remove** | [Clonare o rimuovere un FlowStream](../clone-remove/) |\n| **Copy as JSON**, **Download** | [Esportare un FlowStream](../export-flowstream/) |\n\n## Il menu principale\n\nSeleziona il pulsante blu nell'angolo in alto a sinistra dell'elenco.\n\n![Il menu principale con Create new, Import FlowStream, Templates, Variables e Settings](/files/JanwnO2gM61f.webp)\n\n**Import FlowStream**, **Templates** e **Variables** sono disponibili solo qui.\n\n## Trovare un FlowStream\n\nSeleziona la lente d'ingrandimento in alto a destra, poi scrivi una parte del nome.\n\n## La barra di stato\n\nLa barra in basso mostra **Memory**, **Messages**, **Pending**, **Per minute** e **Online clients**, seguiti dalle versioni di Flow e di Total.js.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnP2hM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/flowstreams-list/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Zoznam FlowStreamov","summary":"Prečítaj si zoznam FlowStreamov a zisti, čo ti každá karta hovorí.","markdown":"---\ntitle: Zoznam FlowStreamov\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/flowstreams-list/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Zoznam FlowStreamov\n\n> Prečítaj si zoznam FlowStreamov a zisti, čo ti každá karta hovorí.\n\nZoznam je prvá obrazovka, ktorú po prihlásení uvidíš. Odkiaľkoľvek sa naň vrátiš výberom položky **Flow** v ľavej ponuke.\n\n![Zoznam s tromi FlowStreamami v dvoch skupinách, jeden z nich je pozastavený](/files/JanwnK2eM61f.webp)\n\n## Čo zobrazuje každý riadok\n\n| Časť | Čo ti hovorí |\n|---|---|\n| Ikona a názov | Ikona, farba a názov, ktoré si zvolil. |\n| **Running** alebo **Paused** | Či FlowStream spracúva správy. |\n| Cesta | [Proxy endpoint](../proxy-endpoint/), ak ho FlowStream má. |\n| Pamäť | Pamäť, ktorú FlowStream práve používa. |\n| Tri bodky | Ponuka so všetkými akciami pre tento FlowStream. |\n\nFlowStreamy s rovnakou hodnotou **Group** sa zobrazujú spolu pod názvom skupiny.\n\n## Otvorenie FlowStreamu\n\nVýberom riadka otvoríš jeho návrhár na novej karte v hornej časti obrazovky.\n\n## Ponuka FlowStreamu\n\nVyber tri bodky na konci riadka.\n\n![Ponuka FlowStreamu](/files/JanwnM2fM60f.webp)\n\n| Položka | Kde si prečítaš viac |\n|---|---|\n| **Variables** | [Premenné](../variables/) |\n| **Pause**, **Play**, **Restart** | [Pozastav a reštartuj FlowStream](../pause-restart/) |\n| **Open in new tab** | Otvorí návrhár na vlastnej karte prehliadača. |\n| **Edit** | [Vytvor FlowStream](../create-flowstream/) |\n| **Clone**, **Remove** | [Naklonuj alebo odstráň FlowStream](../clone-remove/) |\n| **Copy as JSON**, **Download** | [Exportuj FlowStream](../export-flowstream/) |\n\n## Hlavná ponuka\n\nVyber modré tlačidlo v ľavom hornom rohu zoznamu.\n\n![Hlavná ponuka s položkami Create new, Import FlowStream, Templates, Variables a Settings](/files/JanwnO2gM61f.webp)\n\n**Import FlowStream**, **Templates** a **Variables** sú dostupné len tu.\n\n## Hľadanie FlowStreamu\n\nVyber lupu vpravo hore a napíš časť názvu.\n\n## Stavový riadok\n\nRiadok v dolnej časti zobrazuje **Memory**, **Messages**, **Pending**, **Per minute** a **Online clients** a za nimi verzie Flow a Total.js.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwms2IM61f","url":"https://totaljs.es/docs/flow/11-1/guides/create-flowstream/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Create a FlowStream","summary":"Create a FlowStream and change its name, look and limits.","markdown":"---\ntitle: Create a FlowStream\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/create-flowstream/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Create a FlowStream\n\n> Create a FlowStream and change its name, look and limits.\n\nEvery FlowStream starts with a short form. You can reopen it at any time.\n\n## Create one\n\n1. Select **Create new** in the left menu.\n2. Fill in the form. Only **Name**, **Icon** and **Proxy timeout** are required.\n3. Select **SUBMIT**.\n\n![The Create FlowStream form](/files/Janwmr2HM60f.webp)\n\nEvery field is described in [FlowStream fields](../../reference/flowstream-fields/).\n\n## Change one\n\n1. Select the three dots at the end of the row.\n2. Select **Edit**. The **Update FlowStream** form opens.\n3. Change what you need and select **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwms2IM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/create-flowstream/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen FlowStream erstellen","summary":"Erstelle einen FlowStream und ändere seinen Namen, sein Aussehen und seine Grenzwerte.","markdown":"---\ntitle: Einen FlowStream erstellen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/create-flowstream/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Einen FlowStream erstellen\n\n> Erstelle einen FlowStream und ändere seinen Namen, sein Aussehen und seine Grenzwerte.\n\nJeder FlowStream beginnt mit einem kurzen Formular. Du kannst es jederzeit wieder öffnen.\n\n## Einen FlowStream anlegen\n\n1. Wähle **Create new** (Neu erstellen) im linken Menü.\n2. Fülle das Formular aus. Nur **Name**, **Icon** und **Proxy timeout** sind Pflichtfelder.\n3. Wähle **SUBMIT**.\n\n![Das Formular Create FlowStream](/files/Janwmr2HM60f.webp)\n\nAlle Felder sind unter [FlowStream-Felder](../../reference/flowstream-fields/) beschrieben.\n\n## Einen FlowStream ändern\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Edit** (Bearbeiten). Das Formular **Update FlowStream** öffnet sich.\n3. Ändere, was du brauchst, und wähle **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwms2IM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/create-flowstream/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Crear un FlowStream","summary":"Crea un FlowStream y cambia su nombre, su aspecto y sus límites.","markdown":"---\ntitle: Crear un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/create-flowstream/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Crear un FlowStream\n\n> Crea un FlowStream y cambia su nombre, su aspecto y sus límites.\n\nTodo FlowStream empieza con un formulario corto. Puedes volver a abrirlo cuando quieras.\n\n## Crear uno\n\n1. Selecciona **Create new** (crear nuevo) en el menú de la izquierda.\n2. Rellena el formulario. Solo son obligatorios **Name**, **Icon** y **Proxy timeout**.\n3. Selecciona **SUBMIT**.\n\n![El formulario Create FlowStream](/files/Janwmr2HM60f.webp)\n\nTodos los campos se describen en [Campos del FlowStream](../../reference/flowstream-fields/).\n\n## Cambiar uno\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Edit**. Se abre el formulario **Update FlowStream**.\n3. Cambia lo que necesites y selecciona **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwms2IM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/create-flowstream/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Créer un FlowStream","summary":"Crée un FlowStream et modifie son nom, son apparence et ses limites.","markdown":"---\ntitle: \"Créer un FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/create-flowstream/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Créer un FlowStream\n\n> Crée un FlowStream et modifie son nom, son apparence et ses limites.\n\nChaque FlowStream commence par un court formulaire. Tu peux le rouvrir à tout moment.\n\n## En créer un\n\n1. Sélectionne **Create new** (créer) dans le menu de gauche.\n2. Remplis le formulaire. Seuls **Name**, **Icon** et **Proxy timeout** sont obligatoires.\n3. Sélectionne **SUBMIT**.\n\n![Le formulaire Create FlowStream](/files/Janwmr2HM60f.webp)\n\nChaque champ est décrit dans [Champs d’un FlowStream](../../reference/flowstream-fields/).\n\n## En modifier un\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Edit** (modifier). Le formulaire **Update FlowStream** s’ouvre.\n3. Modifie ce dont tu as besoin et sélectionne **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwms2IM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/create-flowstream/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Creare un FlowStream","summary":"Crea un FlowStream e cambia il nome, l'aspetto e i limiti.","markdown":"---\ntitle: Creare un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/create-flowstream/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Creare un FlowStream\n\n> Crea un FlowStream e cambia il nome, l'aspetto e i limiti.\n\nOgni FlowStream parte da un breve modulo. Puoi riaprirlo in qualsiasi momento.\n\n## Crearne uno\n\n1. Seleziona **Create new** nel menu a sinistra.\n2. Compila il modulo. Solo **Name**, **Icon** e **Proxy timeout** sono obbligatori.\n3. Seleziona **SUBMIT**.\n\n![Il modulo Create FlowStream](/files/Janwmr2HM60f.webp)\n\nOgni campo è descritto in [Campi del FlowStream](../../reference/flowstream-fields/).\n\n## Modificarne uno\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Edit**. Si apre il modulo **Update FlowStream**.\n3. Cambia quello che ti serve e seleziona **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwms2IM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/create-flowstream/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Vytvor FlowStream","summary":"Vytvor FlowStream a zmeň jeho názov, vzhľad a limity.","markdown":"---\ntitle: Vytvor FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/create-flowstream/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Vytvor FlowStream\n\n> Vytvor FlowStream a zmeň jeho názov, vzhľad a limity.\n\nKaždý FlowStream sa začína krátkym formulárom. Kedykoľvek ho môžeš znova otvoriť.\n\n## Vytvorenie\n\n1. V ľavej ponuke vyber **Create new** (vytvoriť nový).\n2. Vyplň formulár. Povinné sú len polia **Name**, **Icon** a **Proxy timeout**.\n3. Vyber **SUBMIT**.\n\n![Formulár Create FlowStream](/files/Janwmr2HM60f.webp)\n\nKaždé pole je popísané na stránke [Polia FlowStreamu](../../reference/flowstream-fields/).\n\n## Zmena\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Edit** (upraviť). Otvorí sa formulár **Update FlowStream**.\n3. Zmeň, čo potrebuješ, a vyber **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwni30M61f","url":"https://totaljs.es/docs/flow/11-1/guides/pause-restart/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Pause and restart a FlowStream","summary":"Stop a FlowStream from processing messages, resume it, or restart it.","markdown":"---\ntitle: Pause and restart a FlowStream\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/pause-restart/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Pause and restart a FlowStream\n\n> Stop a FlowStream from processing messages, resume it, or restart it.\n\nYou control each FlowStream separately. The others keep working.\n\n## Pause\n\n1. Select the three dots at the end of the row.\n2. Select **Pause**.\n\nThe row turns yellow and shows **Paused**.\n\n## Resume\n\n1. Select the three dots at the end of the row.\n2. Select **Play**.\n\nThe row shows **Running** again after the list refreshes.\n\n## Restart\n\n1. Select the three dots at the end of the row.\n2. Select **Restart**.\n3. Confirm with **Restart**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwni30M61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/pause-restart/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen FlowStream pausieren und neu starten","summary":"Halte die Verarbeitung von Nachrichten in einem FlowStream an, setze sie fort oder starte ihn neu.","markdown":"---\ntitle: Einen FlowStream pausieren und neu starten\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/pause-restart/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Einen FlowStream pausieren und neu starten\n\n> Halte die Verarbeitung von Nachrichten in einem FlowStream an, setze sie fort oder starte ihn neu.\n\nDu steuerst jeden FlowStream einzeln. Die anderen arbeiten weiter.\n\n## Pausieren\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Pause**.\n\nDie Zeile wird gelb und zeigt **Paused** an.\n\n## Fortsetzen\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Play**.\n\nSobald die Liste aktualisiert ist, zeigt die Zeile wieder **Running** an.\n\n## Neu starten\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Restart**.\n3. Bestätige mit **Restart**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwni30M61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/pause-restart/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Pausar y reiniciar un FlowStream","summary":"Haz que un FlowStream deje de procesar mensajes, reanúdalo o reinícialo.","markdown":"---\ntitle: Pausar y reiniciar un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/pause-restart/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Pausar y reiniciar un FlowStream\n\n> Haz que un FlowStream deje de procesar mensajes, reanúdalo o reinícialo.\n\nControlas cada FlowStream por separado. Los demás siguen funcionando.\n\n## Pausar\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Pause** (pausar).\n\nLa fila se vuelve amarilla y muestra **Paused**.\n\n## Reanudar\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Play** (reanudar).\n\nLa fila vuelve a mostrar **Running** cuando se actualiza la lista.\n\n## Reiniciar\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Restart** (reiniciar).\n3. Confirma con **Restart**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwni30M61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/pause-restart/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Mettre en pause et redémarrer un FlowStream","summary":"Empêche un FlowStream de traiter les messages, relance-le ou redémarre-le.","markdown":"---\ntitle: \"Mettre en pause et redémarrer un FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/pause-restart/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Mettre en pause et redémarrer un FlowStream\n\n> Empêche un FlowStream de traiter les messages, relance-le ou redémarre-le.\n\nTu contrôles chaque FlowStream séparément. Les autres continuent de fonctionner.\n\n## Mettre en pause\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Pause**.\n\nLa ligne devient jaune et affiche **Paused**.\n\n## Reprendre\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Play**.\n\nLa ligne affiche de nouveau **Running** une fois la liste actualisée.\n\n## Redémarrer\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Restart**.\n3. Confirme avec **Restart**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwni30M61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/pause-restart/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Mettere in pausa e riavviare un FlowStream","summary":"Impedisci a un FlowStream di elaborare i messaggi, fallo ripartire o riavvialo.","markdown":"---\ntitle: Mettere in pausa e riavviare un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/pause-restart/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Mettere in pausa e riavviare un FlowStream\n\n> Impedisci a un FlowStream di elaborare i messaggi, fallo ripartire o riavvialo.\n\nControlli ogni FlowStream separatamente. Gli altri continuano a funzionare.\n\n## Mettere in pausa\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Pause**.\n\nLa riga diventa gialla e mostra **Paused**.\n\n## Riprendere\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Play**.\n\nLa riga mostra di nuovo **Running** dopo l'aggiornamento dell'elenco.\n\n## Riavviare\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Restart**.\n3. Conferma con **Restart**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwni30M61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/pause-restart/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Pozastav a reštartuj FlowStream","summary":"Zastav spracúvanie správ vo FlowStreame, obnov ho alebo ho reštartuj.","markdown":"---\ntitle: \"Pozastav a reštartuj FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/pause-restart/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Pozastav a reštartuj FlowStream\n\n> Zastav spracúvanie správ vo FlowStreame, obnov ho alebo ho reštartuj.\n\nKaždý FlowStream ovládaš samostatne. Ostatné pracujú ďalej.\n\n## Pozastavenie\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Pause** (pozastaviť).\n\nRiadok zožltne a zobrazí **Paused**.\n\n## Obnovenie\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Play** (spustiť).\n\nPo obnovení zoznamu riadok znova zobrazí **Running**.\n\n## Reštart\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Restart** (reštartovať).\n3. Potvrď tlačidlom **Restart**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwmf27M60f","url":"https://totaljs.es/docs/flow/11-1/guides/clone-remove/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Clone or remove a FlowStream","summary":"Make a copy of a FlowStream or delete one you do not need.","markdown":"---\ntitle: Clone or remove a FlowStream\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/clone-remove/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Clone or remove a FlowStream\n\n> Make a copy of a FlowStream or delete one you do not need.\n\n## Clone\n\n1. Select the three dots at the end of the row.\n2. Select **Clone**. Flow creates the copy and opens its form.\n3. Change the **Name** and select **SUBMIT**.\n\nThe copy exists as soon as the form opens. If you select **Cancel**, it stays in the list with the original name.\n\n## Remove\n\nRemoving a FlowStream deletes it for good. [Export it](../export-flowstream/) first if you may need it again.\n\n1. Select the three dots at the end of the row.\n2. Select **Remove**.\n3. Confirm with **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmf27M60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/clone-remove/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen FlowStream klonen oder entfernen","summary":"Erstelle eine Kopie eines FlowStreams oder lösche einen, den du nicht brauchst.","markdown":"---\ntitle: Einen FlowStream klonen oder entfernen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/clone-remove/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Einen FlowStream klonen oder entfernen\n\n> Erstelle eine Kopie eines FlowStreams oder lösche einen, den du nicht brauchst.\n\n## Klonen\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Clone** (Klonen). Flow erstellt die Kopie und öffnet ihr Formular.\n3. Ändere den **Name** und wähle **SUBMIT**.\n\nDie Kopie existiert, sobald sich das Formular öffnet. Wenn du **Cancel** wählst, bleibt sie mit dem ursprünglichen Namen in der Liste.\n\n## Entfernen\n\nWenn du einen FlowStream entfernst, ist er endgültig gelöscht. [Exportiere ihn](../export-flowstream/) vorher, falls du ihn noch einmal brauchen könntest.\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Remove** (Entfernen).\n3. Bestätige mit **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmf27M60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/clone-remove/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Clonar o eliminar un FlowStream","summary":"Haz una copia de un FlowStream o borra uno que no necesites.","markdown":"---\ntitle: Clonar o eliminar un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/clone-remove/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Clonar o eliminar un FlowStream\n\n> Haz una copia de un FlowStream o borra uno que no necesites.\n\n## Clonar\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Clone** (clonar). Flow crea la copia y abre su formulario.\n3. Cambia el **Name** (nombre) y selecciona **SUBMIT**.\n\nLa copia existe desde el momento en que se abre el formulario. Si seleccionas **Cancel**, se queda en la lista con el nombre original.\n\n## Eliminar\n\nAl eliminar un FlowStream, lo borras para siempre. [Expórtalo](../export-flowstream/) antes si es posible que vuelvas a necesitarlo.\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Remove** (eliminar).\n3. Confirma con **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmf27M60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/clone-remove/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Cloner ou supprimer un FlowStream","summary":"Fais une copie d’un FlowStream ou supprime celui dont tu n’as plus besoin.","markdown":"---\ntitle: Cloner ou supprimer un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/clone-remove/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Cloner ou supprimer un FlowStream\n\n> Fais une copie d’un FlowStream ou supprime celui dont tu n’as plus besoin.\n\n## Cloner\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Clone** (cloner). Flow crée la copie et ouvre son formulaire.\n3. Modifie le **Name** (nom) et sélectionne **SUBMIT**.\n\nLa copie existe dès l’ouverture du formulaire. Si tu sélectionnes **Cancel**, elle reste dans la liste avec le nom d’origine.\n\n## Supprimer\n\nSupprimer un FlowStream l’efface définitivement. [Exporte-le](../export-flowstream/) d’abord si tu risques d’en avoir à nouveau besoin.\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Remove** (supprimer).\n3. Confirme avec **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmf27M60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/clone-remove/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Clonare o rimuovere un FlowStream","summary":"Crea una copia di un FlowStream o elimina quello che non ti serve.","markdown":"---\ntitle: Clonare o rimuovere un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/clone-remove/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Clonare o rimuovere un FlowStream\n\n> Crea una copia di un FlowStream o elimina quello che non ti serve.\n\n## Clonare\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Clone**. Flow crea la copia e apre il suo modulo.\n3. Cambia il **Name** e seleziona **SUBMIT**.\n\nLa copia esiste dal momento in cui si apre il modulo. Se selezioni **Cancel**, resta nell'elenco con il nome originale.\n\n## Rimuovere\n\nRimuovere un FlowStream lo elimina definitivamente. Prima [esportalo](../export-flowstream/) se potrebbe servirti ancora.\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Remove**.\n3. Conferma con **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmf27M60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/clone-remove/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Naklonuj alebo odstráň FlowStream","summary":"Vytvor kópiu FlowStreamu alebo odstráň ten, ktorý nepotrebuješ.","markdown":"---\ntitle: \"Naklonuj alebo odstráň FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/clone-remove/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Naklonuj alebo odstráň FlowStream\n\n> Vytvor kópiu FlowStreamu alebo odstráň ten, ktorý nepotrebuješ.\n\n## Klonovanie\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Clone** (klonovať). Flow vytvorí kópiu a otvorí jej formulár.\n3. Zmeň **Name** (názov) a vyber **SUBMIT**.\n\nKópia existuje hneď, ako sa formulár otvorí. Ak vyberieš **Cancel**, zostane v zozname s pôvodným názvom.\n\n## Odstránenie\n\nOdstránením sa FlowStream vymaže natrvalo. Ak ho možno ešte budeš potrebovať, najprv ho [exportuj](../export-flowstream/).\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Remove** (odstrániť).\n3. Potvrď tlačidlom **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn92VM60f","url":"https://totaljs.es/docs/flow/11-1/guides/export-flowstream/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Export a FlowStream","summary":"Save a FlowStream as a JSON file or copy it to the clipboard.","markdown":"---\ntitle: Export a FlowStream\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/export-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Export a FlowStream\n\n> Save a FlowStream as a JSON file or copy it to the clipboard.\n\nAn export holds the whole FlowStream as JSON. Use it as a copy, or to move the FlowStream to another Flow installation.\n\n## Download a file\n\n1. Select the three dots at the end of the row.\n2. Select **Download**.\n\nYour browser saves a file named after the FlowStream, for example `Demo reports.json`.\n\n## Copy to the clipboard\n\n1. Select the three dots at the end of the row.\n2. Select **Copy as JSON**.\n\nTo bring an export back, see [Import a FlowStream](../import-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn92VM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/export-flowstream/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen FlowStream exportieren","summary":"Speichere einen FlowStream als JSON-Datei oder kopiere ihn in die Zwischenablage.","markdown":"---\ntitle: Einen FlowStream exportieren\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/export-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Einen FlowStream exportieren\n\n> Speichere einen FlowStream als JSON-Datei oder kopiere ihn in die Zwischenablage.\n\nEin Export enthält den gesamten FlowStream als JSON. Nutze ihn als Kopie oder um den FlowStream in eine andere Flow-Installation zu übertragen.\n\n## Eine Datei herunterladen\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Download** (Herunterladen).\n\nDein Browser speichert eine Datei, die nach dem FlowStream benannt ist, zum Beispiel `Demo reports.json`.\n\n## In die Zwischenablage kopieren\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Copy as JSON** (Als JSON kopieren).\n\nWie du einen Export zurückholst, erfährst du unter [Einen FlowStream importieren](../import-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn92VM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/export-flowstream/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Exportar un FlowStream","summary":"Guarda un FlowStream como archivo JSON o cópialo al portapapeles.","markdown":"---\ntitle: Exportar un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/export-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Exportar un FlowStream\n\n> Guarda un FlowStream como archivo JSON o cópialo al portapapeles.\n\nUna exportación contiene todo el FlowStream en formato JSON. Úsala como copia o para llevar el FlowStream a otra instalación de Flow.\n\n## Descargar un archivo\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Download** (descargar).\n\nTu navegador guarda un archivo con el nombre del FlowStream, por ejemplo `Demo reports.json`.\n\n## Copiar al portapapeles\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Copy as JSON** (copiar como JSON).\n\nPara recuperar una exportación, consulta [Importar un FlowStream](../import-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn92VM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/export-flowstream/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Exporter un FlowStream","summary":"Enregistre un FlowStream dans un fichier JSON ou copie-le dans le presse-papiers.","markdown":"---\ntitle: Exporter un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/export-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Exporter un FlowStream\n\n> Enregistre un FlowStream dans un fichier JSON ou copie-le dans le presse-papiers.\n\nUn export contient tout le FlowStream au format JSON. Utilise-le comme copie, ou pour déplacer le FlowStream vers une autre installation de Flow.\n\n## Télécharger un fichier\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Download** (télécharger).\n\nTon navigateur enregistre un fichier qui porte le nom du FlowStream, par exemple `Demo reports.json`.\n\n## Copier dans le presse-papiers\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Copy as JSON** (copier en JSON).\n\nPour réimporter un export, consulte [Importer un FlowStream](../import-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn92VM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/export-flowstream/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Esportare un FlowStream","summary":"Salva un FlowStream come file JSON o copialo negli appunti.","markdown":"---\ntitle: Esportare un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/export-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Esportare un FlowStream\n\n> Salva un FlowStream come file JSON o copialo negli appunti.\n\nUn'esportazione contiene l'intero FlowStream in formato JSON. Usala come copia, oppure per spostare il FlowStream in un'altra installazione di Flow.\n\n## Scaricare un file\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Download**.\n\nIl browser salva un file che porta il nome del FlowStream, ad esempio `Demo reports.json`.\n\n## Copiare negli appunti\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Copy as JSON**.\n\nPer riportare indietro un'esportazione, leggi [Importare un FlowStream](../import-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn92VM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/export-flowstream/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Exportuj FlowStream","summary":"Ulož FlowStream ako súbor JSON alebo ho skopíruj do schránky.","markdown":"---\ntitle: Exportuj FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/export-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Exportuj FlowStream\n\n> Ulož FlowStream ako súbor JSON alebo ho skopíruj do schránky.\n\nExport obsahuje celý FlowStream vo formáte JSON. Použi ho ako kópiu alebo na presun FlowStreamu do inej inštalácie Flow.\n\n## Stiahnutie súboru\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Download** (stiahnuť).\n\nPrehliadač uloží súbor pomenovaný podľa FlowStreamu, napríklad `Demo reports.json`.\n\n## Kopírovanie do schránky\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Copy as JSON** (kopírovať ako JSON).\n\nAko export znova nahrať, nájdeš na stránke [Importuj FlowStream](../import-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnW2nM60f","url":"https://totaljs.es/docs/flow/11-1/guides/import-flowstream/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Import a FlowStream","summary":"Add a FlowStream to Flow from exported JSON.","markdown":"---\ntitle: Import a FlowStream\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/import-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Import a FlowStream\n\n> Add a FlowStream to Flow from exported JSON.\n\n1. Open the main menu with the blue button in the top left corner.\n2. Select **Import FlowStream**.\n3. Paste the JSON into **FlowStream JSON**.\n4. Select **SUBMIT**.\n\n![The Import window with the FlowStream JSON field](/files/JanwnV2mM61f.webp)\n\nFlow adds the FlowStream and opens its form, so you can adjust the name and other fields. Select **SUBMIT** to save them.\n\nIf the text is not a complete FlowStream export, Flow shows **Invalid data**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnW2nM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/import-flowstream/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen FlowStream importieren","summary":"Füge Flow einen FlowStream aus exportiertem JSON hinzu.","markdown":"---\ntitle: Einen FlowStream importieren\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/import-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Einen FlowStream importieren\n\n> Füge Flow einen FlowStream aus exportiertem JSON hinzu.\n\n1. Öffne das Hauptmenü mit der blauen Schaltfläche in der oberen linken Ecke.\n2. Wähle **Import FlowStream**.\n3. Füge das JSON bei **FlowStream JSON** ein.\n4. Wähle **SUBMIT**.\n\n![Das Fenster Import mit dem Feld FlowStream JSON](/files/JanwnV2mM61f.webp)\n\nFlow fügt den FlowStream hinzu und öffnet sein Formular, damit du den Namen und andere Felder anpassen kannst. Wähle **SUBMIT**, um sie zu speichern.\n\nWenn der Text kein vollständiger FlowStream-Export ist, zeigt Flow **Invalid data** an.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnW2nM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/import-flowstream/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Importar un FlowStream","summary":"Añade a Flow un FlowStream a partir de un JSON exportado.","markdown":"---\ntitle: Importar un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/import-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Importar un FlowStream\n\n> Añade a Flow un FlowStream a partir de un JSON exportado.\n\n1. Abre el menú principal con el botón azul de la esquina superior izquierda.\n2. Selecciona **Import FlowStream** (importar FlowStream).\n3. Pega el JSON en **FlowStream JSON**.\n4. Selecciona **SUBMIT**.\n\n![La ventana de importación con el campo FlowStream JSON](/files/JanwnV2mM61f.webp)\n\nFlow añade el FlowStream y abre su formulario para que puedas ajustar el nombre y otros campos. Selecciona **SUBMIT** para guardarlos.\n\nSi el texto no es una exportación completa de un FlowStream, Flow muestra **Invalid data**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnW2nM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/import-flowstream/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Importer un FlowStream","summary":"Ajoute un FlowStream à Flow à partir d’un JSON exporté.","markdown":"---\ntitle: Importer un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/import-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Importer un FlowStream\n\n> Ajoute un FlowStream à Flow à partir d’un JSON exporté.\n\n1. Ouvre le menu principal avec le bouton bleu en haut à gauche.\n2. Sélectionne **Import FlowStream** (importer un FlowStream).\n3. Colle le JSON dans **FlowStream JSON**.\n4. Sélectionne **SUBMIT**.\n\n![La fenêtre Import avec le champ FlowStream JSON](/files/JanwnV2mM61f.webp)\n\nFlow ajoute le FlowStream et ouvre son formulaire, pour que tu puisses ajuster le nom et les autres champs. Sélectionne **SUBMIT** pour les enregistrer.\n\nSi le texte n’est pas un export complet de FlowStream, Flow affiche **Invalid data**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnW2nM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/import-flowstream/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Importare un FlowStream","summary":"Aggiungi a Flow un FlowStream partendo dal JSON esportato.","markdown":"---\ntitle: Importare un FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/import-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Importare un FlowStream\n\n> Aggiungi a Flow un FlowStream partendo dal JSON esportato.\n\n1. Apri il menu principale con il pulsante blu nell'angolo in alto a sinistra.\n2. Seleziona **Import FlowStream**.\n3. Incolla il JSON in **FlowStream JSON**.\n4. Seleziona **SUBMIT**.\n\n![La finestra Import con il campo FlowStream JSON](/files/JanwnV2mM61f.webp)\n\nFlow aggiunge il FlowStream e apre il suo modulo, così puoi modificare il nome e gli altri campi. Seleziona **SUBMIT** per salvarli.\n\nSe il testo non è un'esportazione completa di un FlowStream, Flow mostra **Invalid data**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnW2nM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/import-flowstream/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Importuj FlowStream","summary":"Pridaj do Flow FlowStream z exportovaného JSON.","markdown":"---\ntitle: Importuj FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/import-flowstream/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Importuj FlowStream\n\n> Pridaj do Flow FlowStream z exportovaného JSON.\n\n1. Otvor hlavnú ponuku modrým tlačidlom v ľavom hornom rohu.\n2. Vyber **Import FlowStream**.\n3. Vlož JSON do poľa **FlowStream JSON**.\n4. Vyber **SUBMIT**.\n\n![Okno Import s poľom FlowStream JSON](/files/JanwnV2mM61f.webp)\n\nFlow pridá FlowStream a otvorí jeho formulár, aby si mohol upraviť názov a ďalšie polia. Uložíš ich výberom **SUBMIT**.\n\nAk text nie je úplným exportom FlowStreamu, Flow zobrazí **Invalid data**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnt3CM61f","url":"https://totaljs.es/docs/flow/11-1/guides/templates/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Start from a template","summary":"Add a ready-made FlowStream from the template catalog.","markdown":"---\ntitle: Start from a template\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/templates/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Start from a template\n\n> Add a ready-made FlowStream from the template catalog.\n\nTemplates are ready-made FlowStreams that you can add with a few clicks. The catalog is on the internet, so you need internet access to use it.\n\n1. Open the main menu with the blue button in the top left corner.\n2. Select **Templates**.\n3. Select **Read me** on a template to see what it does.\n4. Select the template.\n5. Confirm with **IMPORT**.\n\n![The Templates window with one template](/files/Janwns3BM60f.webp)\n\nFlow adds the FlowStream and opens its form. Select **SUBMIT** to save it.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnt3CM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/templates/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Mit einer Vorlage beginnen","summary":"Füge einen fertigen FlowStream aus dem Vorlagenkatalog hinzu.","markdown":"---\ntitle: Mit einer Vorlage beginnen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/templates/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Mit einer Vorlage beginnen\n\n> Füge einen fertigen FlowStream aus dem Vorlagenkatalog hinzu.\n\nVorlagen sind fertige FlowStreams, die du mit wenigen Klicks hinzufügen kannst. Der Katalog liegt im Internet, du brauchst also einen Internetzugang, um ihn zu nutzen.\n\n1. Öffne das Hauptmenü mit der blauen Schaltfläche in der oberen linken Ecke.\n2. Wähle **Templates** (Vorlagen).\n3. Wähle **Read me** bei einer Vorlage, um zu sehen, was sie tut.\n4. Wähle die Vorlage aus.\n5. Bestätige mit **IMPORT**.\n\n![Das Fenster Templates mit einer Vorlage](/files/Janwns3BM60f.webp)\n\nFlow fügt den FlowStream hinzu und öffnet sein Formular. Wähle **SUBMIT**, um ihn zu speichern.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnt3CM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/templates/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Empezar desde una plantilla","summary":"Añade un FlowStream ya hecho desde el catálogo de plantillas.","markdown":"---\ntitle: Empezar desde una plantilla\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/templates/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Empezar desde una plantilla\n\n> Añade un FlowStream ya hecho desde el catálogo de plantillas.\n\nLas plantillas son FlowStreams ya hechos que puedes añadir con unos pocos clics. El catálogo está en internet, así que necesitas conexión a internet para usarlo.\n\n1. Abre el menú principal con el botón azul de la esquina superior izquierda.\n2. Selecciona **Templates** (plantillas).\n3. Selecciona **Read me** en una plantilla para ver qué hace.\n4. Selecciona la plantilla.\n5. Confirma con **IMPORT**.\n\n![La ventana Templates con una plantilla](/files/Janwns3BM60f.webp)\n\nFlow añade el FlowStream y abre su formulario. Selecciona **SUBMIT** para guardarlo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnt3CM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/templates/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Partir d’un modèle","summary":"Ajoute un FlowStream prêt à l’emploi depuis le catalogue de modèles.","markdown":"---\ntitle: \"Partir d’un modèle\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/templates/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Partir d’un modèle\n\n> Ajoute un FlowStream prêt à l’emploi depuis le catalogue de modèles.\n\nLes modèles sont des FlowStreams prêts à l’emploi que tu peux ajouter en quelques clics. Le catalogue se trouve sur internet : tu as donc besoin d’un accès à internet pour l’utiliser.\n\n1. Ouvre le menu principal avec le bouton bleu en haut à gauche.\n2. Sélectionne **Templates** (modèles).\n3. Sélectionne **Read me** sur un modèle pour voir ce qu’il fait.\n4. Sélectionne le modèle.\n5. Confirme avec **IMPORT**.\n\n![La fenêtre Templates avec un modèle](/files/Janwns3BM60f.webp)\n\nFlow ajoute le FlowStream et ouvre son formulaire. Sélectionne **SUBMIT** pour l’enregistrer.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnt3CM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/templates/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Partire da un template","summary":"Aggiungi un FlowStream già pronto dal catalogo dei template.","markdown":"---\ntitle: Partire da un template\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/templates/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Partire da un template\n\n> Aggiungi un FlowStream già pronto dal catalogo dei template.\n\nI template sono FlowStream già pronti che puoi aggiungere con pochi clic. Il catalogo è su internet, quindi per usarlo ti serve una connessione a internet.\n\n1. Apri il menu principale con il pulsante blu nell'angolo in alto a sinistra.\n2. Seleziona **Templates**.\n3. Seleziona **Read me** su un template per vedere cosa fa.\n4. Seleziona il template.\n5. Conferma con **IMPORT**.\n\n![La finestra Templates con un template](/files/Janwns3BM60f.webp)\n\nFlow aggiunge il FlowStream e apre il suo modulo. Seleziona **SUBMIT** per salvarlo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnt3CM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/templates/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Začni zo šablóny","summary":"Pridaj hotový FlowStream z katalógu šablón.","markdown":"---\ntitle: \"Začni zo šablóny\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/templates/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Začni zo šablóny\n\n> Pridaj hotový FlowStream z katalógu šablón.\n\nŠablóny sú hotové FlowStreamy, ktoré pridáš niekoľkými kliknutiami. Katalóg je na internete, takže na jeho používanie potrebuješ internetové pripojenie.\n\n1. Otvor hlavnú ponuku modrým tlačidlom v ľavom hornom rohu.\n2. Vyber **Templates** (šablóny).\n3. Ak chceš zistiť, čo šablóna robí, vyber na nej **Read me**.\n4. Vyber šablónu.\n5. Potvrď tlačidlom **IMPORT**.\n\n![Okno Templates s jednou šablónou](/files/Janwns3BM60f.webp)\n\nFlow pridá FlowStream a otvorí jeho formulár. Uložíš ho výberom **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnl34M61f","url":"https://totaljs.es/docs/flow/11-1/guides/proxy-endpoint/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Expose a FlowStream on a path","summary":"Send requests for a public path to a FlowStream.","markdown":"---\ntitle: Expose a FlowStream on a path\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/proxy-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Expose a FlowStream on a path\n\n> Send requests for a public path to a FlowStream.\n\nA proxy endpoint gives a FlowStream its own path on your Flow server. Requests to that path go to the FlowStream.\n\n## Set the path\n\n1. Select the three dots at the end of the row, then **Edit**.\n2. Enter the path in **Proxy endpoint**, for example `/demo-orders/`.\n3. Select **SUBMIT**.\n\nThe path appears in the row of the FlowStream.\n\n## Answer the requests\n\nThe FlowStream needs nodes that handle the request. For example:\n\n1. [Download](../download-components/) the **Route** and **Response** components.\n2. Add both to the canvas and connect the output of **Route** to the input of **Response**.\n3. Select **APPLY**, then **Continue**.\n\nRequests to `/demo-orders/` now reach the FlowStream and get an answer.\n\n## Paths you cannot use\n\nEach path can belong to one FlowStream only. These paths are reserved:\n\n`/`, `/cdn/`, `/fapi/`, `/private/`, `/flows/`, `/designer/`, `/parts/`, `/forms/`, `/css/`, `/js/`, `/fonts/`, `/panels/`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnl34M61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/proxy-endpoint/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen FlowStream unter einem Pfad bereitstellen","summary":"Leite Anfragen an einen öffentlichen Pfad an einen FlowStream weiter.","markdown":"---\ntitle: Einen FlowStream unter einem Pfad bereitstellen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/proxy-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Einen FlowStream unter einem Pfad bereitstellen\n\n> Leite Anfragen an einen öffentlichen Pfad an einen FlowStream weiter.\n\nEin Proxy-Endpunkt gibt einem FlowStream einen eigenen Pfad auf deinem Flow-Server. Anfragen an diesen Pfad gehen an den FlowStream.\n\n## Den Pfad festlegen\n\n1. Wähle die drei Punkte am Ende der Zeile und dann **Edit**.\n2. Gib den Pfad bei **Proxy endpoint** ein, zum Beispiel `/demo-orders/`.\n3. Wähle **SUBMIT**.\n\nDer Pfad erscheint in der Zeile des FlowStreams.\n\n## Die Anfragen beantworten\n\nDer FlowStream braucht Nodes, die die Anfrage verarbeiten. Zum Beispiel:\n\n1. [Lade](../download-components/) die Komponenten **Route** und **Response** herunter.\n2. Füge beide auf der Arbeitsfläche hinzu und verbinde den Ausgang von **Route** mit dem Eingang von **Response**.\n3. Wähle **APPLY** und dann **Continue**.\n\nAnfragen an `/demo-orders/` erreichen jetzt den FlowStream und bekommen eine Antwort.\n\n## Pfade, die du nicht verwenden kannst\n\nJeder Pfad kann nur zu einem FlowStream gehören. Diese Pfade sind reserviert:\n\n`/`, `/cdn/`, `/fapi/`, `/private/`, `/flows/`, `/designer/`, `/parts/`, `/forms/`, `/css/`, `/js/`, `/fonts/`, `/panels/`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnl34M61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/proxy-endpoint/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Publicar un FlowStream en una ruta","summary":"Envía a un FlowStream las peticiones de una ruta pública.","markdown":"---\ntitle: Publicar un FlowStream en una ruta\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/proxy-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Publicar un FlowStream en una ruta\n\n> Envía a un FlowStream las peticiones de una ruta pública.\n\nUn proxy endpoint le da a un FlowStream su propia ruta en tu servidor de Flow. Las peticiones a esa ruta van al FlowStream.\n\n## Definir la ruta\n\n1. Selecciona los tres puntos al final de la fila y luego **Edit**.\n2. Escribe la ruta en **Proxy endpoint**, por ejemplo `/demo-orders/`.\n3. Selecciona **SUBMIT**.\n\nLa ruta aparece en la fila del FlowStream.\n\n## Responder a las peticiones\n\nEl FlowStream necesita nodos que atiendan la petición. Por ejemplo:\n\n1. [Descarga](../download-components/) los componentes **Route** y **Response**.\n2. Añade los dos al lienzo y conecta la salida de **Route** con la entrada de **Response**.\n3. Selecciona **APPLY** y luego **Continue**.\n\nLas peticiones a `/demo-orders/` llegan ahora al FlowStream y reciben una respuesta.\n\n## Rutas que no puedes usar\n\nCada ruta solo puede pertenecer a un FlowStream. Estas rutas están reservadas:\n\n`/`, `/cdn/`, `/fapi/`, `/private/`, `/flows/`, `/designer/`, `/parts/`, `/forms/`, `/css/`, `/js/`, `/fonts/`, `/panels/`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnl34M61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/proxy-endpoint/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Exposer un FlowStream sur un chemin","summary":"Envoie vers un FlowStream les requêtes adressées à un chemin public.","markdown":"---\ntitle: Exposer un FlowStream sur un chemin\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/proxy-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Exposer un FlowStream sur un chemin\n\n> Envoie vers un FlowStream les requêtes adressées à un chemin public.\n\nUn proxy endpoint donne à un FlowStream son propre chemin sur ton serveur Flow. Les requêtes adressées à ce chemin vont vers le FlowStream.\n\n## Définir le chemin\n\n1. Sélectionne les trois points au bout de la ligne, puis **Edit**.\n2. Saisis le chemin dans **Proxy endpoint**, par exemple `/demo-orders/`.\n3. Sélectionne **SUBMIT**.\n\nLe chemin apparaît sur la ligne du FlowStream.\n\n## Répondre aux requêtes\n\nLe FlowStream a besoin de nœuds qui traitent la requête. Par exemple :\n\n1. [Télécharge](../download-components/) les composants **Route** et **Response**.\n2. Ajoute-les tous les deux au canevas et connecte la sortie de **Route** à l’entrée de **Response**.\n3. Sélectionne **APPLY**, puis **Continue**.\n\nLes requêtes adressées à `/demo-orders/` arrivent maintenant au FlowStream et reçoivent une réponse.\n\n## Les chemins que tu ne peux pas utiliser\n\nChaque chemin ne peut appartenir qu’à un seul FlowStream. Ces chemins sont réservés :\n\n`/`, `/cdn/`, `/fapi/`, `/private/`, `/flows/`, `/designer/`, `/parts/`, `/forms/`, `/css/`, `/js/`, `/fonts/`, `/panels/`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnl34M61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/proxy-endpoint/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Esporre un FlowStream su un percorso","summary":"Invia a un FlowStream le richieste per un percorso pubblico.","markdown":"---\ntitle: Esporre un FlowStream su un percorso\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/proxy-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Esporre un FlowStream su un percorso\n\n> Invia a un FlowStream le richieste per un percorso pubblico.\n\nUn proxy endpoint assegna a un FlowStream un percorso tutto suo sul tuo server Flow. Le richieste a quel percorso arrivano al FlowStream.\n\n## Impostare il percorso\n\n1. Seleziona i tre puntini alla fine della riga, poi **Edit**.\n2. Inserisci il percorso in **Proxy endpoint**, ad esempio `/demo-orders/`.\n3. Seleziona **SUBMIT**.\n\nIl percorso compare nella riga del FlowStream.\n\n## Rispondere alle richieste\n\nIl FlowStream ha bisogno di nodi che gestiscano la richiesta. Ad esempio:\n\n1. [Scarica](../download-components/) i componenti **Route** e **Response**.\n2. Aggiungili entrambi al canvas e collega l'uscita di **Route** all'ingresso di **Response**.\n3. Seleziona **APPLY**, poi **Continue**.\n\nOra le richieste a `/demo-orders/` raggiungono il FlowStream e ricevono una risposta.\n\n## Percorsi che non puoi usare\n\nOgni percorso può appartenere a un solo FlowStream. Questi percorsi sono riservati:\n\n`/`, `/cdn/`, `/fapi/`, `/private/`, `/flows/`, `/designer/`, `/parts/`, `/forms/`, `/css/`, `/js/`, `/fonts/`, `/panels/`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnl34M61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/proxy-endpoint/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Sprístupni FlowStream na ceste","summary":"Posielaj požiadavky na verejnú cestu do FlowStreamu.","markdown":"---\ntitle: \"Sprístupni FlowStream na ceste\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/proxy-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Sprístupni FlowStream na ceste\n\n> Posielaj požiadavky na verejnú cestu do FlowStreamu.\n\nProxy endpoint dáva FlowStreamu vlastnú cestu na tvojom serveri Flow. Požiadavky na túto cestu smerujú do FlowStreamu.\n\n## Nastavenie cesty\n\n1. Vyber tri bodky na konci riadka a potom **Edit** (upraviť).\n2. Zadaj cestu do poľa **Proxy endpoint**, napríklad `/demo-orders/`.\n3. Vyber **SUBMIT**.\n\nCesta sa zobrazí v riadku FlowStreamu.\n\n## Odpovedanie na požiadavky\n\nFlowStream potrebuje uzly, ktoré požiadavku spracujú. Napríklad:\n\n1. [Stiahni](../download-components/) komponenty **Route** a **Response**.\n2. Pridaj oba na plátno a prepoj výstup uzla **Route** so vstupom uzla **Response**.\n3. Vyber **APPLY** a potom **Continue**.\n\nPožiadavky na `/demo-orders/` sa teraz dostanú do FlowStreamu a dostanú odpoveď.\n\n## Cesty, ktoré nemôžeš použiť\n\nKaždá cesta môže patriť len jednému FlowStreamu. Tieto cesty sú rezervované:\n\n`/`, `/cdn/`, `/fapi/`, `/private/`, `/flows/`, `/designer/`, `/parts/`, `/forms/`, `/css/`, `/js/`, `/fonts/`, `/panels/`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn02NM60f","url":"https://totaljs.es/docs/flow/11-1/guides/designer-overview/","project":"flow","version":"11-1","section":"guides","language":"en","title":"The designer","summary":"Find your way around the screen where you build a FlowStream.","markdown":"---\ntitle: The designer\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/designer-overview/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# The designer\n\n> Find your way around the screen where you build a FlowStream.\n\nSelect a FlowStream in the list to open the designer.\n\n![The designer with the toolbar on top, components on the left and the canvas in the middle](/files/Janwmv2KM61f.webp)\n\n## Parts of the screen\n\n| Part | What it does |\n|---|---|\n| Toolbar | The buttons along the top. |\n| Components | The list on the left. Drag a component from here onto the canvas. Use **Search components** to filter it. |\n| Canvas | The area where you place and connect nodes. |\n| Status bar | Shows **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** and the data traffic. |\n\n## The toolbar\n\n![The toolbar buttons](/files/Janwmw2LM60f.webp)\n\nFrom left to right:\n\n| Button | What it does |\n|---|---|\n| **APPLY** | Saves and starts your changes. See [Apply changes](../apply-changes/). |\n| **Add** (plus) | Opens the menu below. |\n| **Variables** | Edits the variables of this FlowStream. See [Variables](../variables/). |\n| **Console** | Opens a panel at the bottom with the messages of this FlowStream. |\n| **Activities** | Lists the tasks that are running at the moment. |\n| **Search in nodes** | See [Search in nodes](../search-nodes/). |\n| **Zoom** | Zooms the canvas out and back in. |\n| **Pause** | Pauses the FlowStream after you confirm. |\n\n## The Add menu\n\n![The Add menu](/files/Janwmy2MM61f.webp)\n\n| Item | What it does |\n|---|---|\n| **Download components** | [Download components](../download-components/) |\n| **Link component** | [Install a component from a URL](../link-component/) |\n| **Link endpoint** | [Call an HTTP API](../link-endpoint/) |\n| **Paste nodes** | [Copy and paste nodes](../copy-paste-nodes/) |\n| **Download design** | Saves this FlowStream as a JSON file. |\n| **Restart worker** | Restarts the process of this FlowStream. |\n| **Clear** | Empties the canvas. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn02NM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/designer-overview/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Der Designer","summary":"Finde dich auf dem Bildschirm zurecht, auf dem du einen FlowStream baust.","markdown":"---\ntitle: Der Designer\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/designer-overview/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Der Designer\n\n> Finde dich auf dem Bildschirm zurecht, auf dem du einen FlowStream baust.\n\nWähle einen FlowStream in der Liste aus, um den Designer zu öffnen.\n\n![Der Designer mit der Werkzeugleiste oben, den Komponenten links und der Arbeitsfläche in der Mitte](/files/Janwmv2KM61f.webp)\n\n## Die Bereiche des Bildschirms\n\n| Bereich | Funktion |\n|---|---|\n| Werkzeugleiste | Die Schaltflächen am oberen Rand. |\n| Komponenten | Die Liste links. Von hier ziehst du eine Komponente auf die Arbeitsfläche. Mit **Search components** kannst du sie filtern. |\n| Arbeitsfläche | Der Bereich, in dem du Nodes platzierst und verbindest. |\n| Statusleiste | Zeigt **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** und den Datenverkehr. |\n\n## Die Werkzeugleiste\n\n![Die Schaltflächen der Werkzeugleiste](/files/Janwmw2LM60f.webp)\n\nVon links nach rechts:\n\n| Schaltfläche | Funktion |\n|---|---|\n| **APPLY** | Speichert deine Änderungen und nimmt sie in Betrieb. Mehr dazu unter [Änderungen übernehmen](../apply-changes/). |\n| **Add** (Plus-Symbol) | Öffnet das unten beschriebene Menü. |\n| **Variables** | Bearbeitet die Variablen dieses FlowStreams. Mehr dazu unter [Variablen](../variables/). |\n| **Console** | Öffnet unten einen Bereich mit den Meldungen dieses FlowStreams. |\n| **Activities** | Listet die Aufgaben auf, die gerade laufen. |\n| **Search in nodes** | Mehr dazu unter [In Nodes suchen](../search-nodes/). |\n| **Zoom** | Zoomt die Arbeitsfläche heraus und wieder hinein. |\n| **Pause** | Pausiert den FlowStream, nachdem du das bestätigt hast. |\n\n## Das Menü Add\n\n![Das Menü Add](/files/Janwmy2MM61f.webp)\n\n| Eintrag | Funktion |\n|---|---|\n| **Download components** | [Komponenten herunterladen](../download-components/) |\n| **Link component** | [Eine Komponente über eine URL installieren](../link-component/) |\n| **Link endpoint** | [Eine HTTP-API aufrufen](../link-endpoint/) |\n| **Paste nodes** | [Nodes kopieren und einfügen](../copy-paste-nodes/) |\n| **Download design** | Speichert diesen FlowStream als JSON-Datei. |\n| **Restart worker** | Startet den Prozess dieses FlowStreams neu. |\n| **Clear** | Leert die Arbeitsfläche. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn02NM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/designer-overview/","project":"flow","version":"11-1","section":"guides","language":"es","title":"El diseñador","summary":"Oriéntate en la pantalla donde construyes un FlowStream.","markdown":"---\ntitle: \"El diseñador\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/designer-overview/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# El diseñador\n\n> Oriéntate en la pantalla donde construyes un FlowStream.\n\nSelecciona un FlowStream de la lista para abrir el diseñador.\n\n![El diseñador con la barra de herramientas arriba, los componentes a la izquierda y el lienzo en el centro](/files/Janwmv2KM61f.webp)\n\n## Partes de la pantalla\n\n| Parte | Qué hace |\n|---|---|\n| Barra de herramientas | Los botones de la parte superior. |\n| Componentes | La lista de la izquierda. Arrastra un componente desde aquí hasta el lienzo. Usa **Search components** para filtrarla. |\n| Lienzo | La zona donde colocas y conectas los nodos. |\n| Barra de estado | Muestra **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** y el tráfico de datos. |\n\n## La barra de herramientas\n\n![Los botones de la barra de herramientas](/files/Janwmw2LM60f.webp)\n\nDe izquierda a derecha:\n\n| Botón | Qué hace |\n|---|---|\n| **APPLY** | Guarda tus cambios y los pone en marcha. Consulta [Aplicar los cambios](../apply-changes/). |\n| **Add** (signo +) | Abre el menú que verás más abajo. |\n| **Variables** | Edita las variables de este FlowStream. Consulta [Variables](../variables/). |\n| **Console** | Abre un panel en la parte inferior con los mensajes de este FlowStream. |\n| **Activities** | Muestra las tareas que se están ejecutando en este momento. |\n| **Search in nodes** | Consulta [Buscar en los nodos](../search-nodes/). |\n| **Zoom** | Aleja y vuelve a acercar el lienzo. |\n| **Pause** | Pausa el FlowStream cuando lo confirmas. |\n\n## El menú Add\n\n![El menú Add](/files/Janwmy2MM61f.webp)\n\n| Opción | Qué hace |\n|---|---|\n| **Download components** | [Descargar componentes](../download-components/) |\n| **Link component** | [Instalar un componente desde una URL](../link-component/) |\n| **Link endpoint** | [Llamar a una API HTTP](../link-endpoint/) |\n| **Paste nodes** | [Copiar y pegar nodos](../copy-paste-nodes/) |\n| **Download design** | Guarda este FlowStream como archivo JSON. |\n| **Restart worker** | Reinicia el proceso de este FlowStream. |\n| **Clear** | Vacía el lienzo. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn02NM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/designer-overview/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Le designer","summary":"Repère-toi sur l’écran où tu construis un FlowStream.","markdown":"---\ntitle: Le designer\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/designer-overview/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Le designer\n\n> Repère-toi sur l’écran où tu construis un FlowStream.\n\nSélectionne un FlowStream dans la liste pour ouvrir le designer.\n\n![Le designer avec la barre d’outils en haut, les composants à gauche et le canevas au centre](/files/Janwmv2KM61f.webp)\n\n## Les parties de l’écran\n\n| Partie | Ce qu’elle fait |\n|---|---|\n| Barre d’outils | Les boutons situés en haut. |\n| Composants | La liste de gauche. Fais glisser un composant d’ici vers le canevas. Utilise **Search components** pour la filtrer. |\n| Canevas | La zone où tu places et connectes les nœuds. |\n| Barre d’état | Affiche **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** et le trafic de données. |\n\n## La barre d’outils\n\n![Les boutons de la barre d’outils](/files/Janwmw2LM60f.webp)\n\nDe gauche à droite :\n\n| Bouton | Ce qu’il fait |\n|---|---|\n| **APPLY** | Enregistre et lance tes modifications. Consulte [Appliquer les modifications](../apply-changes/). |\n| **Add** (plus) | Ouvre le menu ci-dessous. |\n| **Variables** | Modifie les variables de ce FlowStream. Consulte [Variables](../variables/). |\n| **Console** | Ouvre en bas un panneau avec les messages de ce FlowStream. |\n| **Activities** | Liste les tâches en cours d’exécution. |\n| **Search in nodes** | Consulte [Rechercher dans les nœuds](../search-nodes/). |\n| **Zoom** | Fait un zoom arrière puis avant sur le canevas. |\n| **Pause** | Met le FlowStream en pause après ta confirmation. |\n\n## Le menu Add\n\n![Le menu Add](/files/Janwmy2MM61f.webp)\n\n| Élément | Ce qu’il fait |\n|---|---|\n| **Download components** | [Télécharger des composants](../download-components/) |\n| **Link component** | [Installer un composant depuis une URL](../link-component/) |\n| **Link endpoint** | [Appeler une API HTTP](../link-endpoint/) |\n| **Paste nodes** | [Copier et coller des nœuds](../copy-paste-nodes/) |\n| **Download design** | Enregistre ce FlowStream dans un fichier JSON. |\n| **Restart worker** | Redémarre le processus de ce FlowStream. |\n| **Clear** | Vide le canevas. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn02NM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/designer-overview/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Il designer","summary":"Orientati nella schermata in cui costruisci un FlowStream.","markdown":"---\ntitle: Il designer\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/designer-overview/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Il designer\n\n> Orientati nella schermata in cui costruisci un FlowStream.\n\nSeleziona un FlowStream nell'elenco per aprire il designer.\n\n![Il designer con la barra degli strumenti in alto, i componenti a sinistra e il canvas al centro](/files/Janwmv2KM61f.webp)\n\n## Le parti della schermata\n\n| Parte | Cosa fa |\n|---|---|\n| Barra degli strumenti | I pulsanti lungo il bordo superiore. |\n| Componenti | L'elenco a sinistra. Da qui trascini un componente sul canvas. Usa **Search components** per filtrarlo. |\n| Canvas | L'area in cui posizioni e colleghi i nodi. |\n| Barra di stato | Mostra **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** e il traffico dati. |\n\n## La barra degli strumenti\n\n![I pulsanti della barra degli strumenti](/files/Janwmw2LM60f.webp)\n\nDa sinistra a destra:\n\n| Pulsante | Cosa fa |\n|---|---|\n| **APPLY** | Salva e avvia le tue modifiche. Leggi [Applicare le modifiche](../apply-changes/). |\n| **Add** (più) | Apre il menu descritto qui sotto. |\n| **Variables** | Modifica le variabili di questo FlowStream. Leggi [Variabili](../variables/). |\n| **Console** | Apre un pannello in basso con i messaggi di questo FlowStream. |\n| **Activities** | Elenca le attività in corso in questo momento. |\n| **Search in nodes** | Leggi [Cercare nei nodi](../search-nodes/). |\n| **Zoom** | Rimpicciolisce il canvas e lo riporta alla dimensione di prima. |\n| **Pause** | Mette in pausa il FlowStream dopo la tua conferma. |\n\n## Il menu Add\n\n![Il menu Add](/files/Janwmy2MM61f.webp)\n\n| Voce | Cosa fa |\n|---|---|\n| **Download components** | [Scaricare i componenti](../download-components/) |\n| **Link component** | [Installare un componente da un URL](../link-component/) |\n| **Link endpoint** | [Chiamare un'API HTTP](../link-endpoint/) |\n| **Paste nodes** | [Copiare e incollare i nodi](../copy-paste-nodes/) |\n| **Download design** | Salva questo FlowStream come file JSON. |\n| **Restart worker** | Riavvia il processo di questo FlowStream. |\n| **Clear** | Svuota il canvas. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn02NM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/designer-overview/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Návrhár","summary":"Zorientuj sa na obrazovke, na ktorej zostavuješ FlowStream.","markdown":"---\ntitle: \"Návrhár\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/designer-overview/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Návrhár\n\n> Zorientuj sa na obrazovke, na ktorej zostavuješ FlowStream.\n\nNávrhár otvoríš výberom FlowStreamu v zozname.\n\n![Návrhár s panelom nástrojov hore, komponentmi vľavo a plátnom v strede](/files/Janwmv2KM61f.webp)\n\n## Časti obrazovky\n\n| Časť | Čo robí |\n|---|---|\n| Panel nástrojov | Tlačidlá v hornej časti. |\n| Komponenty | Zoznam vľavo. Odtiaľto pretiahneš komponent na plátno. Na filtrovanie použi **Search components**. |\n| Plátno | Plocha, na ktorú umiestňuješ a prepájaš uzly. |\n| Stavový riadok | Zobrazuje **Messages**, **Pending**, **Per minute**, **Errors**, **Memory** a dátovú prevádzku. |\n\n## Panel nástrojov\n\n![Tlačidlá panela nástrojov](/files/Janwmw2LM60f.webp)\n\nZľava doprava:\n\n| Tlačidlo | Čo robí |\n|---|---|\n| **APPLY** | Uloží a spustí tvoje zmeny. Pozri si [Použi zmeny](../apply-changes/). |\n| **Add** (plus) | Otvorí ponuku uvedenú nižšie. |\n| **Variables** | Upraví premenné tohto FlowStreamu. Pozri si [Premenné](../variables/). |\n| **Console** | Otvorí v dolnej časti panel so správami tohto FlowStreamu. |\n| **Activities** | Vypíše úlohy, ktoré práve bežia. |\n| **Search in nodes** | Pozri si [Hľadaj v uzloch](../search-nodes/). |\n| **Zoom** | Oddiali a znova priblíži plátno. |\n| **Pause** | Po potvrdení pozastaví FlowStream. |\n\n## Ponuka Add\n\n![Ponuka Add](/files/Janwmy2MM61f.webp)\n\n| Položka | Čo robí |\n|---|---|\n| **Download components** | [Stiahni komponenty](../download-components/) |\n| **Link component** | [Nainštaluj komponent z URL adresy](../link-component/) |\n| **Link endpoint** | [Zavolaj HTTP API](../link-endpoint/) |\n| **Paste nodes** | [Kopíruj a vkladaj uzly](../copy-paste-nodes/) |\n| **Download design** | Uloží tento FlowStream ako súbor JSON. |\n| **Restart worker** | Reštartuje proces tohto FlowStreamu. |\n| **Clear** | Vyprázdni plátno. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn42QM61f","url":"https://totaljs.es/docs/flow/11-1/guides/download-components/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Download components","summary":"Add components from the official catalog to a FlowStream.","markdown":"---\ntitle: Download components\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/download-components/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Download components\n\n> Add components from the official catalog to a FlowStream.\n\nComponents belong to one FlowStream. If you need **Print** in two FlowStreams, download it in both.\n\n1. In the designer, select **Add** (plus), then **Download components**.\n2. Find a component by scrolling, or type in **Search components**.\n3. Select **Read me** on a component to see what it does.\n4. Select the component.\n5. Confirm with **IMPORT**.\n6. Select **Close** when you are done.\n\n![The Download components window, with installed components in green](/files/Janwn32PM60f.webp)\n\nComponents you already installed are green. Components with a **Community** badge come from the community.\n\nThe catalog is on the internet, so you need internet access to use it.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn42QM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/download-components/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Komponenten herunterladen","summary":"Füge einem FlowStream Komponenten aus dem offiziellen Katalog hinzu.","markdown":"---\ntitle: Komponenten herunterladen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/download-components/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Komponenten herunterladen\n\n> Füge einem FlowStream Komponenten aus dem offiziellen Katalog hinzu.\n\nKomponenten gehören zu genau einem FlowStream. Wenn du **Print** in zwei FlowStreams brauchst, lade die Komponente in beiden herunter.\n\n1. Wähle im Designer **Add** (Hinzufügen, das Plus-Symbol) und dann **Download components**.\n2. Suche eine Komponente, indem du scrollst oder etwas bei **Search components** eingibst.\n3. Wähle **Read me** bei einer Komponente, um zu sehen, was sie tut.\n4. Wähle die Komponente aus.\n5. Bestätige mit **IMPORT**.\n6. Wähle **Close**, wenn du fertig bist.\n\n![Das Fenster Download components, installierte Komponenten sind grün](/files/Janwn32PM60f.webp)\n\nKomponenten, die du bereits installiert hast, sind grün. Komponenten mit dem Abzeichen **Community** stammen aus der Community.\n\nDer Katalog liegt im Internet, du brauchst also einen Internetzugang, um ihn zu nutzen.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn42QM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/download-components/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Descargar componentes","summary":"Añade a un FlowStream componentes del catálogo oficial.","markdown":"---\ntitle: Descargar componentes\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/download-components/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Descargar componentes\n\n> Añade a un FlowStream componentes del catálogo oficial.\n\nLos componentes pertenecen a un solo FlowStream. Si necesitas **Print** en dos FlowStreams, descárgalo en los dos.\n\n1. En el diseñador, selecciona **Add** (signo +) y luego **Download components**.\n2. Busca un componente desplazándote por la lista o escribiendo en **Search components**.\n3. Selecciona **Read me** en un componente para ver qué hace.\n4. Selecciona el componente.\n5. Confirma con **IMPORT**.\n6. Selecciona **Close** cuando termines.\n\n![La ventana Download components, con los componentes instalados en verde](/files/Janwn32PM60f.webp)\n\nLos componentes que ya has instalado aparecen en verde. Los que llevan la etiqueta **Community** proceden de la comunidad.\n\nEl catálogo está en internet, así que necesitas conexión a internet para usarlo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn42QM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/download-components/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Télécharger des composants","summary":"Ajoute à un FlowStream des composants du catalogue officiel.","markdown":"---\ntitle: \"Télécharger des composants\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/download-components/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Télécharger des composants\n\n> Ajoute à un FlowStream des composants du catalogue officiel.\n\nLes composants appartiennent à un seul FlowStream. Si tu as besoin de **Print** dans deux FlowStreams, télécharge-le dans les deux.\n\n1. Dans le designer, sélectionne **Add** (plus), puis **Download components** (télécharger des composants).\n2. Trouve un composant en faisant défiler la liste, ou écris dans **Search components**.\n3. Sélectionne **Read me** sur un composant pour voir ce qu’il fait.\n4. Sélectionne le composant.\n5. Confirme avec **IMPORT**.\n6. Sélectionne **Close** quand tu as terminé.\n\n![La fenêtre Download components, avec les composants installés en vert](/files/Janwn32PM60f.webp)\n\nLes composants déjà installés sont en vert. Ceux qui portent le badge **Community** viennent de la communauté.\n\nLe catalogue se trouve sur internet : tu as donc besoin d’un accès à internet pour l’utiliser.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn42QM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/download-components/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Scaricare i componenti","summary":"Aggiungi a un FlowStream i componenti del catalogo ufficiale.","markdown":"---\ntitle: Scaricare i componenti\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/download-components/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Scaricare i componenti\n\n> Aggiungi a un FlowStream i componenti del catalogo ufficiale.\n\nI componenti appartengono a un solo FlowStream. Se ti serve **Print** in due FlowStream, scaricalo in entrambi.\n\n1. Nel designer, seleziona **Add** (più), poi **Download components**.\n2. Trova un componente scorrendo l'elenco oppure scrivendo in **Search components**.\n3. Seleziona **Read me** su un componente per vedere cosa fa.\n4. Seleziona il componente.\n5. Conferma con **IMPORT**.\n6. Seleziona **Close** quando hai finito.\n\n![La finestra Download components, con i componenti installati in verde](/files/Janwn32PM60f.webp)\n\nI componenti che hai già installato sono verdi. I componenti con il badge **Community** provengono dalla community.\n\nIl catalogo è su internet, quindi per usarlo ti serve una connessione a internet.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwn42QM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/download-components/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Stiahni komponenty","summary":"Pridaj do FlowStreamu komponenty z oficiálneho katalógu.","markdown":"---\ntitle: Stiahni komponenty\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/download-components/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Stiahni komponenty\n\n> Pridaj do FlowStreamu komponenty z oficiálneho katalógu.\n\nKomponenty patria vždy jednému FlowStreamu. Ak potrebuješ **Print** v dvoch FlowStreamoch, stiahni ho v oboch.\n\n1. V návrhárovi vyber **Add** (plus) a potom **Download components**.\n2. Nájdi komponent posúvaním alebo píš do poľa **Search components**.\n3. Ak chceš zistiť, čo komponent robí, vyber na ňom **Read me**.\n4. Vyber komponent.\n5. Potvrď tlačidlom **IMPORT**.\n6. Keď skončíš, vyber **Close**.\n\n![Okno Download components s nainštalovanými komponentmi označenými zelenou](/files/Janwn32PM60f.webp)\n\nKomponenty, ktoré už máš nainštalované, sú zelené. Komponenty so štítkom **Community** pochádzajú od komunity.\n\nKatalóg je na internete, takže na jeho používanie potrebuješ internetové pripojenie.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwnb2tM60f","url":"https://totaljs.es/docs/flow/11-1/guides/link-component/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Install a component from a URL","summary":"Add a component that is published at a web address.","markdown":"---\ntitle: Install a component from a URL\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/link-component/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Install a component from a URL\n\n> Add a component that is published at a web address.\n\nUse this when a component is not in the catalog, but you have the address of its `.html` file.\n\n**1.** In the designer, select **Add** (plus), then **Link component**.\n\n**2.** Enter the address in **URL address**, for example:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/delay.html\n```\n\n**3.** Select **SUBMIT**.\n\nThe window closes and the component appears in the list on the left.\n\nIf the window stays open, the address does not point to a valid component. Check the address, or select **Cancel**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnb2tM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/link-component/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Eine Komponente über eine URL installieren","summary":"Füge eine Komponente hinzu, die unter einer Webadresse veröffentlicht ist.","markdown":"---\ntitle: \"Eine Komponente über eine URL installieren\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/link-component/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Eine Komponente über eine URL installieren\n\n> Füge eine Komponente hinzu, die unter einer Webadresse veröffentlicht ist.\n\nNutze das, wenn eine Komponente nicht im Katalog steht, du aber die Adresse ihrer `.html`-Datei hast.\n\n**1.** Wähle im Designer **Add** (Hinzufügen, das Plus-Symbol) und dann **Link component**.\n\n**2.** Gib die Adresse bei **URL address** ein, zum Beispiel:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/delay.html\n```\n\n**3.** Wähle **SUBMIT**.\n\nDas Fenster schließt sich und die Komponente erscheint in der Liste links.\n\nWenn das Fenster offen bleibt, zeigt die Adresse nicht auf eine gültige Komponente. Prüfe die Adresse oder wähle **Cancel**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnb2tM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/link-component/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Instalar un componente desde una URL","summary":"Añade un componente publicado en una dirección web.","markdown":"---\ntitle: Instalar un componente desde una URL\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/link-component/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Instalar un componente desde una URL\n\n> Añade un componente publicado en una dirección web.\n\nUsa esta opción cuando un componente no está en el catálogo, pero tienes la dirección de su archivo `.html`.\n\n**1.** En el diseñador, selecciona **Add** (signo +) y luego **Link component**.\n\n**2.** Escribe la dirección en **URL address**, por ejemplo:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/delay.html\n```\n\n**3.** Selecciona **SUBMIT**.\n\nLa ventana se cierra y el componente aparece en la lista de la izquierda.\n\nSi la ventana sigue abierta, la dirección no apunta a un componente válido. Comprueba la dirección o selecciona **Cancel**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnb2tM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/link-component/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Installer un composant depuis une URL","summary":"Ajoute un composant publié à une adresse web.","markdown":"---\ntitle: Installer un composant depuis une URL\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/link-component/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Installer un composant depuis une URL\n\n> Ajoute un composant publié à une adresse web.\n\nUtilise cette option quand un composant n’est pas dans le catalogue, mais que tu as l’adresse de son fichier `.html`.\n\n**1.** Dans le designer, sélectionne **Add** (plus), puis **Link component**.\n\n**2.** Saisis l’adresse dans **URL address**, par exemple :\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/delay.html\n```\n\n**3.** Sélectionne **SUBMIT**.\n\nLa fenêtre se ferme et le composant apparaît dans la liste de gauche.\n\nSi la fenêtre reste ouverte, l’adresse ne pointe pas vers un composant valide. Vérifie l’adresse, ou sélectionne **Cancel**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnb2tM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/link-component/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Installare un componente da un URL","summary":"Aggiungi un componente pubblicato a un indirizzo web.","markdown":"---\ntitle: Installare un componente da un URL\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/link-component/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Installare un componente da un URL\n\n> Aggiungi un componente pubblicato a un indirizzo web.\n\nUsa questa opzione quando un componente non è nel catalogo, ma hai l'indirizzo del suo file `.html`.\n\n**1.** Nel designer, seleziona **Add** (più), poi **Link component**.\n\n**2.** Inserisci l'indirizzo in **URL address**, ad esempio:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/delay.html\n```\n\n**3.** Seleziona **SUBMIT**.\n\nLa finestra si chiude e il componente compare nell'elenco a sinistra.\n\nSe la finestra resta aperta, l'indirizzo non punta a un componente valido. Controlla l'indirizzo oppure seleziona **Cancel**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnb2tM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/link-component/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Nainštaluj komponent z URL adresy","summary":"Pridaj komponent zverejnený na webovej adrese.","markdown":"---\ntitle: \"Nainštaluj komponent z URL adresy\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/link-component/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Nainštaluj komponent z URL adresy\n\n> Pridaj komponent zverejnený na webovej adrese.\n\nTento postup použi, keď komponent nie je v katalógu, ale máš adresu jeho súboru `.html`.\n\n**1.** V návrhárovi vyber **Add** (plus) a potom **Link component**.\n\n**2.** Zadaj adresu do poľa **URL address**, napríklad:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/delay.html\n```\n\n**3.** Vyber **SUBMIT**.\n\nOkno sa zatvorí a komponent sa objaví v zozname vľavo.\n\nAk okno zostane otvorené, adresa neukazuje na platný komponent. Skontroluj adresu alebo vyber **Cancel**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnf2wM61f","url":"https://totaljs.es/docs/flow/11-1/guides/link-endpoint/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Call an HTTP API","summary":"Create a component that sends requests to an HTTP address.","markdown":"---\ntitle: Call an HTTP API\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/link-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Call an HTTP API\n\n> Create a component that sends requests to an HTTP address.\n\n**Link endpoint** creates a component for one HTTP address. You can use it many times in the same FlowStream.\n\n1. In the designer, select **Add** (plus), then **Link endpoint**.\n2. Fill in the form.\n3. Select **CREATE**.\n\nThe new component appears in the list on the left, ready to drag onto the canvas.\n\n![The Link endpoint form](/files/Janwnd2vM60f.webp)\n\n| Field | What to enter |\n|---|---|\n| **Name** | The name of the component. Required. |\n| **Group name** | The heading it appears under in the component list. |\n| **Icon** | The icon of the component. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` or `DELETE`. |\n| **Data serialization** | **JSON** or **URL encode**. |\n| **URL address** | The address to call. Required. |\n| **Custom headers** | Header name and value. Press Enter to confirm each one. |\n| **Compress data via GZIP** | Compresses the data you send. |\n| **Read me** | A description in Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnf2wM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/link-endpoint/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Eine HTTP-API aufrufen","summary":"Erstelle eine Komponente, die Anfragen an eine HTTP-Adresse sendet.","markdown":"---\ntitle: Eine HTTP-API aufrufen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/link-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Eine HTTP-API aufrufen\n\n> Erstelle eine Komponente, die Anfragen an eine HTTP-Adresse sendet.\n\n**Link endpoint** erstellt eine Komponente für eine HTTP-Adresse. Du kannst sie im selben FlowStream beliebig oft verwenden.\n\n1. Wähle im Designer **Add** (Hinzufügen, das Plus-Symbol) und dann **Link endpoint**.\n2. Fülle das Formular aus.\n3. Wähle **CREATE**.\n\nDie neue Komponente erscheint in der Liste links und kann auf die Arbeitsfläche gezogen werden.\n\n![Das Formular Link endpoint](/files/Janwnd2vM60f.webp)\n\n| Feld | Was du eingibst |\n|---|---|\n| **Name** | Der Name der Komponente. Pflichtfeld. |\n| **Group name** | Die Überschrift, unter der sie in der Komponentenliste erscheint. |\n| **Icon** | Das Symbol der Komponente. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` oder `DELETE`. |\n| **Data serialization** | **JSON** oder **URL encode**. |\n| **URL address** | Die Adresse, die aufgerufen werden soll. Pflichtfeld. |\n| **Custom headers** | Name und Wert des Headers. Drücke die Eingabetaste, um jeden zu bestätigen. |\n| **Compress data via GZIP** | Komprimiert die Daten, die du sendest. |\n| **Read me** | Eine Beschreibung in Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnf2wM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/link-endpoint/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Llamar a una API HTTP","summary":"Crea un componente que envía peticiones a una dirección HTTP.","markdown":"---\ntitle: Llamar a una API HTTP\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/link-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Llamar a una API HTTP\n\n> Crea un componente que envía peticiones a una dirección HTTP.\n\n**Link endpoint** crea un componente para una dirección HTTP. Puedes usarlo muchas veces en el mismo FlowStream.\n\n1. En el diseñador, selecciona **Add** (signo +) y luego **Link endpoint**.\n2. Rellena el formulario.\n3. Selecciona **CREATE**.\n\nEl componente nuevo aparece en la lista de la izquierda, listo para arrastrarlo al lienzo.\n\n![El formulario Link endpoint](/files/Janwnd2vM60f.webp)\n\n| Campo | Qué escribir |\n|---|---|\n| **Name** | El nombre del componente. Obligatorio. |\n| **Group name** | El título bajo el que aparece en la lista de componentes. |\n| **Icon** | El icono del componente. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` o `DELETE`. |\n| **Data serialization** | **JSON** o **URL encode**. |\n| **URL address** | La dirección a la que llamar. Obligatorio. |\n| **Custom headers** | Nombre y valor de la cabecera. Pulsa Intro para confirmar cada una. |\n| **Compress data via GZIP** | Comprime los datos que envías. |\n| **Read me** | Una descripción en Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnf2wM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/link-endpoint/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Appeler une API HTTP","summary":"Crée un composant qui envoie des requêtes à une adresse HTTP.","markdown":"---\ntitle: Appeler une API HTTP\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/link-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Appeler une API HTTP\n\n> Crée un composant qui envoie des requêtes à une adresse HTTP.\n\n**Link endpoint** crée un composant pour une adresse HTTP. Tu peux l’utiliser plusieurs fois dans le même FlowStream.\n\n1. Dans le designer, sélectionne **Add** (plus), puis **Link endpoint**.\n2. Remplis le formulaire.\n3. Sélectionne **CREATE**.\n\nLe nouveau composant apparaît dans la liste de gauche, prêt à être glissé sur le canevas.\n\n![Le formulaire Link endpoint](/files/Janwnd2vM60f.webp)\n\n| Champ | Ce qu’il faut saisir |\n|---|---|\n| **Name** | Le nom du composant. Obligatoire. |\n| **Group name** | Le titre sous lequel il apparaît dans la liste des composants. |\n| **Icon** | L’icône du composant. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` ou `DELETE`. |\n| **Data serialization** | **JSON** ou **URL encode**. |\n| **URL address** | L’adresse à appeler. Obligatoire. |\n| **Custom headers** | Le nom et la valeur de l’en-tête. Appuie sur Entrée pour confirmer chacun d’eux. |\n| **Compress data via GZIP** | Compresse les données que tu envoies. |\n| **Read me** | Une description en Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnf2wM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/link-endpoint/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Chiamare un'API HTTP","summary":"Crea un componente che invia richieste a un indirizzo HTTP.","markdown":"---\ntitle: \"Chiamare un'API HTTP\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/link-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Chiamare un'API HTTP\n\n> Crea un componente che invia richieste a un indirizzo HTTP.\n\n**Link endpoint** crea un componente per un indirizzo HTTP. Puoi usarlo tutte le volte che vuoi nello stesso FlowStream.\n\n1. Nel designer, seleziona **Add** (più), poi **Link endpoint**.\n2. Compila il modulo.\n3. Seleziona **CREATE**.\n\nIl nuovo componente compare nell'elenco a sinistra, pronto per essere trascinato sul canvas.\n\n![Il modulo Link endpoint](/files/Janwnd2vM60f.webp)\n\n| Campo | Cosa inserire |\n|---|---|\n| **Name** | Il nome del componente. Obbligatorio. |\n| **Group name** | L'intestazione sotto cui compare nell'elenco dei componenti. |\n| **Icon** | L'icona del componente. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` o `DELETE`. |\n| **Data serialization** | **JSON** o **URL encode**. |\n| **URL address** | L'indirizzo da chiamare. Obbligatorio. |\n| **Custom headers** | Nome e valore dell'intestazione. Premi Invio per confermare ciascuna. |\n| **Compress data via GZIP** | Comprime i dati che invii. |\n| **Read me** | Una descrizione in Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnf2wM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/link-endpoint/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Zavolaj HTTP API","summary":"Vytvor komponent, ktorý odosiela požiadavky na HTTP adresu.","markdown":"---\ntitle: Zavolaj HTTP API\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/link-endpoint/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Zavolaj HTTP API\n\n> Vytvor komponent, ktorý odosiela požiadavky na HTTP adresu.\n\n**Link endpoint** vytvorí komponent pre jednu HTTP adresu. V tom istom FlowStreame ho môžeš použiť viackrát.\n\n1. V návrhárovi vyber **Add** (plus) a potom **Link endpoint**.\n2. Vyplň formulár.\n3. Vyber **CREATE**.\n\nNový komponent sa objaví v zozname vľavo, pripravený na pretiahnutie na plátno.\n\n![Formulár Link endpoint](/files/Janwnd2vM60f.webp)\n\n| Pole | Čo zadať |\n|---|---|\n| **Name** | Názov komponentu. Povinné. |\n| **Group name** | Nadpis, pod ktorým sa zobrazí v zozname komponentov. |\n| **Icon** | Ikona komponentu. |\n| **HTTP method** | `POST`, `GET`, `PUT`, `PATCH` alebo `DELETE`. |\n| **Data serialization** | **JSON** alebo **URL encode**. |\n| **URL address** | Adresa, ktorá sa má zavolať. Povinné. |\n| **Custom headers** | Názov a hodnota hlavičky. Každú potvrď klávesom Enter. |\n| **Compress data via GZIP** | Skomprimuje dáta, ktoré odosielaš. |\n| **Read me** | Popis vo formáte Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwmn2DM60f","url":"https://totaljs.es/docs/flow/11-1/guides/connect-nodes/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Add and connect nodes","summary":"Place nodes on the canvas, connect them and remove them.","markdown":"---\ntitle: Add and connect nodes\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/connect-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Add and connect nodes\n\n> Place nodes on the canvas, connect them and remove them.\n\n## Add a node\n\nDrag a component from the list on the left onto the canvas. Drag the node by its title to move it.\n\n## Connect two nodes\n\nDrag from the dot of an output to the dot of an input. A line appears between them.\n\nSelect **APPLY** to start using the new connection. See [Apply changes](../apply-changes/).\n\n## Change a connection\n\nRight-click the line:\n\n- **Color** gives the line a color.\n- **Remove** deletes the connection.\n\n## Remove a node\n\n1. Right-click the node.\n2. Select **Remove**.\n\n## The node menu\n\nRight-click a node to see everything you can do with it.\n\n![The menu of a node](/files/Janwml2CM61f.webp)\n\n| Item | What it does |\n|---|---|\n| **Read information** | Shows the description of the component. |\n| **Set a note** | [Add notes to nodes](../notes/) |\n| **Configure** | [Configure a node](../configure-nodes/) |\n| **Copy node**, **Clone** | [Copy and paste nodes](../copy-paste-nodes/) |\n| **Remove** | Deletes the node. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmn2DM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/connect-nodes/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Nodes hinzufügen und verbinden","summary":"Platziere Nodes auf der Arbeitsfläche, verbinde sie und entferne sie wieder.","markdown":"---\ntitle: \"Nodes hinzufügen und verbinden\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/connect-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Nodes hinzufügen und verbinden\n\n> Platziere Nodes auf der Arbeitsfläche, verbinde sie und entferne sie wieder.\n\n## Einen Node hinzufügen\n\nZiehe eine Komponente aus der Liste links auf die Arbeitsfläche. Um den Node zu verschieben, ziehst du ihn an seinem Titel.\n\n## Zwei Nodes verbinden\n\nZiehe vom Punkt eines Ausgangs zum Punkt eines Eingangs. Zwischen beiden erscheint eine Linie.\n\nWähle **APPLY**, um die neue Verbindung in Betrieb zu nehmen. Mehr dazu unter [Änderungen übernehmen](../apply-changes/).\n\n## Eine Verbindung ändern\n\nKlicke mit der rechten Maustaste auf die Linie:\n\n- **Color** gibt der Linie eine Farbe.\n- **Remove** löscht die Verbindung.\n\n## Einen Node entfernen\n\n1. Klicke mit der rechten Maustaste auf den Node.\n2. Wähle **Remove**.\n\n## Das Node-Menü\n\nKlicke mit der rechten Maustaste auf einen Node, um alles zu sehen, was du damit tun kannst.\n\n![Das Menü eines Nodes](/files/Janwml2CM61f.webp)\n\n| Eintrag | Funktion |\n|---|---|\n| **Read information** | Zeigt die Beschreibung der Komponente. |\n| **Set a note** | [Notizen zu Nodes hinzufügen](../notes/) |\n| **Configure** | [Einen Node konfigurieren](../configure-nodes/) |\n| **Copy node**, **Clone** | [Nodes kopieren und einfügen](../copy-paste-nodes/) |\n| **Remove** | Löscht den Node. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmn2DM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/connect-nodes/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Añadir y conectar nodos","summary":"Coloca nodos en el lienzo, conéctalos y elimínalos.","markdown":"---\ntitle: \"Añadir y conectar nodos\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/connect-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Añadir y conectar nodos\n\n> Coloca nodos en el lienzo, conéctalos y elimínalos.\n\n## Añadir un nodo\n\nArrastra un componente desde la lista de la izquierda hasta el lienzo. Para mover el nodo, arrástralo por su título.\n\n## Conectar dos nodos\n\nArrastra desde el punto de una salida hasta el punto de una entrada. Aparece una línea entre los dos.\n\nSelecciona **APPLY** para empezar a usar la conexión nueva. Consulta [Aplicar los cambios](../apply-changes/).\n\n## Cambiar una conexión\n\nHaz clic derecho en la línea:\n\n- **Color** le da un color a la línea.\n- **Remove** borra la conexión.\n\n## Eliminar un nodo\n\n1. Haz clic derecho en el nodo.\n2. Selecciona **Remove**.\n\n## El menú del nodo\n\nHaz clic derecho en un nodo para ver todo lo que puedes hacer con él.\n\n![El menú de un nodo](/files/Janwml2CM61f.webp)\n\n| Opción | Qué hace |\n|---|---|\n| **Read information** | Muestra la descripción del componente. |\n| **Set a note** | [Añadir notas a los nodos](../notes/) |\n| **Configure** | [Configurar un nodo](../configure-nodes/) |\n| **Copy node**, **Clone** | [Copiar y pegar nodos](../copy-paste-nodes/) |\n| **Remove** | Borra el nodo. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmn2DM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/connect-nodes/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Ajouter et connecter des nœuds","summary":"Place des nœuds sur le canevas, connecte-les et supprime-les.","markdown":"---\ntitle: \"Ajouter et connecter des nœuds\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/connect-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Ajouter et connecter des nœuds\n\n> Place des nœuds sur le canevas, connecte-les et supprime-les.\n\n## Ajouter un nœud\n\nFais glisser un composant de la liste de gauche vers le canevas. Pour déplacer le nœud, fais-le glisser par son titre.\n\n## Connecter deux nœuds\n\nFais glisser le point d’une sortie jusqu’au point d’une entrée. Une ligne apparaît entre les deux.\n\nSélectionne **APPLY** pour commencer à utiliser la nouvelle connexion. Consulte [Appliquer les modifications](../apply-changes/).\n\n## Modifier une connexion\n\nFais un clic droit sur la ligne :\n\n- **Color** donne une couleur à la ligne.\n- **Remove** supprime la connexion.\n\n## Supprimer un nœud\n\n1. Fais un clic droit sur le nœud.\n2. Sélectionne **Remove** (supprimer).\n\n## Le menu du nœud\n\nFais un clic droit sur un nœud pour voir tout ce que tu peux en faire.\n\n![Le menu d’un nœud](/files/Janwml2CM61f.webp)\n\n| Élément | Ce qu’il fait |\n|---|---|\n| **Read information** | Affiche la description du composant. |\n| **Set a note** | [Ajouter des notes aux nœuds](../notes/) |\n| **Configure** | [Configurer un nœud](../configure-nodes/) |\n| **Copy node**, **Clone** | [Copier et coller des nœuds](../copy-paste-nodes/) |\n| **Remove** | Supprime le nœud. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmn2DM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/connect-nodes/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Aggiungere e collegare i nodi","summary":"Posiziona i nodi sul canvas, collegali e rimuovili.","markdown":"---\ntitle: Aggiungere e collegare i nodi\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/connect-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Aggiungere e collegare i nodi\n\n> Posiziona i nodi sul canvas, collegali e rimuovili.\n\n## Aggiungere un nodo\n\nTrascina un componente dall'elenco a sinistra sul canvas. Per spostare il nodo, trascinalo dal titolo.\n\n## Collegare due nodi\n\nTrascina dal punto di un'uscita al punto di un ingresso. Tra i due compare una linea.\n\nSeleziona **APPLY** per iniziare a usare la nuova connessione. Leggi [Applicare le modifiche](../apply-changes/).\n\n## Modificare una connessione\n\nFai clic con il tasto destro sulla linea:\n\n- **Color** assegna un colore alla linea.\n- **Remove** elimina la connessione.\n\n## Rimuovere un nodo\n\n1. Fai clic con il tasto destro sul nodo.\n2. Seleziona **Remove**.\n\n## Il menu del nodo\n\nFai clic con il tasto destro su un nodo per vedere tutto quello che puoi farci.\n\n![Il menu di un nodo](/files/Janwml2CM61f.webp)\n\n| Voce | Cosa fa |\n|---|---|\n| **Read information** | Mostra la descrizione del componente. |\n| **Set a note** | [Aggiungere note ai nodi](../notes/) |\n| **Configure** | [Configurare un nodo](../configure-nodes/) |\n| **Copy node**, **Clone** | [Copiare e incollare i nodi](../copy-paste-nodes/) |\n| **Remove** | Elimina il nodo. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmn2DM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/connect-nodes/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Pridaj a prepoj uzly","summary":"Umiestni uzly na plátno, prepoj ich a odstráň.","markdown":"---\ntitle: Pridaj a prepoj uzly\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/connect-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Pridaj a prepoj uzly\n\n> Umiestni uzly na plátno, prepoj ich a odstráň.\n\n## Pridanie uzla\n\nPretiahni komponent zo zoznamu vľavo na plátno. Uzol presunieš potiahnutím za jeho nadpis.\n\n## Prepojenie dvoch uzlov\n\nPotiahni od bodky výstupu k bodke vstupu. Medzi nimi sa objaví čiara.\n\nAk chceš nové prepojenie začať používať, vyber **APPLY**. Pozri si [Použi zmeny](../apply-changes/).\n\n## Zmena prepojenia\n\nKlikni na čiaru pravým tlačidlom:\n\n- **Color** nastaví farbu čiary.\n- **Remove** prepojenie odstráni.\n\n## Odstránenie uzla\n\n1. Klikni na uzol pravým tlačidlom.\n2. Vyber **Remove** (odstrániť).\n\n## Ponuka uzla\n\nKlikni na uzol pravým tlačidlom a uvidíš všetko, čo s ním môžeš urobiť.\n\n![Ponuka uzla](/files/Janwml2CM61f.webp)\n\n| Položka | Čo robí |\n|---|---|\n| **Read information** | Zobrazí popis komponentu. |\n| **Set a note** | [Pridaj k uzlom poznámky](../notes/) |\n| **Configure** | [Nastav uzol](../configure-nodes/) |\n| **Copy node**, **Clone** | [Kopíruj a vkladaj uzly](../copy-paste-nodes/) |\n| **Remove** | Odstráni uzol. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmj2AM61f","url":"https://totaljs.es/docs/flow/11-1/guides/configure-nodes/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Configure a node","summary":"Open the settings of a node and change them.","markdown":"---\ntitle: Configure a node\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/configure-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Configure a node\n\n> Open the settings of a node and change them.\n\n1. Double-click the node, or right-click it and select **Configure**.\n2. Change the settings. They depend on the component.\n3. Select **APPLY**.\n\n![The settings window of a Code node](/files/Janwmi29M60f.webp)\n\n## Buttons in the window\n\n| Button | What it does |\n|---|---|\n| **Read me** | Shows the description of the component. |\n| **Copy** | Copies these settings. |\n| **Paste** | Pastes settings you copied. |\n| **Close after applying** | Closes the window when you select **APPLY**. |\n| **Cancel** | Closes the window without saving. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmj2AM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/configure-nodes/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Einen Node konfigurieren","summary":"Öffne die Einstellungen eines Nodes und ändere sie.","markdown":"---\ntitle: Einen Node konfigurieren\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/configure-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Einen Node konfigurieren\n\n> Öffne die Einstellungen eines Nodes und ändere sie.\n\n1. Doppelklicke auf den Node oder klicke mit der rechten Maustaste darauf und wähle **Configure** (Konfigurieren).\n2. Ändere die Einstellungen. Sie hängen von der Komponente ab.\n3. Wähle **APPLY**.\n\n![Das Einstellungsfenster eines Code-Nodes](/files/Janwmi29M60f.webp)\n\n## Schaltflächen im Fenster\n\n| Schaltfläche | Funktion |\n|---|---|\n| **Read me** | Zeigt die Beschreibung der Komponente. |\n| **Copy** | Kopiert diese Einstellungen. |\n| **Paste** | Fügt kopierte Einstellungen ein. |\n| **Close after applying** | Schließt das Fenster, wenn du **APPLY** wählst. |\n| **Cancel** | Schließt das Fenster, ohne zu speichern. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmj2AM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/configure-nodes/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Configurar un nodo","summary":"Abre los ajustes de un nodo y cámbialos.","markdown":"---\ntitle: Configurar un nodo\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/configure-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Configurar un nodo\n\n> Abre los ajustes de un nodo y cámbialos.\n\n1. Haz doble clic en el nodo, o haz clic derecho en él y selecciona **Configure**.\n2. Cambia los ajustes. Dependen del componente.\n3. Selecciona **APPLY**.\n\n![La ventana de ajustes de un nodo Code](/files/Janwmi29M60f.webp)\n\n## Botones de la ventana\n\n| Botón | Qué hace |\n|---|---|\n| **Read me** | Muestra la descripción del componente. |\n| **Copy** | Copia estos ajustes. |\n| **Paste** | Pega los ajustes que has copiado. |\n| **Close after applying** | Cierra la ventana cuando seleccionas **APPLY**. |\n| **Cancel** | Cierra la ventana sin guardar. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmj2AM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/configure-nodes/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Configurer un nœud","summary":"Ouvre les réglages d’un nœud et modifie-les.","markdown":"---\ntitle: \"Configurer un nœud\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/configure-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Configurer un nœud\n\n> Ouvre les réglages d’un nœud et modifie-les.\n\n1. Double-clique sur le nœud, ou fais un clic droit dessus et sélectionne **Configure** (configurer).\n2. Modifie les réglages. Ils dépendent du composant.\n3. Sélectionne **APPLY**.\n\n![La fenêtre de réglages d’un nœud Code](/files/Janwmi29M60f.webp)\n\n## Les boutons de la fenêtre\n\n| Bouton | Ce qu’il fait |\n|---|---|\n| **Read me** | Affiche la description du composant. |\n| **Copy** | Copie ces réglages. |\n| **Paste** | Colle les réglages que tu as copiés. |\n| **Close after applying** | Ferme la fenêtre quand tu sélectionnes **APPLY**. |\n| **Cancel** | Ferme la fenêtre sans enregistrer. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmj2AM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/configure-nodes/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Configurare un nodo","summary":"Apri le impostazioni di un nodo e modificale.","markdown":"---\ntitle: Configurare un nodo\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/configure-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Configurare un nodo\n\n> Apri le impostazioni di un nodo e modificale.\n\n1. Fai doppio clic sul nodo, oppure fai clic con il tasto destro e seleziona **Configure**.\n2. Modifica le impostazioni. Dipendono dal componente.\n3. Seleziona **APPLY**.\n\n![La finestra delle impostazioni di un nodo Code](/files/Janwmi29M60f.webp)\n\n## I pulsanti della finestra\n\n| Pulsante | Cosa fa |\n|---|---|\n| **Read me** | Mostra la descrizione del componente. |\n| **Copy** | Copia queste impostazioni. |\n| **Paste** | Incolla le impostazioni che hai copiato. |\n| **Close after applying** | Chiude la finestra quando selezioni **APPLY**. |\n| **Cancel** | Chiude la finestra senza salvare. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmj2AM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/configure-nodes/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Nastav uzol","summary":"Otvor nastavenia uzla a zmeň ich.","markdown":"---\ntitle: Nastav uzol\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/configure-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Nastav uzol\n\n> Otvor nastavenia uzla a zmeň ich.\n\n1. Dvakrát klikni na uzol, alebo naň klikni pravým tlačidlom a vyber **Configure** (nastaviť).\n2. Zmeň nastavenia. Závisia od komponentu.\n3. Vyber **APPLY**.\n\n![Okno s nastaveniami uzla Code](/files/Janwmi29M60f.webp)\n\n## Tlačidlá v okne\n\n| Tlačidlo | Čo robí |\n|---|---|\n| **Read me** | Zobrazí popis komponentu. |\n| **Copy** | Skopíruje tieto nastavenia. |\n| **Paste** | Vloží skopírované nastavenia. |\n| **Close after applying** | Zatvorí okno, keď vyberieš **APPLY**. |\n| **Cancel** | Zatvorí okno bez uloženia. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmX20M61f","url":"https://totaljs.es/docs/flow/11-1/guides/apply-changes/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Apply changes","summary":"Save your design and start using it.","markdown":"---\ntitle: Apply changes\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/apply-changes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Apply changes\n\n> Save your design and start using it.\n\nNodes and connections you add stay in the designer until you apply them.\n\n## Apply\n\n1. Select **APPLY** in the toolbar, or press `Cmd+S` on a Mac or `Ctrl+S` on Windows and Linux.\n2. Confirm with **Continue**.\n\n## What needs APPLY\n\n| Change | Needs APPLY |\n|---|---|\n| Adding a node | Yes |\n| Adding a connection | Yes |\n| Adding or changing a [note](../notes/) | No |\n| Adding or changing a [group](../groups/) | No |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmX20M61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/apply-changes/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Änderungen übernehmen","summary":"Speichere dein Design und nimm es in Betrieb.","markdown":"---\ntitle: \"Änderungen übernehmen\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/apply-changes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Änderungen übernehmen\n\n> Speichere dein Design und nimm es in Betrieb.\n\nNodes und Verbindungen, die du hinzufügst, bleiben im Designer, bis du sie übernimmst.\n\n## Übernehmen\n\n1. Wähle **APPLY** (Übernehmen) in der Werkzeugleiste oder drücke `Cmd+S` auf dem Mac bzw. `Ctrl+S` unter Windows und Linux.\n2. Bestätige mit **Continue**.\n\n## Wofür du APPLY brauchst\n\n| Änderung | Braucht APPLY |\n|---|---|\n| Einen Node hinzufügen | Ja |\n| Eine Verbindung hinzufügen | Ja |\n| Eine [Notiz](../notes/) hinzufügen oder ändern | Nein |\n| Eine [Gruppe](../groups/) hinzufügen oder ändern | Nein |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmX20M61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/apply-changes/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Aplicar los cambios","summary":"Guarda tu diseño y empieza a usarlo.","markdown":"---\ntitle: Aplicar los cambios\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/apply-changes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Aplicar los cambios\n\n> Guarda tu diseño y empieza a usarlo.\n\nLos nodos y las conexiones que añades se quedan en el diseñador hasta que los aplicas.\n\n## Aplicar\n\n1. Selecciona **APPLY** (aplicar) en la barra de herramientas, o pulsa `Cmd+S` en Mac o `Ctrl+S` en Windows y Linux.\n2. Confirma con **Continue**.\n\n## Qué necesita APPLY\n\n| Cambio | Necesita APPLY |\n|---|---|\n| Añadir un nodo | Sí |\n| Añadir una conexión | Sí |\n| Añadir o cambiar una [nota](../notes/) | No |\n| Añadir o cambiar un [grupo](../groups/) | No |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmX20M61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/apply-changes/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Appliquer les modifications","summary":"Enregistre ton design et commence à l’utiliser.","markdown":"---\ntitle: Appliquer les modifications\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/apply-changes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Appliquer les modifications\n\n> Enregistre ton design et commence à l’utiliser.\n\nLes nœuds et les connexions que tu ajoutes restent dans le designer tant que tu ne les as pas appliqués.\n\n## Appliquer\n\n1. Sélectionne **APPLY** (appliquer) dans la barre d’outils, ou appuie sur `Cmd+S` sur Mac ou sur `Ctrl+S` sur Windows et Linux.\n2. Confirme avec **Continue**.\n\n## Ce qui nécessite APPLY\n\n| Modification | Nécessite APPLY |\n|---|---|\n| Ajouter un nœud | Oui |\n| Ajouter une connexion | Oui |\n| Ajouter ou modifier une [note](../notes/) | Non |\n| Ajouter ou modifier un [groupe](../groups/) | Non |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmX20M61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/apply-changes/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Applicare le modifiche","summary":"Salva il tuo progetto e inizia a usarlo.","markdown":"---\ntitle: Applicare le modifiche\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/apply-changes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Applicare le modifiche\n\n> Salva il tuo progetto e inizia a usarlo.\n\nI nodi e le connessioni che aggiungi restano nel designer finché non li applichi.\n\n## Applicare\n\n1. Seleziona **APPLY** nella barra degli strumenti, oppure premi `Cmd+S` su Mac o `Ctrl+S` su Windows e Linux.\n2. Conferma con **Continue**.\n\n## Cosa richiede APPLY\n\n| Modifica | Richiede APPLY |\n|---|---|\n| Aggiungere un nodo | Sì |\n| Aggiungere una connessione | Sì |\n| Aggiungere o modificare una [nota](../notes/) | No |\n| Aggiungere o modificare un [gruppo](../groups/) | No |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmX20M61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/apply-changes/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Použi zmeny","summary":"Ulož svoj návrh a začni ho používať.","markdown":"---\ntitle: \"Použi zmeny\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/apply-changes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Použi zmeny\n\n> Ulož svoj návrh a začni ho používať.\n\nUzly a prepojenia, ktoré pridáš, zostanú len v návrhárovi, kým ich nepoužiješ.\n\n## Použitie zmien\n\n1. Na paneli nástrojov vyber **APPLY** (použiť) alebo stlač `Cmd+S` na Macu či `Ctrl+S` vo Windows a Linuxe.\n2. Potvrď tlačidlom **Continue**.\n\n## Čo vyžaduje APPLY\n\n| Zmena | Vyžaduje APPLY |\n|---|---|\n| Pridanie uzla | Áno |\n| Pridanie prepojenia | Áno |\n| Pridanie alebo zmena [poznámky](../notes/) | Nie |\n| Pridanie alebo zmena [skupiny](../groups/) | Nie |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwnT2kM61f","url":"https://totaljs.es/docs/flow/11-1/guides/groups/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Organize with groups","summary":"Mark an area of the canvas with a name and colors.","markdown":"---\ntitle: Organize with groups\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/groups/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Organize with groups\n\n> Mark an area of the canvas with a name and colors.\n\nA group is a named area on the canvas. It helps you see which nodes belong together.\n\n## Add a group\n\nDrag **Group** from the top of the component list onto the canvas.\n\n## Change a group\n\n1. Right-click an empty part of the group.\n2. Select **Configure**.\n3. Enter the **Group name**, and choose a **Background** and **Font color** if you like.\n4. Select **SUBMIT**.\n\n![The Edit group form](/files/JanwnR2jM60f.webp)\n\n## Remove a group\n\n1. Right-click an empty part of the group.\n2. Select **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnT2kM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/groups/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Mit Gruppen ordnen","summary":"Markiere einen Bereich der Arbeitsfläche mit einem Namen und Farben.","markdown":"---\ntitle: Mit Gruppen ordnen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/groups/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Mit Gruppen ordnen\n\n> Markiere einen Bereich der Arbeitsfläche mit einem Namen und Farben.\n\nEine Gruppe ist ein benannter Bereich auf der Arbeitsfläche. So siehst du, welche Nodes zusammengehören.\n\n## Eine Gruppe hinzufügen\n\nZiehe **Group** (Gruppe) vom oberen Ende der Komponentenliste auf die Arbeitsfläche.\n\n## Eine Gruppe ändern\n\n1. Klicke mit der rechten Maustaste auf eine leere Stelle der Gruppe.\n2. Wähle **Configure**.\n3. Gib den **Group name** ein und wähle nach Belieben **Background** und **Font color**.\n4. Wähle **SUBMIT**.\n\n![Das Formular Edit group](/files/JanwnR2jM60f.webp)\n\n## Eine Gruppe entfernen\n\n1. Klicke mit der rechten Maustaste auf eine leere Stelle der Gruppe.\n2. Wähle **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnT2kM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/groups/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Organizar con grupos","summary":"Marca una zona del lienzo con un nombre y colores.","markdown":"---\ntitle: Organizar con grupos\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/groups/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Organizar con grupos\n\n> Marca una zona del lienzo con un nombre y colores.\n\nUn grupo es una zona del lienzo con nombre. Te ayuda a ver qué nodos van juntos.\n\n## Añadir un grupo\n\nArrastra **Group** desde la parte superior de la lista de componentes hasta el lienzo.\n\n## Cambiar un grupo\n\n1. Haz clic derecho en una parte vacía del grupo.\n2. Selecciona **Configure**.\n3. Escribe el **Group name** (nombre del grupo) y, si quieres, elige un **Background** (fondo) y un **Font color** (color de letra).\n4. Selecciona **SUBMIT**.\n\n![El formulario Edit group](/files/JanwnR2jM60f.webp)\n\n## Eliminar un grupo\n\n1. Haz clic derecho en una parte vacía del grupo.\n2. Selecciona **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnT2kM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/groups/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Organiser avec des groupes","summary":"Délimite une zone du canevas avec un nom et des couleurs.","markdown":"---\ntitle: Organiser avec des groupes\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/groups/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Organiser avec des groupes\n\n> Délimite une zone du canevas avec un nom et des couleurs.\n\nUn groupe est une zone nommée sur le canevas. Il t’aide à voir quels nœuds vont ensemble.\n\n## Ajouter un groupe\n\nFais glisser **Group** (groupe) depuis le haut de la liste des composants vers le canevas.\n\n## Modifier un groupe\n\n1. Fais un clic droit sur une partie vide du groupe.\n2. Sélectionne **Configure** (configurer).\n3. Saisis le **Group name** (nom du groupe) et, si tu veux, choisis un **Background** (arrière-plan) et une **Font color** (couleur du texte).\n4. Sélectionne **SUBMIT**.\n\n![Le formulaire Edit group](/files/JanwnR2jM60f.webp)\n\n## Supprimer un groupe\n\n1. Fais un clic droit sur une partie vide du groupe.\n2. Sélectionne **Remove** (supprimer).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnT2kM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/groups/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Organizzare con i gruppi","summary":"Delimita una zona del canvas con un nome e dei colori.","markdown":"---\ntitle: Organizzare con i gruppi\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/groups/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Organizzare con i gruppi\n\n> Delimita una zona del canvas con un nome e dei colori.\n\nUn gruppo è una zona del canvas con un nome. Ti aiuta a vedere quali nodi vanno insieme.\n\n## Aggiungere un gruppo\n\nTrascina **Group** dalla parte superiore dell'elenco dei componenti sul canvas.\n\n## Modificare un gruppo\n\n1. Fai clic con il tasto destro su una parte vuota del gruppo.\n2. Seleziona **Configure**.\n3. Inserisci il **Group name** e, se vuoi, scegli un **Background** e un **Font color**.\n4. Seleziona **SUBMIT**.\n\n![Il modulo Edit group](/files/JanwnR2jM60f.webp)\n\n## Rimuovere un gruppo\n\n1. Fai clic con il tasto destro su una parte vuota del gruppo.\n2. Seleziona **Remove**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwnT2kM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/groups/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Usporiadaj pomocou skupín","summary":"Označ časť plátna názvom a farbami.","markdown":"---\ntitle: \"Usporiadaj pomocou skupín\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/groups/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Usporiadaj pomocou skupín\n\n> Označ časť plátna názvom a farbami.\n\nSkupina je pomenovaná oblasť na plátne. Pomáha ti vidieť, ktoré uzly patria k sebe.\n\n## Pridanie skupiny\n\nPretiahni **Group** z hornej časti zoznamu komponentov na plátno.\n\n## Zmena skupiny\n\n1. Klikni pravým tlačidlom na prázdnu časť skupiny.\n2. Vyber **Configure** (nastaviť).\n3. Zadaj **Group name** (názov skupiny) a ak chceš, zvoľ **Background** (pozadie) a **Font color** (farbu písma).\n4. Vyber **SUBMIT**.\n\n![Formulár Edit group](/files/JanwnR2jM60f.webp)\n\n## Odstránenie skupiny\n\n1. Klikni pravým tlačidlom na prázdnu časť skupiny.\n2. Vyber **Remove** (odstrániť).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwng2yM61f","url":"https://totaljs.es/docs/flow/11-1/guides/notes/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Add notes to nodes","summary":"Write a short note on a node to explain what it does.","markdown":"---\ntitle: Add notes to nodes\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/notes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Add notes to nodes\n\n> Write a short note on a node to explain what it does.\n\nA note appears on the node itself, so anyone who opens the design can read it.\n\n1. Right-click the node.\n2. Select **Set a note**.\n3. Type your note.\n4. Select **SUBMIT**.\n\nThe note is saved at once. You do not need to select **APPLY**.\n\nTo change the note, repeat the same steps.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwng2yM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/notes/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Notizen zu Nodes hinzufügen","summary":"Schreibe eine kurze Notiz an einen Node, um zu erklären, was er tut.","markdown":"---\ntitle: \"Notizen zu Nodes hinzufügen\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/notes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Notizen zu Nodes hinzufügen\n\n> Schreibe eine kurze Notiz an einen Node, um zu erklären, was er tut.\n\nEine Notiz erscheint direkt am Node, sodass alle sie lesen können, die das Design öffnen.\n\n1. Klicke mit der rechten Maustaste auf den Node.\n2. Wähle **Set a note** (Notiz festlegen).\n3. Schreibe deine Notiz.\n4. Wähle **SUBMIT**.\n\nDie Notiz wird sofort gespeichert. Du musst **APPLY** nicht wählen.\n\nUm die Notiz zu ändern, wiederhole dieselben Schritte.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwng2yM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/notes/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Añadir notas a los nodos","summary":"Escribe una nota breve en un nodo para explicar qué hace.","markdown":"---\ntitle: \"Añadir notas a los nodos\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/notes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Añadir notas a los nodos\n\n> Escribe una nota breve en un nodo para explicar qué hace.\n\nLa nota aparece en el propio nodo, así que puede leerla cualquiera que abra el diseño.\n\n1. Haz clic derecho en el nodo.\n2. Selecciona **Set a note** (añadir una nota).\n3. Escribe tu nota.\n4. Selecciona **SUBMIT**.\n\nLa nota se guarda al momento. No hace falta que selecciones **APPLY**.\n\nPara cambiar la nota, repite los mismos pasos.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwng2yM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/notes/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Ajouter des notes aux nœuds","summary":"Écris une courte note sur un nœud pour expliquer ce qu’il fait.","markdown":"---\ntitle: \"Ajouter des notes aux nœuds\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/notes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Ajouter des notes aux nœuds\n\n> Écris une courte note sur un nœud pour expliquer ce qu’il fait.\n\nUne note apparaît sur le nœud lui-même : toute personne qui ouvre le design peut donc la lire.\n\n1. Fais un clic droit sur le nœud.\n2. Sélectionne **Set a note** (ajouter une note).\n3. Écris ta note.\n4. Sélectionne **SUBMIT**.\n\nLa note est enregistrée immédiatement. Tu n’as pas besoin de sélectionner **APPLY**.\n\nPour modifier la note, répète les mêmes étapes.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwng2yM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/notes/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Aggiungere note ai nodi","summary":"Scrivi una breve nota su un nodo per spiegare cosa fa.","markdown":"---\ntitle: Aggiungere note ai nodi\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/notes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Aggiungere note ai nodi\n\n> Scrivi una breve nota su un nodo per spiegare cosa fa.\n\nUna nota compare sul nodo stesso, quindi può leggerla chiunque apra il progetto.\n\n1. Fai clic con il tasto destro sul nodo.\n2. Seleziona **Set a note**.\n3. Scrivi la nota.\n4. Seleziona **SUBMIT**.\n\nLa nota viene salvata subito. Non devi selezionare **APPLY**.\n\nPer modificare la nota, ripeti gli stessi passaggi.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwng2yM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/notes/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Pridaj k uzlom poznámky","summary":"Napíš k uzlu krátku poznámku, ktorá vysvetlí, čo robí.","markdown":"---\ntitle: \"Pridaj k uzlom poznámky\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/notes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Pridaj k uzlom poznámky\n\n> Napíš k uzlu krátku poznámku, ktorá vysvetlí, čo robí.\n\nPoznámka sa zobrazuje priamo na uzle, takže si ju prečíta každý, kto návrh otvorí.\n\n1. Klikni na uzol pravým tlačidlom.\n2. Vyber **Set a note** (nastaviť poznámku).\n3. Napíš poznámku.\n4. Vyber **SUBMIT**.\n\nPoznámka sa uloží okamžite. Nemusíš vyberať **APPLY**.\n\nAk chceš poznámku zmeniť, zopakuj tie isté kroky.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwmo2FM60f","url":"https://totaljs.es/docs/flow/11-1/guides/copy-paste-nodes/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Copy and paste nodes","summary":"Duplicate a node, or move nodes to another FlowStream.","markdown":"---\ntitle: Copy and paste nodes\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/copy-paste-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Copy and paste nodes\n\n> Duplicate a node, or move nodes to another FlowStream.\n\n## Duplicate a node\n\n1. Right-click the node.\n2. Select **Clone**.\n3. Select **APPLY** to start using the copy.\n\n## Copy a node to another FlowStream\n\nThe other FlowStream needs the same component. [Download it](../download-components/) there first.\n\n1. Right-click the node and select **Copy node**.\n2. Open the other FlowStream.\n3. Select **Add** (plus), then **Paste nodes**.\n4. Paste into the field and select **SUBMIT**.\n5. Select **APPLY**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmo2FM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/copy-paste-nodes/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Nodes kopieren und einfügen","summary":"Dupliziere einen Node oder übertrage Nodes in einen anderen FlowStream.","markdown":"---\ntitle: \"Nodes kopieren und einfügen\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/copy-paste-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Nodes kopieren und einfügen\n\n> Dupliziere einen Node oder übertrage Nodes in einen anderen FlowStream.\n\n## Einen Node duplizieren\n\n1. Klicke mit der rechten Maustaste auf den Node.\n2. Wähle **Clone** (Klonen).\n3. Wähle **APPLY**, um die Kopie in Betrieb zu nehmen.\n\n## Einen Node in einen anderen FlowStream kopieren\n\nDer andere FlowStream braucht dieselbe Komponente. [Lade sie](../download-components/) dort zuerst herunter.\n\n1. Klicke mit der rechten Maustaste auf den Node und wähle **Copy node**.\n2. Öffne den anderen FlowStream.\n3. Wähle **Add** (Hinzufügen, das Plus-Symbol) und dann **Paste nodes**.\n4. Füge den Inhalt in das Feld ein und wähle **SUBMIT**.\n5. Wähle **APPLY**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmo2FM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/copy-paste-nodes/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Copiar y pegar nodos","summary":"Duplica un nodo o mueve nodos a otro FlowStream.","markdown":"---\ntitle: Copiar y pegar nodos\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/copy-paste-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Copiar y pegar nodos\n\n> Duplica un nodo o mueve nodos a otro FlowStream.\n\n## Duplicar un nodo\n\n1. Haz clic derecho en el nodo.\n2. Selecciona **Clone** (clonar).\n3. Selecciona **APPLY** para empezar a usar la copia.\n\n## Copiar un nodo a otro FlowStream\n\nEl otro FlowStream necesita el mismo componente. [Descárgalo](../download-components/) allí primero.\n\n1. Haz clic derecho en el nodo y selecciona **Copy node**.\n2. Abre el otro FlowStream.\n3. Selecciona **Add** (signo +) y luego **Paste nodes**.\n4. Pega en el campo y selecciona **SUBMIT**.\n5. Selecciona **APPLY**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmo2FM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/copy-paste-nodes/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Copier et coller des nœuds","summary":"Duplique un nœud ou déplace des nœuds vers un autre FlowStream.","markdown":"---\ntitle: \"Copier et coller des nœuds\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/copy-paste-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Copier et coller des nœuds\n\n> Duplique un nœud ou déplace des nœuds vers un autre FlowStream.\n\n## Dupliquer un nœud\n\n1. Fais un clic droit sur le nœud.\n2. Sélectionne **Clone** (cloner).\n3. Sélectionne **APPLY** pour commencer à utiliser la copie.\n\n## Copier un nœud vers un autre FlowStream\n\nL’autre FlowStream a besoin du même composant. [Télécharge-le](../download-components/) d’abord dans ce FlowStream.\n\n1. Fais un clic droit sur le nœud et sélectionne **Copy node** (copier le nœud).\n2. Ouvre l’autre FlowStream.\n3. Sélectionne **Add** (plus), puis **Paste nodes**.\n4. Colle le contenu dans le champ et sélectionne **SUBMIT**.\n5. Sélectionne **APPLY**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmo2FM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/copy-paste-nodes/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Copiare e incollare i nodi","summary":"Duplica un nodo o sposta i nodi in un altro FlowStream.","markdown":"---\ntitle: Copiare e incollare i nodi\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/copy-paste-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Copiare e incollare i nodi\n\n> Duplica un nodo o sposta i nodi in un altro FlowStream.\n\n## Duplicare un nodo\n\n1. Fai clic con il tasto destro sul nodo.\n2. Seleziona **Clone**.\n3. Seleziona **APPLY** per iniziare a usare la copia.\n\n## Copiare un nodo in un altro FlowStream\n\nL'altro FlowStream deve avere lo stesso componente. Prima [scaricalo](../download-components/) lì.\n\n1. Fai clic con il tasto destro sul nodo e seleziona **Copy node**.\n2. Apri l'altro FlowStream.\n3. Seleziona **Add** (più), poi **Paste nodes**.\n4. Incolla nel campo e seleziona **SUBMIT**.\n5. Seleziona **APPLY**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmo2FM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/copy-paste-nodes/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Kopíruj a vkladaj uzly","summary":"Duplikuj uzol alebo presuň uzly do iného FlowStreamu.","markdown":"---\ntitle: \"Kopíruj a vkladaj uzly\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/copy-paste-nodes/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Kopíruj a vkladaj uzly\n\n> Duplikuj uzol alebo presuň uzly do iného FlowStreamu.\n\n## Duplikovanie uzla\n\n1. Klikni na uzol pravým tlačidlom.\n2. Vyber **Clone** (klonovať).\n3. Ak chceš kópiu začať používať, vyber **APPLY**.\n\n## Kopírovanie uzla do iného FlowStreamu\n\nDruhý FlowStream potrebuje rovnaký komponent. Najprv ho tam [stiahni](../download-components/).\n\n1. Klikni na uzol pravým tlačidlom a vyber **Copy node** (kopírovať uzol).\n2. Otvor druhý FlowStream.\n3. Vyber **Add** (plus) a potom **Paste nodes**.\n4. Vlož obsah do poľa a vyber **SUBMIT**.\n5. Vyber **APPLY**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwno37M60f","url":"https://totaljs.es/docs/flow/11-1/guides/search-nodes/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Search in nodes","summary":"Find a node in a large design.","markdown":"---\ntitle: Search in nodes\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/search-nodes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Search in nodes\n\n> Find a node in a large design.\n\n1. In the designer, select **Search in nodes** in the toolbar.\n2. Type what you are looking for.\n\nThe results show each matching node and where the text was found, such as its **name** or **configuration**.\n\n![The Search in nodes window with two results](/files/Janwnn36M61f.webp)\n\nSelect the red cross in the corner to close the window.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwno37M60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/search-nodes/","project":"flow","version":"11-1","section":"guides","language":"de","title":"In Nodes suchen","summary":"Finde einen Node in einem großen Design.","markdown":"---\ntitle: In Nodes suchen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/search-nodes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# In Nodes suchen\n\n> Finde einen Node in einem großen Design.\n\n1. Wähle im Designer **Search in nodes** (In Nodes suchen) in der Werkzeugleiste.\n2. Tippe ein, wonach du suchst.\n\nDie Ergebnisse zeigen jeden passenden Node und wo der Text gefunden wurde, zum Beispiel in **name** oder **configuration**.\n\n![Das Fenster Search in nodes mit zwei Ergebnissen](/files/Janwnn36M61f.webp)\n\nWähle das rote Kreuz in der Ecke, um das Fenster zu schließen.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwno37M60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/search-nodes/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Buscar en los nodos","summary":"Encuentra un nodo en un diseño grande.","markdown":"---\ntitle: Buscar en los nodos\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/search-nodes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Buscar en los nodos\n\n> Encuentra un nodo en un diseño grande.\n\n1. En el diseñador, selecciona **Search in nodes** (buscar en los nodos) en la barra de herramientas.\n2. Escribe lo que buscas.\n\nLos resultados muestran cada nodo que coincide y dónde se ha encontrado el texto, por ejemplo en su **name** o en su **configuration**.\n\n![La ventana Search in nodes con dos resultados](/files/Janwnn36M61f.webp)\n\nSelecciona la cruz roja de la esquina para cerrar la ventana.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwno37M60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/search-nodes/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Rechercher dans les nœuds","summary":"Trouve un nœud dans un grand design.","markdown":"---\ntitle: \"Rechercher dans les nœuds\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/search-nodes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Rechercher dans les nœuds\n\n> Trouve un nœud dans un grand design.\n\n1. Dans le designer, sélectionne **Search in nodes** (rechercher dans les nœuds) dans la barre d’outils.\n2. Écris ce que tu cherches.\n\nLes résultats affichent chaque nœud correspondant et l’endroit où le texte a été trouvé, comme son **name** ou sa **configuration**.\n\n![La fenêtre Search in nodes avec deux résultats](/files/Janwnn36M61f.webp)\n\nSélectionne la croix rouge dans le coin pour fermer la fenêtre.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwno37M60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/search-nodes/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Cercare nei nodi","summary":"Trova un nodo in un progetto di grandi dimensioni.","markdown":"---\ntitle: Cercare nei nodi\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/search-nodes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Cercare nei nodi\n\n> Trova un nodo in un progetto di grandi dimensioni.\n\n1. Nel designer, seleziona **Search in nodes** nella barra degli strumenti.\n2. Scrivi quello che stai cercando.\n\nI risultati mostrano ogni nodo corrispondente e dove è stato trovato il testo, ad esempio nel **name** o nella **configuration**.\n\n![La finestra Search in nodes con due risultati](/files/Janwnn36M61f.webp)\n\nSeleziona la croce rossa nell'angolo per chiudere la finestra.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwno37M60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/search-nodes/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Hľadaj v uzloch","summary":"Nájdi uzol vo veľkom návrhu.","markdown":"---\ntitle: \"Hľadaj v uzloch\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/search-nodes/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Hľadaj v uzloch\n\n> Nájdi uzol vo veľkom návrhu.\n\n1. V návrhárovi vyber na paneli nástrojov **Search in nodes** (hľadať v uzloch).\n2. Napíš, čo hľadáš.\n\nVýsledky ukazujú každý zodpovedajúci uzol a miesto, kde sa text našiel, napríklad **name** alebo **configuration**.\n\n![Okno Search in nodes s dvoma výsledkami](/files/Janwnn36M61f.webp)\n\nOkno zatvoríš červeným krížikom v rohu.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnx3FM60f","url":"https://totaljs.es/docs/flow/11-1/guides/variables/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Variables","summary":"Store values for all FlowStreams or for just one.","markdown":"---\ntitle: Variables\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/variables/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Variables\n\n> Store values for all FlowStreams or for just one.\n\nVariables are named values that you keep outside your design. Flow has two kinds.\n\n| Kind | Who can use it | Where you edit it |\n|---|---|---|\n| Global variables | Every FlowStream | Main menu, **Variables** |\n| FlowStream variables | One FlowStream | The FlowStream menu, or **Variables** in the designer toolbar |\n\n## Add a global variable\n\n1. Open the main menu with the blue button in the top left corner.\n2. Select **Variables**.\n3. Type a key, then type a value.\n4. Press Enter to confirm the variable.\n5. Select **SUBMIT**.\n\n![The Variables window with one variable](/files/Janwnv3EM61f.webp)\n\nA variable that you do not confirm with Enter is not saved.\n\n## Add a variable to one FlowStream\n\n1. Select the three dots at the end of the row.\n2. Select **Variables**.\n3. Type a key and a value, and press Enter.\n4. Select **SUBMIT**.\n\n## Remove a variable\n\nSelect the red cross next to the variable, then select **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnx3FM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/variables/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Variablen","summary":"Speichere Werte für alle FlowStreams oder nur für einen.","markdown":"---\ntitle: Variablen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/variables/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Variablen\n\n> Speichere Werte für alle FlowStreams oder nur für einen.\n\nVariablen sind benannte Werte, die du außerhalb deines Designs aufbewahrst. Flow kennt zwei Arten.\n\n| Art | Wer sie nutzen kann | Wo du sie bearbeitest |\n|---|---|---|\n| Globale Variablen | Jeder FlowStream | Hauptmenü, **Variables** |\n| FlowStream-Variablen | Ein FlowStream | Das FlowStream-Menü oder **Variables** in der Werkzeugleiste des Designers |\n\n## Eine globale Variable hinzufügen\n\n1. Öffne das Hauptmenü mit der blauen Schaltfläche in der oberen linken Ecke.\n2. Wähle **Variables** (Variablen).\n3. Tippe einen Schlüssel und dann einen Wert ein.\n4. Drücke die Eingabetaste, um die Variable zu bestätigen.\n5. Wähle **SUBMIT**.\n\n![Das Fenster Variables mit einer Variablen](/files/Janwnv3EM61f.webp)\n\nEine Variable, die du nicht mit der Eingabetaste bestätigst, wird nicht gespeichert.\n\n## Einem FlowStream eine Variable hinzufügen\n\n1. Wähle die drei Punkte am Ende der Zeile.\n2. Wähle **Variables**.\n3. Tippe einen Schlüssel und einen Wert ein und drücke die Eingabetaste.\n4. Wähle **SUBMIT**.\n\n## Eine Variable entfernen\n\nWähle das rote Kreuz neben der Variablen und dann **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnx3FM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/variables/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Variables","summary":"Guarda valores para todos los FlowStreams o solo para uno.","markdown":"---\ntitle: Variables\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/variables/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Variables\n\n> Guarda valores para todos los FlowStreams o solo para uno.\n\nLas variables son valores con nombre que guardas fuera de tu diseño. Flow tiene dos tipos.\n\n| Tipo | Quién puede usarla | Dónde se edita |\n|---|---|---|\n| Variables globales | Todos los FlowStreams | Menú principal, **Variables** |\n| Variables del FlowStream | Un solo FlowStream | El menú del FlowStream, o **Variables** en la barra de herramientas del diseñador |\n\n## Añadir una variable global\n\n1. Abre el menú principal con el botón azul de la esquina superior izquierda.\n2. Selecciona **Variables**.\n3. Escribe una clave y luego un valor.\n4. Pulsa Intro para confirmar la variable.\n5. Selecciona **SUBMIT**.\n\n![La ventana Variables con una variable](/files/Janwnv3EM61f.webp)\n\nSi no confirmas una variable con Intro, no se guarda.\n\n## Añadir una variable a un solo FlowStream\n\n1. Selecciona los tres puntos al final de la fila.\n2. Selecciona **Variables**.\n3. Escribe una clave y un valor, y pulsa Intro.\n4. Selecciona **SUBMIT**.\n\n## Eliminar una variable\n\nSelecciona la cruz roja junto a la variable y luego **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnx3FM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/variables/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Variables","summary":"Stocke des valeurs pour tous les FlowStreams ou pour un seul.","markdown":"---\ntitle: Variables\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/variables/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Variables\n\n> Stocke des valeurs pour tous les FlowStreams ou pour un seul.\n\nLes variables sont des valeurs nommées que tu gardes en dehors de ton design. Flow en propose deux types.\n\n| Type | Qui peut l’utiliser | Où la modifier |\n|---|---|---|\n| Variables globales | Tous les FlowStreams | Menu principal, **Variables** |\n| Variables de FlowStream | Un seul FlowStream | Le menu du FlowStream, ou **Variables** dans la barre d’outils du designer |\n\n## Ajouter une variable globale\n\n1. Ouvre le menu principal avec le bouton bleu en haut à gauche.\n2. Sélectionne **Variables**.\n3. Écris une clé, puis une valeur.\n4. Appuie sur Entrée pour confirmer la variable.\n5. Sélectionne **SUBMIT**.\n\n![La fenêtre Variables avec une variable](/files/Janwnv3EM61f.webp)\n\nUne variable que tu ne confirmes pas avec Entrée n’est pas enregistrée.\n\n## Ajouter une variable à un seul FlowStream\n\n1. Sélectionne les trois points au bout de la ligne.\n2. Sélectionne **Variables**.\n3. Écris une clé et une valeur, puis appuie sur Entrée.\n4. Sélectionne **SUBMIT**.\n\n## Supprimer une variable\n\nSélectionne la croix rouge à côté de la variable, puis sélectionne **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnx3FM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/variables/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Variabili","summary":"Memorizza valori per tutti i FlowStream o per uno solo.","markdown":"---\ntitle: Variabili\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/variables/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Variabili\n\n> Memorizza valori per tutti i FlowStream o per uno solo.\n\nLe variabili sono valori con un nome che tieni fuori dal tuo progetto. Flow ne ha due tipi.\n\n| Tipo | Chi può usarla | Dove la modifichi |\n|---|---|---|\n| Variabili globali | Tutti i FlowStream | Menu principale, **Variables** |\n| Variabili del FlowStream | Un solo FlowStream | Il menu del FlowStream, oppure **Variables** nella barra degli strumenti del designer |\n\n## Aggiungere una variabile globale\n\n1. Apri il menu principale con il pulsante blu nell'angolo in alto a sinistra.\n2. Seleziona **Variables**.\n3. Scrivi una chiave, poi un valore.\n4. Premi Invio per confermare la variabile.\n5. Seleziona **SUBMIT**.\n\n![La finestra Variables con una variabile](/files/Janwnv3EM61f.webp)\n\nUna variabile che non confermi con Invio non viene salvata.\n\n## Aggiungere una variabile a un solo FlowStream\n\n1. Seleziona i tre puntini alla fine della riga.\n2. Seleziona **Variables**.\n3. Scrivi una chiave e un valore, poi premi Invio.\n4. Seleziona **SUBMIT**.\n\n## Rimuovere una variabile\n\nSeleziona la croce rossa accanto alla variabile, poi seleziona **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnx3FM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/variables/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Premenné","summary":"Ukladaj hodnoty pre všetky FlowStreamy alebo len pre jeden.","markdown":"---\ntitle: \"Premenné\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/variables/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Premenné\n\n> Ukladaj hodnoty pre všetky FlowStreamy alebo len pre jeden.\n\nPremenné sú pomenované hodnoty, ktoré uchovávaš mimo svojho návrhu. Flow má dva druhy.\n\n| Druh | Kto ich môže používať | Kde ich upravíš |\n|---|---|---|\n| Globálne premenné | Každý FlowStream | Hlavná ponuka, **Variables** |\n| Premenné FlowStreamu | Jeden FlowStream | Ponuka FlowStreamu alebo **Variables** na paneli nástrojov návrhára |\n\n## Pridanie globálnej premennej\n\n1. Otvor hlavnú ponuku modrým tlačidlom v ľavom hornom rohu.\n2. Vyber **Variables** (premenné).\n3. Napíš kľúč a potom hodnotu.\n4. Premennú potvrď klávesom Enter.\n5. Vyber **SUBMIT**.\n\n![Okno Variables s jednou premennou](/files/Janwnv3EM61f.webp)\n\nPremenná, ktorú nepotvrdíš klávesom Enter, sa neuloží.\n\n## Pridanie premennej do jedného FlowStreamu\n\n1. Vyber tri bodky na konci riadka.\n2. Vyber **Variables** (premenné).\n3. Napíš kľúč a hodnotu a stlač Enter.\n4. Vyber **SUBMIT**.\n\n## Odstránenie premennej\n\nVyber červený krížik vedľa premennej a potom **SUBMIT**.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn82TM60f","url":"https://totaljs.es/docs/flow/11-1/guides/environments/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Environments","summary":"Mark your installation as development, test or production.","markdown":"---\ntitle: Environments\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/environments/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Environments\n\n> Mark your installation as development, test or production.\n\nThe environment tells you and your FlowStreams what kind of installation this is. The current one appears at the top right of the screen.\n\n## Change the environment\n\n1. Select **Settings** in the left menu.\n2. Select **Dev**, **Test** or **Prod**.\n3. Select **SUBMIT**.\n\n![The environment choices at the top of the Settings window](/files/Janwn62SM61f.webp)\n\nFlow restarts all FlowStreams when you change the environment, so plan the change for a quiet moment.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn82TM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/environments/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Umgebungen","summary":"Kennzeichne deine Installation als Entwicklung, Test oder Produktion.","markdown":"---\ntitle: Umgebungen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/environments/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Umgebungen\n\n> Kennzeichne deine Installation als Entwicklung, Test oder Produktion.\n\nDie Umgebung sagt dir und deinen FlowStreams, um welche Art von Installation es sich handelt. Die aktuelle Umgebung erscheint oben rechts auf dem Bildschirm.\n\n## Die Umgebung ändern\n\n1. Wähle **Settings** (Einstellungen) im linken Menü.\n2. Wähle **Dev**, **Test** oder **Prod**.\n3. Wähle **SUBMIT**.\n\n![Die Auswahl der Umgebung oben im Fenster Settings](/files/Janwn62SM61f.webp)\n\nWenn du die Umgebung änderst, startet Flow alle FlowStreams neu. Plane die Änderung also für einen ruhigen Moment ein.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn82TM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/environments/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Entornos","summary":"Marca tu instalación como desarrollo, pruebas o producción.","markdown":"---\ntitle: Entornos\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/environments/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Entornos\n\n> Marca tu instalación como desarrollo, pruebas o producción.\n\nEl entorno indica, tanto a ti como a tus FlowStreams, qué tipo de instalación es esta. El entorno actual aparece en la parte superior derecha de la pantalla.\n\n## Cambiar el entorno\n\n1. Selecciona **Settings** (ajustes) en el menú de la izquierda.\n2. Selecciona **Dev**, **Test** o **Prod**.\n3. Selecciona **SUBMIT**.\n\n![Las opciones de entorno en la parte superior de la ventana Settings](/files/Janwn62SM61f.webp)\n\nFlow reinicia todos los FlowStreams cuando cambias el entorno, así que planifica el cambio para un momento tranquilo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn82TM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/environments/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Environnements","summary":"Indique si ton installation sert au développement, aux tests ou à la production.","markdown":"---\ntitle: Environnements\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/environments/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Environnements\n\n> Indique si ton installation sert au développement, aux tests ou à la production.\n\nL’environnement t’indique, ainsi qu’à tes FlowStreams, de quel type d’installation il s’agit. L’environnement actuel apparaît en haut à droite de l’écran.\n\n## Changer d’environnement\n\n1. Sélectionne **Settings** (réglages) dans le menu de gauche.\n2. Sélectionne **Dev**, **Test** ou **Prod**.\n3. Sélectionne **SUBMIT**.\n\n![Les choix d’environnement en haut de la fenêtre Settings](/files/Janwn62SM61f.webp)\n\nFlow redémarre tous les FlowStreams quand tu changes d’environnement : prévois donc ce changement à un moment calme.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn82TM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/environments/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Ambienti","summary":"Indica se la tua installazione è di sviluppo, di test o di produzione.","markdown":"---\ntitle: Ambienti\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/environments/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Ambienti\n\n> Indica se la tua installazione è di sviluppo, di test o di produzione.\n\nL'ambiente dice a te e ai tuoi FlowStream di che tipo di installazione si tratta. Quello attuale compare in alto a destra nella schermata.\n\n## Cambiare l'ambiente\n\n1. Seleziona **Settings** nel menu a sinistra.\n2. Seleziona **Dev**, **Test** o **Prod**.\n3. Seleziona **SUBMIT**.\n\n![Le opzioni dell'ambiente nella parte superiore della finestra Settings](/files/Janwn62SM61f.webp)\n\nQuando cambi l'ambiente, Flow riavvia tutti i FlowStream, quindi scegli un momento tranquillo.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwn82TM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/environments/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Prostredia","summary":"Označ svoju inštaláciu ako vývojovú, testovaciu alebo produkčnú.","markdown":"---\ntitle: Prostredia\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/environments/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Prostredia\n\n> Označ svoju inštaláciu ako vývojovú, testovaciu alebo produkčnú.\n\nProstredie hovorí tebe aj tvojim FlowStreamom, o aký druh inštalácie ide. Aktuálne prostredie sa zobrazuje vpravo hore na obrazovke.\n\n## Zmena prostredia\n\n1. V ľavej ponuke vyber **Settings** (nastavenia).\n2. Vyber **Dev**, **Test** alebo **Prod**.\n3. Vyber **SUBMIT**.\n\n![Voľba prostredia v hornej časti okna Settings](/files/Janwn62SM61f.webp)\n\nPri zmene prostredia Flow reštartuje všetky FlowStreamy, preto si zmenu naplánuj na pokojnú chvíľu.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwmd25M60f","url":"https://totaljs.es/docs/flow/11-1/guides/change-credentials/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Change your credentials","summary":"Set your own user name and password.","markdown":"---\ntitle: Change your credentials\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/change-credentials/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Change your credentials\n\n> Set your own user name and password.\n\n1. Select **Change credentials** in the left menu. The icon is a key.\n2. Enter your **User name**.\n3. Enter the new password in **Password** and again in **Password reply**.\n4. Select **SUBMIT**.\n\n![The Change credentials form](/files/Janwmb24M61f.webp)\n\nYou stay signed in. Every other open session is closed, and those browsers must sign in again with the new values.\n\nChoose a long password that mixes lowercase and uppercase letters, numbers and special characters.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmd25M60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/change-credentials/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Deine Zugangsdaten ändern","summary":"Lege deinen eigenen Benutzernamen und dein eigenes Passwort fest.","markdown":"---\ntitle: \"Deine Zugangsdaten ändern\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/change-credentials/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Deine Zugangsdaten ändern\n\n> Lege deinen eigenen Benutzernamen und dein eigenes Passwort fest.\n\n1. Wähle **Change credentials** (Zugangsdaten ändern) im linken Menü. Das Symbol ist ein Schlüssel.\n2. Gib deinen **User name** (Benutzernamen) ein.\n3. Gib das neue Passwort bei **Password** und noch einmal bei **Password reply** ein.\n4. Wähle **SUBMIT**.\n\n![Das Formular Change credentials](/files/Janwmb24M61f.webp)\n\nDu bleibst angemeldet. Alle anderen offenen Sitzungen werden geschlossen, und diese Browser müssen sich mit den neuen Daten wieder anmelden.\n\nWähle ein langes Passwort, das Klein- und Großbuchstaben, Zahlen und Sonderzeichen mischt.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmd25M60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/change-credentials/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Cambiar tus credenciales","summary":"Elige tu propio nombre de usuario y tu contraseña.","markdown":"---\ntitle: Cambiar tus credenciales\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/change-credentials/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Cambiar tus credenciales\n\n> Elige tu propio nombre de usuario y tu contraseña.\n\n1. Selecciona **Change credentials** (cambiar credenciales) en el menú de la izquierda. El icono es una llave.\n2. Escribe tu **User name** (nombre de usuario).\n3. Escribe la contraseña nueva en **Password** y otra vez en **Password reply**.\n4. Selecciona **SUBMIT**.\n\n![El formulario Change credentials](/files/Janwmb24M61f.webp)\n\nTu sesión sigue abierta. Todas las demás sesiones abiertas se cierran, y en esos navegadores habrá que iniciar sesión de nuevo con los datos nuevos.\n\nElige una contraseña larga que mezcle minúsculas, mayúsculas, números y caracteres especiales.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmd25M60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/change-credentials/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Changer tes identifiants","summary":"Choisis ton propre nom d’utilisateur et ton propre mot de passe.","markdown":"---\ntitle: Changer tes identifiants\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/change-credentials/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Changer tes identifiants\n\n> Choisis ton propre nom d’utilisateur et ton propre mot de passe.\n\n1. Sélectionne **Change credentials** (changer les identifiants) dans le menu de gauche. L’icône est une clé.\n2. Saisis ton **User name** (nom d’utilisateur).\n3. Saisis le nouveau mot de passe dans **Password**, puis à nouveau dans **Password reply**.\n4. Sélectionne **SUBMIT**.\n\n![Le formulaire Change credentials](/files/Janwmb24M61f.webp)\n\nTu restes connecté. Toutes les autres sessions ouvertes sont fermées, et ces navigateurs doivent se reconnecter avec les nouvelles valeurs.\n\nChoisis un mot de passe long qui mélange minuscules, majuscules, chiffres et caractères spéciaux.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmd25M60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/change-credentials/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Cambiare le credenziali","summary":"Imposta il tuo nome utente e la tua password.","markdown":"---\ntitle: Cambiare le credenziali\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/change-credentials/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Cambiare le credenziali\n\n> Imposta il tuo nome utente e la tua password.\n\n1. Seleziona **Change credentials** nel menu a sinistra. L'icona è una chiave.\n2. Inserisci il tuo **User name**.\n3. Inserisci la nuova password in **Password** e di nuovo in **Password reply**.\n4. Seleziona **SUBMIT**.\n\n![Il modulo Change credentials](/files/Janwmb24M61f.webp)\n\nResti connesso. Tutte le altre sessioni aperte vengono chiuse e in quei browser dovrai accedere di nuovo con i nuovi dati.\n\nScegli una password lunga che unisca lettere minuscole e maiuscole, numeri e caratteri speciali.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwmd25M60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/change-credentials/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Zmeň svoje prihlasovacie údaje","summary":"Nastav si vlastné používateľské meno a heslo.","markdown":"---\ntitle: \"Zmeň svoje prihlasovacie údaje\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/change-credentials/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Zmeň svoje prihlasovacie údaje\n\n> Nastav si vlastné používateľské meno a heslo.\n\n1. V ľavej ponuke vyber **Change credentials** (zmeniť prihlasovacie údaje). Ikona vyzerá ako kľúč.\n2. Zadaj **User name** (používateľské meno).\n3. Nové heslo zadaj do poľa **Password** a znova do poľa **Password reply**.\n4. Vyber **SUBMIT**.\n\n![Formulár Change credentials](/files/Janwmb24M61f.webp)\n\nZostaneš prihlásený. Všetky ostatné otvorené relácie sa zatvoria a v týchto prehliadačoch sa treba prihlásiť znova novými údajmi.\n\nZvoľ si dlhé heslo, ktoré kombinuje malé a veľké písmená, číslice a špeciálne znaky.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmZ22M61f","url":"https://totaljs.es/docs/flow/11-1/guides/backups/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Back up your data","summary":"Keep copies of your FlowStreams and know which folders to save.","markdown":"---\ntitle: Back up your data\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/backups/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Back up your data\n\n> Keep copies of your FlowStreams and know which folders to save.\n\n## Keep a copy after each change\n\n1. Select **Settings** in the left menu.\n2. Turn on **Backup Flow database file after each change**.\n3. Select **SUBMIT**.\n\nEach time a FlowStream changes, Flow keeps the previous database in the `flowstream` folder, in a file named like `database_202611182053.bk`. The number is the date and time.\n\nFlow does not delete these files. Check the folder from time to time and remove the ones you do not need.\n\n## Save your whole installation\n\nCopy these folders from the Flow folder to a safe place:\n\n| Folder | What it holds |\n|---|---|\n| `databases` | Your account and settings |\n| `flowstream` | Your FlowStreams and global variables |\n| `private` | Your [private files](../private-files/) |\n\nTo keep a single FlowStream, [export it](../export-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmZ22M61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/backups/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Deine Daten sichern","summary":"Bewahre Kopien deiner FlowStreams auf und erfahre, welche Ordner du sichern solltest.","markdown":"---\ntitle: Deine Daten sichern\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/backups/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Deine Daten sichern\n\n> Bewahre Kopien deiner FlowStreams auf und erfahre, welche Ordner du sichern solltest.\n\n## Nach jeder Änderung eine Kopie behalten\n\n1. Wähle **Settings** (Einstellungen) im linken Menü.\n2. Aktiviere **Backup Flow database file after each change**.\n3. Wähle **SUBMIT**.\n\nBei jeder Änderung an einem FlowStream behält Flow die vorherige Datenbank im Ordner `flowstream`, in einer Datei mit einem Namen wie `database_202611182053.bk`. Die Zahl steht für Datum und Uhrzeit.\n\nFlow löscht diese Dateien nicht. Sieh ab und zu in den Ordner und entferne die Dateien, die du nicht brauchst.\n\n## Deine gesamte Installation sichern\n\nKopiere diese Ordner aus dem Flow-Ordner an einen sicheren Ort:\n\n| Ordner | Inhalt |\n|---|---|\n| `databases` | Dein Konto und deine Einstellungen |\n| `flowstream` | Deine FlowStreams und globalen Variablen |\n| `private` | Deine [privaten Dateien](../private-files/) |\n\nUm einen einzelnen FlowStream aufzubewahren, [exportiere ihn](../export-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmZ22M61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/backups/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Hacer copias de seguridad","summary":"Guarda copias de tus FlowStreams y descubre qué carpetas debes conservar.","markdown":"---\ntitle: Hacer copias de seguridad\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/backups/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Hacer copias de seguridad\n\n> Guarda copias de tus FlowStreams y descubre qué carpetas debes conservar.\n\n## Guarda una copia tras cada cambio\n\n1. Selecciona **Settings** (ajustes) en el menú de la izquierda.\n2. Activa **Backup Flow database file after each change**.\n3. Selecciona **SUBMIT**.\n\nCada vez que cambia un FlowStream, Flow guarda la base de datos anterior en la carpeta `flowstream`, en un archivo con un nombre como `database_202611182053.bk`. El número es la fecha y la hora.\n\nFlow no borra estos archivos. Revisa la carpeta de vez en cuando y elimina los que no necesites.\n\n## Guarda toda tu instalación\n\nCopia estas carpetas de la carpeta de Flow a un lugar seguro:\n\n| Carpeta | Qué contiene |\n|---|---|\n| `databases` | Tu cuenta y tus ajustes |\n| `flowstream` | Tus FlowStreams y las variables globales |\n| `private` | Tus [archivos privados](../private-files/) |\n\nPara conservar un solo FlowStream, [expórtalo](../export-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmZ22M61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/backups/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Sauvegarder tes données","summary":"Garde des copies de tes FlowStreams et sache quels dossiers sauvegarder.","markdown":"---\ntitle: \"Sauvegarder tes données\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/backups/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Sauvegarder tes données\n\n> Garde des copies de tes FlowStreams et sache quels dossiers sauvegarder.\n\n## Garder une copie après chaque modification\n\n1. Sélectionne **Settings** (réglages) dans le menu de gauche.\n2. Active **Backup Flow database file after each change**.\n3. Sélectionne **SUBMIT**.\n\nÀ chaque modification d’un FlowStream, Flow conserve la base de données précédente dans le dossier `flowstream`, dans un fichier nommé par exemple `database_202611182053.bk`. Le nombre correspond à la date et à l’heure.\n\nFlow ne supprime pas ces fichiers. Vérifie le dossier de temps en temps et supprime ceux dont tu n’as pas besoin.\n\n## Sauvegarder toute ton installation\n\nCopie ces dossiers du dossier de Flow vers un endroit sûr :\n\n| Dossier | Ce qu’il contient |\n|---|---|\n| `databases` | Ton compte et tes réglages |\n| `flowstream` | Tes FlowStreams et tes variables globales |\n| `private` | Tes [fichiers privés](../private-files/) |\n\nPour conserver un seul FlowStream, [exporte-le](../export-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmZ22M61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/backups/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Fare il backup dei dati","summary":"Conserva copie dei tuoi FlowStream e scopri quali cartelle salvare.","markdown":"---\ntitle: Fare il backup dei dati\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/backups/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Fare il backup dei dati\n\n> Conserva copie dei tuoi FlowStream e scopri quali cartelle salvare.\n\n## Conservare una copia dopo ogni modifica\n\n1. Seleziona **Settings** nel menu a sinistra.\n2. Attiva **Backup Flow database file after each change**.\n3. Seleziona **SUBMIT**.\n\nOgni volta che un FlowStream cambia, Flow conserva il database precedente nella cartella `flowstream`, in un file con un nome come `database_202611182053.bk`. Il numero indica la data e l'ora.\n\nFlow non elimina questi file. Controlla la cartella ogni tanto e rimuovi quelli che non ti servono.\n\n## Salvare l'intera installazione\n\nCopia queste cartelle dalla cartella di Flow in un posto sicuro:\n\n| Cartella | Cosa contiene |\n|---|---|\n| `databases` | Il tuo account e le impostazioni |\n| `flowstream` | I tuoi FlowStream e le variabili globali |\n| `private` | I tuoi [file privati](../private-files/) |\n\nPer conservare un singolo FlowStream, [esportalo](../export-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmZ22M61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/backups/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Zálohuj svoje dáta","summary":"Uchovávaj kópie svojich FlowStreamov a zisti, ktoré priečinky treba uložiť.","markdown":"---\ntitle: \"Zálohuj svoje dáta\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/backups/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Zálohuj svoje dáta\n\n> Uchovávaj kópie svojich FlowStreamov a zisti, ktoré priečinky treba uložiť.\n\n## Uchovávaj kópiu po každej zmene\n\n1. V ľavej ponuke vyber **Settings** (nastavenia).\n2. Zapni **Backup Flow database file after each change**.\n3. Vyber **SUBMIT**.\n\nPri každej zmene FlowStreamu si Flow ponechá predchádzajúcu databázu v priečinku `flowstream`, v súbore s názvom podobným `database_202611182053.bk`. Číslo je dátum a čas.\n\nFlow tieto súbory nemaže. Občas priečinok skontroluj a odstráň tie, ktoré nepotrebuješ.\n\n## Ulož celú inštaláciu\n\nSkopíruj tieto priečinky z priečinka Flow na bezpečné miesto:\n\n| Priečinok | Čo obsahuje |\n|---|---|\n| `databases` | Tvoj účet a nastavenia |\n| `flowstream` | Tvoje FlowStreamy a globálne premenné |\n| `private` | Tvoje [súkromné súbory](../private-files/) |\n\nAk chceš uložiť jeden FlowStream, [exportuj ho](../export-flowstream/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"Janwnk32M61f","url":"https://totaljs.es/docs/flow/11-1/guides/private-files/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Share private files","summary":"Download files from the private folder with an access token.","markdown":"---\ntitle: Share private files\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/private-files/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Share private files\n\n> Download files from the private folder with an access token.\n\nFiles in the `private` folder of Flow are available over HTTP to anyone who has the access token.\n\n## Set the access token\n\nFlow creates a token for you. To use your own:\n\n1. Select **Settings** in the left menu.\n2. Enter it in **Access token**.\n3. Select **SUBMIT**.\n\nTreat the token like a password. Anyone who has it can read the files in the folder.\n\n## List the files\n\nOpen this address, with your own server and token:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN\n```\n\nFlow answers with a JSON list that holds the `name`, `size` and `modified` date of each file.\n\n## Download a file\n\nAdd the file name to the address:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN&filename=demo-report.txt\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnk32M61f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/private-files/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Private Dateien teilen","summary":"Lade Dateien aus dem privaten Ordner mit einem Zugriffstoken herunter.","markdown":"---\ntitle: Private Dateien teilen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/private-files/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Private Dateien teilen\n\n> Lade Dateien aus dem privaten Ordner mit einem Zugriffstoken herunter.\n\nDie Dateien im Ordner `private` von Flow sind über HTTP für alle verfügbar, die das Zugriffstoken haben.\n\n## Das Zugriffstoken festlegen\n\nFlow erstellt ein Token für dich. So verwendest du dein eigenes:\n\n1. Wähle **Settings** (Einstellungen) im linken Menü.\n2. Gib es bei **Access token** ein.\n3. Wähle **SUBMIT**.\n\nBehandle das Token wie ein Passwort. Wer es hat, kann die Dateien im Ordner lesen.\n\n## Die Dateien auflisten\n\nÖffne diese Adresse mit deinem eigenen Server und Token:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN\n```\n\nFlow antwortet mit einer JSON-Liste, die für jede Datei `name`, `size` und das Datum `modified` enthält.\n\n## Eine Datei herunterladen\n\nHänge den Dateinamen an die Adresse an:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN&filename=demo-report.txt\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnk32M61f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/private-files/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Compartir archivos privados","summary":"Descarga archivos de la carpeta privada con un token de acceso.","markdown":"---\ntitle: Compartir archivos privados\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/private-files/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Compartir archivos privados\n\n> Descarga archivos de la carpeta privada con un token de acceso.\n\nLos archivos de la carpeta `private` de Flow están disponibles por HTTP para cualquiera que tenga el token de acceso.\n\n## Definir el token de acceso\n\nFlow crea un token por ti. Para usar el tuyo:\n\n1. Selecciona **Settings** (ajustes) en el menú de la izquierda.\n2. Escríbelo en **Access token**.\n3. Selecciona **SUBMIT**.\n\nTrata el token como una contraseña. Cualquiera que lo tenga puede leer los archivos de la carpeta.\n\n## Ver la lista de archivos\n\nAbre esta dirección con tu propio servidor y tu token:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN\n```\n\nFlow responde con una lista JSON que incluye el `name`, el `size` y la fecha `modified` de cada archivo.\n\n## Descargar un archivo\n\nAñade el nombre del archivo a la dirección:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN&filename=demo-report.txt\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnk32M61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/private-files/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Partager des fichiers privés","summary":"Télécharge des fichiers du dossier privé avec un jeton d’accès.","markdown":"---\ntitle: \"Partager des fichiers privés\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/private-files/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Partager des fichiers privés\n\n> Télécharge des fichiers du dossier privé avec un jeton d’accès.\n\nLes fichiers du dossier `private` de Flow sont accessibles en HTTP à toute personne qui possède le jeton d’accès.\n\n## Définir le jeton d’accès\n\nFlow crée un jeton pour toi. Pour utiliser le tien :\n\n1. Sélectionne **Settings** (réglages) dans le menu de gauche.\n2. Saisis-le dans **Access token** (jeton d’accès).\n3. Sélectionne **SUBMIT**.\n\nTraite le jeton comme un mot de passe. Toute personne qui le possède peut lire les fichiers du dossier.\n\n## Lister les fichiers\n\nOuvre cette adresse, avec ton propre serveur et ton propre jeton :\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN\n```\n\nFlow répond avec une liste JSON qui contient le `name`, la `size` et la date `modified` de chaque fichier.\n\n## Télécharger un fichier\n\nAjoute le nom du fichier à l’adresse :\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN&filename=demo-report.txt\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnk32M61f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/private-files/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Condividere i file privati","summary":"Scarica i file della cartella private con un token di accesso.","markdown":"---\ntitle: Condividere i file privati\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/private-files/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Condividere i file privati\n\n> Scarica i file della cartella private con un token di accesso.\n\nI file nella cartella `private` di Flow sono disponibili via HTTP per chiunque abbia il token di accesso.\n\n## Impostare il token di accesso\n\nFlow crea un token per te. Per usarne uno tuo:\n\n1. Seleziona **Settings** nel menu a sinistra.\n2. Inseriscilo in **Access token**.\n3. Seleziona **SUBMIT**.\n\nTratta il token come una password. Chiunque lo possieda può leggere i file nella cartella.\n\n## Elencare i file\n\nApri questo indirizzo, con il tuo server e il tuo token:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN\n```\n\nFlow risponde con un elenco JSON che contiene `name`, `size` e la data `modified` di ogni file.\n\n## Scaricare un file\n\nAggiungi il nome del file all'indirizzo:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN&filename=demo-report.txt\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnk32M61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/private-files/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Zdieľaj súkromné súbory","summary":"Sťahuj súbory zo súkromného priečinka pomocou prístupového tokenu.","markdown":"---\ntitle: \"Zdieľaj súkromné súbory\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/private-files/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Zdieľaj súkromné súbory\n\n> Sťahuj súbory zo súkromného priečinka pomocou prístupového tokenu.\n\nSúbory v priečinku `private` aplikácie Flow sú cez HTTP dostupné každému, kto má prístupový token.\n\n## Nastavenie prístupového tokenu\n\nFlow ti token vytvorí. Ak chceš použiť vlastný:\n\n1. V ľavej ponuke vyber **Settings** (nastavenia).\n2. Zadaj ho do poľa **Access token**.\n3. Vyber **SUBMIT**.\n\nS tokenom zaobchádzaj ako s heslom. Každý, kto ho má, si môže prečítať súbory v priečinku.\n\n## Zoznam súborov\n\nOtvor túto adresu so svojím serverom a tokenom:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN\n```\n\nFlow odpovie zoznamom vo formáte JSON, ktorý obsahuje `name`, `size` a dátum `modified` každého súboru.\n\n## Stiahnutie súboru\n\nPridaj k adrese názov súboru:\n\n```text\nhttps://your-server/private/?token=YOUR_TOKEN&filename=demo-report.txt\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnq39M60f","url":"https://totaljs.es/docs/flow/11-1/guides/server-log/","project":"flow","version":"11-1","section":"guides","language":"en","title":"Read the server log","summary":"Turn on the server log and read it in the browser.","markdown":"---\ntitle: Read the server log\nproject: Flow\nversion: 11.1\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/guides/server-log/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Read the server log\n\n> Turn on the server log and read it in the browser.\n\nThe server log shows what the Flow server writes to its console, such as errors.\n\n## Turn it on\n\nWhen you install from source, the log stays empty until you enable it.\n\n**1.** Stop Flow.\n\n**2.** Add this line to the `config` file in the Flow folder:\n\n```text\n$logger : true\n```\n\n**3.** Start Flow again.\n\nFlow now writes the log to `logs/debug.log`.\n\n## Read it\n\nSelect the bug icon at the top right of the screen. The **Real-time server console** window opens and keeps itself up to date.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnq39M60f-de","url":"https://totaljs.es/docs/de/flow/11-1/guides/server-log/","project":"flow","version":"11-1","section":"guides","language":"de","title":"Das Serverprotokoll lesen","summary":"Aktiviere das Serverprotokoll und lies es im Browser.","markdown":"---\ntitle: Das Serverprotokoll lesen\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/guides/server-log/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Das Serverprotokoll lesen\n\n> Aktiviere das Serverprotokoll und lies es im Browser.\n\nDas Serverprotokoll zeigt, was der Flow-Server in seine Konsole schreibt, zum Beispiel Fehler.\n\n## Aktivieren\n\nWenn du aus dem Quellcode installierst, bleibt das Protokoll leer, bis du es aktivierst.\n\n**1.** Beende Flow.\n\n**2.** Füge diese Zeile in die Datei `config` im Flow-Ordner ein:\n\n```text\n$logger : true\n```\n\n**3.** Starte Flow wieder.\n\nFlow schreibt das Protokoll jetzt in `logs/debug.log`.\n\n## Lesen\n\nWähle das Käfer-Symbol oben rechts auf dem Bildschirm. Das Fenster **Real-time server console** öffnet sich und hält sich selbst auf dem neuesten Stand.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnq39M60f-es","url":"https://totaljs.es/docs/es/flow/11-1/guides/server-log/","project":"flow","version":"11-1","section":"guides","language":"es","title":"Leer el registro del servidor","summary":"Activa el registro del servidor y léelo en el navegador.","markdown":"---\ntitle: Leer el registro del servidor\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/guides/server-log/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Leer el registro del servidor\n\n> Activa el registro del servidor y léelo en el navegador.\n\nEl registro del servidor muestra lo que el servidor de Flow escribe en su consola, como los errores.\n\n## Activarlo\n\nSi instalas desde el código fuente, el registro sigue vacío hasta que lo activas.\n\n**1.** Detén Flow.\n\n**2.** Añade esta línea al archivo `config` de la carpeta de Flow:\n\n```text\n$logger : true\n```\n\n**3.** Vuelve a arrancar Flow.\n\nA partir de ahora, Flow escribe el registro en `logs/debug.log`.\n\n## Leerlo\n\nSelecciona el icono del insecto en la parte superior derecha de la pantalla. Se abre la ventana **Real-time server console**, que se mantiene actualizada por sí sola.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnq39M60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/guides/server-log/","project":"flow","version":"11-1","section":"guides","language":"fr","title":"Lire le journal du serveur","summary":"Active le journal du serveur et lis-le dans le navigateur.","markdown":"---\ntitle: Lire le journal du serveur\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/guides/server-log/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Lire le journal du serveur\n\n> Active le journal du serveur et lis-le dans le navigateur.\n\nLe journal du serveur montre ce que le serveur Flow écrit dans sa console, comme les erreurs.\n\n## L’activer\n\nQuand tu installes depuis les sources, le journal reste vide tant que tu ne l’as pas activé.\n\n**1.** Arrête Flow.\n\n**2.** Ajoute cette ligne au fichier `config` dans le dossier de Flow :\n\n```text\n$logger : true\n```\n\n**3.** Redémarre Flow.\n\nFlow écrit maintenant le journal dans `logs/debug.log`.\n\n## Le lire\n\nSélectionne l’icône en forme d’insecte en haut à droite de l’écran. La fenêtre **Real-time server console** s’ouvre et se met à jour toute seule.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnq39M60f-it","url":"https://totaljs.es/docs/it/flow/11-1/guides/server-log/","project":"flow","version":"11-1","section":"guides","language":"it","title":"Leggere il log del server","summary":"Attiva il log del server e leggilo nel browser.","markdown":"---\ntitle: Leggere il log del server\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/guides/server-log/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Leggere il log del server\n\n> Attiva il log del server e leggilo nel browser.\n\nIl log del server mostra quello che il server di Flow scrive nella sua console, ad esempio gli errori.\n\n## Attivarlo\n\nSe installi dal codice sorgente, il log resta vuoto finché non lo attivi.\n\n**1.** Arresta Flow.\n\n**2.** Aggiungi questa riga al file `config` nella cartella di Flow:\n\n```text\n$logger : true\n```\n\n**3.** Avvia di nuovo Flow.\n\nOra Flow scrive il log in `logs/debug.log`.\n\n## Leggerlo\n\nSeleziona l'icona a forma di insetto in alto a destra nella schermata. Si apre la finestra **Real-time server console**, che si aggiorna da sola.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnq39M60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/guides/server-log/","project":"flow","version":"11-1","section":"guides","language":"sk","title":"Prečítaj si log servera","summary":"Zapni log servera a čítaj ho v prehliadači.","markdown":"---\ntitle: \"Prečítaj si log servera\"\nproject: Total.js Flow\nversion: 11.1\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/guides/server-log/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Prečítaj si log servera\n\n> Zapni log servera a čítaj ho v prehliadači.\n\nLog servera ukazuje, čo server Flow zapisuje do svojej konzoly, napríklad chyby.\n\n## Zapnutie\n\nPri inštalácii zo zdrojového kódu zostáva log prázdny, kým ho nezapneš.\n\n**1.** Zastav Flow.\n\n**2.** Pridaj tento riadok do súboru `config` v priečinku Flow:\n\n```text\n$logger : true\n```\n\n**3.** Znova spusti Flow.\n\nFlow teraz zapisuje log do `logs/debug.log`.\n\n## Čítanie\n\nVyber ikonu chrobáka vpravo hore na obrazovke. Otvorí sa okno **Real-time server console**, ktoré sa samo priebežne aktualizuje.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnz3HM60f","url":"https://totaljs.es/docs/flow/11-1/reference/config-file/","project":"flow","version":"11-1","section":"reference","language":"en","title":"Configuration file","summary":"The keys you can set in the config file.","markdown":"---\ntitle: Configuration file\nproject: Flow\nversion: 11.1\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/reference/config-file/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Configuration file\n\n> The keys you can set in the config file.\n\nThe `config` file is in the Flow folder. Each line holds a key and a value:\n\n```text\nname    : My Flow\n$logger : true\n```\n\nRestart Flow after you change this file.\n\n## Keys that apply on the first start only\n\nFlow reads these keys the first time it starts and stores the values. After that, the stored values win, and changing the file has no effect.\n\n| Key | What it sets |\n|---|---|\n| `name` | The name of the application. Change it later in [Settings](../settings-screen/). |\n| `env` | The environment: `dev`, `test` or `prod`. Change it later in [Settings](../settings-screen/). |\n| `components` | The address of the component catalog. Change it later in [Settings](../settings-screen/). |\n| `templates` | The address of the template catalog. |\n\n## Keys that apply on every start\n\n| Key | Example | What it does |\n|---|---|---|\n| `$port` | `8000` | The port Flow listens on. |\n| `$ip` | `127.0.0.1` | The address Flow listens on. |\n| `$logger` | `true` | Writes the [server log](../../guides/server-log/) to `logs/debug.log`. |\n| `directory` | `/data/flow/` | An absolute path to the folder for your FlowStreams, used instead of the `flowstream` folder. |\n| `flowstream_memory` | `512` | The memory limit in megabytes for FlowStreams whose **Max. memory** is `0`. |\n\n## Generated keys\n\nFlow creates the `cookie` and `cookie_secret` values on the first start and stores them in `databases/config.json`. Keep that file: your password depends on the secret.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnz3HM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/reference/config-file/","project":"flow","version":"11-1","section":"reference","language":"de","title":"Konfigurationsdatei","summary":"Die Schlüssel, die du in der Datei config festlegen kannst.","markdown":"---\ntitle: Konfigurationsdatei\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/reference/config-file/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Konfigurationsdatei\n\n> Die Schlüssel, die du in der Datei config festlegen kannst.\n\nDie Datei `config` liegt im Flow-Ordner. Jede Zeile enthält einen Schlüssel und einen Wert:\n\n```text\nname    : My Flow\n$logger : true\n```\n\nStarte Flow neu, nachdem du diese Datei geändert hast.\n\n## Schlüssel, die nur beim ersten Start gelten\n\nFlow liest diese Schlüssel beim ersten Start und speichert die Werte. Danach haben die gespeicherten Werte Vorrang, und Änderungen an der Datei wirken sich nicht aus.\n\n| Schlüssel | Was er festlegt |\n|---|---|\n| `name` | Der Name der Anwendung. Später änderst du ihn unter [Settings](../settings-screen/). |\n| `env` | Die Umgebung: `dev`, `test` oder `prod`. Später änderst du sie unter [Settings](../settings-screen/). |\n| `components` | Die Adresse des Komponentenkatalogs. Später änderst du sie unter [Settings](../settings-screen/). |\n| `templates` | Die Adresse des Vorlagenkatalogs. |\n\n## Schlüssel, die bei jedem Start gelten\n\n| Schlüssel | Beispiel | Funktion |\n|---|---|---|\n| `$port` | `8000` | Der Port, auf dem Flow lauscht. |\n| `$ip` | `127.0.0.1` | Die Adresse, auf der Flow lauscht. |\n| `$logger` | `true` | Schreibt das [Serverprotokoll](../../guides/server-log/) in `logs/debug.log`. |\n| `directory` | `/data/flow/` | Ein absoluter Pfad zum Ordner für deine FlowStreams, der anstelle des Ordners `flowstream` verwendet wird. |\n| `flowstream_memory` | `512` | Die Speichergrenze in Megabyte für FlowStreams, bei denen **Max. memory** auf `0` steht. |\n\n## Erzeugte Schlüssel\n\nFlow erstellt die Werte `cookie` und `cookie_secret` beim ersten Start und speichert sie in `databases/config.json`. Bewahre diese Datei auf: Dein Passwort hängt von dem Secret ab.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnz3HM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/reference/config-file/","project":"flow","version":"11-1","section":"reference","language":"es","title":"Archivo de configuración","summary":"Las claves que puedes definir en el archivo config.","markdown":"---\ntitle: \"Archivo de configuración\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/reference/config-file/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Archivo de configuración\n\n> Las claves que puedes definir en el archivo config.\n\nEl archivo `config` está en la carpeta de Flow. Cada línea contiene una clave y un valor:\n\n```text\nname    : My Flow\n$logger : true\n```\n\nReinicia Flow después de cambiar este archivo.\n\n## Claves que solo se aplican en el primer arranque\n\nFlow lee estas claves la primera vez que arranca y guarda los valores. A partir de entonces mandan los valores guardados, y cambiar el archivo no tiene ningún efecto.\n\n| Clave | Qué define |\n|---|---|\n| `name` | El nombre de la aplicación. Puedes cambiarlo más adelante en [Settings](../settings-screen/). |\n| `env` | El entorno: `dev`, `test` o `prod`. Puedes cambiarlo más adelante en [Settings](../settings-screen/). |\n| `components` | La dirección del catálogo de componentes. Puedes cambiarla más adelante en [Settings](../settings-screen/). |\n| `templates` | La dirección del catálogo de plantillas. |\n\n## Claves que se aplican en cada arranque\n\n| Clave | Ejemplo | Qué hace |\n|---|---|---|\n| `$port` | `8000` | El puerto en el que escucha Flow. |\n| `$ip` | `127.0.0.1` | La dirección en la que escucha Flow. |\n| `$logger` | `true` | Escribe el [registro del servidor](../../guides/server-log/) en `logs/debug.log`. |\n| `directory` | `/data/flow/` | Una ruta absoluta a la carpeta de tus FlowStreams, que se usa en lugar de la carpeta `flowstream`. |\n| `flowstream_memory` | `512` | El límite de memoria en megabytes para los FlowStreams cuyo **Max. memory** es `0`. |\n\n## Claves generadas\n\nFlow crea los valores `cookie` y `cookie_secret` en el primer arranque y los guarda en `databases/config.json`. Conserva ese archivo: tu contraseña depende del secreto.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnz3HM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/reference/config-file/","project":"flow","version":"11-1","section":"reference","language":"fr","title":"Fichier de configuration","summary":"Les clés que tu peux définir dans le fichier config.","markdown":"---\ntitle: Fichier de configuration\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/reference/config-file/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Fichier de configuration\n\n> Les clés que tu peux définir dans le fichier config.\n\nLe fichier `config` se trouve dans le dossier de Flow. Chaque ligne contient une clé et une valeur :\n\n```text\nname    : My Flow\n$logger : true\n```\n\nRedémarre Flow après avoir modifié ce fichier.\n\n## Les clés prises en compte uniquement au premier démarrage\n\nFlow lit ces clés à son premier démarrage et stocke les valeurs. Ensuite, ce sont les valeurs stockées qui comptent, et modifier le fichier n’a aucun effet.\n\n| Clé | Ce qu’elle définit |\n|---|---|\n| `name` | Le nom de l’application. Modifie-le ensuite dans [Settings](../settings-screen/). |\n| `env` | L’environnement : `dev`, `test` ou `prod`. Modifie-le ensuite dans [Settings](../settings-screen/). |\n| `components` | L’adresse du catalogue de composants. Modifie-la ensuite dans [Settings](../settings-screen/). |\n| `templates` | L’adresse du catalogue de modèles. |\n\n## Les clés prises en compte à chaque démarrage\n\n| Clé | Exemple | Ce qu’elle fait |\n|---|---|---|\n| `$port` | `8000` | Le port sur lequel Flow écoute. |\n| `$ip` | `127.0.0.1` | L’adresse sur laquelle Flow écoute. |\n| `$logger` | `true` | Écrit le [journal du serveur](../../guides/server-log/) dans `logs/debug.log`. |\n| `directory` | `/data/flow/` | Un chemin absolu vers le dossier de tes FlowStreams, utilisé à la place du dossier `flowstream`. |\n| `flowstream_memory` | `512` | La limite de mémoire en mégaoctets pour les FlowStreams dont **Max. memory** vaut `0`. |\n\n## Les clés générées\n\nFlow crée les valeurs `cookie` et `cookie_secret` au premier démarrage et les stocke dans `databases/config.json`. Conserve ce fichier : ton mot de passe dépend du secret.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnz3HM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/reference/config-file/","project":"flow","version":"11-1","section":"reference","language":"it","title":"File di configurazione","summary":"Le chiavi che puoi impostare nel file config.","markdown":"---\ntitle: File di configurazione\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/reference/config-file/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# File di configurazione\n\n> Le chiavi che puoi impostare nel file config.\n\nIl file `config` si trova nella cartella di Flow. Ogni riga contiene una chiave e un valore:\n\n```text\nname    : My Flow\n$logger : true\n```\n\nRiavvia Flow dopo aver modificato questo file.\n\n## Chiavi valide solo al primo avvio\n\nFlow legge queste chiavi la prima volta che si avvia e ne memorizza i valori. Da quel momento valgono i valori memorizzati e cambiare il file non ha alcun effetto.\n\n| Chiave | Cosa imposta |\n|---|---|\n| `name` | Il nome dell'applicazione. Puoi cambiarlo in seguito in [Settings](../settings-screen/). |\n| `env` | L'ambiente: `dev`, `test` o `prod`. Puoi cambiarlo in seguito in [Settings](../settings-screen/). |\n| `components` | L'indirizzo del catalogo dei componenti. Puoi cambiarlo in seguito in [Settings](../settings-screen/). |\n| `templates` | L'indirizzo del catalogo dei template. |\n\n## Chiavi valide a ogni avvio\n\n| Chiave | Esempio | Cosa fa |\n|---|---|---|\n| `$port` | `8000` | La porta su cui Flow resta in ascolto. |\n| `$ip` | `127.0.0.1` | L'indirizzo su cui Flow resta in ascolto. |\n| `$logger` | `true` | Scrive il [log del server](../../guides/server-log/) in `logs/debug.log`. |\n| `directory` | `/data/flow/` | Un percorso assoluto alla cartella dei tuoi FlowStream, usata al posto della cartella `flowstream`. |\n| `flowstream_memory` | `512` | Il limite di memoria in megabyte per i FlowStream il cui **Max. memory** è `0`. |\n\n## Chiavi generate\n\nFlow crea i valori `cookie` e `cookie_secret` al primo avvio e li memorizza in `databases/config.json`. Conserva quel file: la tua password dipende dal valore segreto.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwnz3HM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/reference/config-file/","project":"flow","version":"11-1","section":"reference","language":"sk","title":"Konfiguračný súbor","summary":"Kľúče, ktoré môžeš nastaviť v súbore config.","markdown":"---\ntitle: \"Konfiguračný súbor\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/reference/config-file/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Konfiguračný súbor\n\n> Kľúče, ktoré môžeš nastaviť v súbore config.\n\nSúbor `config` sa nachádza v priečinku Flow. Každý riadok obsahuje kľúč a hodnotu:\n\n```text\nname    : My Flow\n$logger : true\n```\n\nPo zmene tohto súboru Flow reštartuj.\n\n## Kľúče, ktoré platia len pri prvom spustení\n\nFlow tieto kľúče prečíta pri prvom spustení a hodnoty si uloží. Potom platia uložené hodnoty a zmena v súbore už nemá žiadny účinok.\n\n| Kľúč | Čo nastavuje |\n|---|---|\n| `name` | Názov aplikácie. Neskôr ho zmeníš v [Settings](../settings-screen/). |\n| `env` | Prostredie: `dev`, `test` alebo `prod`. Neskôr ho zmeníš v [Settings](../settings-screen/). |\n| `components` | Adresu katalógu komponentov. Neskôr ju zmeníš v [Settings](../settings-screen/). |\n| `templates` | Adresu katalógu šablón. |\n\n## Kľúče, ktoré platia pri každom spustení\n\n| Kľúč | Príklad | Čo robí |\n|---|---|---|\n| `$port` | `8000` | Port, na ktorom Flow počúva. |\n| `$ip` | `127.0.0.1` | Adresa, na ktorej Flow počúva. |\n| `$logger` | `true` | Zapisuje [log servera](../../guides/server-log/) do `logs/debug.log`. |\n| `directory` | `/data/flow/` | Absolútna cesta k priečinku pre tvoje FlowStreamy, ktorý sa použije namiesto priečinka `flowstream`. |\n| `flowstream_memory` | `512` | Limit pamäte v megabajtoch pre FlowStreamy, ktorých **Max. memory** je `0`. |\n\n## Generované kľúče\n\nFlow vytvorí hodnoty `cookie` a `cookie_secret` pri prvom spustení a uloží ich do `databases/config.json`. Tento súbor si zachovaj: tvoje heslo závisí od tajného kľúča.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo53PM60f","url":"https://totaljs.es/docs/flow/11-1/reference/settings-screen/","project":"flow","version":"11-1","section":"reference","language":"en","title":"Settings screen","summary":"Every option in the Settings window.","markdown":"---\ntitle: Settings screen\nproject: Flow\nversion: 11.1\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/reference/settings-screen/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Settings screen\n\n> Every option in the Settings window.\n\nOpen **Settings** in the left menu. Select **SUBMIT** to save your changes.\n\n| Option | What it does |\n|---|---|\n| **Dev**, **Test**, **Prod** | The [environment](../../guides/environments/). All FlowStreams restart when you change it. |\n| **Name** | The name of the application, shown in the browser title. |\n| **Main components** | The address of the component catalog. Leave it unchanged unless you run your own catalog. |\n| **Access token** | The token for [private files](../../guides/private-files/). |\n| **Backup Flow database file after each change** | Keeps [backup files](../../guides/backups/) in the `flowstream` folder. |\n| **Enable dark mode** | Switches the application to dark colors. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo53PM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/reference/settings-screen/","project":"flow","version":"11-1","section":"reference","language":"de","title":"Einstellungsbildschirm","summary":"Alle Optionen im Fenster Settings.","markdown":"---\ntitle: Einstellungsbildschirm\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/reference/settings-screen/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Einstellungsbildschirm\n\n> Alle Optionen im Fenster Settings.\n\nÖffne **Settings** (Einstellungen) im linken Menü. Wähle **SUBMIT**, um deine Änderungen zu speichern.\n\n| Option | Funktion |\n|---|---|\n| **Dev**, **Test**, **Prod** | Die [Umgebung](../../guides/environments/). Alle FlowStreams starten neu, wenn du sie änderst. |\n| **Name** | Der Name der Anwendung, der im Browsertitel angezeigt wird. |\n| **Main components** | Die Adresse des Komponentenkatalogs. Lass sie unverändert, solange du keinen eigenen Katalog betreibst. |\n| **Access token** | Das Token für [private Dateien](../../guides/private-files/). |\n| **Backup Flow database file after each change** | Bewahrt [Sicherungsdateien](../../guides/backups/) im Ordner `flowstream` auf. |\n| **Enable dark mode** | Stellt die Anwendung auf dunkle Farben um. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo53PM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/reference/settings-screen/","project":"flow","version":"11-1","section":"reference","language":"es","title":"Pantalla de ajustes","summary":"Todas las opciones de la ventana Settings.","markdown":"---\ntitle: Pantalla de ajustes\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/reference/settings-screen/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Pantalla de ajustes\n\n> Todas las opciones de la ventana Settings.\n\nAbre **Settings** (ajustes) en el menú de la izquierda. Selecciona **SUBMIT** para guardar tus cambios.\n\n| Opción | Qué hace |\n|---|---|\n| **Dev**, **Test**, **Prod** | El [entorno](../../guides/environments/). Todos los FlowStreams se reinician cuando lo cambias. |\n| **Name** | El nombre de la aplicación, que aparece en el título del navegador. |\n| **Main components** | La dirección del catálogo de componentes. No la cambies salvo que tengas tu propio catálogo. |\n| **Access token** | El token de los [archivos privados](../../guides/private-files/). |\n| **Backup Flow database file after each change** | Guarda [archivos de copia de seguridad](../../guides/backups/) en la carpeta `flowstream`. |\n| **Enable dark mode** | Cambia la aplicación a colores oscuros. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo53PM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/reference/settings-screen/","project":"flow","version":"11-1","section":"reference","language":"fr","title":"Écran Settings","summary":"Toutes les options de la fenêtre Settings.","markdown":"---\ntitle: \"Écran Settings\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/reference/settings-screen/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Écran Settings\n\n> Toutes les options de la fenêtre Settings.\n\nOuvre **Settings** (réglages) dans le menu de gauche. Sélectionne **SUBMIT** pour enregistrer tes modifications.\n\n| Option | Ce qu’elle fait |\n|---|---|\n| **Dev**, **Test**, **Prod** | L’[environnement](../../guides/environments/). Tous les FlowStreams redémarrent quand tu le changes. |\n| **Name** | Le nom de l’application, affiché dans le titre du navigateur. |\n| **Main components** | L’adresse du catalogue de composants. Ne la modifie pas, sauf si tu gères ton propre catalogue. |\n| **Access token** | Le jeton des [fichiers privés](../../guides/private-files/). |\n| **Backup Flow database file after each change** | Conserve les [fichiers de sauvegarde](../../guides/backups/) dans le dossier `flowstream`. |\n| **Enable dark mode** | Passe l’application en couleurs sombres. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo53PM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/reference/settings-screen/","project":"flow","version":"11-1","section":"reference","language":"it","title":"Schermata Settings","summary":"Tutte le opzioni della finestra Settings.","markdown":"---\ntitle: Schermata Settings\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/reference/settings-screen/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Schermata Settings\n\n> Tutte le opzioni della finestra Settings.\n\nApri **Settings** nel menu a sinistra. Seleziona **SUBMIT** per salvare le modifiche.\n\n| Opzione | Cosa fa |\n|---|---|\n| **Dev**, **Test**, **Prod** | L'[ambiente](../../guides/environments/). Tutti i FlowStream si riavviano quando lo cambi. |\n| **Name** | Il nome dell'applicazione, mostrato nel titolo del browser. |\n| **Main components** | L'indirizzo del catalogo dei componenti. Non cambiarlo, a meno che tu non gestisca un catalogo tuo. |\n| **Access token** | Il token per i [file privati](../../guides/private-files/). |\n| **Backup Flow database file after each change** | Conserva i [file di backup](../../guides/backups/) nella cartella `flowstream`. |\n| **Enable dark mode** | Passa l'applicazione ai colori scuri. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo53PM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/reference/settings-screen/","project":"flow","version":"11-1","section":"reference","language":"sk","title":"Obrazovka Settings","summary":"Všetky možnosti v okne Settings.","markdown":"---\ntitle: Obrazovka Settings\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/reference/settings-screen/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Obrazovka Settings\n\n> Všetky možnosti v okne Settings.\n\nV ľavej ponuke otvor **Settings** (nastavenia). Zmeny uložíš výberom **SUBMIT**.\n\n| Možnosť | Čo robí |\n|---|---|\n| **Dev**, **Test**, **Prod** | [Prostredie](../../guides/environments/). Keď ho zmeníš, všetky FlowStreamy sa reštartujú. |\n| **Name** | Názov aplikácie, ktorý sa zobrazuje v titulku prehliadača. |\n| **Main components** | Adresa katalógu komponentov. Nemeň ju, pokiaľ neprevádzkuješ vlastný katalóg. |\n| **Access token** | Token pre [súkromné súbory](../../guides/private-files/). |\n| **Backup Flow database file after each change** | Uchováva [záložné súbory](../../guides/backups/) v priečinku `flowstream`. |\n| **Enable dark mode** | Prepne aplikáciu na tmavé farby. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo23LM60f","url":"https://totaljs.es/docs/flow/11-1/reference/flowstream-fields/","project":"flow","version":"11-1","section":"reference","language":"en","title":"FlowStream fields","summary":"Every field in the FlowStream form.","markdown":"---\ntitle: FlowStream fields\nproject: Flow\nversion: 11.1\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/reference/flowstream-fields/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# FlowStream fields\n\n> Every field in the FlowStream form.\n\nThese fields appear when you [create or edit a FlowStream](../../guides/create-flowstream/).\n\n| Field | Default | What it does |\n|---|---|---|\n| **Name** | Empty | The name in the list. Required. |\n| **Icon** | Chip | The icon in the list. Required. |\n| **Color** | None | The color of the icon. |\n| **Group** | Empty | Shows FlowStreams together under a heading. Pick a group or type a new one. |\n| **Proxy endpoint** | Empty | The public path of this FlowStream. See [Expose a FlowStream on a path](../../guides/proxy-endpoint/). |\n| **Proxy timeout** | `120` | The time limit for proxied requests, in seconds. Required. |\n| **Enable cloning of message data** | On | Clones the data for each message. Turning it off can improve performance, but nodes may then share the same object. |\n| **Max. memory** | `0` | The memory limit in megabytes. `0` means an automatic limit. |\n| **Description** | Empty | A description in Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo23LM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/reference/flowstream-fields/","project":"flow","version":"11-1","section":"reference","language":"de","title":"FlowStream-Felder","summary":"Alle Felder im FlowStream-Formular.","markdown":"---\ntitle: FlowStream-Felder\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/reference/flowstream-fields/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# FlowStream-Felder\n\n> Alle Felder im FlowStream-Formular.\n\nDiese Felder erscheinen, wenn du [einen FlowStream erstellst oder bearbeitest](../../guides/create-flowstream/).\n\n| Feld | Standardwert | Funktion |\n|---|---|---|\n| **Name** | Leer | Der Name in der Liste. Pflichtfeld. |\n| **Icon** | Chip | Das Symbol in der Liste. Pflichtfeld. |\n| **Color** | Keine | Die Farbe des Symbols. |\n| **Group** | Leer | Zeigt FlowStreams gemeinsam unter einer Überschrift an. Wähle eine Gruppe aus oder tippe eine neue ein. |\n| **Proxy endpoint** | Leer | Der öffentliche Pfad dieses FlowStreams. Mehr dazu unter [Einen FlowStream unter einem Pfad bereitstellen](../../guides/proxy-endpoint/). |\n| **Proxy timeout** | `120` | Das Zeitlimit für weitergeleitete Anfragen in Sekunden. Pflichtfeld. |\n| **Enable cloning of message data** | Ein | Klont die Daten für jede Nachricht. Wenn du das ausschaltest, kann das die Leistung verbessern, aber Nodes teilen sich dann möglicherweise dasselbe Objekt. |\n| **Max. memory** | `0` | Die Speichergrenze in Megabyte. `0` bedeutet eine automatische Grenze. |\n| **Description** | Leer | Eine Beschreibung in Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo23LM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/reference/flowstream-fields/","project":"flow","version":"11-1","section":"reference","language":"es","title":"Campos del FlowStream","summary":"Todos los campos del formulario del FlowStream.","markdown":"---\ntitle: Campos del FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/reference/flowstream-fields/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Campos del FlowStream\n\n> Todos los campos del formulario del FlowStream.\n\nEstos campos aparecen cuando [creas o editas un FlowStream](../../guides/create-flowstream/).\n\n| Campo | Valor predeterminado | Qué hace |\n|---|---|---|\n| **Name** | Vacío | El nombre en la lista. Obligatorio. |\n| **Icon** | Chip | El icono en la lista. Obligatorio. |\n| **Color** | Ninguno | El color del icono. |\n| **Group** | Vacío | Muestra los FlowStreams juntos bajo un título. Elige un grupo o escribe uno nuevo. |\n| **Proxy endpoint** | Vacío | La ruta pública de este FlowStream. Consulta [Publicar un FlowStream en una ruta](../../guides/proxy-endpoint/). |\n| **Proxy timeout** | `120` | El tiempo límite de las peticiones a través del proxy, en segundos. Obligatorio. |\n| **Enable cloning of message data** | Activado | Clona los datos de cada mensaje. Desactivarlo puede mejorar el rendimiento, pero entonces los nodos pueden compartir el mismo objeto. |\n| **Max. memory** | `0` | El límite de memoria en megabytes. `0` significa un límite automático. |\n| **Description** | Vacío | Una descripción en Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo23LM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/reference/flowstream-fields/","project":"flow","version":"11-1","section":"reference","language":"fr","title":"Champs d’un FlowStream","summary":"Tous les champs du formulaire d’un FlowStream.","markdown":"---\ntitle: \"Champs d’un FlowStream\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/reference/flowstream-fields/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Champs d’un FlowStream\n\n> Tous les champs du formulaire d’un FlowStream.\n\nCes champs apparaissent quand tu [crées ou modifies un FlowStream](../../guides/create-flowstream/).\n\n| Champ | Valeur par défaut | Ce qu’il fait |\n|---|---|---|\n| **Name** | Vide | Le nom dans la liste. Obligatoire. |\n| **Icon** | Puce | L’icône dans la liste. Obligatoire. |\n| **Color** | Aucune | La couleur de l’icône. |\n| **Group** | Vide | Affiche des FlowStreams ensemble sous un titre. Choisis un groupe ou écris-en un nouveau. |\n| **Proxy endpoint** | Vide | Le chemin public de ce FlowStream. Consulte [Exposer un FlowStream sur un chemin](../../guides/proxy-endpoint/). |\n| **Proxy timeout** | `120` | Le délai maximal des requêtes passant par le proxy, en secondes. Obligatoire. |\n| **Enable cloning of message data** | Activé | Clone les données pour chaque message. Le désactiver peut améliorer les performances, mais les nœuds peuvent alors partager le même objet. |\n| **Max. memory** | `0` | La limite de mémoire en mégaoctets. `0` signifie une limite automatique. |\n| **Description** | Vide | Une description en Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo23LM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/reference/flowstream-fields/","project":"flow","version":"11-1","section":"reference","language":"it","title":"Campi del FlowStream","summary":"Tutti i campi del modulo del FlowStream.","markdown":"---\ntitle: Campi del FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/reference/flowstream-fields/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Campi del FlowStream\n\n> Tutti i campi del modulo del FlowStream.\n\nQuesti campi compaiono quando [crei o modifichi un FlowStream](../../guides/create-flowstream/).\n\n| Campo | Predefinito | Cosa fa |\n|---|---|---|\n| **Name** | Vuoto | Il nome nell'elenco. Obbligatorio. |\n| **Icon** | Chip | L'icona nell'elenco. Obbligatorio. |\n| **Color** | Nessuno | Il colore dell'icona. |\n| **Group** | Vuoto | Mostra i FlowStream insieme sotto un'intestazione. Scegli un gruppo o scrivine uno nuovo. |\n| **Proxy endpoint** | Vuoto | Il percorso pubblico di questo FlowStream. Leggi [Esporre un FlowStream su un percorso](../../guides/proxy-endpoint/). |\n| **Proxy timeout** | `120` | Il tempo limite per le richieste inoltrate tramite proxy, in secondi. Obbligatorio. |\n| **Enable cloning of message data** | Attivo | Clona i dati per ogni messaggio. Disattivarlo può migliorare le prestazioni, ma i nodi potrebbero condividere lo stesso oggetto. |\n| **Max. memory** | `0` | Il limite di memoria in megabyte. `0` indica un limite automatico. |\n| **Description** | Vuoto | Una descrizione in Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo23LM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/reference/flowstream-fields/","project":"flow","version":"11-1","section":"reference","language":"sk","title":"Polia FlowStreamu","summary":"Všetky polia formulára FlowStreamu.","markdown":"---\ntitle: Polia FlowStreamu\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/reference/flowstream-fields/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Polia FlowStreamu\n\n> Všetky polia formulára FlowStreamu.\n\nTieto polia sa zobrazia, keď [vytváraš alebo upravuješ FlowStream](../../guides/create-flowstream/).\n\n| Pole | Predvolená hodnota | Čo robí |\n|---|---|---|\n| **Name** | Prázdne | Názov v zozname. Povinné. |\n| **Icon** | Čip | Ikona v zozname. Povinné. |\n| **Color** | Žiadna | Farba ikony. |\n| **Group** | Prázdne | Zobrazí FlowStreamy spolu pod jedným nadpisom. Vyber skupinu alebo napíš novú. |\n| **Proxy endpoint** | Prázdne | Verejná cesta tohto FlowStreamu. Pozri si [Sprístupni FlowStream na ceste](../../guides/proxy-endpoint/). |\n| **Proxy timeout** | `120` | Časový limit pre požiadavky cez proxy, v sekundách. Povinné. |\n| **Enable cloning of message data** | Zapnuté | Pre každú správu naklonuje dáta. Vypnutie môže zlepšiť výkon, uzly však potom môžu zdieľať ten istý objekt. |\n| **Max. memory** | `0` | Limit pamäte v megabajtoch. `0` znamená automatický limit. |\n| **Description** | Prázdne | Popis vo formáte Markdown. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo33NM60f","url":"https://totaljs.es/docs/flow/11-1/reference/keyboard-shortcuts/","project":"flow","version":"11-1","section":"reference","language":"en","title":"Keyboard shortcuts","summary":"Keys you can use in the designer.","markdown":"---\ntitle: Keyboard shortcuts\nproject: Flow\nversion: 11.1\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/reference/keyboard-shortcuts/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Keyboard shortcuts\n\n> Keys you can use in the designer.\n\nUse these keys in the [designer](../../guides/designer-overview/).\n\n| Mac | Windows and Linux | What it does |\n|---|---|---|\n| `Cmd+S` | `Ctrl+S` | [Applies](../../guides/apply-changes/) your changes, after you confirm. |\n| `Cmd+A` | `Ctrl+A` | Selects all nodes on the canvas. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo33NM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/reference/keyboard-shortcuts/","project":"flow","version":"11-1","section":"reference","language":"de","title":"Tastenkombinationen","summary":"Tasten, die du im Designer verwenden kannst.","markdown":"---\ntitle: Tastenkombinationen\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/reference/keyboard-shortcuts/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Tastenkombinationen\n\n> Tasten, die du im Designer verwenden kannst.\n\nDiese Tasten kannst du im [Designer](../../guides/designer-overview/) verwenden.\n\n| Mac | Windows und Linux | Funktion |\n|---|---|---|\n| `Cmd+S` | `Ctrl+S` | [Übernimmt](../../guides/apply-changes/) deine Änderungen, nachdem du das bestätigt hast. |\n| `Cmd+A` | `Ctrl+A` | Wählt alle Nodes auf der Arbeitsfläche aus. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo33NM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/reference/keyboard-shortcuts/","project":"flow","version":"11-1","section":"reference","language":"es","title":"Atajos de teclado","summary":"Las teclas que puedes usar en el diseñador.","markdown":"---\ntitle: Atajos de teclado\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/reference/keyboard-shortcuts/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Atajos de teclado\n\n> Las teclas que puedes usar en el diseñador.\n\nUsa estas teclas en el [diseñador](../../guides/designer-overview/).\n\n| Mac | Windows y Linux | Qué hace |\n|---|---|---|\n| `Cmd+S` | `Ctrl+S` | [Aplica](../../guides/apply-changes/) tus cambios, cuando lo confirmas. |\n| `Cmd+A` | `Ctrl+A` | Selecciona todos los nodos del lienzo. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo33NM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/reference/keyboard-shortcuts/","project":"flow","version":"11-1","section":"reference","language":"fr","title":"Raccourcis clavier","summary":"Les touches que tu peux utiliser dans le designer.","markdown":"---\ntitle: Raccourcis clavier\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/reference/keyboard-shortcuts/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Raccourcis clavier\n\n> Les touches que tu peux utiliser dans le designer.\n\nUtilise ces touches dans le [designer](../../guides/designer-overview/).\n\n| Mac | Windows et Linux | Ce qu’il fait |\n|---|---|---|\n| `Cmd+S` | `Ctrl+S` | [Applique](../../guides/apply-changes/) tes modifications, après ta confirmation. |\n| `Cmd+A` | `Ctrl+A` | Sélectionne tous les nœuds du canevas. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo33NM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/reference/keyboard-shortcuts/","project":"flow","version":"11-1","section":"reference","language":"it","title":"Scorciatoie da tastiera","summary":"I tasti che puoi usare nel designer.","markdown":"---\ntitle: Scorciatoie da tastiera\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/reference/keyboard-shortcuts/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Scorciatoie da tastiera\n\n> I tasti che puoi usare nel designer.\n\nUsa questi tasti nel [designer](../../guides/designer-overview/).\n\n| Mac | Windows e Linux | Cosa fa |\n|---|---|---|\n| `Cmd+S` | `Ctrl+S` | [Applica](../../guides/apply-changes/) le tue modifiche, dopo la conferma. |\n| `Cmd+A` | `Ctrl+A` | Seleziona tutti i nodi sul canvas. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo33NM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/reference/keyboard-shortcuts/","project":"flow","version":"11-1","section":"reference","language":"sk","title":"Klávesové skratky","summary":"Klávesy, ktoré môžeš používať v návrhárovi.","markdown":"---\ntitle: \"Klávesové skratky\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/reference/keyboard-shortcuts/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Klávesové skratky\n\n> Klávesy, ktoré môžeš používať v návrhárovi.\n\nTieto klávesy používaj v [návrhárovi](../../guides/designer-overview/).\n\n| Mac | Windows a Linux | Čo robí |\n|---|---|---|\n| `Cmd+S` | `Ctrl+S` | Po potvrdení [použije](../../guides/apply-changes/) tvoje zmeny. |\n| `Cmd+A` | `Ctrl+A` | Vyberie všetky uzly na plátne. |\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo03JM60f","url":"https://totaljs.es/docs/flow/11-1/reference/data-locations/","project":"flow","version":"11-1","section":"reference","language":"en","title":"Where Flow stores data","summary":"The files and folders that hold your data.","markdown":"---\ntitle: Where Flow stores data\nproject: Flow\nversion: 11.1\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/reference/data-locations/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Where Flow stores data\n\n> The files and folders that hold your data.\n\nAll paths are relative to the Flow folder of an installation from source.\n\n| Path | What it holds |\n|---|---|\n| `databases/memorize_preferences.json` | Your account and settings |\n| `databases/config.json` | Generated cookie name and secret |\n| `flowstream/database.json` | Your FlowStreams and global variables |\n| `flowstream/database_*.bk` | [Backup files](../../guides/backups/), if you turned them on |\n| `private/` | [Private files](../../guides/private-files/) |\n| `logs/debug.log` | The [server log](../../guides/server-log/), if you turned it on |\n\nTo keep your FlowStreams in another folder, set `directory` in the [configuration file](../config-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo03JM60f-de","url":"https://totaljs.es/docs/de/flow/11-1/reference/data-locations/","project":"flow","version":"11-1","section":"reference","language":"de","title":"Wo Flow Daten speichert","summary":"Die Dateien und Ordner, die deine Daten enthalten.","markdown":"---\ntitle: Wo Flow Daten speichert\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/reference/data-locations/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Wo Flow Daten speichert\n\n> Die Dateien und Ordner, die deine Daten enthalten.\n\nAlle Pfade beziehen sich auf den Flow-Ordner einer Installation aus dem Quellcode.\n\n| Pfad | Inhalt |\n|---|---|\n| `databases/memorize_preferences.json` | Dein Konto und deine Einstellungen |\n| `databases/config.json` | Erzeugter Cookie-Name und erzeugtes Secret |\n| `flowstream/database.json` | Deine FlowStreams und globalen Variablen |\n| `flowstream/database_*.bk` | [Sicherungsdateien](../../guides/backups/), falls du sie aktiviert hast |\n| `private/` | [Private Dateien](../../guides/private-files/) |\n| `logs/debug.log` | Das [Serverprotokoll](../../guides/server-log/), falls du es aktiviert hast |\n\nUm deine FlowStreams in einem anderen Ordner aufzubewahren, lege `directory` in der [Konfigurationsdatei](../config-file/) fest.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo03JM60f-es","url":"https://totaljs.es/docs/es/flow/11-1/reference/data-locations/","project":"flow","version":"11-1","section":"reference","language":"es","title":"Dónde guarda Flow los datos","summary":"Los archivos y las carpetas que contienen tus datos.","markdown":"---\ntitle: \"Dónde guarda Flow los datos\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/reference/data-locations/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Dónde guarda Flow los datos\n\n> Los archivos y las carpetas que contienen tus datos.\n\nTodas las rutas son relativas a la carpeta de Flow de una instalación desde el código fuente.\n\n| Ruta | Qué contiene |\n|---|---|\n| `databases/memorize_preferences.json` | Tu cuenta y tus ajustes |\n| `databases/config.json` | El nombre y el secreto generados de la cookie |\n| `flowstream/database.json` | Tus FlowStreams y las variables globales |\n| `flowstream/database_*.bk` | Los [archivos de copia de seguridad](../../guides/backups/), si los has activado |\n| `private/` | Los [archivos privados](../../guides/private-files/) |\n| `logs/debug.log` | El [registro del servidor](../../guides/server-log/), si lo has activado |\n\nPara guardar tus FlowStreams en otra carpeta, define `directory` en el [archivo de configuración](../config-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo03JM60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/reference/data-locations/","project":"flow","version":"11-1","section":"reference","language":"fr","title":"Où Flow stocke les données","summary":"Les fichiers et les dossiers qui contiennent tes données.","markdown":"---\ntitle: \"Où Flow stocke les données\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/reference/data-locations/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Où Flow stocke les données\n\n> Les fichiers et les dossiers qui contiennent tes données.\n\nTous les chemins sont relatifs au dossier de Flow d’une installation depuis les sources.\n\n| Chemin | Ce qu’il contient |\n|---|---|\n| `databases/memorize_preferences.json` | Ton compte et tes réglages |\n| `databases/config.json` | Le nom du cookie et le secret générés |\n| `flowstream/database.json` | Tes FlowStreams et tes variables globales |\n| `flowstream/database_*.bk` | Les [fichiers de sauvegarde](../../guides/backups/), si tu les as activés |\n| `private/` | Les [fichiers privés](../../guides/private-files/) |\n| `logs/debug.log` | Le [journal du serveur](../../guides/server-log/), si tu l’as activé |\n\nPour garder tes FlowStreams dans un autre dossier, définis `directory` dans le [fichier de configuration](../config-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo03JM60f-it","url":"https://totaljs.es/docs/it/flow/11-1/reference/data-locations/","project":"flow","version":"11-1","section":"reference","language":"it","title":"Dove Flow memorizza i dati","summary":"I file e le cartelle che contengono i tuoi dati.","markdown":"---\ntitle: Dove Flow memorizza i dati\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/reference/data-locations/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Dove Flow memorizza i dati\n\n> I file e le cartelle che contengono i tuoi dati.\n\nTutti i percorsi sono relativi alla cartella di Flow di un'installazione dal codice sorgente.\n\n| Percorso | Cosa contiene |\n|---|---|\n| `databases/memorize_preferences.json` | Il tuo account e le impostazioni |\n| `databases/config.json` | Il nome del cookie e il valore segreto generati |\n| `flowstream/database.json` | I tuoi FlowStream e le variabili globali |\n| `flowstream/database_*.bk` | I [file di backup](../../guides/backups/), se li hai attivati |\n| `private/` | I [file privati](../../guides/private-files/) |\n| `logs/debug.log` | Il [log del server](../../guides/server-log/), se lo hai attivato |\n\nPer tenere i tuoi FlowStream in un'altra cartella, imposta `directory` nel [file di configurazione](../config-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"Janwo03JM60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/reference/data-locations/","project":"flow","version":"11-1","section":"reference","language":"sk","title":"Kde Flow ukladá dáta","summary":"Súbory a priečinky, v ktorých sú tvoje dáta.","markdown":"---\ntitle: \"Kde Flow ukladá dáta\"\nproject: Total.js Flow\nversion: 11.1\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/reference/data-locations/\nupdated: 2026-11-19T04:29:29.073Z\n---\n\n# Kde Flow ukladá dáta\n\n> Súbory a priečinky, v ktorých sú tvoje dáta.\n\nVšetky cesty sú relatívne k priečinku Flow pri inštalácii zo zdrojového kódu.\n\n| Cesta | Čo obsahuje |\n|---|---|\n| `databases/memorize_preferences.json` | Tvoj účet a nastavenia |\n| `databases/config.json` | Vygenerovaný názov cookie a tajný kľúč |\n| `flowstream/database.json` | Tvoje FlowStreamy a globálne premenné |\n| `flowstream/database_*.bk` | [Záložné súbory](../../guides/backups/), ak si ich zapol |\n| `private/` | [Súkromné súbory](../../guides/private-files/) |\n| `logs/debug.log` | [Log servera](../../guides/server-log/), ak si ho zapol |\n\nAk chceš mať FlowStreamy v inom priečinku, nastav `directory` v [konfiguračnom súbore](../config-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:29.073Z"}
{"id":"JanwmV1yM61f","url":"https://totaljs.es/docs/flow/11-1/faq/sign-in/","project":"flow","version":"11-1","section":"faq","language":"en","title":"Signing in","summary":"Answers for when you cannot sign in.","markdown":"---\ntitle: Signing in\nproject: Flow\nversion: 11.1\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/faq/sign-in/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Signing in\n\n> Answers for when you cannot sign in.\n\n## I forgot my password\n\nFlow has no reset screen, but you can make it generate a new account. Your FlowStreams and settings stay in place.\n\n1. Stop Flow.\n2. Open `databases/memorize_preferences.json` in a text editor.\n3. Delete the `user` entry and save the file.\n4. Start Flow.\n5. Open the sign-in page and follow [First sign-in](../../guides/first-sign-in/).\n\nUntil you sign in, the sign-in page shows the new account to anyone who can reach it. Do this while access to the server is restricted.\n\n## Flow says Invalid credentials, but my password is right\n\nFlow counts every sign-in attempt from an address, and after about ten attempts it refuses them all, even correct ones. Wait 15 minutes and try again, or restart Flow to clear the block straight away.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmV1yM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/faq/sign-in/","project":"flow","version":"11-1","section":"faq","language":"de","title":"Anmeldung","summary":"Antworten für den Fall, dass du dich nicht anmelden kannst.","markdown":"---\ntitle: Anmeldung\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/faq/sign-in/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Anmeldung\n\n> Antworten für den Fall, dass du dich nicht anmelden kannst.\n\n## Ich habe mein Passwort vergessen\n\nFlow hat keine Seite zum Zurücksetzen, aber du kannst ein neues Konto erzeugen lassen. Deine FlowStreams und Einstellungen bleiben erhalten.\n\n1. Beende Flow.\n2. Öffne `databases/memorize_preferences.json` in einem Texteditor.\n3. Lösche den Eintrag `user` und speichere die Datei.\n4. Starte Flow.\n5. Öffne die Anmeldeseite und folge der Anleitung [Erste Anmeldung](../../guides/first-sign-in/).\n\nBis du dich anmeldest, zeigt die Anmeldeseite das neue Konto allen, die sie erreichen können. Mach das deshalb nur, während der Zugriff auf den Server eingeschränkt ist.\n\n## Flow meldet Invalid credentials, aber mein Passwort stimmt\n\nFlow zählt jeden Anmeldeversuch von einer Adresse und lehnt nach etwa zehn Versuchen alle ab, auch die richtigen. Warte 15 Minuten und versuche es noch einmal, oder starte Flow neu, um die Sperre sofort aufzuheben.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmV1yM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/faq/sign-in/","project":"flow","version":"11-1","section":"faq","language":"es","title":"Iniciar sesión","summary":"Respuestas para cuando no puedes iniciar sesión.","markdown":"---\ntitle: \"Iniciar sesión\"\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/faq/sign-in/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Iniciar sesión\n\n> Respuestas para cuando no puedes iniciar sesión.\n\n## He olvidado mi contraseña\n\nFlow no tiene una pantalla para restablecerla, pero puedes hacer que genere una cuenta nueva. Tus FlowStreams y tus ajustes siguen en su sitio.\n\n1. Detén Flow.\n2. Abre `databases/memorize_preferences.json` en un editor de texto.\n3. Borra la entrada `user` y guarda el archivo.\n4. Inicia Flow.\n5. Abre la página de inicio de sesión y sigue los pasos de [Primer inicio de sesión](../../guides/first-sign-in/).\n\nHasta que inicies sesión, la página de inicio de sesión muestra la cuenta nueva a cualquiera que pueda acceder a ella. Hazlo mientras el acceso al servidor esté restringido.\n\n## Flow dice Invalid credentials, pero mi contraseña es correcta\n\nFlow cuenta todos los intentos de inicio de sesión desde una dirección y, tras unos diez intentos, los rechaza todos, incluso los correctos. Espera 15 minutos y vuelve a intentarlo, o reinicia Flow para quitar el bloqueo al momento.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmV1yM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/faq/sign-in/","project":"flow","version":"11-1","section":"faq","language":"fr","title":"Se connecter","summary":"Les réponses pour quand tu n’arrives pas à te connecter.","markdown":"---\ntitle: Se connecter\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/faq/sign-in/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Se connecter\n\n> Les réponses pour quand tu n’arrives pas à te connecter.\n\n## J’ai oublié mon mot de passe\n\nFlow n’a pas d’écran de réinitialisation, mais tu peux lui faire générer un nouveau compte. Tes FlowStreams et tes réglages restent en place.\n\n1. Arrête Flow.\n2. Ouvre `databases/memorize_preferences.json` dans un éditeur de texte.\n3. Supprime l’entrée `user` et enregistre le fichier.\n4. Démarre Flow.\n5. Ouvre la page de connexion et suis [Première connexion](../../guides/first-sign-in/).\n\nTant que tu ne t’es pas connecté, la page de connexion affiche le nouveau compte à toute personne qui peut y accéder. Fais cette opération pendant que l’accès au serveur est restreint.\n\n## Flow affiche Invalid credentials, alors que mon mot de passe est correct\n\nFlow compte chaque tentative de connexion venant d’une adresse et, après une dizaine de tentatives, il les refuse toutes, même les bonnes. Attends 15 minutes et réessaie, ou redémarre Flow pour lever le blocage tout de suite.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmV1yM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/faq/sign-in/","project":"flow","version":"11-1","section":"faq","language":"it","title":"Accedere","summary":"Risposte per quando non riesci ad accedere.","markdown":"---\ntitle: Accedere\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/faq/sign-in/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Accedere\n\n> Risposte per quando non riesci ad accedere.\n\n## Ho dimenticato la password\n\nFlow non ha una schermata per reimpostarla, ma puoi fargli generare un nuovo account. I tuoi FlowStream e le tue impostazioni restano al loro posto.\n\n1. Arresta Flow.\n2. Apri `databases/memorize_preferences.json` in un editor di testo.\n3. Elimina la voce `user` e salva il file.\n4. Avvia Flow.\n5. Apri la pagina di accesso e segui [Primo accesso](../../guides/first-sign-in/).\n\nFinché non accedi, la pagina di accesso mostra il nuovo account a chiunque riesca a raggiungerla. Fallo mentre l'accesso al server è limitato.\n\n## Flow dice Invalid credentials, ma la mia password è giusta\n\nFlow conta ogni tentativo di accesso da un indirizzo e, dopo circa dieci tentativi, li rifiuta tutti, anche quelli corretti. Aspetta 15 minuti e riprova, oppure riavvia Flow per togliere subito il blocco.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmV1yM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/faq/sign-in/","project":"flow","version":"11-1","section":"faq","language":"sk","title":"Prihlasovanie","summary":"Odpovede pre prípad, že sa nemôžeš prihlásiť.","markdown":"---\ntitle: Prihlasovanie\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/faq/sign-in/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Prihlasovanie\n\n> Odpovede pre prípad, že sa nemôžeš prihlásiť.\n\n## Zabudol som heslo\n\nFlow nemá obrazovku na obnovenie hesla, môžeš ho však prinútiť vygenerovať nový účet. Tvoje FlowStreamy a nastavenia zostanú zachované.\n\n1. Zastav Flow.\n2. Otvor `databases/memorize_preferences.json` v textovom editore.\n3. Vymaž položku `user` a súbor ulož.\n4. Spusti Flow.\n5. Otvor prihlasovaciu stránku a postupuj podľa návodu [Prvé prihlásenie](../../guides/first-sign-in/).\n\nKým sa neprihlásiš, prihlasovacia stránka ukazuje nový účet každému, kto sa na ňu dostane. Urob to preto vtedy, keď je prístup na server obmedzený.\n\n## Flow hlási Invalid credentials, ale heslo mám správne\n\nFlow počíta každý pokus o prihlásenie z jednej adresy a približne po desiatich pokusoch odmietne všetky, aj tie správne. Počkaj 15 minút a skús to znova, alebo Flow reštartuj, čím sa blokovanie hneď zruší.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmS1uM61f","url":"https://totaljs.es/docs/flow/11-1/faq/designer/","project":"flow","version":"11-1","section":"faq","language":"en","title":"Using the designer","summary":"Answers to common questions about the designer.","markdown":"---\ntitle: Using the designer\nproject: Flow\nversion: 11.1\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/faq/designer/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Using the designer\n\n> Answers to common questions about the designer.\n\n## Why is the component list empty?\n\nA new FlowStream has no components. Select **Add** (plus), then **Download components**. See [Download components](../../guides/download-components/).\n\n## How do I delete a node?\n\nRight-click the node and select **Remove**.\n\n## Why does my new node not process messages?\n\nNew nodes and connections start working after you apply them. See [Apply changes](../../guides/apply-changes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmS1uM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/faq/designer/","project":"flow","version":"11-1","section":"faq","language":"de","title":"Den Designer verwenden","summary":"Antworten auf häufige Fragen zum Designer.","markdown":"---\ntitle: Den Designer verwenden\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/faq/designer/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Den Designer verwenden\n\n> Antworten auf häufige Fragen zum Designer.\n\n## Warum ist die Komponentenliste leer?\n\nEin neuer FlowStream hat keine Komponenten. Wähle **Add** (Hinzufügen, das Plus-Symbol) und dann **Download components**. Mehr dazu unter [Komponenten herunterladen](../../guides/download-components/).\n\n## Wie lösche ich einen Node?\n\nKlicke mit der rechten Maustaste auf den Node und wähle **Remove**.\n\n## Warum verarbeitet mein neuer Node keine Nachrichten?\n\nNeue Nodes und Verbindungen arbeiten erst, wenn du sie übernommen hast. Mehr dazu unter [Änderungen übernehmen](../../guides/apply-changes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmS1uM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/faq/designer/","project":"flow","version":"11-1","section":"faq","language":"es","title":"Usar el diseñador","summary":"Respuestas a las preguntas habituales sobre el diseñador.","markdown":"---\ntitle: \"Usar el diseñador\"\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/faq/designer/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Usar el diseñador\n\n> Respuestas a las preguntas habituales sobre el diseñador.\n\n## ¿Por qué está vacía la lista de componentes?\n\nUn FlowStream nuevo no tiene componentes. Selecciona **Add** (signo +) y luego **Download components**. Consulta [Descargar componentes](../../guides/download-components/).\n\n## ¿Cómo borro un nodo?\n\nHaz clic derecho en el nodo y selecciona **Remove**.\n\n## ¿Por qué mi nodo nuevo no procesa mensajes?\n\nLos nodos y las conexiones nuevos empiezan a funcionar cuando aplicas los cambios. Consulta [Aplicar los cambios](../../guides/apply-changes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmS1uM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/faq/designer/","project":"flow","version":"11-1","section":"faq","language":"fr","title":"Utiliser le designer","summary":"Les réponses aux questions fréquentes sur le designer.","markdown":"---\ntitle: Utiliser le designer\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/faq/designer/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Utiliser le designer\n\n> Les réponses aux questions fréquentes sur le designer.\n\n## Pourquoi la liste des composants est-elle vide ?\n\nUn nouveau FlowStream n’a aucun composant. Sélectionne **Add** (plus), puis **Download components**. Consulte [Télécharger des composants](../../guides/download-components/).\n\n## Comment supprimer un nœud ?\n\nFais un clic droit sur le nœud et sélectionne **Remove**.\n\n## Pourquoi mon nouveau nœud ne traite-t-il pas les messages ?\n\nLes nouveaux nœuds et les nouvelles connexions commencent à fonctionner une fois que tu les as appliqués. Consulte [Appliquer les modifications](../../guides/apply-changes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmS1uM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/faq/designer/","project":"flow","version":"11-1","section":"faq","language":"it","title":"Usare il designer","summary":"Risposte alle domande più comuni sul designer.","markdown":"---\ntitle: Usare il designer\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/faq/designer/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Usare il designer\n\n> Risposte alle domande più comuni sul designer.\n\n## Perché l'elenco dei componenti è vuoto?\n\nUn nuovo FlowStream non ha componenti. Seleziona **Add** (più), poi **Download components**. Leggi [Scaricare i componenti](../../guides/download-components/).\n\n## Come elimino un nodo?\n\nFai clic con il tasto destro sul nodo e seleziona **Remove**.\n\n## Perché il mio nuovo nodo non elabora i messaggi?\n\nI nuovi nodi e le nuove connessioni iniziano a funzionare dopo che li hai applicati. Leggi [Applicare le modifiche](../../guides/apply-changes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmS1uM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/faq/designer/","project":"flow","version":"11-1","section":"faq","language":"sk","title":"Práca s návrhárom","summary":"Odpovede na časté otázky o návrhárovi.","markdown":"---\ntitle: \"Práca s návrhárom\"\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/faq/designer/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Práca s návrhárom\n\n> Odpovede na časté otázky o návrhárovi.\n\n## Prečo je zoznam komponentov prázdny?\n\nNový FlowStream nemá žiadne komponenty. Vyber **Add** (plus) a potom **Download components**. Pozri si [Stiahni komponenty](../../guides/download-components/).\n\n## Ako odstránim uzol?\n\nKlikni na uzol pravým tlačidlom a vyber **Remove**.\n\n## Prečo môj nový uzol nespracúva správy?\n\nNové uzly a prepojenia začnú fungovať, až keď ich použiješ. Pozri si [Použi zmeny](../../guides/apply-changes/).\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmU1wM61f","url":"https://totaljs.es/docs/flow/11-1/faq/server-log/","project":"flow","version":"11-1","section":"faq","language":"en","title":"Server log","summary":"Why the server log can be empty.","markdown":"---\ntitle: Server log\nproject: Flow\nversion: 11.1\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/faq/server-log/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Server log\n\n> Why the server log can be empty.\n\n## Why is the server log empty?\n\nOn an installation from source, the log needs `$logger : true` in the `config` file. See [Read the server log](../../guides/server-log/).\n\nWith the setting on, the window stays empty until the server has something to write.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmU1wM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/faq/server-log/","project":"flow","version":"11-1","section":"faq","language":"de","title":"Serverprotokoll","summary":"Warum das Serverprotokoll leer sein kann.","markdown":"---\ntitle: Serverprotokoll\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/faq/server-log/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Serverprotokoll\n\n> Warum das Serverprotokoll leer sein kann.\n\n## Warum ist das Serverprotokoll leer?\n\nBei einer Installation aus dem Quellcode braucht das Protokoll den Eintrag `$logger : true` in der Datei `config`. Mehr dazu unter [Das Serverprotokoll lesen](../../guides/server-log/).\n\nAuch wenn die Einstellung aktiv ist, bleibt das Fenster leer, bis der Server etwas zu schreiben hat.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmU1wM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/faq/server-log/","project":"flow","version":"11-1","section":"faq","language":"es","title":"Registro del servidor","summary":"Por qué el registro del servidor puede estar vacío.","markdown":"---\ntitle: Registro del servidor\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/faq/server-log/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Registro del servidor\n\n> Por qué el registro del servidor puede estar vacío.\n\n## ¿Por qué está vacío el registro del servidor?\n\nEn una instalación desde el código fuente, el registro necesita `$logger : true` en el archivo `config`. Consulta [Leer el registro del servidor](../../guides/server-log/).\n\nCon esta opción activada, la ventana sigue vacía hasta que el servidor tiene algo que escribir.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmU1wM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/faq/server-log/","project":"flow","version":"11-1","section":"faq","language":"fr","title":"Journal du serveur","summary":"Pourquoi le journal du serveur peut être vide.","markdown":"---\ntitle: Journal du serveur\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/faq/server-log/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Journal du serveur\n\n> Pourquoi le journal du serveur peut être vide.\n\n## Pourquoi le journal du serveur est-il vide ?\n\nSur une installation depuis les sources, le journal a besoin de `$logger : true` dans le fichier `config`. Consulte [Lire le journal du serveur](../../guides/server-log/).\n\nMême avec ce réglage activé, la fenêtre reste vide tant que le serveur n’a rien à écrire.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmU1wM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/faq/server-log/","project":"flow","version":"11-1","section":"faq","language":"it","title":"Log del server","summary":"Perché il log del server può essere vuoto.","markdown":"---\ntitle: Log del server\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/faq/server-log/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Log del server\n\n> Perché il log del server può essere vuoto.\n\n## Perché il log del server è vuoto?\n\nIn un'installazione dal codice sorgente, il log ha bisogno di `$logger : true` nel file `config`. Leggi [Leggere il log del server](../../guides/server-log/).\n\nAnche con l'impostazione attiva, la finestra resta vuota finché il server non ha qualcosa da scrivere.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmU1wM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/faq/server-log/","project":"flow","version":"11-1","section":"faq","language":"sk","title":"Log servera","summary":"Prečo môže byť log servera prázdny.","markdown":"---\ntitle: Log servera\nproject: Total.js Flow\nversion: 11.1\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/faq/server-log/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Log servera\n\n> Prečo môže byť log servera prázdny.\n\n## Prečo je log servera prázdny?\n\nPri inštalácii zo zdrojového kódu potrebuje log v súbore `config` nastavenie `$logger : true`. Pozri si [Prečítaj si log servera](../../guides/server-log/).\n\nAj so zapnutým nastavením zostane okno prázdne, kým server nemá čo zapísať.\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JapyTc2uE61f","url":"https://totaljs.es/docs/flow/11-1/components/introduction/","project":"flow","version":"11-1","section":"components","language":"en","title":"Official components","summary":"Where the official components come from, how they are versioned and how to read this catalogue.","markdown":"---\ntitle: Official components\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/introduction/\nupdated: 2026-11-19T10:58:28.322Z\n---\n\n# Official components\n\n> Where the official components come from, how they are versioned and how to read this catalogue.\n\nThe official components are the building blocks that Total.js publishes for Flow. This section lists every component of the official catalogue, grouped as the **Download components** window groups them.\n\n## Where the components come from\n\nEach component is one HTML file in the GitHub repository [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents), in the `components` folder. The file holds the code that runs on the server, the settings form, the look of the node and the readme.\n\nThe repository also holds `db.json`, the catalogue: one entry for each component with its name, group, version, author, icon, readme and the address of its file. The files and the catalogue are published at:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/db.json\n```\n\nFlow reads this address from **Main components** in the [Settings screen](/flow/11-1/reference/settings-screen/). Your browser downloads the catalogue when you open the **Download components** window, so you need internet access to use it.\n\n## Add a component to a FlowStream\n\nComponents belong to one FlowStream. To add one, open the designer, select **Add** (plus), then **Download components**, and select the component. The steps are in [Download components](/flow/11-1/guides/download-components/).\n\nIn that window:\n\n- Green components are already installed in this FlowStream.\n- A component with an **update** badge has a newer version in the catalogue than the one you installed. Select it to install the new version.\n- A component with a **Community** badge has an author other than Total.js.\n- **Read me** shows the readme of the component, the same text as in this section.\n\n## Versions\n\nEvery component has its own version number. It belongs to the component, not to Flow, and it goes up when the component changes. Each entry in this section shows the file name and the version of the component in the repository.\n\nThe catalogue and the repository are published separately, so at times the **Download components** window shows an older version number, or a component that the repository does not hold yet.\n\n## How to read an entry\n\n| Part | What it tells you |\n|---|---|\n| Name and file | The name in the designer, the file in the repository and its version. |\n| Inputs and outputs | The connection points of the node: the id in code and the name on the node. |\n| Notes | npm packages that Flow installs for the component, and whether a FlowStream can hold only one node of it. |\n| Readme | The description from the author. |\n| Parameters | The main settings of the node: the key in the configuration, its default value and the label in the settings form. |\n\nSome components work with an external service, such as a database server, an MQTT broker, Total.js API or an AI model. You need your own server or account for them, and their settings ask for its address or token.\n\n## Write your own\n\nTo build components of your own, or to offer a catalogue to your team, see [Develop components](../../development/introduction/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:28.322Z"}
{"id":"JapyTc2uE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/introduction/","project":"flow","version":"11-1","section":"components","language":"de","title":"Offizielle Komponenten","summary":"Woher die offiziellen Komponenten kommen, wie sie versioniert werden und wie du diesen Katalog liest.","markdown":"---\ntitle: Offizielle Komponenten\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/introduction/\nupdated: 2026-11-19T10:58:28.322Z\n---\n\n# Offizielle Komponenten\n\n> Woher die offiziellen Komponenten kommen, wie sie versioniert werden und wie du diesen Katalog liest.\n\nDie offiziellen Komponenten sind die Bausteine, die Total.js für Flow veröffentlicht. Dieser Abschnitt listet jede Komponente des offiziellen Katalogs auf, gruppiert so wie im Fenster **Download components** (Komponenten herunterladen).\n\n## Woher die Komponenten kommen\n\nJede Komponente ist eine HTML-Datei im GitHub-Repository [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents), im Ordner `components`. Die Datei enthält den Code, der auf dem Server läuft, das Einstellungsformular, das Aussehen des Knotens und die Readme.\n\nDas Repository enthält außerdem `db.json`, den Katalog: ein Eintrag pro Komponente mit Name, Gruppe, Version, Autor, Symbol, Readme und der Adresse ihrer Datei. Die Dateien und der Katalog werden hier veröffentlicht:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/db.json\n```\n\nFlow liest diese Adresse aus **Main components** im [Einstellungsbildschirm](/flow/11-1/reference/settings-screen/). Dein Browser lädt den Katalog herunter, wenn du das Fenster **Download components** öffnest. Dafür brauchst du also Internetzugang.\n\n## Eine Komponente zu einem FlowStream hinzufügen\n\nKomponenten gehören zu einem FlowStream. Um eine hinzuzufügen, öffne den Designer, wähle **Add** (Plus), dann **Download components** und wähle die Komponente aus. Die einzelnen Schritte findest du unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\nIn diesem Fenster gilt:\n\n- Grüne Komponenten sind in diesem FlowStream bereits installiert.\n- Eine Komponente mit dem Badge **update** hat im Katalog eine neuere Version als die, die du installiert hast. Wähle sie aus, um die neue Version zu installieren.\n- Eine Komponente mit dem Badge **Community** stammt von einem anderen Autor als Total.js.\n- **Read me** zeigt die Readme der Komponente, also denselben Text wie in diesem Abschnitt.\n\n## Versionen\n\nJede Komponente hat ihre eigene Versionsnummer. Sie gehört zur Komponente, nicht zu Flow, und steigt, wenn sich die Komponente ändert. Jeder Eintrag in diesem Abschnitt zeigt den Dateinamen und die Version der Komponente im Repository.\n\nKatalog und Repository werden getrennt veröffentlicht. Deshalb zeigt das Fenster **Download components** manchmal eine ältere Versionsnummer oder eine Komponente, die es im Repository noch nicht gibt.\n\n## So liest du einen Eintrag\n\n| Teil | Was er dir sagt |\n|---|---|\n| Name und Datei | Der Name im Designer, die Datei im Repository und ihre Version. |\n| Eingänge und Ausgänge | Die Anschlusspunkte des Knotens: die ID im Code und der Name am Knoten. |\n| Hinweise | npm-Pakete, die Flow für die Komponente installiert, und ob ein FlowStream nur einen Knoten davon enthalten kann. |\n| Readme | Die Beschreibung des Autors. |\n| Parameter | Die wichtigsten Einstellungen des Knotens: der Schlüssel in der Konfiguration, sein Standardwert und die Beschriftung im Einstellungsformular. |\n\nManche Komponenten arbeiten mit einem externen Dienst, etwa einem Datenbankserver, einem MQTT-Broker, Total.js API oder einem KI-Modell. Dafür brauchst du deinen eigenen Server oder dein eigenes Konto, und ihre Einstellungen fragen nach dessen Adresse oder Token.\n\n## Eigene Komponenten schreiben\n\nWie du eigene Komponenten baust oder deinem Team einen Katalog anbietest, erfährst du unter [Komponenten entwickeln](../../development/introduction/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:28.322Z"}
{"id":"JapyTc2uE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/introduction/","project":"flow","version":"11-1","section":"components","language":"es","title":"Componentes oficiales","summary":"De dónde vienen los componentes oficiales, cómo se versionan y cómo leer este catálogo.","markdown":"---\ntitle: Componentes oficiales\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/introduction/\nupdated: 2026-11-19T10:58:28.322Z\n---\n\n# Componentes oficiales\n\n> De dónde vienen los componentes oficiales, cómo se versionan y cómo leer este catálogo.\n\nLos componentes oficiales son las piezas que Total.js publica para Flow. Esta sección lista todos los componentes del catálogo oficial, agrupados igual que en la ventana **Download components** (descargar componentes).\n\n## De dónde vienen los componentes\n\nCada componente es un archivo HTML del repositorio de GitHub [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents), en la carpeta `components`. El archivo contiene el código que se ejecuta en el servidor, el formulario de ajustes, el aspecto del nodo y el readme.\n\nEl repositorio también contiene `db.json`, el catálogo: una entrada por componente con su nombre, grupo, versión, autor, icono, readme y la dirección de su archivo. Los archivos y el catálogo se publican en:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/db.json\n```\n\nFlow lee esta dirección de **Main components** en la [pantalla de ajustes](/flow/11-1/reference/settings-screen/). Tu navegador descarga el catálogo cuando abres la ventana **Download components**, así que necesitas acceso a internet para usarla.\n\n## Añadir un componente a un FlowStream\n\nLos componentes pertenecen a un FlowStream. Para añadir uno, abre el diseñador, selecciona **Add** (más), luego **Download components** y elige el componente. Tienes los pasos en [Descargar componentes](/flow/11-1/guides/download-components/).\n\nEn esa ventana:\n\n- Los componentes en verde ya están instalados en este FlowStream.\n- Un componente con la etiqueta **update** tiene en el catálogo una versión más nueva que la que instalaste. Selecciónalo para instalar la nueva versión.\n- Un componente con la etiqueta **Community** tiene un autor distinto de Total.js.\n- **Read me** muestra el readme del componente, el mismo texto que en esta sección.\n\n## Versiones\n\nCada componente tiene su propio número de versión. Pertenece al componente, no a Flow, y sube cuando el componente cambia. Cada entrada de esta sección muestra el nombre del archivo y la versión del componente en el repositorio.\n\nEl catálogo y el repositorio se publican por separado, así que a veces la ventana **Download components** muestra un número de versión más antiguo, o un componente que el repositorio todavía no tiene.\n\n## Cómo leer una entrada\n\n| Parte | Qué te indica |\n|---|---|\n| Nombre y archivo | El nombre en el diseñador, el archivo en el repositorio y su versión. |\n| Entradas y salidas | Los puntos de conexión del nodo: el id en el código y el nombre en el nodo. |\n| Notas | Los paquetes npm que Flow instala para el componente, y si un FlowStream puede tener solo un nodo de este tipo. |\n| Readme | La descripción del autor. |\n| Parámetros | Los ajustes principales del nodo: la clave en la configuración, su valor por defecto y la etiqueta en el formulario de ajustes. |\n\nAlgunos componentes trabajan con un servicio externo, como un servidor de base de datos, un broker MQTT, Total.js API o un modelo de IA. Para ellos necesitas tu propio servidor o cuenta, y sus ajustes te piden su dirección o su token.\n\n## Crea los tuyos\n\nPara crear tus propios componentes, u ofrecer un catálogo a tu equipo, consulta [Desarrollar componentes](../../development/introduction/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:28.322Z"}
{"id":"JapyTc2uE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/introduction/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Composants officiels","summary":"D’où viennent les composants officiels, comment ils sont versionnés et comment lire ce catalogue.","markdown":"---\ntitle: Composants officiels\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/introduction/\nupdated: 2026-11-19T10:58:28.322Z\n---\n\n# Composants officiels\n\n> D’où viennent les composants officiels, comment ils sont versionnés et comment lire ce catalogue.\n\nLes composants officiels sont les briques que Total.js publie pour Flow. Cette section liste tous les composants du catalogue officiel, regroupés comme dans la fenêtre **Download components** (télécharger des composants).\n\n## D’où viennent les composants\n\nChaque composant est un fichier HTML du dépôt GitHub [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents), dans le dossier `components`. Le fichier contient le code qui s’exécute sur le serveur, le formulaire de paramètres, l’apparence du nœud et le readme.\n\nLe dépôt contient aussi `db.json`, le catalogue : une entrée par composant avec son nom, son groupe, sa version, son auteur, son icône, son readme et l’adresse de son fichier. Les fichiers et le catalogue sont publiés à l’adresse :\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/db.json\n```\n\nFlow lit cette adresse dans **Main components** de l’[écran Settings](/flow/11-1/reference/settings-screen/). Ton navigateur télécharge le catalogue quand tu ouvres la fenêtre **Download components**, donc tu as besoin d’un accès à Internet pour l’utiliser.\n\n## Ajouter un composant à un FlowStream\n\nLes composants appartiennent à un FlowStream. Pour en ajouter un, ouvre le designer, sélectionne **Add** (le plus), puis **Download components**, et sélectionne le composant. Les étapes sont décrites dans [Télécharger des composants](/flow/11-1/guides/download-components/).\n\nDans cette fenêtre :\n\n- Les composants en vert sont déjà installés dans ce FlowStream.\n- Un composant avec un badge **update** a dans le catalogue une version plus récente que celle que tu as installée. Sélectionne-le pour installer la nouvelle version.\n- Un composant avec un badge **Community** a un autre auteur que Total.js.\n- **Read me** affiche le readme du composant, le même texte que dans cette section.\n\n## Versions\n\nChaque composant a son propre numéro de version. Il appartient au composant, pas à Flow, et il augmente quand le composant change. Chaque entrée de cette section indique le nom du fichier et la version du composant dans le dépôt.\n\nLe catalogue et le dépôt sont publiés séparément : il arrive donc que la fenêtre **Download components** affiche un numéro de version plus ancien, ou un composant que le dépôt ne contient pas encore.\n\n## Comment lire une entrée\n\n| Partie | Ce qu’elle t’indique |\n|---|---|\n| Nom et fichier | Le nom dans le designer, le fichier dans le dépôt et sa version. |\n| Entrées et sorties | Les points de connexion du nœud : l’id dans le code et le nom sur le nœud. |\n| Notes | Les paquets npm que Flow installe pour le composant, et si un FlowStream ne peut contenir qu’un seul nœud de ce composant. |\n| Readme | La description de l’auteur. |\n| Paramètres | Les principaux réglages du nœud : la clé dans la configuration, sa valeur par défaut et le libellé dans le formulaire de paramètres. |\n\nCertains composants fonctionnent avec un service externe, comme un serveur de base de données, un broker MQTT, Total.js API ou un modèle d’IA. Il te faut ton propre serveur ou compte pour eux, et leurs paramètres te demandent son adresse ou son jeton.\n\n## Créer les tiens\n\nPour créer tes propres composants, ou proposer un catalogue à ton équipe, consulte [Développer des composants](../../development/introduction/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:28.322Z"}
{"id":"JapyTc2uE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/introduction/","project":"flow","version":"11-1","section":"components","language":"it","title":"Componenti ufficiali","summary":"Da dove arrivano i componenti ufficiali, come sono versionati e come leggere questo catalogo.","markdown":"---\ntitle: Componenti ufficiali\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/introduction/\nupdated: 2026-11-19T10:58:28.322Z\n---\n\n# Componenti ufficiali\n\n> Da dove arrivano i componenti ufficiali, come sono versionati e come leggere questo catalogo.\n\nI componenti ufficiali sono i mattoni che Total.js pubblica per Flow. Questa sezione elenca tutti i componenti del catalogo ufficiale, raggruppati come li raggruppa la finestra **Download components** (scarica componenti).\n\n## Da dove arrivano i componenti\n\nOgni componente è un file HTML nel repository GitHub [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents), nella cartella `components`. Il file contiene il codice che gira sul server, il modulo delle impostazioni, l'aspetto del nodo e il readme.\n\nIl repository contiene anche `db.json`, il catalogo: una voce per ogni componente con il nome, il gruppo, la versione, l'autore, l'icona, il readme e l'indirizzo del suo file. I file e il catalogo sono pubblicati a questo indirizzo:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/db.json\n```\n\nFlow legge questo indirizzo da **Main components** nella [schermata Settings](/flow/11-1/reference/settings-screen/). Il tuo browser scarica il catalogo quando apri la finestra **Download components**, quindi ti serve l'accesso a internet per usarla.\n\n## Aggiungere un componente a un FlowStream\n\nI componenti appartengono a un FlowStream. Per aggiungerne uno, apri il designer, seleziona **Add** (più), poi **Download components**, e seleziona il componente. Trovi i passaggi in [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\nIn quella finestra:\n\n- I componenti verdi sono già installati in questo FlowStream.\n- Un componente con il badge **update** ha nel catalogo una versione più recente di quella che hai installato. Selezionalo per installare la nuova versione.\n- Un componente con il badge **Community** ha un autore diverso da Total.js.\n- **Read me** mostra il readme del componente, lo stesso testo di questa sezione.\n\n## Versioni\n\nOgni componente ha il suo numero di versione. Appartiene al componente, non a Flow, e sale quando il componente cambia. Ogni voce di questa sezione mostra il nome del file e la versione del componente nel repository.\n\nIl catalogo e il repository vengono pubblicati separatamente, quindi a volte la finestra **Download components** mostra un numero di versione più vecchio, o un componente che il repository non contiene ancora.\n\n## Come leggere una voce\n\n| Parte | Cosa ti dice |\n|---|---|\n| Nome e file | Il nome nel designer, il file nel repository e la sua versione. |\n| Ingressi e uscite | I punti di connessione del nodo: l'id nel codice e il nome sul nodo. |\n| Note | I pacchetti npm che Flow installa per il componente, e se un FlowStream può contenere un solo nodo di quel componente. |\n| Readme | La descrizione dell'autore. |\n| Parametri | Le impostazioni principali del nodo: la chiave nella configurazione, il suo valore predefinito e l'etichetta nel modulo delle impostazioni. |\n\nAlcuni componenti lavorano con un servizio esterno, come un server di database, un broker MQTT, Total.js API o un modello di AI. Per questi ti serve un tuo server o un tuo account, e le loro impostazioni ti chiedono il suo indirizzo o il suo token.\n\n## Scrivi i tuoi\n\nPer creare componenti tuoi, o per offrire un catalogo al tuo team, consulta [Sviluppare componenti](../../development/introduction/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:28.322Z"}
{"id":"JapyTc2uE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/introduction/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Oficiálne komponenty","summary":"Odkiaľ pochádzajú oficiálne komponenty, ako sa číslujú ich verzie a ako čítať tento katalóg.","markdown":"---\ntitle: \"Oficiálne komponenty\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/introduction/\nupdated: 2026-11-19T10:58:28.322Z\n---\n\n# Oficiálne komponenty\n\n> Odkiaľ pochádzajú oficiálne komponenty, ako sa číslujú ich verzie a ako čítať tento katalóg.\n\nOficiálne komponenty sú stavebné bloky, ktoré Total.js vydáva pre Flow. Táto sekcia uvádza všetky komponenty oficiálneho katalógu, zoskupené tak, ako ich zoskupuje okno **Download components** (stiahnutie komponentov).\n\n## Odkiaľ komponenty pochádzajú\n\nKaždý komponent je jeden HTML súbor v GitHub repozitári [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents), v priečinku `components`. Súbor obsahuje kód, ktorý beží na serveri, formulár nastavení, vzhľad uzla a readme.\n\nRepozitár obsahuje aj `db.json`, teda katalóg: jednu položku pre každý komponent s jeho názvom, skupinou, verziou, autorom, ikonou, readme a adresou jeho súboru. Súbory a katalóg sú zverejnené na adrese:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/db.json\n```\n\nFlow číta túto adresu z poľa **Main components** na [obrazovke Settings](/flow/11-1/reference/settings-screen/). Tvoj prehliadač stiahne katalóg, keď otvoríš okno **Download components**, takže na jeho použitie potrebuješ prístup na internet.\n\n## Pridanie komponentu do FlowStreamu\n\nKomponenty patria k jednému FlowStreamu. Ak chceš nejaký pridať, otvor návrhára, vyber **Add** (plus), potom **Download components** a vyber komponent. Jednotlivé kroky nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\nV tomto okne:\n\n- Zelené komponenty sú v tomto FlowStreame už nainštalované.\n- Komponent so štítkom **update** má v katalógu novšiu verziu, než akú máš nainštalovanú. Vyber ho a nainštaluje sa nová verzia.\n- Komponent so štítkom **Community** má iného autora než Total.js.\n- **Read me** zobrazí readme komponentu, ten istý text ako v tejto sekcii.\n\n## Verzie\n\nKaždý komponent má vlastné číslo verzie. Patrí komponentu, nie Flow, a zvyšuje sa, keď sa komponent zmení. Každá položka v tejto sekcii uvádza názov súboru a verziu komponentu v repozitári.\n\nKatalóg a repozitár sa zverejňujú oddelene, takže okno **Download components** niekedy ukazuje staršie číslo verzie alebo komponent, ktorý repozitár ešte nemá.\n\n## Ako čítať položku\n\n| Časť | Čo ti povie |\n|---|---|\n| Názov a súbor | Názov v návrhári, súbor v repozitári a jeho verziu. |\n| Vstupy a výstupy | Body pripojenia uzla: id v kóde a názov na uzle. |\n| Poznámky | npm balíky, ktoré Flow pre komponent nainštaluje, a či FlowStream môže obsahovať iba jeden jeho uzol. |\n| Readme | Popis od autora. |\n| Parametre | Hlavné nastavenia uzla: kľúč v konfigurácii, jeho predvolená hodnota a popisok vo formulári nastavení. |\n\nNiektoré komponenty pracujú s externou službou, napríklad s databázovým serverom, MQTT brokerom, Total.js API alebo AI modelom. Na ne potrebuješ vlastný server alebo účet a ich nastavenia sa pýtajú na jeho adresu alebo token.\n\n## Napíš si vlastné\n\nAk chceš vytvárať vlastné komponenty alebo ponúknuť katalóg svojmu tímu, pozri [Vývoj komponentov](../../development/introduction/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:28.322Z"}
{"id":"JapyRE2bA60f","url":"https://totaljs.es/docs/flow/11-1/components/common/","project":"flow","version":"11-1","section":"components","language":"en","title":"Common","summary":"General components that send, change, split, merge, delay and print messages.","markdown":"---\ntitle: Common\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/common/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Common\n\n> General components that send, change, split, merge, delay and print messages.\n\nGeneral components that send, change, split, merge, delay and print messages. This page holds the catalogue group **Common**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### code.html · version 4\n\nType: `component`\n\nRuns your own JavaScript code for each message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `outputs` | `Number` | no | `1` | Number of outputs. |\n| `name` | `String` | no | `Code` | Name. |\n| `code` | `String` | no |  | The JavaScript code that runs for each message. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output); more come from the settings of the node.\n\nThis component executes a custom JavaScript code as it is.\n\nTo send data to the default output use `send(somedata);`\nTo send data to specific output when number of outputs > 1 use `$.send('outputX', somedata)` where `X` is output index, see example bellow:\n- first output--> `send(somedata)` or `$.send('output', somedata)`\n- second output --> `$.send('output2', somedata)`\n- ...\n- 5th output --> `$.send('output5', somedata)`\n- etc.\n\n### comment.html · version 1\n\nType: `component`\n\nShows a short Markdown comment on the canvas.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | no | `Add a custom comment...` | The comment, in Markdown. |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nThis component renders a small markdown comment inside the body.\n\n### counter.html · version 1\n\nType: `component`\n\nCounts incoming messages.\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component counts incoming messages.\n\n### datamapper.html · version 1\n\nType: `component`\n\nRenames the properties of the incoming data.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `extend` | `Boolean` | no | `false` | Only extend the incoming payload. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component remaps payload properties.\n\n### datasorter.html · version 3\n\nType: `component`\n\nSends each message to the output whose condition it meets.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[]` | The conditions. Each condition has its own output. |\n| `if` | `String` | no |  | Condition. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** they come from the settings of the node.\n\nThe component sorts data according to the custom defined conditions. You can define unlimited count of outputs with various conditions.\n\n### delay.html · version 4\n\nType: `component`\n\nDelays each message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `delay` | `Number` | no | `1000` | Delay. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nWhen several messages wait, the component sends the newest one first, then one message after each delay.\n\nThe component delays processing of a message.\n\n### downloader.html · version 2\n\nType: `component`\n\nDownloads a file from a URL address.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | no | `file` | Output. One of: `file` (File), `base64` (BASE64), `datauri` (Data URI), `buffer` (Buffer). |\n| `path` | `String` | no | `value` | Assign response to the path. |\n| `urlpath` | `String` | no | `url` | Path for reading URL address. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThe component downloads the file from the URL address as it is.\n\n**Input**\n\n```js\n{\n\turl: 'https://example.com/file.jpg', // file url\n}\n```\n\n**Output**\n\n```js\n{\n\tvalue: '/tmp/xyz.bin',\n\t...\n}\n```\n\nThe file will be automaticaly deleted once the message is destroyed.\n\n### duplicator.html · version 1\n\nType: `component`\n\nSends each incoming message several times.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Count. |\n| `repo` | `Boolean` | no | `true` | Duplicate repository. |\n| `refs` | `Boolean` | no | `true` | Duplicate references. |\n| `vars` | `Boolean` | no | `true` | Duplicate variables. |\n| `data` | `Boolean` | no | `true` | Duplicate data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component duplicates incoming messages according to the configuration settings.\n\n### end.html · version 1\n\nType: `component`\n\nEnds the incoming message.\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component destroys the incoming message.\n\n### extend.html · version 3\n\nType: `component`\n\nAdds new properties to the incoming data.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Load data from the specific property/field. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component extends the current message by adding new properties.\n\n### feedtodelay.html · version 1\n\nType: `component`\n\nForwards only the last message after a quiet period.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `String` | no |  | Timeout in seconds. |\n| `resend` | `String` | no |  | Keep resending. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe incomming message will only be forwarded after the timeout. Only the last message is forwarded, so any previously received messages are lost.\nIf messages are comming in within the given timeout period this component will never forward any message.\nThe timeout is activated by the first message.\nThe maximum timeout is 2147483 seconds, which is about 24.8 days.\nExample usage:\n\t- A sensor is supposed to send data every minute, use this component to notify you that there is a problem with receiving message.\n\t- HTTP request comes in and it takes too much time to respond? Use this component to notify you about it.\n\n### flashback.html · version 4\n\nType: `component`\n\nRemembers data so that you can repeat the action.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component remembers the data for repeating the action.\n\n### forward.html · version 1\n\nType: `component`\n\nForwards messages, for use with colored connections.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component send message next only. It's targeted for colorized connections to targeted to the same input.\n- The data will Flow only from input a specific color (except black)\n- The color black is a universal color and it will transport everything\n\n### request.html · version 8\n\nType: `component`\n\nMakes an HTTP request and sends the response.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL address. |\n| `method` | `String` | no | `GET` | Method. One of: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`. |\n| `dnscache` | `Boolean` | no | `true` | Enable DNS cache. |\n| `insecure` | `Boolean` | no | `false` | Allow insecure connection. |\n| `secret` | `String` | no |  | Total.js Encryption/Decryption secret. |\n| `xhr` | `Boolean` | no | `false` | Add XHR header. |\n| `parse` | `Boolean` | no | `true` | Parse Response to Object. |\n| `timeout` | `Number` | no | `10000` | Timeout. |\n| `limit` | `Number` | no | `512000` | Max. size. |\n| `headers` | `Object` | no | `{}` | Headers. |\n| `cookies` | `Object` | no | `{}` | Cookies. |\n| `serialize` | `Object` | no | `null` | Data serialization. One of: `json` (JSON), `urlencoded` (URL encode), `buffer` (Buffer). |\n| `send` | `String` | no | `all` | Send to output. One of: `all` (Everything), `response` (Response body), `chunks` (Chunks of buffer), `headers` (Headers only), `status` (Status code). |\n| `path` | `String` | no |  | Read path. |\n| `path2` | `String` | no |  | Write path. |\n| `patherr` | `String` | no |  | Error path. |\n\n**Inputs:** `payload` (Payload).  \n**Outputs:** `response` (Response), `error` (Error).\n\nThe component makes a HTTP request. The response data will be serialized as the payload.\n\n__Response__:\n\n```json\n{\n\tstatus: Number,\n\theaders: { key: value },\n\tcookies: { key: value },\n\thost: String,\n\tbody: String/Object/Buffer\n}\n```\n\n### jsonschemavalidator.html · version 1\n\nType: `component`\n\nValidates incoming data against a JSON schema.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no |  | JSON schema. |\n\n**Inputs:** `input` (Input), `schema` (Schema).  \n**Outputs:** `output` (Output), `schema` (Schema), `error` (Error).\n\n[JSON schema documentation](https://json-schema.org/learn/getting-started-step-by-step.html)\n\n**Inputs**\n\n- `input` validates data and send the result to output if no error, otherwise send error to error output\n- `schema` reads the schema and send it to the schema output\n\n### livestats.html · version 1\n\nType: `component`\n\nShows statistics of incoming messages live.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `interval` | `Number` | no | `1000` | Interval (ms). |\n| `color` | `String` | no | `#E73CF7` | Color. |\n\n**Inputs:** `input` (Counter).  \n**Outputs:** none.\n\n**Live Stats Component**\n\nKeep an eye on incoming messages in a snap!\n\n### logger.html · version 1\n\nType: `component`\n\nLogs information about incoming data.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | Message ID. |\n| `name` | `String` | no | `{{ data.name }}` | Log name. |\n| `status` | `String` | no | `Step 1` | Log step. |\n| `remove` | `String` | no | `1 year` | Remove logs older than. |\n\n**Inputs:** `input` (Input), `error` (Error).  \n**Outputs:** `error` (Error), `output` (Output).\n\nThe component logs information about incoming data.\n\n### macro.html · version 1\n\nType: `component`\n\nTransforms data with the Total.js Macro language.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `RETURN DATA` | The code in the Total.js Macro language. |\n| `clear` | `String` | no |  | Clear temporary data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe macro component uses Total.js Macro language that allows you to write much simple code like in JavaScript. Macros are targeted for small data transformation.\n\n- you don't need to solve Upper/Lower case\n- `return EXPRESSION` will return data and send them next\n- `data` keyword contains a message data\n- `temp` keyword can contain a persistent temporary data\n\n__Example__:\n\n```text\nIF DATA>20 AND DATA<35\n\tRETURN DATA * 5\nFI\n```\n\n### map-array.html · version 1\n\nType: `component`\n\nKeeps only the listed properties of each object in an array.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `array` | `String` | no |  | Return an Array of Arrays (Default: Array of Objects). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component can iterate over an array and only take properties listed in the configuration. __The input must be an array of objects!__\n\n**Example data**\n\n```js\n[\n\t{ sensor: { temperature: 25, humidity: 50, ... some more properties }},\n\t{ sensor: { temperature: 24, humidity: 55, ... some more properties }},\n\t{ sensor: { temperature: 23, humidity: 60, ... some more properties }}\n]\n```\n\n**Example configuration**\n\n- `sensor.temperature` -> `temp`\n- `sensor.humidity` -> `hum`\n\n**Example output**\n\n```js\n[\n\t{ temp: 25, hum: 50 },\n\t{ temp: 24, hum: 55 },\n\t{ temp: 23, hum: 60 }\n]\n```\n\nIf `Return an Array of Arrays` is checked then\neach of the Map properties will be pushed to a new array, see example bellow\n\n**Example given the data above and this configuration:**\n\n`Return an Array of Arrays` -> **checked**\n\n**Map**:\n\n- `sensor.temperature`\n- `sensor.humidity`\n\n**Example output:**\n\n```js\n[\n\t[25, 50],\n\t[24, 55],\n\t[23, 60],\n]\n```\n\n### merge.html · version 1\n\nType: `component`\n\nMerges incoming data into an array.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `0` | Limit. |\n| `timeout` | `Number` | no | `2000` | Timeout. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component merges incoming data into an array.\n\n### merginputs.html · version 1.1.0\n\nType: `component`\n\nMerges the data of several inputs into one object.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `inputs` | `Array` | no | `[]` | The inputs to merge. |\n| `clear` | `String` | no |  | Clear cache. |\n| `path` | `String` | no |  | Path. |\n| `assign` | `String` | no |  | Assign to the path. |\n| `required` | `String` | no |  | Required. |\n\n**Inputs:** they come from the settings of the node.  \n**Outputs:** `output` (Output).\n\nThis component merges multiple inputs into one object.\n\n### modified.html · version 1\n\nType: `component`\n\nCompares incoming data with the previous data.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `modified` (Modified), `notmodified` (Not modified).\n\nThe component compares incoming data with previous data.\n\n### modify.html · version 3\n\nType: `component`\n\nSets, moves or removes properties of the incoming data.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `rules` | `Array` | no | `[]` | The rules that change the data, applied in order. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component allows you to set/modify/move/remove properties of the incomming data.\nFor eaxample, to set the message data to a string `Hello world` select *Message data* in the rule dropdown and leave the text field empty.\nThen in the bellow dropdown select `string` and enter the desired string in the text field.\n\n__Result:__\n\n- before: $.data -> 'Hello world'\n- after:  $.data -> 'New string'\n\n**Expression**\n\nAvailable params are: `data`, `repo`, `variables` ,`variables2`\nWhere data is message.data, repo is message.repo --> [Documentation](https://docs.totaljs.com/total4/40844001ni51c)\nAnd variables are local variables which can be set in the Variables dialog accessible on the main toolbar(the button between Plus icon and Bug icon)\nFor example, we want message data to be the value of (data.value + variables.offset)\n\n__Result:__\n\n- before: $.data --> `{ value: 100 }` / variables --> `{ offset: 20, ... many other properties }`\n- after:  $.data -> `{ value: 120 }`\n\nThe expression: `data.value + variables.offset`\n\n**Important**\n\n- `Remove` -> `Message data / Message repo` -> `<empty path>` will set `Message data / Message repo` to `null`;\n- `Remove` -> `Local variables / Global variables` -> `<empty path>` will be ignored but `Remove` -> `Local variables / Global variables` -> `myVar` will work.\n- `Set` -> `Message data` -> `some.path` to: `Message data` -> `some.other.path` will add another property to the incoming data and rest of the data will remain untouched\n- `Set` -> `Message data` -> `<empty path>` to: `Message data` -> `some.path` will essentialy overwrite the incomming data, after this there's no longer access to original data(same goes for repo)\n\n### print.html · version 9\n\nType: `component`\n\nPrints incoming data in JSON format on the node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Shows repository. |\n| `data` | `Boolean` | no | `true` | Shows data. |\n| `once` | `Boolean` | no | `false` | Print the data once as an example. |\n| `length` | `Number` | no | `0` | Max. length. |\n| `color` | `String` | no |  | Color. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component prints incoming data in a JSON format.\n\n### printhtml.html · version 2\n\nType: `component`\n\nRenders incoming data as HTML on the node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no | `<b>{{ value }}</b>` | The HTML template. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component converts HTML-formatted data in the component body. You can easily visualise any data. The data is rendered on the server.\n\n### printjson.html · version 2\n\nType: `component`\n\nPrints incoming data in JSON format.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Shows repository. |\n| `data` | `Boolean` | no | `true` | Shows data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component prints incoming data in a JSON format.\n\n### printtext.html · version 1\n\nType: `component`\n\nPrints incoming data as plain text.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `response` | Path. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component prints text as plain text format.\n\n### secrets.html · version 1\n\nType: `component`\n\nCreates secret variables from the incoming data.\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component creates secret variables from the input message data. You can read data easily via `{key}` in the component's settings. Keys and their values must be of String type.\n\n```js\n{\n\tkey1: value1,\n\tkey2: value2,\n\tkeyN: valueN\n}\n```\n\n### sendandwait.html · version 1\n\nType: `component`\n\nSends the data and then waits for a set time.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `1` | Interval. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component sends the data next, and then waits for a defined period.\n\n### stepper.html · version 1\n\nType: `component`\n\nHolds incoming messages until you release them.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component postpones incoming messages. Releasing messages must be done by hand.\n\n### stringoperations.html · version 1\n\nType: `component`\n\nApplies string operations to the incoming data.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `operation` | `String` | no | `lowercase` | Operation. One of: `capitalize` (Capitalize), `lowercase` (Lower Case), `uppercase` (Upper Case), `slug` (Slug), `deburr` (Remove diacritic), `reverse` (Reverse), `spaces` (Remove spaces). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis components can apply string operation to your components.\n\n- input: `String`\n- output: `String`\n\n### switch.html · version 4\n\nType: `component`\n\nSends each message to the output of the first condition it meets.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[{\"operator\":\"eq\",\"value\":\"Hello world\",\"type\":\"string\"}]` | The conditions. Each condition has its own output, in the same order. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output1` (Output #1); more come from the settings of the node.\n\n**Source and Path**\n\nUse the **Source** dropdown to select where to look for the value to use in the conditions check.\nSet a **Path** if the value is not the data itself. It supports dot notation: `position.longitude` or `sensor.0.value` for arrays, it does not support `sensor[0].value`.\n**Expression** supports javascript syntax. Should return a value which will be used in condition check as `data`. Available variables: data, repo, variables, variables2\n**Expressions example:**\n\n```js\ndata.value - variables.offset\n```\n\n**Conditions**\n\nEach of the **Conditions** corresponds to an output in the exact same order. First condition -> First output.\n\n**Operator**\nNot all operators work on all data types. For example it is not possible to use `>` or `<` for strings, etc.\n*index of* only works for data of type array or string.\n**Expression operator**\nIn this case the **type** field is ignored and the expression in the **value** field must return `true` or `false`. Available variables: data, repo, variables, variables2.\nExpressions operator example:\n\n```js\ndata.value > variables.threshold;\n```\n\nor with a conditions\n\n```js\nif (typeof data.value !== 'number') return false; else return data.value > parseInt(variables.threshold);\n```\n\n**Expression type**\nThe expression in the **value** field must return a value which will be used in the given operation. Available variables: data, repo, variables, variables2.\nExpressions example:\n\n```js\ndata.value - variables.offset\n```\n\n**Between operator** only works with datatype number and the value must be two comma separated values. e.g.: `2,4` so the condition becomes `val > 2 && val < 4`\n\n### telemetry.html · version 4\n\nType: `component`\n\nShows values of the incoming data in a template on the node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `paths` | `Object` | no | `{}` | Properties to show in the template. |\n| `interval` | `Object` | no | `null` | Update interval (in ms). |\n| `format` | `String` | no | `dd.MM.yyyy HH:mm:ss` | Date format. |\n| `extend` | `String` | no |  | Extend previous data? |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component shows data in a template.\nHovering over the value shows the last update time.\nAssuming this incomming data:\n\n```javascript\n{\n\tspeed: 1,\n\tnested: { value: 2 },\n\tarray: [{ value: 3 }]\n}\n```\n\nThe paths bust be defined as:\n\n```\nspeed         // -> 1\nnested.value  // -> 2\narray.0.value // -> 3\n```\n\n### teleport.html · version 3\n\nType: `component`\n\nMoves a message to another Teleport component without a connection.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Name. |\n| `color` | `String` | no | `#B9261A` | Color. |\n\n**Inputs:** they come from the settings of the node.  \n**Outputs:** they come from the settings of the node.\n\nThe component can teleport (input) message to another teleport (output) component.\n\n### textenricher.html · version 1\n\nType: `component`\n\nFills a text template with values from the incoming data.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `content` | Read. |\n| `text` | `String` | no | `{value}` | Text. |\n| `path` | `String` | no | `content` | Write. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component enriches a text property according to the template defined in the configuration. The `{value}` placeholder is replaced with the corresponding value from the payload.\n\n### throttle.html · version 1\n\nType: `component`\n\nSends only a limited number of messages.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `1` | Limit. |\n| `delay` | `Number` | no | `0` | Delay (milliseconds). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Outputs).\n\nThe component sends only limited count of messages.\n\n### transform.html · version 1\n\nType: `component`\n\nSends data to a transform output and continues with the answer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Transform value according to this path. |\n| `assign` | `String` | no |  | Assign response to the path. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `transform` (Transform), `output` (Output).\n\nThis component can transform message data.\n\n### transformer.html · version 1\n\nType: `component`\n\nChanges incoming data with your own code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `data.name = data.name.toUpperCase()` | The JavaScript code that changes the data. |\n| `clear` | `Boolean` | no | `false` | Clear repository object. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nWith this component you can easily modify incoming data. Then the `data` content is delivered. For storing temporary/persistent data you can use `repo {Object}` and `refs {Object}` variables.\n\n__Example 1__:\n\n```js\n// \"data\" is a reference to message data\ndata.name = data.name.toUpperCase();\n```\n\n__Example 2__:\n\n```js\ndata = data.toUpperCase();\n```\n\n__Example 3__:\n\n```js\nvar tmp = data;\ndata = {};\ndata.name = tmp.Name;\n```\n\n### urldownload.html · version 2\n\nType: `component`\n\nDownloads the content of a URL address.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `url` | URL address property. |\n| `path` | `String` | no | `response` | Save response to. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThe component downloads content from the given URL.\n\n__Payload__:\n\n```html\nhttps://www.totaljs.com\n```\n\nor\n\n```js\n{\n\turl: 'https://www.totaljs.com'\n}\n```\n\n### xmlparser.html · version 1\n\nType: `component`\n\nParses XML from a string.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nParse XML from string.\n- __Input__: {String}\n- __Ouput__: {String}\n","entries":[{"type":"component","name":"Code","signature":"code.html · version 4","since":"","deprecated":false},{"type":"component","name":"Comment","signature":"comment.html · version 1","since":"","deprecated":false},{"type":"component","name":"Counter","signature":"counter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data mapper","signature":"datamapper.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data sorter","signature":"datasorter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Delay","signature":"delay.html · version 4","since":"","deprecated":false},{"type":"component","name":"Downloader","signature":"downloader.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duplicator","signature":"duplicator.html · version 1","since":"","deprecated":false},{"type":"component","name":"End","signature":"end.html · version 1","since":"","deprecated":false},{"type":"component","name":"Extend","signature":"extend.html · version 3","since":"","deprecated":false},{"type":"component","name":"Feed to delay","signature":"feedtodelay.html · version 1","since":"","deprecated":false},{"type":"component","name":"Flashback","signature":"flashback.html · version 4","since":"","deprecated":false},{"type":"component","name":"Forward","signature":"forward.html · version 1","since":"","deprecated":false},{"type":"component","name":"HTTP Request","signature":"request.html · version 8","since":"","deprecated":false},{"type":"component","name":"JSON Schema validator","signature":"jsonschemavalidator.html · version 1","since":"","deprecated":false},{"type":"component","name":"Live stats","signature":"livestats.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"logger.html · version 1","since":"","deprecated":false},{"type":"component","name":"Macro","signature":"macro.html · version 1","since":"","deprecated":false},{"type":"component","name":"Map array","signature":"map-array.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge","signature":"merge.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge inputs","signature":"merginputs.html · version 1.1.0","since":"","deprecated":false},{"type":"component","name":"Modified","signature":"modified.html · version 1","since":"","deprecated":false},{"type":"component","name":"Modify","signature":"modify.html · version 3","since":"","deprecated":false},{"type":"component","name":"Print","signature":"print.html · version 9","since":"","deprecated":false},{"type":"component","name":"Print HTML","signature":"printhtml.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print JSON","signature":"printjson.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print text","signature":"printtext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Secrets","signature":"secrets.html · version 1","since":"","deprecated":false},{"type":"component","name":"Send and wait","signature":"sendandwait.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stepper","signature":"stepper.html · version 1","since":"","deprecated":false},{"type":"component","name":"String Operations","signature":"stringoperations.html · version 1","since":"","deprecated":false},{"type":"component","name":"Switch","signature":"switch.html · version 4","since":"","deprecated":false},{"type":"component","name":"Telemetry","signature":"telemetry.html · version 4","since":"","deprecated":false},{"type":"component","name":"Teleport","signature":"teleport.html · version 3","since":"","deprecated":false},{"type":"component","name":"Text enricher","signature":"textenricher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Throttle","signature":"throttle.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transform","signature":"transform.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transformer","signature":"transformer.html · version 1","since":"","deprecated":false},{"type":"component","name":"URL download","signature":"urldownload.html · version 2","since":"","deprecated":false},{"type":"component","name":"XML parser","signature":"xmlparser.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyRE2bA60f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/common/","project":"flow","version":"11-1","section":"components","language":"de","title":"Allgemein","summary":"Allgemeine Komponenten, die Nachrichten senden, ändern, aufteilen, zusammenführen, verzögern und ausgeben.","markdown":"---\ntitle: Allgemein\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/common/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Allgemein\n\n> Allgemeine Komponenten, die Nachrichten senden, ändern, aufteilen, zusammenführen, verzögern und ausgeben.\n\nAllgemeine Komponenten, die Nachrichten senden, ändern, aufteilen, zusammenführen, verzögern und ausgeben. Diese Seite enthält die Katalog-Gruppe **Common**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### code.html · version 4\n\nType: `component`\n\nFührt für jede Nachricht deinen eigenen JavaScript-Code aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `outputs` | `Number` | no | `1` | Anzahl der Ausgänge. |\n| `name` | `String` | no | `Code` | Name. |\n| `code` | `String` | no |  | Der JavaScript-Code, der für jede Nachricht läuft. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output); weitere ergeben sich aus den Einstellungen des Knotens.\n\nDiese Komponente führt eigenen JavaScript-Code so aus, wie er ist.\n\nUm Daten an den Standardausgang zu senden, nutze `send(somedata);`\nUm Daten an einen bestimmten Ausgang zu senden, wenn es mehr als einen Ausgang gibt, nutze `$.send('outputX', somedata)`, wobei `X` die Nummer des Ausgangs ist. Siehe das Beispiel unten:\n- erster Ausgang --> `send(somedata)` oder `$.send('output', somedata)`\n- zweiter Ausgang --> `$.send('output2', somedata)`\n- ...\n- 5. Ausgang --> `$.send('output5', somedata)`\n- usw.\n\n### comment.html · version 1\n\nType: `component`\n\nZeigt einen kurzen Markdown-Kommentar auf der Arbeitsfläche.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | no | `Add a custom comment...` | Der Kommentar, in Markdown. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nDiese Komponente zeigt einen kleinen Markdown-Kommentar in ihrem Inhalt an.\n\n### counter.html · version 1\n\nType: `component`\n\nZählt eingehende Nachrichten.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente zählt eingehende Nachrichten.\n\n### datamapper.html · version 1\n\nType: `component`\n\nBenennt die Eigenschaften der eingehenden Daten um.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `extend` | `Boolean` | no | `false` | Den eingehenden Payload nur erweitern. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente ordnet die Eigenschaften des Payloads neu zu.\n\n### datasorter.html · version 3\n\nType: `component`\n\nSendet jede Nachricht an den Ausgang, dessen Bedingung sie erfüllt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[]` | Die Bedingungen. Jede Bedingung hat ihren eigenen Ausgang. |\n| `if` | `String` | no |  | Bedingung. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** Sie ergeben sich aus den Einstellungen des Knotens.\n\nDie Komponente sortiert Daten nach selbst definierten Bedingungen. Du kannst beliebig viele Ausgänge mit verschiedenen Bedingungen festlegen.\n\n### delay.html · version 4\n\nType: `component`\n\nVerzögert jede Nachricht.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `delay` | `Number` | no | `1000` | Verzögerung. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nWenn mehrere Nachrichten warten, sendet die Komponente zuerst die neueste und danach nach jeder Verzögerung eine Nachricht.\n\nDie Komponente verzögert die Verarbeitung einer Nachricht.\n\n### downloader.html · version 2\n\nType: `component`\n\nLädt eine Datei von einer URL-Adresse herunter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | no | `file` | Ausgabe. Eine von: `file` (File), `base64` (BASE64), `datauri` (Data URI), `buffer` (Buffer). |\n| `path` | `String` | no | `value` | Antwort dem Pfad zuweisen. |\n| `urlpath` | `String` | no | `url` | Pfad zum Lesen der URL-Adresse. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDie Komponente lädt die Datei so, wie sie ist, von der URL-Adresse herunter.\n\n**Eingabe**\n\n```js\n{\n\turl: 'https://example.com/file.jpg', // file url\n}\n```\n\n**Ausgabe**\n\n```js\n{\n\tvalue: '/tmp/xyz.bin',\n\t...\n}\n```\n\nDie Datei wird automatisch gelöscht, sobald die Nachricht zerstört wird.\n\n### duplicator.html · version 1\n\nType: `component`\n\nSendet jede eingehende Nachricht mehrmals.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Anzahl. |\n| `repo` | `Boolean` | no | `true` | Repository duplizieren. |\n| `refs` | `Boolean` | no | `true` | Referenzen duplizieren. |\n| `vars` | `Boolean` | no | `true` | Variablen duplizieren. |\n| `data` | `Boolean` | no | `true` | Daten duplizieren. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente vervielfältigt eingehende Nachrichten gemäß den Einstellungen in der Konfiguration.\n\n### end.html · version 1\n\nType: `component`\n\nBeendet die eingehende Nachricht.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente zerstört die eingehende Nachricht.\n\n### extend.html · version 3\n\nType: `component`\n\nFügt den eingehenden Daten neue Eigenschaften hinzu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Daten aus einer bestimmten Eigenschaft bzw. einem bestimmten Feld laden. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente erweitert die aktuelle Nachricht um neue Eigenschaften.\n\n### feedtodelay.html · version 1\n\nType: `component`\n\nLeitet nach einer Ruhephase nur die letzte Nachricht weiter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `String` | no |  | Timeout in Sekunden. |\n| `resend` | `String` | no |  | Immer wieder erneut senden. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie eingehende Nachricht wird erst nach dem Timeout weitergeleitet. Nur die letzte Nachricht wird weitergeleitet, alle vorher empfangenen Nachrichten gehen also verloren.\nWenn innerhalb des Timeouts immer wieder Nachrichten ankommen, leitet diese Komponente nie eine Nachricht weiter.\nDer Timeout wird durch die erste Nachricht gestartet.\nDer maximale Timeout beträgt 2147483 Sekunden, also etwa 24,8 Tage.\nAnwendungsbeispiele:\n\t- Ein Sensor soll jede Minute Daten senden: Nutze diese Komponente, damit du benachrichtigt wirst, wenn beim Empfang der Nachrichten etwas nicht stimmt.\n\t- Eine HTTP-Anfrage kommt an und die Antwort dauert zu lange? Nutze diese Komponente, damit du davon erfährst.\n\n### flashback.html · version 4\n\nType: `component`\n\nMerkt sich Daten, damit du die Aktion wiederholen kannst.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente merkt sich die Daten, um die Aktion zu wiederholen.\n\n### forward.html · version 1\n\nType: `component`\n\nLeitet Nachrichten weiter, gedacht für farbige Verbindungen.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente sendet die Nachricht nur weiter. Sie ist für farbige Verbindungen gedacht, die zum selben Eingang führen.\n- Die Daten fließen nur von einem Eingang mit einer bestimmten Farbe (außer Schwarz)\n- Schwarz ist eine universelle Farbe und transportiert alles\n\n### request.html · version 8\n\nType: `component`\n\nStellt eine HTTP-Anfrage und sendet die Antwort weiter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL-Adresse. |\n| `method` | `String` | no | `GET` | Methode. Eine von: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`. |\n| `dnscache` | `Boolean` | no | `true` | DNS-Cache aktivieren. |\n| `insecure` | `Boolean` | no | `false` | Unsichere Verbindung erlauben. |\n| `secret` | `String` | no |  | Secret für die Total.js-Verschlüsselung/-Entschlüsselung. |\n| `xhr` | `Boolean` | no | `false` | XHR-Header hinzufügen. |\n| `parse` | `Boolean` | no | `true` | Antwort in ein Objekt parsen. |\n| `timeout` | `Number` | no | `10000` | Timeout. |\n| `limit` | `Number` | no | `512000` | Max. Größe. |\n| `headers` | `Object` | no | `{}` | Header. |\n| `cookies` | `Object` | no | `{}` | Cookies. |\n| `serialize` | `Object` | no | `null` | Datenserialisierung. Eine von: `json` (JSON), `urlencoded` (URL encode), `buffer` (Buffer). |\n| `send` | `String` | no | `all` | An den Ausgang senden. Eines von: `all` (Everything), `response` (Response body), `chunks` (Chunks of buffer), `headers` (Headers only), `status` (Status code). |\n| `path` | `String` | no |  | Lesepfad. |\n| `path2` | `String` | no |  | Schreibpfad. |\n| `patherr` | `String` | no |  | Fehlerpfad. |\n\n**Eingänge:** `payload` (Payload).\n**Ausgänge:** `response` (Response), `error` (Error).\n\nDie Komponente stellt eine HTTP-Anfrage. Die Antwortdaten werden als Payload serialisiert.\n\n__Antwort__:\n\n```json\n{\n\tstatus: Number,\n\theaders: { key: value },\n\tcookies: { key: value },\n\thost: String,\n\tbody: String/Object/Buffer\n}\n```\n\n### jsonschemavalidator.html · version 1\n\nType: `component`\n\nPrüft eingehende Daten anhand eines JSON-Schemas.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no |  | JSON-Schema. |\n\n**Eingänge:** `input` (Input), `schema` (Schema).\n**Ausgänge:** `output` (Output), `schema` (Schema), `error` (Error).\n\n[Dokumentation zu JSON Schema](https://json-schema.org/learn/getting-started-step-by-step.html)\n\n**Eingänge**\n\n- `input` prüft die Daten und sendet das Ergebnis an den Ausgang output, wenn es keinen Fehler gibt, sonst sendet es den Fehler an den Ausgang error\n- `schema` liest das Schema und sendet es an den Ausgang schema\n\n### livestats.html · version 1\n\nType: `component`\n\nZeigt Statistiken eingehender Nachrichten live an.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `interval` | `Number` | no | `1000` | Intervall (ms). |\n| `color` | `String` | no | `#E73CF7` | Farbe. |\n\n**Eingänge:** `input` (Counter).\n**Ausgänge:** keine.\n\n**Live-Stats-Komponente**\n\nBehalte eingehende Nachrichten im Handumdrehen im Blick!\n\n### logger.html · version 1\n\nType: `component`\n\nProtokolliert Informationen über eingehende Daten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | Nachrichten-ID. |\n| `name` | `String` | no | `{{ data.name }}` | Name des Logs. |\n| `status` | `String` | no | `Step 1` | Schritt im Log. |\n| `remove` | `String` | no | `1 year` | Logs entfernen, die älter sind als. |\n\n**Eingänge:** `input` (Input), `error` (Error).\n**Ausgänge:** `error` (Error), `output` (Output).\n\nDie Komponente protokolliert Informationen über eingehende Daten.\n\n### macro.html · version 1\n\nType: `component`\n\nWandelt Daten mit der Sprache Total.js Macro um.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `RETURN DATA` | Der Code in der Sprache Total.js Macro. |\n| `clear` | `String` | no |  | Temporäre Daten löschen. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Macro-Komponente nutzt die Sprache Total.js Macro, mit der du viel einfacheren Code als in JavaScript schreiben kannst. Macros sind für kleine Datenumwandlungen gedacht.\n\n- du musst dich nicht um Groß-/Kleinschreibung kümmern\n- `return EXPRESSION` gibt Daten zurück und sendet sie weiter\n- das Schlüsselwort `data` enthält die Daten der Nachricht\n- das Schlüsselwort `temp` kann dauerhafte temporäre Daten enthalten\n\n__Beispiel__:\n\n```text\nIF DATA>20 AND DATA<35\n\tRETURN DATA * 5\nFI\n```\n\n### map-array.html · version 1\n\nType: `component`\n\nBehält von jedem Objekt in einem Array nur die aufgeführten Eigenschaften.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `array` | `String` | no |  | Ein Array von Arrays zurückgeben (Standard: Array von Objekten). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente kann über ein Array iterieren und nur die Eigenschaften übernehmen, die in der Konfiguration aufgeführt sind. __Die Eingabe muss ein Array von Objekten sein!__\n\n**Beispieldaten**\n\n```js\n[\n\t{ sensor: { temperature: 25, humidity: 50, ... some more properties }},\n\t{ sensor: { temperature: 24, humidity: 55, ... some more properties }},\n\t{ sensor: { temperature: 23, humidity: 60, ... some more properties }}\n]\n```\n\n**Beispielkonfiguration**\n\n- `sensor.temperature` -> `temp`\n- `sensor.humidity` -> `hum`\n\n**Beispielausgabe**\n\n```js\n[\n\t{ temp: 25, hum: 50 },\n\t{ temp: 24, hum: 55 },\n\t{ temp: 23, hum: 60 }\n]\n```\n\nWenn `Return an Array of Arrays` aktiviert ist, wird\njede der Map-Eigenschaften in ein neues Array geschrieben, siehe das Beispiel unten\n\n**Beispiel mit den Daten oben und dieser Konfiguration:**\n\n`Return an Array of Arrays` -> **aktiviert**\n\n**Map**:\n\n- `sensor.temperature`\n- `sensor.humidity`\n\n**Beispielausgabe:**\n\n```js\n[\n\t[25, 50],\n\t[24, 55],\n\t[23, 60],\n]\n```\n\n### merge.html · version 1\n\nType: `component`\n\nFührt eingehende Daten in einem Array zusammen.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `0` | Limit. |\n| `timeout` | `Number` | no | `2000` | Timeout. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente führt eingehende Daten in einem Array zusammen.\n\n### merginputs.html · version 1.1.0\n\nType: `component`\n\nFührt die Daten mehrerer Eingänge in einem Objekt zusammen.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `inputs` | `Array` | no | `[]` | Die Eingänge, die zusammengeführt werden. |\n| `clear` | `String` | no |  | Cache leeren. |\n| `path` | `String` | no |  | Pfad. |\n| `assign` | `String` | no |  | Dem Pfad zuweisen. |\n| `required` | `String` | no |  | Erforderlich. |\n\n**Eingänge:** Sie ergeben sich aus den Einstellungen des Knotens.\n**Ausgänge:** `output` (Output).\n\nDiese Komponente führt mehrere Eingänge in einem Objekt zusammen.\n\n### modified.html · version 1\n\nType: `component`\n\nVergleicht eingehende Daten mit den vorherigen Daten.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `modified` (Modified), `notmodified` (Not modified).\n\nDie Komponente vergleicht eingehende Daten mit den vorherigen Daten.\n\n### modify.html · version 3\n\nType: `component`\n\nSetzt, verschiebt oder entfernt Eigenschaften der eingehenden Daten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `rules` | `Array` | no | `[]` | Die Regeln, die die Daten ändern, in der Reihenfolge angewendet. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nMit dieser Komponente kannst du Eigenschaften der eingehenden Daten setzen, ändern, verschieben oder entfernen.\nUm zum Beispiel die Daten der Nachricht auf den String `Hello world` zu setzen, wähle im Regel-Dropdown *Message data* und lass das Textfeld leer.\nWähle dann im Dropdown darunter `string` und gib den gewünschten String in das Textfeld ein.\n\n__Ergebnis:__\n\n- vorher: $.data -> 'Hello world'\n- nachher:  $.data -> 'New string'\n\n**Ausdruck**\n\nVerfügbare Parameter sind: `data`, `repo`, `variables` ,`variables2`\nDabei ist data message.data und repo message.repo --> [Dokumentation](https://docs.totaljs.com/total4/40844001ni51c)\nUnd variables sind lokale Variablen, die du im Dialog Variables setzen kannst. Du erreichst ihn über die Hauptwerkzeugleiste (die Schaltfläche zwischen dem Plus-Symbol und dem Käfer-Symbol).\nAngenommen, die Daten der Nachricht sollen den Wert von (data.value + variables.offset) haben:\n\n__Ergebnis:__\n\n- vorher: $.data --> `{ value: 100 }` / variables --> `{ offset: 20, ... many other properties }`\n- nachher:  $.data -> `{ value: 120 }`\n\nDer Ausdruck: `data.value + variables.offset`\n\n**Wichtig**\n\n- `Remove` -> `Message data / Message repo` -> `<empty path>` setzt `Message data / Message repo` auf `null`;\n- `Remove` -> `Local variables / Global variables` -> `<empty path>` wird ignoriert, aber `Remove` -> `Local variables / Global variables` -> `myVar` funktioniert.\n- `Set` -> `Message data` -> `some.path` to: `Message data` -> `some.other.path` fügt den eingehenden Daten eine weitere Eigenschaft hinzu, der Rest der Daten bleibt unverändert\n- `Set` -> `Message data` -> `<empty path>` to: `Message data` -> `some.path` überschreibt im Grunde die eingehenden Daten; danach hast du keinen Zugriff mehr auf die ursprünglichen Daten (dasselbe gilt für repo)\n\n### print.html · version 9\n\nType: `component`\n\nGibt eingehende Daten im JSON-Format auf dem Knoten aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Zeigt das Repository. |\n| `data` | `Boolean` | no | `true` | Zeigt Daten. |\n| `once` | `Boolean` | no | `false` | Die Daten einmal als Beispiel ausgeben. |\n| `length` | `Number` | no | `0` | Max. Länge. |\n| `color` | `String` | no |  | Farbe. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente gibt eingehende Daten im JSON-Format aus.\n\n### printhtml.html · version 2\n\nType: `component`\n\nStellt eingehende Daten als HTML auf dem Knoten dar.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no | `<b>{{ value }}</b>` | Die HTML-Vorlage. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente stellt HTML-formatierte Daten im Inhalt der Komponente dar. So kannst du beliebige Daten einfach visualisieren. Die Daten werden auf dem Server gerendert.\n\n### printjson.html · version 2\n\nType: `component`\n\nGibt eingehende Daten im JSON-Format aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Zeigt das Repository. |\n| `data` | `Boolean` | no | `true` | Zeigt Daten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente gibt eingehende Daten im JSON-Format aus.\n\n### printtext.html · version 1\n\nType: `component`\n\nGibt eingehende Daten als reinen Text aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `response` | Pfad. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente gibt Text als reinen Text aus.\n\n### secrets.html · version 1\n\nType: `component`\n\nErzeugt geheime Variablen aus den eingehenden Daten.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente erzeugt geheime Variablen aus den Daten der eingehenden Nachricht. In den Einstellungen der Komponenten kannst du die Daten ganz einfach über `{key}` lesen. Schlüssel und ihre Werte müssen vom Typ String sein.\n\n```js\n{\n\tkey1: value1,\n\tkey2: value2,\n\tkeyN: valueN\n}\n```\n\n### sendandwait.html · version 1\n\nType: `component`\n\nSendet die Daten und wartet dann eine festgelegte Zeit.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `1` | Intervall. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente sendet die Daten weiter und wartet dann eine festgelegte Zeit.\n\n### stepper.html · version 1\n\nType: `component`\n\nHält eingehende Nachrichten zurück, bis du sie freigibst.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente hält eingehende Nachrichten zurück. Die Nachrichten musst du von Hand freigeben.\n\n### stringoperations.html · version 1\n\nType: `component`\n\nWendet String-Operationen auf die eingehenden Daten an.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `operation` | `String` | no | `lowercase` | Operation. Eine von: `capitalize` (Capitalize), `lowercase` (Lower Case), `uppercase` (Upper Case), `slug` (Slug), `deburr` (Remove diacritic), `reverse` (Reverse), `spaces` (Remove spaces). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente kann String-Operationen auf deine Daten anwenden.\n\n- Eingabe: `String`\n- Ausgabe: `String`\n\n### switch.html · version 4\n\nType: `component`\n\nSendet jede Nachricht an den Ausgang der ersten Bedingung, die sie erfüllt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[{\"operator\":\"eq\",\"value\":\"Hello world\",\"type\":\"string\"}]` | Die Bedingungen. Jede Bedingung hat ihren eigenen Ausgang, in derselben Reihenfolge. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output1` (Output #1); weitere ergeben sich aus den Einstellungen des Knotens.\n\n**Quelle und Pfad**\n\nWähle im Dropdown **Source** (Quelle) aus, wo nach dem Wert für die Prüfung der Bedingungen gesucht wird.\nSetze einen **Path** (Pfad), wenn der Wert nicht die Daten selbst sind. Die Punktnotation wird unterstützt: `position.longitude` oder `sensor.0.value` für Arrays; `sensor[0].value` wird nicht unterstützt.\n**Expression** (Ausdruck) unterstützt JavaScript-Syntax. Er soll einen Wert zurückgeben, der bei der Prüfung der Bedingung als `data` verwendet wird. Verfügbare Variablen: data, repo, variables, variables2\n**Beispiel für Ausdrücke:**\n\n```js\ndata.value - variables.offset\n```\n\n**Bedingungen**\n\nJede der **Conditions** (Bedingungen) gehört zu einem Ausgang, in genau derselben Reihenfolge. Erste Bedingung -> erster Ausgang.\n\n**Operator**\nNicht alle Operatoren funktionieren mit allen Datentypen. Zum Beispiel kannst du `>` oder `<` nicht für Strings verwenden usw.\n*index of* funktioniert nur mit Daten vom Typ Array oder String.\n**Ausdrucks-Operator**\nIn diesem Fall wird das Feld **type** ignoriert, und der Ausdruck im Feld **value** muss `true` oder `false` zurückgeben. Verfügbare Variablen: data, repo, variables, variables2.\nBeispiel für den Ausdrucks-Operator:\n\n```js\ndata.value > variables.threshold;\n```\n\noder mit Bedingungen\n\n```js\nif (typeof data.value !== 'number') return false; else return data.value > parseInt(variables.threshold);\n```\n\n**Ausdrucks-Typ**\nDer Ausdruck im Feld **value** muss einen Wert zurückgeben, der in der jeweiligen Operation verwendet wird. Verfügbare Variablen: data, repo, variables, variables2.\nBeispiel für Ausdrücke:\n\n```js\ndata.value - variables.offset\n```\n\nDer **Between-Operator** funktioniert nur mit dem Datentyp Zahl, und der Wert muss aus zwei durch Komma getrennten Werten bestehen, z. B. `2,4`. Die Bedingung wird dann zu `val > 2 && val < 4`\n\n### telemetry.html · version 4\n\nType: `component`\n\nZeigt Werte der eingehenden Daten in einer Vorlage auf dem Knoten an.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `paths` | `Object` | no | `{}` | Eigenschaften, die in der Vorlage angezeigt werden. |\n| `interval` | `Object` | no | `null` | Aktualisierungsintervall (in ms). |\n| `format` | `String` | no | `dd.MM.yyyy HH:mm:ss` | Datumsformat. |\n| `extend` | `String` | no |  | Vorherige Daten erweitern? |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente zeigt Daten in einer Vorlage an.\nWenn du mit der Maus über den Wert fährst, siehst du die Zeit der letzten Aktualisierung.\nAngenommen, das sind die eingehenden Daten:\n\n```javascript\n{\n\tspeed: 1,\n\tnested: { value: 2 },\n\tarray: [{ value: 3 }]\n}\n```\n\nDann müssen die Pfade so definiert werden:\n\n```\nspeed         // -> 1\nnested.value  // -> 2\narray.0.value // -> 3\n```\n\n### teleport.html · version 3\n\nType: `component`\n\nBringt eine Nachricht ohne Verbindung zu einer anderen Teleport-Komponente.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Name. |\n| `color` | `String` | no | `#B9261A` | Farbe. |\n\n**Eingänge:** Sie ergeben sich aus den Einstellungen des Knotens.\n**Ausgänge:** Sie ergeben sich aus den Einstellungen des Knotens.\n\nDie Komponente kann eine Nachricht (Eingang) zu einer anderen Teleport-Komponente (Ausgang) teleportieren.\n\n### textenricher.html · version 1\n\nType: `component`\n\nFüllt eine Textvorlage mit Werten aus den eingehenden Daten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `content` | Lesen. |\n| `text` | `String` | no | `{value}` | Text. |\n| `path` | `String` | no | `content` | Schreiben. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente reichert eine Text-Eigenschaft gemäß der Vorlage aus der Konfiguration an. Der Platzhalter `{value}` wird durch den passenden Wert aus dem Payload ersetzt.\n\n### throttle.html · version 1\n\nType: `component`\n\nSendet nur eine begrenzte Anzahl von Nachrichten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `1` | Limit. |\n| `delay` | `Number` | no | `0` | Verzögerung (Millisekunden). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Outputs).\n\nDie Komponente sendet nur eine begrenzte Anzahl von Nachrichten.\n\n### transform.html · version 1\n\nType: `component`\n\nSendet Daten an einen Transform-Ausgang und macht mit der Antwort weiter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Wert gemäß diesem Pfad umwandeln. |\n| `assign` | `String` | no |  | Antwort dem Pfad zuweisen. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `transform` (Transform), `output` (Output).\n\nDiese Komponente kann die Daten einer Nachricht umwandeln.\n\n### transformer.html · version 1\n\nType: `component`\n\nÄndert eingehende Daten mit deinem eigenen Code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `data.name = data.name.toUpperCase()` | Der JavaScript-Code, der die Daten ändert. |\n| `clear` | `Boolean` | no | `false` | Repository-Objekt leeren. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nMit dieser Komponente kannst du eingehende Daten ganz einfach ändern. Danach wird der Inhalt von `data` weitergegeben. Um temporäre oder dauerhafte Daten zu speichern, kannst du die Variablen `repo {Object}` und `refs {Object}` verwenden.\n\n__Beispiel 1__:\n\n```js\n// \"data\" is a reference to message data\ndata.name = data.name.toUpperCase();\n```\n\n__Beispiel 2__:\n\n```js\ndata = data.toUpperCase();\n```\n\n__Beispiel 3__:\n\n```js\nvar tmp = data;\ndata = {};\ndata.name = tmp.Name;\n```\n\n### urldownload.html · version 2\n\nType: `component`\n\nLädt den Inhalt einer URL-Adresse herunter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `url` | Eigenschaft mit der URL-Adresse. |\n| `path` | `String` | no | `response` | Antwort speichern in. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDie Komponente lädt den Inhalt von der angegebenen URL herunter.\n\n__Payload__:\n\n```html\nhttps://www.totaljs.com\n```\n\noder\n\n```js\n{\n\turl: 'https://www.totaljs.com'\n}\n```\n\n### xmlparser.html · version 1\n\nType: `component`\n\nParst XML aus einem String.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nParst XML aus einem String.\n- __Eingabe__: {String}\n- __Ausgabe__: {String}\n","entries":[{"type":"component","name":"Code","signature":"code.html · version 4","since":"","deprecated":false},{"type":"component","name":"Comment","signature":"comment.html · version 1","since":"","deprecated":false},{"type":"component","name":"Counter","signature":"counter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data mapper","signature":"datamapper.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data sorter","signature":"datasorter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Delay","signature":"delay.html · version 4","since":"","deprecated":false},{"type":"component","name":"Downloader","signature":"downloader.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duplicator","signature":"duplicator.html · version 1","since":"","deprecated":false},{"type":"component","name":"End","signature":"end.html · version 1","since":"","deprecated":false},{"type":"component","name":"Extend","signature":"extend.html · version 3","since":"","deprecated":false},{"type":"component","name":"Feed to delay","signature":"feedtodelay.html · version 1","since":"","deprecated":false},{"type":"component","name":"Flashback","signature":"flashback.html · version 4","since":"","deprecated":false},{"type":"component","name":"Forward","signature":"forward.html · version 1","since":"","deprecated":false},{"type":"component","name":"HTTP Request","signature":"request.html · version 8","since":"","deprecated":false},{"type":"component","name":"JSON Schema validator","signature":"jsonschemavalidator.html · version 1","since":"","deprecated":false},{"type":"component","name":"Live stats","signature":"livestats.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"logger.html · version 1","since":"","deprecated":false},{"type":"component","name":"Macro","signature":"macro.html · version 1","since":"","deprecated":false},{"type":"component","name":"Map array","signature":"map-array.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge","signature":"merge.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge inputs","signature":"merginputs.html · version 1.1.0","since":"","deprecated":false},{"type":"component","name":"Modified","signature":"modified.html · version 1","since":"","deprecated":false},{"type":"component","name":"Modify","signature":"modify.html · version 3","since":"","deprecated":false},{"type":"component","name":"Print","signature":"print.html · version 9","since":"","deprecated":false},{"type":"component","name":"Print HTML","signature":"printhtml.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print JSON","signature":"printjson.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print text","signature":"printtext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Secrets","signature":"secrets.html · version 1","since":"","deprecated":false},{"type":"component","name":"Send and wait","signature":"sendandwait.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stepper","signature":"stepper.html · version 1","since":"","deprecated":false},{"type":"component","name":"String Operations","signature":"stringoperations.html · version 1","since":"","deprecated":false},{"type":"component","name":"Switch","signature":"switch.html · version 4","since":"","deprecated":false},{"type":"component","name":"Telemetry","signature":"telemetry.html · version 4","since":"","deprecated":false},{"type":"component","name":"Teleport","signature":"teleport.html · version 3","since":"","deprecated":false},{"type":"component","name":"Text enricher","signature":"textenricher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Throttle","signature":"throttle.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transform","signature":"transform.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transformer","signature":"transformer.html · version 1","since":"","deprecated":false},{"type":"component","name":"URL download","signature":"urldownload.html · version 2","since":"","deprecated":false},{"type":"component","name":"XML parser","signature":"xmlparser.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyRE2bA60f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/common/","project":"flow","version":"11-1","section":"components","language":"es","title":"Comunes","summary":"Componentes generales que envían, cambian, dividen, unen, retrasan y muestran mensajes.","markdown":"---\ntitle: Comunes\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/common/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Comunes\n\n> Componentes generales que envían, cambian, dividen, unen, retrasan y muestran mensajes.\n\nComponentes generales que envían, cambian, dividen, unen, retrasan y muestran mensajes. Esta página contiene el grupo **Common** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### code.html · version 4\n\nType: `component`\n\nEjecuta tu propio código JavaScript con cada mensaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `outputs` | `Number` | no | `1` | Número de salidas. |\n| `name` | `String` | no | `Code` | Nombre. |\n| `code` | `String` | no |  | El código JavaScript que se ejecuta con cada mensaje. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output); el resto vienen de los ajustes del nodo.\n\nEste componente ejecuta tal cual un código JavaScript personalizado.\n\nPara enviar datos a la salida por defecto usa `send(somedata);`\nPara enviar datos a una salida concreta cuando el número de salidas es > 1 usa `$.send('outputX', somedata)`, donde `X` es el índice de la salida; mira el ejemplo de abajo:\n- primera salida--> `send(somedata)` o `$.send('output', somedata)`\n- segunda salida --> `$.send('output2', somedata)`\n- ...\n- 5.ª salida --> `$.send('output5', somedata)`\n- etc.\n\n### comment.html · version 1\n\nType: `component`\n\nMuestra un comentario corto en Markdown en el lienzo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | no | `Add a custom comment...` | El comentario, en Markdown. |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nEste componente muestra un pequeño comentario en Markdown dentro de su cuerpo.\n\n### counter.html · version 1\n\nType: `component`\n\nCuenta los mensajes entrantes.\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente cuenta los mensajes entrantes.\n\n### datamapper.html · version 1\n\nType: `component`\n\nRenombra las propiedades de los datos entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `extend` | `Boolean` | no | `false` | Solo ampliar el payload entrante. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente reasigna las propiedades del payload.\n\n### datasorter.html · version 3\n\nType: `component`\n\nEnvía cada mensaje a la salida cuya condición cumple.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[]` | Las condiciones. Cada condición tiene su propia salida. |\n| `if` | `String` | no |  | Condición. |\n\n**Entradas:** `input` (Input).\n**Salidas:** vienen de los ajustes del nodo.\n\nEl componente clasifica los datos según las condiciones personalizadas que definas. Puedes definir un número ilimitado de salidas con distintas condiciones.\n\n### delay.html · version 4\n\nType: `component`\n\nRetrasa cada mensaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `delay` | `Number` | no | `1000` | Retardo. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nCuando hay varios mensajes esperando, el componente envía primero el más nuevo y después un mensaje tras cada retardo.\n\nEl componente retrasa el procesamiento de un mensaje.\n\n### downloader.html · version 2\n\nType: `component`\n\nDescarga un archivo de una dirección URL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | no | `file` | Salida. Una de: `file` (File), `base64` (BASE64), `datauri` (Data URI), `buffer` (Buffer). |\n| `path` | `String` | no | `value` | Asignar la respuesta a la ruta. |\n| `urlpath` | `String` | no | `url` | Ruta para leer la dirección URL. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nEl componente descarga tal cual el archivo de la dirección URL.\n\n**Entrada**\n\n```js\n{\n\turl: 'https://example.com/file.jpg', // file url\n}\n```\n\n**Salida**\n\n```js\n{\n\tvalue: '/tmp/xyz.bin',\n\t...\n}\n```\n\nEl archivo se elimina automáticamente cuando se destruye el mensaje.\n\n### duplicator.html · version 1\n\nType: `component`\n\nEnvía varias veces cada mensaje entrante.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Cantidad. |\n| `repo` | `Boolean` | no | `true` | Duplicar el repositorio. |\n| `refs` | `Boolean` | no | `true` | Duplicar las referencias. |\n| `vars` | `Boolean` | no | `true` | Duplicar las variables. |\n| `data` | `Boolean` | no | `true` | Duplicar los datos. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente duplica los mensajes entrantes según los ajustes de la configuración.\n\n### end.html · version 1\n\nType: `component`\n\nTermina el mensaje entrante.\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente destruye el mensaje entrante.\n\n### extend.html · version 3\n\nType: `component`\n\nAñade propiedades nuevas a los datos entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Cargar los datos de la propiedad/campo indicado. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente amplía el mensaje actual añadiéndole propiedades nuevas.\n\n### feedtodelay.html · version 1\n\nType: `component`\n\nReenvía solo el último mensaje después de un periodo sin actividad.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `String` | no |  | Tiempo de espera en segundos. |\n| `resend` | `String` | no |  | Seguir reenviando. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl mensaje entrante solo se reenvía cuando pasa el tiempo de espera. Solo se reenvía el último mensaje, así que los mensajes recibidos antes se pierden.\nSi siguen llegando mensajes dentro del tiempo de espera indicado, este componente nunca reenviará ningún mensaje.\nEl tiempo de espera se activa con el primer mensaje.\nEl tiempo de espera máximo es de 2147483 segundos, unos 24,8 días.\nEjemplos de uso:\n\t- Un sensor tiene que enviar datos cada minuto: usa este componente para que te avise si hay un problema al recibir los mensajes.\n\t- ¿Llega una petición HTTP y tarda demasiado en responder? Usa este componente para que te avise.\n\n### flashback.html · version 4\n\nType: `component`\n\nRecuerda datos para que puedas repetir la acción.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente recuerda los datos para poder repetir la acción.\n\n### forward.html · version 1\n\nType: `component`\n\nReenvía mensajes, para usarlo con conexiones de colores.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente solo reenvía el mensaje. Está pensado para conexiones de colores que llegan a la misma entrada.\n- Los datos solo fluyen desde la entrada de un color concreto (excepto el negro)\n- El negro es un color universal y lo transporta todo\n\n### request.html · version 8\n\nType: `component`\n\nHace una petición HTTP y envía la respuesta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Dirección URL. |\n| `method` | `String` | no | `GET` | Método. Uno de: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`. |\n| `dnscache` | `Boolean` | no | `true` | Activar la caché de DNS. |\n| `insecure` | `Boolean` | no | `false` | Permitir conexiones inseguras. |\n| `secret` | `String` | no |  | Secreto de cifrado/descifrado de Total.js. |\n| `xhr` | `Boolean` | no | `false` | Añadir la cabecera XHR. |\n| `parse` | `Boolean` | no | `true` | Convertir la respuesta en objeto. |\n| `timeout` | `Number` | no | `10000` | Tiempo de espera. |\n| `limit` | `Number` | no | `512000` | Tamaño máx. |\n| `headers` | `Object` | no | `{}` | Cabeceras. |\n| `cookies` | `Object` | no | `{}` | Cookies. |\n| `serialize` | `Object` | no | `null` | Serialización de datos. Una de: `json` (JSON), `urlencoded` (URL encode), `buffer` (Buffer). |\n| `send` | `String` | no | `all` | Enviar a la salida. Uno de: `all` (Everything), `response` (Response body), `chunks` (Chunks of buffer), `headers` (Headers only), `status` (Status code). |\n| `path` | `String` | no |  | Ruta de lectura. |\n| `path2` | `String` | no |  | Ruta de escritura. |\n| `patherr` | `String` | no |  | Ruta del error. |\n\n**Entradas:** `payload` (Payload).\n**Salidas:** `response` (Response), `error` (Error).\n\nEl componente hace una petición HTTP. Los datos de la respuesta se serializan como payload.\n\n__Respuesta__:\n\n```json\n{\n\tstatus: Number,\n\theaders: { key: value },\n\tcookies: { key: value },\n\thost: String,\n\tbody: String/Object/Buffer\n}\n```\n\n### jsonschemavalidator.html · version 1\n\nType: `component`\n\nValida los datos entrantes con un esquema JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no |  | Esquema JSON. |\n\n**Entradas:** `input` (Input), `schema` (Schema).\n**Salidas:** `output` (Output), `schema` (Schema), `error` (Error).\n\n[Documentación de JSON Schema](https://json-schema.org/learn/getting-started-step-by-step.html)\n\n**Entradas**\n\n- `input` valida los datos y envía el resultado a la salida si no hay errores; si los hay, envía el error a la salida de error\n- `schema` lee el esquema y lo envía a la salida schema\n\n### livestats.html · version 1\n\nType: `component`\n\nMuestra en directo las estadísticas de los mensajes entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `interval` | `Number` | no | `1000` | Intervalo (ms). |\n| `color` | `String` | no | `#E73CF7` | Color. |\n\n**Entradas:** `input` (Counter).\n**Salidas:** ninguna.\n\n**Componente Live Stats**\n\n¡Vigila los mensajes entrantes de un vistazo!\n\n### logger.html · version 1\n\nType: `component`\n\nRegistra información sobre los datos entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID del mensaje. |\n| `name` | `String` | no | `{{ data.name }}` | Nombre del registro. |\n| `status` | `String` | no | `Step 1` | Paso del registro. |\n| `remove` | `String` | no | `1 year` | Eliminar los registros más antiguos que. |\n\n**Entradas:** `input` (Input), `error` (Error).\n**Salidas:** `error` (Error), `output` (Output).\n\nEl componente registra información sobre los datos entrantes.\n\n### macro.html · version 1\n\nType: `component`\n\nTransforma datos con el lenguaje Macro de Total.js.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `RETURN DATA` | El código en el lenguaje Macro de Total.js. |\n| `clear` | `String` | no |  | Borrar los datos temporales. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente macro usa el lenguaje Macro de Total.js, que te permite escribir un código mucho más sencillo que en JavaScript. Las macros están pensadas para pequeñas transformaciones de datos.\n\n- no tienes que preocuparte por mayúsculas y minúsculas\n- `return EXPRESSION` devuelve los datos y los envía\n- la palabra clave `data` contiene los datos del mensaje\n- la palabra clave `temp` puede contener datos temporales persistentes\n\n__Ejemplo__:\n\n```text\nIF DATA>20 AND DATA<35\n\tRETURN DATA * 5\nFI\n```\n\n### map-array.html · version 1\n\nType: `component`\n\nConserva solo las propiedades indicadas de cada objeto de un array.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `array` | `String` | no |  | Devolver un array de arrays (por defecto: array de objetos). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente puede recorrer un array y quedarse solo con las propiedades indicadas en la configuración. __¡La entrada debe ser un array de objetos!__\n\n**Datos de ejemplo**\n\n```js\n[\n\t{ sensor: { temperature: 25, humidity: 50, ... some more properties }},\n\t{ sensor: { temperature: 24, humidity: 55, ... some more properties }},\n\t{ sensor: { temperature: 23, humidity: 60, ... some more properties }}\n]\n```\n\n**Configuración de ejemplo**\n\n- `sensor.temperature` -> `temp`\n- `sensor.humidity` -> `hum`\n\n**Salida de ejemplo**\n\n```js\n[\n\t{ temp: 25, hum: 50 },\n\t{ temp: 24, hum: 55 },\n\t{ temp: 23, hum: 60 }\n]\n```\n\nSi marcas `Return an Array of Arrays`,\ncada una de las propiedades de Map se añade a un array nuevo; mira el ejemplo de abajo\n\n**Ejemplo con los datos de arriba y esta configuración:**\n\n`Return an Array of Arrays` -> **marcado**\n\n**Map**:\n\n- `sensor.temperature`\n- `sensor.humidity`\n\n**Salida de ejemplo:**\n\n```js\n[\n\t[25, 50],\n\t[24, 55],\n\t[23, 60],\n]\n```\n\n### merge.html · version 1\n\nType: `component`\n\nUne los datos entrantes en un array.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `0` | Límite. |\n| `timeout` | `Number` | no | `2000` | Tiempo de espera. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente une los datos entrantes en un array.\n\n### merginputs.html · version 1.1.0\n\nType: `component`\n\nUne los datos de varias entradas en un solo objeto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `inputs` | `Array` | no | `[]` | Las entradas que se unen. |\n| `clear` | `String` | no |  | Borrar la caché. |\n| `path` | `String` | no |  | Ruta. |\n| `assign` | `String` | no |  | Asignar a la ruta. |\n| `required` | `String` | no |  | Obligatorio. |\n\n**Entradas:** vienen de los ajustes del nodo.\n**Salidas:** `output` (Output).\n\nEste componente une varias entradas en un solo objeto.\n\n### modified.html · version 1\n\nType: `component`\n\nCompara los datos entrantes con los datos anteriores.\n\n**Entradas:** `input` (Input).\n**Salidas:** `modified` (Modified), `notmodified` (Not modified).\n\nEl componente compara los datos entrantes con los datos anteriores.\n\n### modify.html · version 3\n\nType: `component`\n\nEstablece, mueve o elimina propiedades de los datos entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `rules` | `Array` | no | `[]` | Las reglas que cambian los datos, aplicadas en orden. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente te permite establecer/modificar/mover/eliminar propiedades de los datos entrantes.\nPor ejemplo, para poner como datos del mensaje la cadena `Hello world`, selecciona *Message data* en el desplegable de la regla y deja vacío el campo de texto.\nDespués, en el desplegable de abajo, selecciona `string` y escribe la cadena que quieras en el campo de texto.\n\n__Resultado:__\n\n- antes: $.data -> 'Hello world'\n- después:  $.data -> 'New string'\n\n**Expresión**\n\nLos parámetros disponibles son: `data`, `repo`, `variables` ,`variables2`\nDonde data es message.data y repo es message.repo --> [Documentación](https://docs.totaljs.com/total4/40844001ni51c)\nY variables son las variables locales, que puedes definir en el diálogo Variables, accesible desde la barra de herramientas principal (el botón entre el icono del más y el icono del bicho)\nPor ejemplo, queremos que los datos del mensaje sean el valor de (data.value + variables.offset)\n\n__Resultado:__\n\n- antes: $.data --> `{ value: 100 }` / variables --> `{ offset: 20, ... many other properties }`\n- después:  $.data -> `{ value: 120 }`\n\nLa expresión: `data.value + variables.offset`\n\n**Importante**\n\n- `Remove` -> `Message data / Message repo` -> `<empty path>` pone `Message data / Message repo` a `null`;\n- `Remove` -> `Local variables / Global variables` -> `<empty path>` se ignora, pero `Remove` -> `Local variables / Global variables` -> `myVar` sí funciona.\n- `Set` -> `Message data` -> `some.path` a: `Message data` -> `some.other.path` añade otra propiedad a los datos entrantes y el resto de los datos queda intacto\n- `Set` -> `Message data` -> `<empty path>` a: `Message data` -> `some.path` sobrescribe en la práctica los datos entrantes; después ya no tienes acceso a los datos originales (lo mismo pasa con repo)\n\n### print.html · version 9\n\nType: `component`\n\nMuestra los datos entrantes en formato JSON en el nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Muestra el repositorio. |\n| `data` | `Boolean` | no | `true` | Muestra los datos. |\n| `once` | `Boolean` | no | `false` | Mostrar los datos una vez como ejemplo. |\n| `length` | `Number` | no | `0` | Longitud máx. |\n| `color` | `String` | no |  | Color. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente muestra los datos entrantes en formato JSON.\n\n### printhtml.html · version 2\n\nType: `component`\n\nMuestra los datos entrantes como HTML en el nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no | `<b>{{ value }}</b>` | La plantilla HTML. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente convierte datos con formato HTML en el cuerpo del componente. Puedes visualizar cualquier dato con facilidad. Los datos se generan en el servidor.\n\n### printjson.html · version 2\n\nType: `component`\n\nMuestra los datos entrantes en formato JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Muestra el repositorio. |\n| `data` | `Boolean` | no | `true` | Muestra los datos. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente muestra los datos entrantes en formato JSON.\n\n### printtext.html · version 1\n\nType: `component`\n\nMuestra los datos entrantes como texto plano.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `response` | Ruta. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente muestra el texto en formato de texto plano.\n\n### secrets.html · version 1\n\nType: `component`\n\nCrea variables secretas a partir de los datos entrantes.\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente crea variables secretas a partir de los datos del mensaje de entrada. Puedes leer los datos fácilmente con `{key}` en los ajustes del componente. Las claves y sus valores deben ser de tipo String.\n\n```js\n{\n\tkey1: value1,\n\tkey2: value2,\n\tkeyN: valueN\n}\n```\n\n### sendandwait.html · version 1\n\nType: `component`\n\nEnvía los datos y después espera un tiempo fijado.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `1` | Intervalo. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente envía los datos y después espera durante un periodo definido.\n\n### stepper.html · version 1\n\nType: `component`\n\nRetiene los mensajes entrantes hasta que los liberas.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente aplaza los mensajes entrantes. Tienes que liberar los mensajes a mano.\n\n### stringoperations.html · version 1\n\nType: `component`\n\nAplica operaciones de texto a los datos entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `operation` | `String` | no | `lowercase` | Operación. Una de: `capitalize` (Capitalize), `lowercase` (Lower Case), `uppercase` (Upper Case), `slug` (Slug), `deburr` (Remove diacritic), `reverse` (Reverse), `spaces` (Remove spaces). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente puede aplicar operaciones de texto a tus componentes.\n\n- entrada: `String`\n- salida: `String`\n\n### switch.html · version 4\n\nType: `component`\n\nEnvía cada mensaje a la salida de la primera condición que cumple.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[{\"operator\":\"eq\",\"value\":\"Hello world\",\"type\":\"string\"}]` | Las condiciones. Cada condición tiene su propia salida, en el mismo orden. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output1` (Output #1); el resto vienen de los ajustes del nodo.\n\n**Origen y ruta**\n\nUsa el desplegable **Source** (origen) para elegir dónde buscar el valor que se usa al comprobar las condiciones.\nIndica una **Path** (ruta) si el valor no son los datos en sí. Admite la notación con puntos: `position.longitude` o `sensor.0.value` para arrays; no admite `sensor[0].value`.\n**Expression** (expresión) admite sintaxis de javascript. Debe devolver un valor que se usa como `data` al comprobar la condición. Variables disponibles: data, repo, variables, variables2\n**Ejemplo de expresión:**\n\n```js\ndata.value - variables.offset\n```\n\n**Condiciones**\n\nCada una de las **Conditions** (condiciones) corresponde a una salida, exactamente en el mismo orden. Primera condición -> primera salida.\n\n**Operador**\nNo todos los operadores funcionan con todos los tipos de datos. Por ejemplo, no puedes usar `>` ni `<` con cadenas, etc.\n*index of* solo funciona con datos de tipo array o cadena.\n**Operador de expresión**\nEn este caso se ignora el campo **type** y la expresión del campo **value** debe devolver `true` o `false`. Variables disponibles: data, repo, variables, variables2.\nEjemplo de operador de expresión:\n\n```js\ndata.value > variables.threshold;\n```\n\no con condiciones\n\n```js\nif (typeof data.value !== 'number') return false; else return data.value > parseInt(variables.threshold);\n```\n\n**Tipo expresión**\nLa expresión del campo **value** debe devolver un valor que se usa en la operación indicada. Variables disponibles: data, repo, variables, variables2.\nEjemplo de expresión:\n\n```js\ndata.value - variables.offset\n```\n\n**El operador between** solo funciona con datos de tipo número, y el valor deben ser dos valores separados por coma, p. ej.: `2,4`, así la condición queda `val > 2 && val < 4`\n\n### telemetry.html · version 4\n\nType: `component`\n\nMuestra valores de los datos entrantes en una plantilla en el nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `paths` | `Object` | no | `{}` | Las propiedades que se muestran en la plantilla. |\n| `interval` | `Object` | no | `null` | Intervalo de actualización (en ms). |\n| `format` | `String` | no | `dd.MM.yyyy HH:mm:ss` | Formato de fecha. |\n| `extend` | `String` | no |  | ¿Ampliar los datos anteriores? |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente muestra los datos en una plantilla.\nAl pasar el ratón sobre el valor se ve la hora de la última actualización.\nCon estos datos entrantes:\n\n```javascript\n{\n\tspeed: 1,\n\tnested: { value: 2 },\n\tarray: [{ value: 3 }]\n}\n```\n\nLas rutas deben definirse así:\n\n```\nspeed         // -> 1\nnested.value  // -> 2\narray.0.value // -> 3\n```\n\n### teleport.html · version 3\n\nType: `component`\n\nLleva un mensaje a otro componente Teleport sin conexión.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nombre. |\n| `color` | `String` | no | `#B9261A` | Color. |\n\n**Entradas:** vienen de los ajustes del nodo.\n**Salidas:** vienen de los ajustes del nodo.\n\nEl componente puede teletransportar un mensaje (entrada) a otro componente teleport (salida).\n\n### textenricher.html · version 1\n\nType: `component`\n\nRellena una plantilla de texto con valores de los datos entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `content` | Leer. |\n| `text` | `String` | no | `{value}` | Texto. |\n| `path` | `String` | no | `content` | Escribir. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente enriquece una propiedad de texto según la plantilla definida en la configuración. El marcador `{value}` se sustituye por el valor correspondiente del payload.\n\n### throttle.html · version 1\n\nType: `component`\n\nEnvía solo un número limitado de mensajes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `1` | Límite. |\n| `delay` | `Number` | no | `0` | Retardo (milisegundos). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Outputs).\n\nEl componente envía solo un número limitado de mensajes.\n\n### transform.html · version 1\n\nType: `component`\n\nEnvía datos a una salida de transformación y continúa con la respuesta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Transformar el valor según esta ruta. |\n| `assign` | `String` | no |  | Asignar la respuesta a la ruta. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `transform` (Transform), `output` (Output).\n\nEste componente puede transformar los datos del mensaje.\n\n### transformer.html · version 1\n\nType: `component`\n\nCambia los datos entrantes con tu propio código.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `data.name = data.name.toUpperCase()` | El código JavaScript que cambia los datos. |\n| `clear` | `Boolean` | no | `false` | Vaciar el objeto del repositorio. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nCon este componente puedes modificar fácilmente los datos entrantes. Después se entrega el contenido de `data`. Para guardar datos temporales/persistentes puedes usar las variables `repo {Object}` y `refs {Object}`.\n\n__Ejemplo 1__:\n\n```js\n// \"data\" is a reference to message data\ndata.name = data.name.toUpperCase();\n```\n\n__Ejemplo 2__:\n\n```js\ndata = data.toUpperCase();\n```\n\n__Ejemplo 3__:\n\n```js\nvar tmp = data;\ndata = {};\ndata.name = tmp.Name;\n```\n\n### urldownload.html · version 2\n\nType: `component`\n\nDescarga el contenido de una dirección URL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `url` | Propiedad con la dirección URL. |\n| `path` | `String` | no | `response` | Guardar la respuesta en. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nEl componente descarga el contenido de la URL indicada.\n\n__Payload__:\n\n```html\nhttps://www.totaljs.com\n```\n\no\n\n```js\n{\n\turl: 'https://www.totaljs.com'\n}\n```\n\n### xmlparser.html · version 1\n\nType: `component`\n\nAnaliza XML a partir de una cadena.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nAnaliza XML a partir de una cadena.\n- __Entrada__: {String}\n- __Salida__: {String}\n","entries":[{"type":"component","name":"Code","signature":"code.html · version 4","since":"","deprecated":false},{"type":"component","name":"Comment","signature":"comment.html · version 1","since":"","deprecated":false},{"type":"component","name":"Counter","signature":"counter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data mapper","signature":"datamapper.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data sorter","signature":"datasorter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Delay","signature":"delay.html · version 4","since":"","deprecated":false},{"type":"component","name":"Downloader","signature":"downloader.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duplicator","signature":"duplicator.html · version 1","since":"","deprecated":false},{"type":"component","name":"End","signature":"end.html · version 1","since":"","deprecated":false},{"type":"component","name":"Extend","signature":"extend.html · version 3","since":"","deprecated":false},{"type":"component","name":"Feed to delay","signature":"feedtodelay.html · version 1","since":"","deprecated":false},{"type":"component","name":"Flashback","signature":"flashback.html · version 4","since":"","deprecated":false},{"type":"component","name":"Forward","signature":"forward.html · version 1","since":"","deprecated":false},{"type":"component","name":"HTTP Request","signature":"request.html · version 8","since":"","deprecated":false},{"type":"component","name":"JSON Schema validator","signature":"jsonschemavalidator.html · version 1","since":"","deprecated":false},{"type":"component","name":"Live stats","signature":"livestats.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"logger.html · version 1","since":"","deprecated":false},{"type":"component","name":"Macro","signature":"macro.html · version 1","since":"","deprecated":false},{"type":"component","name":"Map array","signature":"map-array.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge","signature":"merge.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge inputs","signature":"merginputs.html · version 1.1.0","since":"","deprecated":false},{"type":"component","name":"Modified","signature":"modified.html · version 1","since":"","deprecated":false},{"type":"component","name":"Modify","signature":"modify.html · version 3","since":"","deprecated":false},{"type":"component","name":"Print","signature":"print.html · version 9","since":"","deprecated":false},{"type":"component","name":"Print HTML","signature":"printhtml.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print JSON","signature":"printjson.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print text","signature":"printtext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Secrets","signature":"secrets.html · version 1","since":"","deprecated":false},{"type":"component","name":"Send and wait","signature":"sendandwait.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stepper","signature":"stepper.html · version 1","since":"","deprecated":false},{"type":"component","name":"String Operations","signature":"stringoperations.html · version 1","since":"","deprecated":false},{"type":"component","name":"Switch","signature":"switch.html · version 4","since":"","deprecated":false},{"type":"component","name":"Telemetry","signature":"telemetry.html · version 4","since":"","deprecated":false},{"type":"component","name":"Teleport","signature":"teleport.html · version 3","since":"","deprecated":false},{"type":"component","name":"Text enricher","signature":"textenricher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Throttle","signature":"throttle.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transform","signature":"transform.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transformer","signature":"transformer.html · version 1","since":"","deprecated":false},{"type":"component","name":"URL download","signature":"urldownload.html · version 2","since":"","deprecated":false},{"type":"component","name":"XML parser","signature":"xmlparser.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyRE2bA60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/common/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Communs","summary":"Composants généraux qui envoient, modifient, découpent, fusionnent, retardent et affichent des messages.","markdown":"---\ntitle: Communs\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/common/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Communs\n\n> Composants généraux qui envoient, modifient, découpent, fusionnent, retardent et affichent des messages.\n\nComposants généraux qui envoient, modifient, découpent, fusionnent, retardent et affichent des messages. Cette page contient le groupe du catalogue **Common**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### code.html · version 4\n\nType: `component`\n\nExécute ton propre code JavaScript pour chaque message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `outputs` | `Number` | no | `1` | Nombre de sorties. |\n| `name` | `String` | no | `Code` | Nom. |\n| `code` | `String` | no |  | Le code JavaScript exécuté pour chaque message. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output) ; d’autres viennent des paramètres du nœud.\n\nCe composant exécute tel quel un code JavaScript personnalisé.\n\nPour envoyer des données vers la sortie par défaut, utilise `send(somedata);`\nPour envoyer des données vers une sortie précise quand il y a plus d’une sortie, utilise `$.send('outputX', somedata)`, où `X` est l’indice de la sortie ; voir l’exemple ci-dessous :\n- première sortie--> `send(somedata)` ou `$.send('output', somedata)`\n- deuxième sortie --> `$.send('output2', somedata)`\n- ...\n- 5e sortie --> `$.send('output5', somedata)`\n- etc.\n\n### comment.html · version 1\n\nType: `component`\n\nAffiche un court commentaire Markdown sur le canevas.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | no | `Add a custom comment...` | Le commentaire, en Markdown. |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nCe composant affiche un petit commentaire Markdown dans son corps.\n\n### counter.html · version 1\n\nType: `component`\n\nCompte les messages entrants.\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant compte les messages entrants.\n\n### datamapper.html · version 1\n\nType: `component`\n\nRenomme les propriétés des données entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `extend` | `Boolean` | no | `false` | Seulement compléter le payload entrant. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant réorganise les propriétés du payload.\n\n### datasorter.html · version 3\n\nType: `component`\n\nEnvoie chaque message vers la sortie dont il remplit la condition.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[]` | Les conditions. Chaque condition a sa propre sortie. |\n| `if` | `String` | no |  | Condition. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** elles viennent des paramètres du nœud.\n\nLe composant trie les données selon des conditions personnalisées. Tu peux définir un nombre illimité de sorties avec diverses conditions.\n\n### delay.html · version 4\n\nType: `component`\n\nRetarde chaque message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `delay` | `Number` | no | `1000` | Délai. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nQuand plusieurs messages attendent, le composant envoie d’abord le plus récent, puis un message après chaque délai.\n\nLe composant retarde le traitement d’un message.\n\n### downloader.html · version 2\n\nType: `component`\n\nTélécharge un fichier depuis une adresse URL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | no | `file` | Sortie. Valeurs possibles : `file` (File), `base64` (BASE64), `datauri` (Data URI), `buffer` (Buffer). |\n| `path` | `String` | no | `value` | Assigner la réponse au chemin. |\n| `urlpath` | `String` | no | `url` | Chemin de lecture de l’adresse URL. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLe composant télécharge tel quel le fichier depuis l’adresse URL.\n\n**Entrée**\n\n```js\n{\n\turl: 'https://example.com/file.jpg', // file url\n}\n```\n\n**Sortie**\n\n```js\n{\n\tvalue: '/tmp/xyz.bin',\n\t...\n}\n```\n\nLe fichier est supprimé automatiquement quand le message est détruit.\n\n### duplicator.html · version 1\n\nType: `component`\n\nEnvoie chaque message entrant plusieurs fois.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Nombre. |\n| `repo` | `Boolean` | no | `true` | Dupliquer le dépôt. |\n| `refs` | `Boolean` | no | `true` | Dupliquer les références. |\n| `vars` | `Boolean` | no | `true` | Dupliquer les variables. |\n| `data` | `Boolean` | no | `true` | Dupliquer les données. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant duplique les messages entrants selon les paramètres de configuration.\n\n### end.html · version 1\n\nType: `component`\n\nTermine le message entrant.\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant détruit le message entrant.\n\n### extend.html · version 3\n\nType: `component`\n\nAjoute de nouvelles propriétés aux données entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Charger les données depuis la propriété/le champ indiqué. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant complète le message actuel en y ajoutant de nouvelles propriétés.\n\n### feedtodelay.html · version 1\n\nType: `component`\n\nTransmet seulement le dernier message après une période de calme.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `String` | no |  | Délai en secondes. |\n| `resend` | `String` | no |  | Continuer à renvoyer. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe message entrant n’est transmis qu’après le délai. Seul le dernier message est transmis : tous les messages reçus avant sont perdus.\nSi des messages arrivent pendant le délai indiqué, ce composant ne transmettra jamais aucun message.\nLe délai est activé par le premier message.\nLe délai maximal est de 2147483 secondes, soit environ 24,8 jours.\nExemple d’utilisation :\n\t- Un capteur est censé envoyer des données chaque minute : utilise ce composant pour être averti d’un problème de réception des messages.\n\t- Une requête HTTP arrive et met trop de temps à répondre ? Utilise ce composant pour en être averti.\n\n### flashback.html · version 4\n\nType: `component`\n\nMémorise des données pour que tu puisses répéter l’action.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant mémorise les données pour répéter l’action.\n\n### forward.html · version 1\n\nType: `component`\n\nTransmet les messages, à utiliser avec des connexions colorées.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant se contente de transmettre le message plus loin. Il est destiné aux connexions colorées qui visent la même entrée.\n- Les données ne circulent que depuis une entrée d’une couleur précise (sauf le noir)\n- Le noir est une couleur universelle : il transporte tout\n\n### request.html · version 8\n\nType: `component`\n\nFait une requête HTTP et envoie la réponse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Adresse URL. |\n| `method` | `String` | no | `GET` | Méthode. Valeurs possibles : `GET`, `POST`, `PUT`, `DELETE`, `PATCH`. |\n| `dnscache` | `Boolean` | no | `true` | Activer le cache DNS. |\n| `insecure` | `Boolean` | no | `false` | Autoriser une connexion non sécurisée. |\n| `secret` | `String` | no |  | Secret de chiffrement/déchiffrement Total.js. |\n| `xhr` | `Boolean` | no | `false` | Ajouter l’en-tête XHR. |\n| `parse` | `Boolean` | no | `true` | Analyser la réponse en objet. |\n| `timeout` | `Number` | no | `10000` | Délai d’expiration. |\n| `limit` | `Number` | no | `512000` | Taille max. |\n| `headers` | `Object` | no | `{}` | En-têtes. |\n| `cookies` | `Object` | no | `{}` | Cookies. |\n| `serialize` | `Object` | no | `null` | Sérialisation des données. Valeurs possibles : `json` (JSON), `urlencoded` (URL encode), `buffer` (Buffer). |\n| `send` | `String` | no | `all` | Envoyer vers la sortie. Valeurs possibles : `all` (Everything), `response` (Response body), `chunks` (Chunks of buffer), `headers` (Headers only), `status` (Status code). |\n| `path` | `String` | no |  | Chemin de lecture. |\n| `path2` | `String` | no |  | Chemin d’écriture. |\n| `patherr` | `String` | no |  | Chemin de l’erreur. |\n\n**Entrées :** `payload` (Payload).  \n**Sorties :** `response` (Response), `error` (Error).\n\nLe composant fait une requête HTTP. Les données de la réponse sont sérialisées comme payload.\n\n__Réponse__ :\n\n```json\n{\n\tstatus: Number,\n\theaders: { key: value },\n\tcookies: { key: value },\n\thost: String,\n\tbody: String/Object/Buffer\n}\n```\n\n### jsonschemavalidator.html · version 1\n\nType: `component`\n\nValide les données entrantes selon un schéma JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no |  | Schéma JSON. |\n\n**Entrées :** `input` (Input), `schema` (Schema).  \n**Sorties :** `output` (Output), `schema` (Schema), `error` (Error).\n\n[Documentation de JSON schema](https://json-schema.org/learn/getting-started-step-by-step.html)\n\n**Entrées**\n\n- `input` valide les données et envoie le résultat vers la sortie s’il n’y a pas d’erreur ; sinon, envoie l’erreur vers la sortie error\n- `schema` lit le schéma et l’envoie vers la sortie schema\n\n### livestats.html · version 1\n\nType: `component`\n\nAffiche en direct les statistiques des messages entrants.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `interval` | `Number` | no | `1000` | Intervalle (ms). |\n| `color` | `String` | no | `#E73CF7` | Couleur. |\n\n**Entrées :** `input` (Counter).  \n**Sorties :** aucune.\n\n**Composant Live Stats**\n\nGarde un œil sur les messages entrants en un clin d’œil !\n\n### logger.html · version 1\n\nType: `component`\n\nEnregistre des informations sur les données entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID du message. |\n| `name` | `String` | no | `{{ data.name }}` | Nom du log. |\n| `status` | `String` | no | `Step 1` | Étape du log. |\n| `remove` | `String` | no | `1 year` | Supprimer les logs plus anciens que. |\n\n**Entrées :** `input` (Input), `error` (Error).  \n**Sorties :** `error` (Error), `output` (Output).\n\nLe composant enregistre des informations sur les données entrantes.\n\n### macro.html · version 1\n\nType: `component`\n\nTransforme des données avec le langage Total.js Macro.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `RETURN DATA` | Le code en langage Total.js Macro. |\n| `clear` | `String` | no |  | Effacer les données temporaires. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant macro utilise le langage Total.js Macro, qui te permet d’écrire du code bien plus simple qu’en JavaScript. Les macros sont destinées aux petites transformations de données.\n\n- tu n’as pas à te soucier des majuscules/minuscules\n- `return EXPRESSION` renvoie les données et les envoie plus loin\n- le mot-clé `data` contient les données du message\n- le mot-clé `temp` peut contenir des données temporaires persistantes\n\n__Exemple__ :\n\n```text\nIF DATA>20 AND DATA<35\n\tRETURN DATA * 5\nFI\n```\n\n### map-array.html · version 1\n\nType: `component`\n\nNe garde que les propriétés listées de chaque objet d’un tableau.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `array` | `String` | no |  | Renvoyer un tableau de tableaux (par défaut : tableau d’objets). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant peut parcourir un tableau et ne prendre que les propriétés listées dans la configuration. __L’entrée doit être un tableau d’objets !__\n\n**Exemple de données**\n\n```js\n[\n\t{ sensor: { temperature: 25, humidity: 50, ... some more properties }},\n\t{ sensor: { temperature: 24, humidity: 55, ... some more properties }},\n\t{ sensor: { temperature: 23, humidity: 60, ... some more properties }}\n]\n```\n\n**Exemple de configuration**\n\n- `sensor.temperature` -> `temp`\n- `sensor.humidity` -> `hum`\n\n**Exemple de sortie**\n\n```js\n[\n\t{ temp: 25, hum: 50 },\n\t{ temp: 24, hum: 55 },\n\t{ temp: 23, hum: 60 }\n]\n```\n\nSi `Return an Array of Arrays` est coché,\nchacune des propriétés Map est ajoutée à un nouveau tableau ; voir l’exemple ci-dessous\n\n**Exemple avec les données ci-dessus et cette configuration :**\n\n`Return an Array of Arrays` -> **coché**\n\n**Map** :\n\n- `sensor.temperature`\n- `sensor.humidity`\n\n**Exemple de sortie :**\n\n```js\n[\n\t[25, 50],\n\t[24, 55],\n\t[23, 60],\n]\n```\n\n### merge.html · version 1\n\nType: `component`\n\nFusionne les données entrantes dans un tableau.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `0` | Limite. |\n| `timeout` | `Number` | no | `2000` | Délai d’expiration. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant fusionne les données entrantes dans un tableau.\n\n### merginputs.html · version 1.1.0\n\nType: `component`\n\nFusionne les données de plusieurs entrées en un seul objet.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `inputs` | `Array` | no | `[]` | Les entrées à fusionner. |\n| `clear` | `String` | no |  | Vider le cache. |\n| `path` | `String` | no |  | Chemin. |\n| `assign` | `String` | no |  | Assigner au chemin. |\n| `required` | `String` | no |  | Obligatoire. |\n\n**Entrées :** elles viennent des paramètres du nœud.  \n**Sorties :** `output` (Output).\n\nCe composant fusionne plusieurs entrées en un seul objet.\n\n### modified.html · version 1\n\nType: `component`\n\nCompare les données entrantes avec les données précédentes.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `modified` (Modified), `notmodified` (Not modified).\n\nLe composant compare les données entrantes avec les données précédentes.\n\n### modify.html · version 3\n\nType: `component`\n\nDéfinit, déplace ou supprime des propriétés des données entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `rules` | `Array` | no | `[]` | Les règles qui modifient les données, appliquées dans l’ordre. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant te permet de définir/modifier/déplacer/supprimer des propriétés des données entrantes.\nPar exemple, pour mettre les données du message à la chaîne `Hello world`, sélectionne *Message data* dans la liste déroulante de la règle et laisse le champ de texte vide.\nEnsuite, dans la liste déroulante en dessous, sélectionne `string` et saisis la chaîne voulue dans le champ de texte.\n\n__Résultat :__\n\n- avant : $.data -> 'Hello world'\n- après :  $.data -> 'New string'\n\n**Expression**\n\nLes paramètres disponibles sont : `data`, `repo`, `variables` ,`variables2`\nOù data est message.data, repo est message.repo --> [Documentation](https://docs.totaljs.com/total4/40844001ni51c)\nEt variables sont les variables locales, que tu peux définir dans la boîte de dialogue Variables accessible depuis la barre d’outils principale (le bouton entre l’icône Plus et l’icône Bug)\nPar exemple, on veut que les données du message valent (data.value + variables.offset)\n\n__Résultat :__\n\n- avant : $.data --> `{ value: 100 }` / variables --> `{ offset: 20, ... many other properties }`\n- après :  $.data -> `{ value: 120 }`\n\nL’expression : `data.value + variables.offset`\n\n**Important**\n\n- `Remove` -> `Message data / Message repo` -> `<empty path>` met `Message data / Message repo` à `null` ;\n- `Remove` -> `Local variables / Global variables` -> `<empty path>` est ignoré, mais `Remove` -> `Local variables / Global variables` -> `myVar` fonctionne.\n- `Set` -> `Message data` -> `some.path` to: `Message data` -> `some.other.path` ajoute une autre propriété aux données entrantes, et le reste des données reste intact\n- `Set` -> `Message data` -> `<empty path>` to: `Message data` -> `some.path` écrase en fait les données entrantes ; après ça, tu n’as plus accès aux données d’origine (c’est pareil pour repo)\n\n### print.html · version 9\n\nType: `component`\n\nAffiche les données entrantes au format JSON sur le nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Affiche le dépôt. |\n| `data` | `Boolean` | no | `true` | Affiche les données. |\n| `once` | `Boolean` | no | `false` | Afficher les données une seule fois comme exemple. |\n| `length` | `Number` | no | `0` | Longueur max. |\n| `color` | `String` | no |  | Couleur. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant affiche les données entrantes au format JSON.\n\n### printhtml.html · version 2\n\nType: `component`\n\nAffiche les données entrantes en HTML sur le nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no | `<b>{{ value }}</b>` | Le modèle HTML. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant convertit les données au format HTML dans le corps du composant. Tu peux facilement visualiser n’importe quelles données. Les données sont générées sur le serveur.\n\n### printjson.html · version 2\n\nType: `component`\n\nAffiche les données entrantes au format JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Affiche le dépôt. |\n| `data` | `Boolean` | no | `true` | Affiche les données. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant affiche les données entrantes au format JSON.\n\n### printtext.html · version 1\n\nType: `component`\n\nAffiche les données entrantes en texte brut.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `response` | Chemin. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant affiche le texte au format texte brut.\n\n### secrets.html · version 1\n\nType: `component`\n\nCrée des variables secrètes à partir des données entrantes.\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant crée des variables secrètes à partir des données du message d’entrée. Tu peux lire facilement les données via `{key}` dans les paramètres du composant. Les clés et leurs valeurs doivent être de type String.\n\n```js\n{\n\tkey1: value1,\n\tkey2: value2,\n\tkeyN: valueN\n}\n```\n\n### sendandwait.html · version 1\n\nType: `component`\n\nEnvoie les données puis attend un temps défini.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `1` | Intervalle. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant envoie les données plus loin, puis attend pendant une durée définie.\n\n### stepper.html · version 1\n\nType: `component`\n\nRetient les messages entrants jusqu’à ce que tu les libères.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant met en attente les messages entrants. Tu dois les libérer à la main.\n\n### stringoperations.html · version 1\n\nType: `component`\n\nApplique des opérations sur les chaînes aux données entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `operation` | `String` | no | `lowercase` | Opération. Valeurs possibles : `capitalize` (Capitalize), `lowercase` (Lower Case), `uppercase` (Upper Case), `slug` (Slug), `deburr` (Remove diacritic), `reverse` (Reverse), `spaces` (Remove spaces). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant peut appliquer des opérations sur les chaînes à tes composants.\n\n- entrée : `String`\n- sortie : `String`\n\n### switch.html · version 4\n\nType: `component`\n\nEnvoie chaque message vers la sortie de la première condition qu’il remplit.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[{\"operator\":\"eq\",\"value\":\"Hello world\",\"type\":\"string\"}]` | Les conditions. Chaque condition a sa propre sortie, dans le même ordre. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output1` (Output #1) ; d’autres viennent des paramètres du nœud.\n\n**Source et Path**\n\nUtilise la liste déroulante **Source** pour choisir où chercher la valeur à utiliser dans la vérification des conditions.\nRenseigne un **Path** (chemin) si la valeur n’est pas les données elles-mêmes. La notation à points est prise en charge : `position.longitude` ou `sensor.0.value` pour les tableaux ; `sensor[0].value` n’est pas pris en charge.\n**Expression** accepte la syntaxe JavaScript. Elle doit renvoyer une valeur, utilisée comme `data` dans la vérification de la condition. Variables disponibles : data, repo, variables, variables2\n**Exemple d’expression :**\n\n```js\ndata.value - variables.offset\n```\n\n**Conditions**\n\nChacune des **Conditions** correspond à une sortie, exactement dans le même ordre. Première condition -> première sortie.\n\n**Opérateur**\nTous les opérateurs ne fonctionnent pas avec tous les types de données. Par exemple, tu ne peux pas utiliser `>` ou `<` avec des chaînes, etc.\n*index of* ne fonctionne qu’avec des données de type tableau ou chaîne.\n**Opérateur Expression**\nDans ce cas, le champ **type** est ignoré et l’expression du champ **value** doit renvoyer `true` ou `false`. Variables disponibles : data, repo, variables, variables2.\nExemple d’opérateur Expression :\n\n```js\ndata.value > variables.threshold;\n```\n\nou avec des conditions\n\n```js\nif (typeof data.value !== 'number') return false; else return data.value > parseInt(variables.threshold);\n```\n\n**Type Expression**\nL’expression du champ **value** doit renvoyer une valeur, utilisée dans l’opération indiquée. Variables disponibles : data, repo, variables, variables2.\nExemple d’expression :\n\n```js\ndata.value - variables.offset\n```\n\n**L’opérateur Between** ne fonctionne qu’avec le type de données nombre, et la valeur doit être deux valeurs séparées par une virgule, par ex. : `2,4`, la condition devient alors `val > 2 && val < 4`\n\n### telemetry.html · version 4\n\nType: `component`\n\nAffiche des valeurs des données entrantes dans un modèle sur le nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `paths` | `Object` | no | `{}` | Propriétés à afficher dans le modèle. |\n| `interval` | `Object` | no | `null` | Intervalle de mise à jour (en ms). |\n| `format` | `String` | no | `dd.MM.yyyy HH:mm:ss` | Format de date. |\n| `extend` | `String` | no |  | Compléter les données précédentes ? |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant affiche les données dans un modèle.\nSurvoler la valeur affiche l’heure de la dernière mise à jour.\nAvec ces données entrantes :\n\n```javascript\n{\n\tspeed: 1,\n\tnested: { value: 2 },\n\tarray: [{ value: 3 }]\n}\n```\n\nLes chemins doivent être définis ainsi :\n\n```\nspeed         // -> 1\nnested.value  // -> 2\narray.0.value // -> 3\n```\n\n### teleport.html · version 3\n\nType: `component`\n\nDéplace un message vers un autre composant Teleport sans connexion.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nom. |\n| `color` | `String` | no | `#B9261A` | Couleur. |\n\n**Entrées :** elles viennent des paramètres du nœud.  \n**Sorties :** elles viennent des paramètres du nœud.\n\nLe composant peut téléporter un message (entrée) vers un autre composant teleport (sortie).\n\n### textenricher.html · version 1\n\nType: `component`\n\nRemplit un modèle de texte avec des valeurs des données entrantes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `content` | Lecture. |\n| `text` | `String` | no | `{value}` | Texte. |\n| `path` | `String` | no | `content` | Écriture. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant enrichit une propriété texte selon le modèle défini dans la configuration. L’espace réservé `{value}` est remplacé par la valeur correspondante du payload.\n\n### throttle.html · version 1\n\nType: `component`\n\nN’envoie qu’un nombre limité de messages.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `1` | Limite. |\n| `delay` | `Number` | no | `0` | Délai (millisecondes). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Outputs).\n\nLe composant n’envoie qu’un nombre limité de messages.\n\n### transform.html · version 1\n\nType: `component`\n\nEnvoie les données vers une sortie de transformation et continue avec la réponse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Transformer la valeur selon ce chemin. |\n| `assign` | `String` | no |  | Assigner la réponse au chemin. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `transform` (Transform), `output` (Output).\n\nCe composant peut transformer les données du message.\n\n### transformer.html · version 1\n\nType: `component`\n\nModifie les données entrantes avec ton propre code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `data.name = data.name.toUpperCase()` | Le code JavaScript qui modifie les données. |\n| `clear` | `Boolean` | no | `false` | Vider l’objet du dépôt. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nAvec ce composant, tu peux facilement modifier les données entrantes. Ensuite, le contenu de `data` est transmis. Pour stocker des données temporaires/persistantes, tu peux utiliser les variables `repo {Object}` et `refs {Object}`.\n\n__Exemple 1__ :\n\n```js\n// \"data\" is a reference to message data\ndata.name = data.name.toUpperCase();\n```\n\n__Exemple 2__ :\n\n```js\ndata = data.toUpperCase();\n```\n\n__Exemple 3__ :\n\n```js\nvar tmp = data;\ndata = {};\ndata.name = tmp.Name;\n```\n\n### urldownload.html · version 2\n\nType: `component`\n\nTélécharge le contenu d’une adresse URL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `url` | Propriété de l’adresse URL. |\n| `path` | `String` | no | `response` | Enregistrer la réponse dans. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLe composant télécharge le contenu depuis l’URL indiquée.\n\n__Payload__ :\n\n```html\nhttps://www.totaljs.com\n```\n\nou\n\n```js\n{\n\turl: 'https://www.totaljs.com'\n}\n```\n\n### xmlparser.html · version 1\n\nType: `component`\n\nAnalyse du XML à partir d’une chaîne.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nAnalyse du XML à partir d’une chaîne.\n- __Entrée__ : {String}\n- __Sortie__ : {String}\n","entries":[{"type":"component","name":"Code","signature":"code.html · version 4","since":"","deprecated":false},{"type":"component","name":"Comment","signature":"comment.html · version 1","since":"","deprecated":false},{"type":"component","name":"Counter","signature":"counter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data mapper","signature":"datamapper.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data sorter","signature":"datasorter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Delay","signature":"delay.html · version 4","since":"","deprecated":false},{"type":"component","name":"Downloader","signature":"downloader.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duplicator","signature":"duplicator.html · version 1","since":"","deprecated":false},{"type":"component","name":"End","signature":"end.html · version 1","since":"","deprecated":false},{"type":"component","name":"Extend","signature":"extend.html · version 3","since":"","deprecated":false},{"type":"component","name":"Feed to delay","signature":"feedtodelay.html · version 1","since":"","deprecated":false},{"type":"component","name":"Flashback","signature":"flashback.html · version 4","since":"","deprecated":false},{"type":"component","name":"Forward","signature":"forward.html · version 1","since":"","deprecated":false},{"type":"component","name":"HTTP Request","signature":"request.html · version 8","since":"","deprecated":false},{"type":"component","name":"JSON Schema validator","signature":"jsonschemavalidator.html · version 1","since":"","deprecated":false},{"type":"component","name":"Live stats","signature":"livestats.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"logger.html · version 1","since":"","deprecated":false},{"type":"component","name":"Macro","signature":"macro.html · version 1","since":"","deprecated":false},{"type":"component","name":"Map array","signature":"map-array.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge","signature":"merge.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge inputs","signature":"merginputs.html · version 1.1.0","since":"","deprecated":false},{"type":"component","name":"Modified","signature":"modified.html · version 1","since":"","deprecated":false},{"type":"component","name":"Modify","signature":"modify.html · version 3","since":"","deprecated":false},{"type":"component","name":"Print","signature":"print.html · version 9","since":"","deprecated":false},{"type":"component","name":"Print HTML","signature":"printhtml.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print JSON","signature":"printjson.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print text","signature":"printtext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Secrets","signature":"secrets.html · version 1","since":"","deprecated":false},{"type":"component","name":"Send and wait","signature":"sendandwait.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stepper","signature":"stepper.html · version 1","since":"","deprecated":false},{"type":"component","name":"String Operations","signature":"stringoperations.html · version 1","since":"","deprecated":false},{"type":"component","name":"Switch","signature":"switch.html · version 4","since":"","deprecated":false},{"type":"component","name":"Telemetry","signature":"telemetry.html · version 4","since":"","deprecated":false},{"type":"component","name":"Teleport","signature":"teleport.html · version 3","since":"","deprecated":false},{"type":"component","name":"Text enricher","signature":"textenricher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Throttle","signature":"throttle.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transform","signature":"transform.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transformer","signature":"transformer.html · version 1","since":"","deprecated":false},{"type":"component","name":"URL download","signature":"urldownload.html · version 2","since":"","deprecated":false},{"type":"component","name":"XML parser","signature":"xmlparser.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyRE2bA60f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/common/","project":"flow","version":"11-1","section":"components","language":"it","title":"Comuni","summary":"Componenti generici che inviano, modificano, dividono, uniscono, ritardano e mostrano messaggi.","markdown":"---\ntitle: Comuni\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/common/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Comuni\n\n> Componenti generici che inviano, modificano, dividono, uniscono, ritardano e mostrano messaggi.\n\nComponenti generici che inviano, modificano, dividono, uniscono, ritardano e mostrano messaggi. Questa pagina contiene il gruppo del catalogo **Common**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### code.html · version 4\n\nType: `component`\n\nEsegue il tuo codice JavaScript per ogni messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `outputs` | `Number` | no | `1` | Numero di uscite. |\n| `name` | `String` | no | `Code` | Nome. |\n| `code` | `String` | no |  | Il codice JavaScript che viene eseguito per ogni messaggio. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output); le altre dipendono dalle impostazioni del nodo.\n\nQuesto componente esegue un codice JavaScript personalizzato così com'è.\n\nPer inviare dati all'uscita predefinita usa `send(somedata);`\nPer inviare dati a un'uscita specifica quando le uscite sono più di 1 usa `$.send('outputX', somedata)`, dove `X` è l'indice dell'uscita; vedi l'esempio qui sotto:\n- prima uscita--> `send(somedata)` o `$.send('output', somedata)`\n- seconda uscita --> `$.send('output2', somedata)`\n- ...\n- 5ª uscita --> `$.send('output5', somedata)`\n- ecc.\n\n### comment.html · version 1\n\nType: `component`\n\nMostra un breve commento in Markdown sul canvas.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | no | `Add a custom comment...` | Il commento, in Markdown. |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nQuesto componente mostra un piccolo commento in Markdown dentro il corpo del nodo.\n\n### counter.html · version 1\n\nType: `component`\n\nConta i messaggi in arrivo.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente conta i messaggi in arrivo.\n\n### datamapper.html · version 1\n\nType: `component`\n\nRinomina le proprietà dei dati in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `extend` | `Boolean` | no | `false` | Estendi soltanto il payload in arrivo. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente rimappa le proprietà del payload.\n\n### datasorter.html · version 3\n\nType: `component`\n\nInvia ogni messaggio all'uscita di cui soddisfa la condizione.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[]` | Le condizioni. Ogni condizione ha la sua uscita. |\n| `if` | `String` | no |  | Condizione. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** dipendono dalle impostazioni del nodo.\n\nIl componente smista i dati in base a condizioni personalizzate. Puoi definire un numero illimitato di uscite con condizioni diverse.\n\n### delay.html · version 4\n\nType: `component`\n\nRitarda ogni messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `delay` | `Number` | no | `1000` | Ritardo. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuando più messaggi sono in attesa, il componente invia per primo il più recente, poi un messaggio dopo ogni ritardo.\n\nIl componente ritarda l'elaborazione di un messaggio.\n\n### downloader.html · version 2\n\nType: `component`\n\nScarica un file da un indirizzo URL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | no | `file` | Uscita. Una tra: `file` (File), `base64` (BASE64), `datauri` (Data URI), `buffer` (Buffer). |\n| `path` | `String` | no | `value` | Assegna la risposta al percorso. |\n| `urlpath` | `String` | no | `url` | Percorso da cui leggere l'indirizzo URL. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nIl componente scarica il file dall'indirizzo URL così com'è.\n\n**Ingresso**\n\n```js\n{\n\turl: 'https://example.com/file.jpg', // file url\n}\n```\n\n**Uscita**\n\n```js\n{\n\tvalue: '/tmp/xyz.bin',\n\t...\n}\n```\n\nIl file viene eliminato automaticamente quando il messaggio viene distrutto.\n\n### duplicator.html · version 1\n\nType: `component`\n\nInvia più volte ogni messaggio in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Numero. |\n| `repo` | `Boolean` | no | `true` | Duplica il repository. |\n| `refs` | `Boolean` | no | `true` | Duplica i riferimenti. |\n| `vars` | `Boolean` | no | `true` | Duplica le variabili. |\n| `data` | `Boolean` | no | `true` | Duplica i dati. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente duplica i messaggi in arrivo in base alle impostazioni della configurazione.\n\n### end.html · version 1\n\nType: `component`\n\nTermina il messaggio in arrivo.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente distrugge il messaggio in arrivo.\n\n### extend.html · version 3\n\nType: `component`\n\nAggiunge nuove proprietà ai dati in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Carica i dati dalla proprietà/campo specifico. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente estende il messaggio corrente aggiungendo nuove proprietà.\n\n### feedtodelay.html · version 1\n\nType: `component`\n\nInoltra solo l'ultimo messaggio dopo un periodo di silenzio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `String` | no |  | Timeout in secondi. |\n| `resend` | `String` | no |  | Continua a reinviare. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl messaggio in arrivo viene inoltrato solo dopo il timeout. Viene inoltrato solo l'ultimo messaggio, quindi i messaggi ricevuti prima vanno persi.\nSe i messaggi continuano ad arrivare entro il periodo di timeout indicato, questo componente non inoltrerà mai nessun messaggio.\nIl timeout viene attivato dal primo messaggio.\nIl timeout massimo è di 2147483 secondi, cioè circa 24,8 giorni.\nEsempi di utilizzo:\n\t- Un sensore dovrebbe inviare dati ogni minuto: usa questo componente per farti avvisare quando c'è un problema nella ricezione dei messaggi.\n\t- Arriva una richiesta HTTP e la risposta richiede troppo tempo? Usa questo componente per fartelo segnalare.\n\n### flashback.html · version 4\n\nType: `component`\n\nRicorda i dati così puoi ripetere l'azione.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente ricorda i dati per ripetere l'azione.\n\n### forward.html · version 1\n\nType: `component`\n\nInoltra i messaggi, da usare con le connessioni colorate.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente si limita a inviare avanti il messaggio. È pensato per connessioni colorate dirette allo stesso ingresso.\n- I dati passano solo da un ingresso di un colore specifico (tranne il nero)\n- Il nero è un colore universale e trasporta tutto\n\n### request.html · version 8\n\nType: `component`\n\nEsegue una richiesta HTTP e invia la risposta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Indirizzo URL. |\n| `method` | `String` | no | `GET` | Metodo. Uno tra: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`. |\n| `dnscache` | `Boolean` | no | `true` | Abilita la cache DNS. |\n| `insecure` | `Boolean` | no | `false` | Consenti connessioni non sicure. |\n| `secret` | `String` | no |  | Segreto di cifratura/decifratura di Total.js. |\n| `xhr` | `Boolean` | no | `false` | Aggiungi l'intestazione XHR. |\n| `parse` | `Boolean` | no | `true` | Converti la risposta in oggetto. |\n| `timeout` | `Number` | no | `10000` | Timeout. |\n| `limit` | `Number` | no | `512000` | Dimensione massima. |\n| `headers` | `Object` | no | `{}` | Intestazioni. |\n| `cookies` | `Object` | no | `{}` | Cookie. |\n| `serialize` | `Object` | no | `null` | Serializzazione dei dati. Una tra: `json` (JSON), `urlencoded` (URL encode), `buffer` (Buffer). |\n| `send` | `String` | no | `all` | Invia all'uscita. Uno tra: `all` (Everything), `response` (Response body), `chunks` (Chunks of buffer), `headers` (Headers only), `status` (Status code). |\n| `path` | `String` | no |  | Percorso di lettura. |\n| `path2` | `String` | no |  | Percorso di scrittura. |\n| `patherr` | `String` | no |  | Percorso dell'errore. |\n\n**Ingressi:** `payload` (Payload).  \n**Uscite:** `response` (Response), `error` (Error).\n\nIl componente esegue una richiesta HTTP. I dati della risposta vengono serializzati come payload.\n\n__Risposta__:\n\n```json\n{\n\tstatus: Number,\n\theaders: { key: value },\n\tcookies: { key: value },\n\thost: String,\n\tbody: String/Object/Buffer\n}\n```\n\n### jsonschemavalidator.html · version 1\n\nType: `component`\n\nValida i dati in arrivo rispetto a uno schema JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no |  | Schema JSON. |\n\n**Ingressi:** `input` (Input), `schema` (Schema).  \n**Uscite:** `output` (Output), `schema` (Schema), `error` (Error).\n\n[Documentazione di JSON Schema](https://json-schema.org/learn/getting-started-step-by-step.html)\n\n**Ingressi**\n\n- `input` valida i dati e invia il risultato all'uscita se non ci sono errori, altrimenti invia l'errore all'uscita error\n- `schema` legge lo schema e lo invia all'uscita schema\n\n### livestats.html · version 1\n\nType: `component`\n\nMostra in tempo reale le statistiche dei messaggi in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `interval` | `Number` | no | `1000` | Intervallo (ms). |\n| `color` | `String` | no | `#E73CF7` | Colore. |\n\n**Ingressi:** `input` (Counter).  \n**Uscite:** nessuna.\n\n**Componente Live Stats**\n\nTieni d'occhio i messaggi in arrivo in un attimo!\n\n### logger.html · version 1\n\nType: `component`\n\nRegistra informazioni sui dati in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID del messaggio. |\n| `name` | `String` | no | `{{ data.name }}` | Nome del log. |\n| `status` | `String` | no | `Step 1` | Passaggio del log. |\n| `remove` | `String` | no | `1 year` | Rimuovi i log più vecchi di. |\n\n**Ingressi:** `input` (Input), `error` (Error).  \n**Uscite:** `error` (Error), `output` (Output).\n\nIl componente registra informazioni sui dati in arrivo.\n\n### macro.html · version 1\n\nType: `component`\n\nTrasforma i dati con il linguaggio Macro di Total.js.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `RETURN DATA` | Il codice nel linguaggio Macro di Total.js. |\n| `clear` | `String` | no |  | Cancella i dati temporanei. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente macro usa il linguaggio Macro di Total.js, che ti permette di scrivere codice molto più semplice che in JavaScript. Le macro sono pensate per piccole trasformazioni di dati.\n\n- non devi preoccuparti di maiuscole e minuscole\n- `return EXPRESSION` restituisce i dati e li invia avanti\n- la parola chiave `data` contiene i dati del messaggio\n- la parola chiave `temp` può contenere dati temporanei persistenti\n\n__Esempio__:\n\n```text\nIF DATA>20 AND DATA<35\n\tRETURN DATA * 5\nFI\n```\n\n### map-array.html · version 1\n\nType: `component`\n\nMantiene solo le proprietà elencate di ogni oggetto di un array.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `array` | `String` | no |  | Restituisci un array di array (predefinito: array di oggetti). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente può scorrere un array e prendere solo le proprietà elencate nella configurazione. __L'ingresso deve essere un array di oggetti!__\n\n**Dati di esempio**\n\n```js\n[\n\t{ sensor: { temperature: 25, humidity: 50, ... some more properties }},\n\t{ sensor: { temperature: 24, humidity: 55, ... some more properties }},\n\t{ sensor: { temperature: 23, humidity: 60, ... some more properties }}\n]\n```\n\n**Configurazione di esempio**\n\n- `sensor.temperature` -> `temp`\n- `sensor.humidity` -> `hum`\n\n**Uscita di esempio**\n\n```js\n[\n\t{ temp: 25, hum: 50 },\n\t{ temp: 24, hum: 55 },\n\t{ temp: 23, hum: 60 }\n]\n```\n\nSe `Return an Array of Arrays` è selezionato, allora\nognuna delle proprietà della mappa viene inserita in un nuovo array; vedi l'esempio qui sotto\n\n**Esempio con i dati qui sopra e questa configurazione:**\n\n`Return an Array of Arrays` -> **selezionato**\n\n**Mappa**:\n\n- `sensor.temperature`\n- `sensor.humidity`\n\n**Uscita di esempio:**\n\n```js\n[\n\t[25, 50],\n\t[24, 55],\n\t[23, 60],\n]\n```\n\n### merge.html · version 1\n\nType: `component`\n\nUnisce i dati in arrivo in un array.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `0` | Limite. |\n| `timeout` | `Number` | no | `2000` | Timeout. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente unisce i dati in arrivo in un array.\n\n### merginputs.html · version 1.1.0\n\nType: `component`\n\nUnisce i dati di più ingressi in un solo oggetto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `inputs` | `Array` | no | `[]` | Gli ingressi da unire. |\n| `clear` | `String` | no |  | Svuota la cache. |\n| `path` | `String` | no |  | Percorso. |\n| `assign` | `String` | no |  | Assegna al percorso. |\n| `required` | `String` | no |  | Obbligatorio. |\n\n**Ingressi:** dipendono dalle impostazioni del nodo.  \n**Uscite:** `output` (Output).\n\nQuesto componente unisce più ingressi in un solo oggetto.\n\n### modified.html · version 1\n\nType: `component`\n\nConfronta i dati in arrivo con i dati precedenti.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `modified` (Modified), `notmodified` (Not modified).\n\nIl componente confronta i dati in arrivo con i dati precedenti.\n\n### modify.html · version 3\n\nType: `component`\n\nImposta, sposta o rimuove proprietà dei dati in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `rules` | `Array` | no | `[]` | Le regole che modificano i dati, applicate in ordine. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente ti permette di impostare/modificare/spostare/rimuovere proprietà dei dati in arrivo.\nPer esempio, per impostare i dati del messaggio sulla stringa `Hello world`, seleziona *Message data* nel menu a tendina della regola e lascia vuoto il campo di testo.\nPoi, nel menu a tendina qui sotto, seleziona `string` e inserisci la stringa che vuoi nel campo di testo.\n\n__Risultato:__\n\n- prima: $.data -> 'Hello world'\n- dopo:  $.data -> 'New string'\n\n**Espressione**\n\nI parametri disponibili sono: `data`, `repo`, `variables` ,`variables2`\nDove data è message.data, repo è message.repo --> [Documentazione](https://docs.totaljs.com/total4/40844001ni51c)\nE le variabili sono le variabili locali, che puoi impostare nella finestra Variables accessibile dalla barra degli strumenti principale (il pulsante tra l'icona Più e l'icona del bug)\nPer esempio, vogliamo che i dati del messaggio siano il valore di (data.value + variables.offset)\n\n__Risultato:__\n\n- prima: $.data --> `{ value: 100 }` / variables --> `{ offset: 20, ... many other properties }`\n- dopo:  $.data -> `{ value: 120 }`\n\nL'espressione: `data.value + variables.offset`\n\n**Importante**\n\n- `Remove` -> `Message data / Message repo` -> `<empty path>` imposta `Message data / Message repo` su `null`;\n- `Remove` -> `Local variables / Global variables` -> `<empty path>` viene ignorato, ma `Remove` -> `Local variables / Global variables` -> `myVar` funziona.\n- `Set` -> `Message data` -> `some.path` to: `Message data` -> `some.other.path` aggiunge un'altra proprietà ai dati in arrivo e il resto dei dati resta invariato\n- `Set` -> `Message data` -> `<empty path>` to: `Message data` -> `some.path` in pratica sovrascrive i dati in arrivo; dopo questo non hai più accesso ai dati originali (lo stesso vale per repo)\n\n### print.html · version 9\n\nType: `component`\n\nMostra i dati in arrivo in formato JSON sul nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Mostra il repository. |\n| `data` | `Boolean` | no | `true` | Mostra i dati. |\n| `once` | `Boolean` | no | `false` | Mostra i dati una sola volta come esempio. |\n| `length` | `Number` | no | `0` | Lunghezza massima. |\n| `color` | `String` | no |  | Colore. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente mostra i dati in arrivo in formato JSON.\n\n### printhtml.html · version 2\n\nType: `component`\n\nMostra i dati in arrivo come HTML sul nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no | `<b>{{ value }}</b>` | Il template HTML. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente converte i dati formattati in HTML nel corpo del componente. Puoi visualizzare facilmente qualsiasi dato. I dati vengono generati sul server.\n\n### printjson.html · version 2\n\nType: `component`\n\nMostra i dati in arrivo in formato JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Mostra il repository. |\n| `data` | `Boolean` | no | `true` | Mostra i dati. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente mostra i dati in arrivo in formato JSON.\n\n### printtext.html · version 1\n\nType: `component`\n\nMostra i dati in arrivo come testo semplice.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `response` | Percorso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente mostra il testo in formato testo semplice.\n\n### secrets.html · version 1\n\nType: `component`\n\nCrea variabili segrete dai dati in arrivo.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente crea variabili segrete dai dati del messaggio in ingresso. Puoi leggere facilmente i dati con `{key}` nelle impostazioni del componente. Le chiavi e i loro valori devono essere di tipo String.\n\n```js\n{\n\tkey1: value1,\n\tkey2: value2,\n\tkeyN: valueN\n}\n```\n\n### sendandwait.html · version 1\n\nType: `component`\n\nInvia i dati e poi aspetta per un tempo stabilito.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `1` | Intervallo. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente invia avanti i dati e poi aspetta per un periodo definito.\n\n### stepper.html · version 1\n\nType: `component`\n\nTrattiene i messaggi in arrivo finché non li rilasci.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente rimanda i messaggi in arrivo. Il rilascio dei messaggi va fatto a mano.\n\n### stringoperations.html · version 1\n\nType: `component`\n\nApplica operazioni sulle stringhe ai dati in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `operation` | `String` | no | `lowercase` | Operazione. Una tra: `capitalize` (Capitalize), `lowercase` (Lower Case), `uppercase` (Upper Case), `slug` (Slug), `deburr` (Remove diacritic), `reverse` (Reverse), `spaces` (Remove spaces). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente può applicare operazioni sulle stringhe ai tuoi componenti.\n\n- ingresso: `String`\n- uscita: `String`\n\n### switch.html · version 4\n\nType: `component`\n\nInvia ogni messaggio all'uscita della prima condizione che soddisfa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[{\"operator\":\"eq\",\"value\":\"Hello world\",\"type\":\"string\"}]` | Le condizioni. Ogni condizione ha la sua uscita, nello stesso ordine. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output1` (Output #1); le altre dipendono dalle impostazioni del nodo.\n\n**Source e Path**\n\nUsa il menu a tendina **Source** (origine) per scegliere dove cercare il valore da usare nel controllo delle condizioni.\nImposta un **Path** (percorso) se il valore non è il dato stesso. Supporta la notazione con il punto: `position.longitude`, oppure `sensor.0.value` per gli array; non supporta `sensor[0].value`.\n**Expression** supporta la sintassi JavaScript. Deve restituire un valore che verrà usato nel controllo della condizione come `data`. Variabili disponibili: data, repo, variables, variables2\n**Esempio di espressioni:**\n\n```js\ndata.value - variables.offset\n```\n\n**Condizioni**\n\nOgnuna delle **Conditions** corrisponde a un'uscita, esattamente nello stesso ordine. Prima condizione -> prima uscita.\n\n**Operatore**\nNon tutti gli operatori funzionano con tutti i tipi di dati. Per esempio, non puoi usare `>` o `<` con le stringhe, ecc.\n*index of* funziona solo con dati di tipo array o stringa.\n**Operatore Expression**\nIn questo caso il campo **type** viene ignorato e l'espressione nel campo **value** deve restituire `true` o `false`. Variabili disponibili: data, repo, variables, variables2.\nEsempio dell'operatore Expression:\n\n```js\ndata.value > variables.threshold;\n```\n\noppure con delle condizioni\n\n```js\nif (typeof data.value !== 'number') return false; else return data.value > parseInt(variables.threshold);\n```\n\n**Tipo Expression**\nL'espressione nel campo **value** deve restituire un valore che verrà usato nell'operazione indicata. Variabili disponibili: data, repo, variables, variables2.\nEsempio di espressioni:\n\n```js\ndata.value - variables.offset\n```\n\n**L'operatore Between** funziona solo con il tipo di dato numero e il valore deve essere composto da due valori separati da una virgola, per esempio `2,4`, così la condizione diventa `val > 2 && val < 4`\n\n### telemetry.html · version 4\n\nType: `component`\n\nMostra i valori dei dati in arrivo in un template sul nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `paths` | `Object` | no | `{}` | Proprietà da mostrare nel template. |\n| `interval` | `Object` | no | `null` | Intervallo di aggiornamento (in ms). |\n| `format` | `String` | no | `dd.MM.yyyy HH:mm:ss` | Formato della data. |\n| `extend` | `String` | no |  | Estendere i dati precedenti? |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente mostra i dati in un template.\nPassando il mouse sul valore vedi l'ora dell'ultimo aggiornamento.\nSupponendo questi dati in arrivo:\n\n```javascript\n{\n\tspeed: 1,\n\tnested: { value: 2 },\n\tarray: [{ value: 3 }]\n}\n```\n\nI percorsi vanno definiti così:\n\n```\nspeed         // -> 1\nnested.value  // -> 2\narray.0.value // -> 3\n```\n\n### teleport.html · version 3\n\nType: `component`\n\nSposta un messaggio verso un altro componente Teleport senza una connessione.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nome. |\n| `color` | `String` | no | `#B9261A` | Colore. |\n\n**Ingressi:** dipendono dalle impostazioni del nodo.  \n**Uscite:** dipendono dalle impostazioni del nodo.\n\nIl componente può teletrasportare un messaggio (ingresso) verso un altro componente teleport (uscita).\n\n### textenricher.html · version 1\n\nType: `component`\n\nRiempie un template di testo con i valori dei dati in arrivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `content` | Leggi. |\n| `text` | `String` | no | `{value}` | Testo. |\n| `path` | `String` | no | `content` | Scrivi. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente arricchisce una proprietà di testo in base al template definito nella configurazione. Il segnaposto `{value}` viene sostituito con il valore corrispondente del payload.\n\n### throttle.html · version 1\n\nType: `component`\n\nInvia solo un numero limitato di messaggi.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `1` | Limite. |\n| `delay` | `Number` | no | `0` | Ritardo (millisecondi). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Outputs).\n\nIl componente invia solo un numero limitato di messaggi.\n\n### transform.html · version 1\n\nType: `component`\n\nInvia i dati a un'uscita transform e prosegue con la risposta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Trasforma il valore in base a questo percorso. |\n| `assign` | `String` | no |  | Assegna la risposta al percorso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `transform` (Transform), `output` (Output).\n\nQuesto componente può trasformare i dati del messaggio.\n\n### transformer.html · version 1\n\nType: `component`\n\nModifica i dati in arrivo con il tuo codice.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `data.name = data.name.toUpperCase()` | Il codice JavaScript che modifica i dati. |\n| `clear` | `Boolean` | no | `false` | Svuota l'oggetto repository. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nCon questo componente puoi modificare facilmente i dati in arrivo. Poi viene consegnato il contenuto di `data`. Per salvare dati temporanei/persistenti puoi usare le variabili `repo {Object}` e `refs {Object}`.\n\n__Esempio 1__:\n\n```js\n// \"data\" is a reference to message data\ndata.name = data.name.toUpperCase();\n```\n\n__Esempio 2__:\n\n```js\ndata = data.toUpperCase();\n```\n\n__Esempio 3__:\n\n```js\nvar tmp = data;\ndata = {};\ndata.name = tmp.Name;\n```\n\n### urldownload.html · version 2\n\nType: `component`\n\nScarica il contenuto di un indirizzo URL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `url` | Proprietà dell'indirizzo URL. |\n| `path` | `String` | no | `response` | Salva la risposta in. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nIl componente scarica il contenuto dall'URL indicato.\n\n__Payload__:\n\n```html\nhttps://www.totaljs.com\n```\n\noppure\n\n```js\n{\n\turl: 'https://www.totaljs.com'\n}\n```\n\n### xmlparser.html · version 1\n\nType: `component`\n\nAnalizza XML da una stringa.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nAnalizza XML da una stringa.\n- __Ingresso__: {String}\n- __Uscita__: {String}\n","entries":[{"type":"component","name":"Code","signature":"code.html · version 4","since":"","deprecated":false},{"type":"component","name":"Comment","signature":"comment.html · version 1","since":"","deprecated":false},{"type":"component","name":"Counter","signature":"counter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data mapper","signature":"datamapper.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data sorter","signature":"datasorter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Delay","signature":"delay.html · version 4","since":"","deprecated":false},{"type":"component","name":"Downloader","signature":"downloader.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duplicator","signature":"duplicator.html · version 1","since":"","deprecated":false},{"type":"component","name":"End","signature":"end.html · version 1","since":"","deprecated":false},{"type":"component","name":"Extend","signature":"extend.html · version 3","since":"","deprecated":false},{"type":"component","name":"Feed to delay","signature":"feedtodelay.html · version 1","since":"","deprecated":false},{"type":"component","name":"Flashback","signature":"flashback.html · version 4","since":"","deprecated":false},{"type":"component","name":"Forward","signature":"forward.html · version 1","since":"","deprecated":false},{"type":"component","name":"HTTP Request","signature":"request.html · version 8","since":"","deprecated":false},{"type":"component","name":"JSON Schema validator","signature":"jsonschemavalidator.html · version 1","since":"","deprecated":false},{"type":"component","name":"Live stats","signature":"livestats.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"logger.html · version 1","since":"","deprecated":false},{"type":"component","name":"Macro","signature":"macro.html · version 1","since":"","deprecated":false},{"type":"component","name":"Map array","signature":"map-array.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge","signature":"merge.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge inputs","signature":"merginputs.html · version 1.1.0","since":"","deprecated":false},{"type":"component","name":"Modified","signature":"modified.html · version 1","since":"","deprecated":false},{"type":"component","name":"Modify","signature":"modify.html · version 3","since":"","deprecated":false},{"type":"component","name":"Print","signature":"print.html · version 9","since":"","deprecated":false},{"type":"component","name":"Print HTML","signature":"printhtml.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print JSON","signature":"printjson.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print text","signature":"printtext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Secrets","signature":"secrets.html · version 1","since":"","deprecated":false},{"type":"component","name":"Send and wait","signature":"sendandwait.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stepper","signature":"stepper.html · version 1","since":"","deprecated":false},{"type":"component","name":"String Operations","signature":"stringoperations.html · version 1","since":"","deprecated":false},{"type":"component","name":"Switch","signature":"switch.html · version 4","since":"","deprecated":false},{"type":"component","name":"Telemetry","signature":"telemetry.html · version 4","since":"","deprecated":false},{"type":"component","name":"Teleport","signature":"teleport.html · version 3","since":"","deprecated":false},{"type":"component","name":"Text enricher","signature":"textenricher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Throttle","signature":"throttle.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transform","signature":"transform.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transformer","signature":"transformer.html · version 1","since":"","deprecated":false},{"type":"component","name":"URL download","signature":"urldownload.html · version 2","since":"","deprecated":false},{"type":"component","name":"XML parser","signature":"xmlparser.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyRE2bA60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/common/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Bežné","summary":"Všeobecné komponenty, ktoré posielajú, menia, rozdeľujú, zlučujú, odďaľujú a vypisujú správy.","markdown":"---\ntitle: \"Bežné\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/common/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Bežné\n\n> Všeobecné komponenty, ktoré posielajú, menia, rozdeľujú, zlučujú, odďaľujú a vypisujú správy.\n\nVšeobecné komponenty, ktoré posielajú, menia, rozdeľujú, zlučujú, odďaľujú a vypisujú správy. Táto stránka obsahuje skupinu katalógu **Common**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### code.html · version 4\n\nType: `component`\n\nSpustí tvoj vlastný JavaScript kód pre každú správu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `outputs` | `Number` | no | `1` | Počet výstupov. |\n| `name` | `String` | no | `Code` | Názov. |\n| `code` | `String` | no |  | JavaScript kód, ktorý sa spustí pre každú správu. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output); ďalšie pochádzajú z nastavení uzla.\n\nTento komponent spustí vlastný JavaScript kód tak, ako je.\n\nAk chceš poslať údaje na predvolený výstup, použi `send(somedata);`\nAk chceš poslať údaje na konkrétny výstup, keď je počet výstupov > 1, použi `$.send('outputX', somedata)`, kde `X` je index výstupu, pozri príklad nižšie:\n- prvý výstup--> `send(somedata)` alebo `$.send('output', somedata)`\n- druhý výstup --> `$.send('output2', somedata)`\n- ...\n- 5. výstup --> `$.send('output5', somedata)`\n- atď.\n\n### comment.html · version 1\n\nType: `component`\n\nZobrazí na plátne krátky komentár v Markdowne.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | no | `Add a custom comment...` | Komentár v Markdowne. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nTento komponent vykreslí vo svojom tele malý komentár v Markdowne.\n\n### counter.html · version 1\n\nType: `component`\n\nPočíta prichádzajúce správy.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent počíta prichádzajúce správy.\n\n### datamapper.html · version 1\n\nType: `component`\n\nPremenuje vlastnosti prichádzajúcich údajov.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `extend` | `Boolean` | no | `false` | Iba rozšíriť prichádzajúci payload. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent premapuje vlastnosti payloadu.\n\n### datasorter.html · version 3\n\nType: `component`\n\nPošle každú správu na výstup, ktorého podmienku spĺňa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[]` | Podmienky. Každá podmienka má vlastný výstup. |\n| `if` | `String` | no |  | Podmienka. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** pochádzajú z nastavení uzla.\n\nKomponent triedi údaje podľa vlastných podmienok. Môžeš definovať neobmedzený počet výstupov s rôznymi podmienkami.\n\n### delay.html · version 4\n\nType: `component`\n\nOddiali každú správu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `delay` | `Number` | no | `1000` | Oneskorenie. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď čaká viac správ, komponent pošle najprv tú najnovšiu a potom po každom oneskorení jednu správu.\n\nKomponent oddiali spracovanie správy.\n\n### downloader.html · version 2\n\nType: `component`\n\nStiahne súbor z URL adresy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | no | `file` | Výstup. Jedna z hodnôt: `file` (File), `base64` (BASE64), `datauri` (Data URI), `buffer` (Buffer). |\n| `path` | `String` | no | `value` | Priradiť odpoveď do cesty. |\n| `urlpath` | `String` | no | `url` | Cesta na čítanie URL adresy. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nKomponent stiahne súbor z URL adresy tak, ako je.\n\n**Vstup**\n\n```js\n{\n\turl: 'https://example.com/file.jpg', // file url\n}\n```\n\n**Výstup**\n\n```js\n{\n\tvalue: '/tmp/xyz.bin',\n\t...\n}\n```\n\nSúbor sa automaticky vymaže, keď sa správa zničí.\n\n### duplicator.html · version 1\n\nType: `component`\n\nPošle každú prichádzajúcu správu niekoľkokrát.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Počet. |\n| `repo` | `Boolean` | no | `true` | Duplikovať repozitár. |\n| `refs` | `Boolean` | no | `true` | Duplikovať referencie. |\n| `vars` | `Boolean` | no | `true` | Duplikovať premenné. |\n| `data` | `Boolean` | no | `true` | Duplikovať údaje. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent duplikuje prichádzajúce správy podľa nastavení v konfigurácii.\n\n### end.html · version 1\n\nType: `component`\n\nUkončí prichádzajúcu správu.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent zničí prichádzajúcu správu.\n\n### extend.html · version 3\n\nType: `component`\n\nPridá do prichádzajúcich údajov nové vlastnosti.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Načítať údaje z konkrétnej vlastnosti/poľa. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent rozšíri aktuálnu správu o nové vlastnosti.\n\n### feedtodelay.html · version 1\n\nType: `component`\n\nPo období ticha pošle ďalej iba poslednú správu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `String` | no |  | Časový limit v sekundách. |\n| `resend` | `String` | no |  | Posielať opakovane. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nPrichádzajúca správa sa pošle ďalej až po uplynutí časového limitu. Pošle sa iba posledná správa, takže všetky predtým prijaté správy sa stratia.\nAk správy prichádzajú v rámci zadaného časového limitu, tento komponent nepošle ďalej nikdy žiadnu správu.\nČasový limit sa aktivuje prvou správou.\nMaximálny časový limit je 2147483 sekúnd, čo je asi 24,8 dňa.\nPríklady použitia:\n\t- Senzor má posielať údaje každú minútu: týmto komponentom sa dozvieš, že je problém s prijímaním správ.\n\t- Prišla HTTP požiadavka a odpoveď trvá príliš dlho? Tento komponent ťa na to upozorní.\n\n### flashback.html · version 4\n\nType: `component`\n\nZapamätá si údaje, aby si mohol akciu zopakovať.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent si zapamätá údaje na zopakovanie akcie.\n\n### forward.html · version 1\n\nType: `component`\n\nPosiela správy ďalej, na použitie s farebnými spojeniami.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent iba pošle správu ďalej. Je určený pre farebné spojenia smerujúce do toho istého vstupu.\n- Údaje potečú iba zo vstupu konkrétnej farby (okrem čiernej)\n- Čierna je univerzálna farba a prenesie všetko\n\n### request.html · version 8\n\nType: `component`\n\nOdošle HTTP požiadavku a pošle ďalej odpoveď.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL adresa. |\n| `method` | `String` | no | `GET` | Metóda. Jedna z hodnôt: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`. |\n| `dnscache` | `Boolean` | no | `true` | Zapnúť DNS cache. |\n| `insecure` | `Boolean` | no | `false` | Povoliť nezabezpečené spojenie. |\n| `secret` | `String` | no |  | Tajomstvo na šifrovanie/dešifrovanie Total.js. |\n| `xhr` | `Boolean` | no | `false` | Pridať hlavičku XHR. |\n| `parse` | `Boolean` | no | `true` | Spracovať odpoveď na objekt. |\n| `timeout` | `Number` | no | `10000` | Časový limit. |\n| `limit` | `Number` | no | `512000` | Max. veľkosť. |\n| `headers` | `Object` | no | `{}` | Hlavičky. |\n| `cookies` | `Object` | no | `{}` | Cookies. |\n| `serialize` | `Object` | no | `null` | Serializácia údajov. Jedna z hodnôt: `json` (JSON), `urlencoded` (URL encode), `buffer` (Buffer). |\n| `send` | `String` | no | `all` | Poslať na výstup. Jedna z hodnôt: `all` (Everything), `response` (Response body), `chunks` (Chunks of buffer), `headers` (Headers only), `status` (Status code). |\n| `path` | `String` | no |  | Cesta na čítanie. |\n| `path2` | `String` | no |  | Cesta na zápis. |\n| `patherr` | `String` | no |  | Cesta pre chybu. |\n\n**Vstupy:** `payload` (Payload).  \n**Výstupy:** `response` (Response), `error` (Error).\n\nKomponent odošle HTTP požiadavku. Údaje odpovede sa serializujú ako payload.\n\n__Odpoveď__:\n\n```json\n{\n\tstatus: Number,\n\theaders: { key: value },\n\tcookies: { key: value },\n\thost: String,\n\tbody: String/Object/Buffer\n}\n```\n\n### jsonschemavalidator.html · version 1\n\nType: `component`\n\nOverí prichádzajúce údaje podľa JSON schémy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no |  | JSON schéma. |\n\n**Vstupy:** `input` (Input), `schema` (Schema).  \n**Výstupy:** `output` (Output), `schema` (Schema), `error` (Error).\n\n[Dokumentácia JSON schémy](https://json-schema.org/learn/getting-started-step-by-step.html)\n\n**Vstupy**\n\n- `input` overí údaje a ak nenastane chyba, pošle výsledok na výstup, inak pošle chybu na chybový výstup\n- `schema` načíta schému a pošle ju na výstup schema\n\n### livestats.html · version 1\n\nType: `component`\n\nZobrazuje štatistiky prichádzajúcich správ naživo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `interval` | `Number` | no | `1000` | Interval (ms). |\n| `color` | `String` | no | `#E73CF7` | Farba. |\n\n**Vstupy:** `input` (Counter).  \n**Výstupy:** žiadne.\n\n**Komponent Live Stats**\n\nMaj prichádzajúce správy okamžite pod dohľadom!\n\n### logger.html · version 1\n\nType: `component`\n\nZaznamenáva informácie o prichádzajúcich údajoch.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID správy. |\n| `name` | `String` | no | `{{ data.name }}` | Názov záznamu. |\n| `status` | `String` | no | `Step 1` | Krok záznamu. |\n| `remove` | `String` | no | `1 year` | Odstrániť záznamy staršie ako. |\n\n**Vstupy:** `input` (Input), `error` (Error).  \n**Výstupy:** `error` (Error), `output` (Output).\n\nKomponent zaznamenáva informácie o prichádzajúcich údajoch.\n\n### macro.html · version 1\n\nType: `component`\n\nTransformuje údaje jazykom Total.js Macro.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `RETURN DATA` | Kód v jazyku Total.js Macro. |\n| `clear` | `String` | no |  | Vymazať dočasné údaje. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent macro používa jazyk Total.js Macro, v ktorom môžeš písať oveľa jednoduchší kód ako v JavaScripte. Makrá sú určené na malé transformácie údajov.\n\n- nemusíš riešiť veľké/malé písmená\n- `return EXPRESSION` vráti údaje a pošle ich ďalej\n- kľúčové slovo `data` obsahuje údaje správy\n- kľúčové slovo `temp` môže obsahovať trvalé dočasné údaje\n\n__Príklad__:\n\n```text\nIF DATA>20 AND DATA<35\n\tRETURN DATA * 5\nFI\n```\n\n### map-array.html · version 1\n\nType: `component`\n\nPonechá z každého objektu v poli iba uvedené vlastnosti.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `array` | `String` | no |  | Vrátiť pole polí (predvolene: pole objektov). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent dokáže prejsť pole a vziať iba vlastnosti uvedené v konfigurácii. __Vstup musí byť pole objektov!__\n\n**Príklad údajov**\n\n```js\n[\n\t{ sensor: { temperature: 25, humidity: 50, ... some more properties }},\n\t{ sensor: { temperature: 24, humidity: 55, ... some more properties }},\n\t{ sensor: { temperature: 23, humidity: 60, ... some more properties }}\n]\n```\n\n**Príklad konfigurácie**\n\n- `sensor.temperature` -> `temp`\n- `sensor.humidity` -> `hum`\n\n**Príklad výstupu**\n\n```js\n[\n\t{ temp: 25, hum: 50 },\n\t{ temp: 24, hum: 55 },\n\t{ temp: 23, hum: 60 }\n]\n```\n\nAk je zaškrtnuté `Return an Array of Arrays`,\nkaždá z vlastností mapy sa vloží do nového poľa, pozri príklad nižšie\n\n**Príklad s údajmi vyššie a touto konfiguráciou:**\n\n`Return an Array of Arrays` -> **zaškrtnuté**\n\n**Mapa**:\n\n- `sensor.temperature`\n- `sensor.humidity`\n\n**Príklad výstupu:**\n\n```js\n[\n\t[25, 50],\n\t[24, 55],\n\t[23, 60],\n]\n```\n\n### merge.html · version 1\n\nType: `component`\n\nZlúči prichádzajúce údaje do poľa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `0` | Limit. |\n| `timeout` | `Number` | no | `2000` | Časový limit. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent zlúči prichádzajúce údaje do poľa.\n\n### merginputs.html · version 1.1.0\n\nType: `component`\n\nZlúči údaje z viacerých vstupov do jedného objektu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `inputs` | `Array` | no | `[]` | Vstupy na zlúčenie. |\n| `clear` | `String` | no |  | Vymazať cache. |\n| `path` | `String` | no |  | Cesta. |\n| `assign` | `String` | no |  | Priradiť do cesty. |\n| `required` | `String` | no |  | Povinné. |\n\n**Vstupy:** pochádzajú z nastavení uzla.  \n**Výstupy:** `output` (Output).\n\nTento komponent zlúči viacero vstupov do jedného objektu.\n\n### modified.html · version 1\n\nType: `component`\n\nPorovná prichádzajúce údaje s predchádzajúcimi.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `modified` (Modified), `notmodified` (Not modified).\n\nKomponent porovná prichádzajúce údaje s predchádzajúcimi údajmi.\n\n### modify.html · version 3\n\nType: `component`\n\nNastaví, presunie alebo odstráni vlastnosti prichádzajúcich údajov.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `rules` | `Array` | no | `[]` | Pravidlá, ktoré menia údaje, uplatnené v poradí. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent ti umožní nastaviť/upraviť/presunúť/odstrániť vlastnosti prichádzajúcich údajov.\nNapríklad ak chceš nastaviť údaje správy na reťazec `Hello world`, vyber v rozbaľovacom zozname pravidla *Message data* a textové pole nechaj prázdne.\nPotom v rozbaľovacom zozname nižšie vyber `string` a do textového poľa zadaj požadovaný reťazec.\n\n__Výsledok:__\n\n- pred: $.data -> 'Hello world'\n- po:  $.data -> 'New string'\n\n**Výraz**\n\nDostupné parametre sú: `data`, `repo`, `variables` ,`variables2`\nKde data je message.data, repo je message.repo --> [Dokumentácia](https://docs.totaljs.com/total4/40844001ni51c)\nA variables sú lokálne premenné, ktoré môžeš nastaviť v dialógu Variables dostupnom na hlavnom paneli nástrojov (tlačidlo medzi ikonou plus a ikonou chrobáka)\nNapríklad chceme, aby údaje správy boli hodnotou (data.value + variables.offset)\n\n__Výsledok:__\n\n- pred: $.data --> `{ value: 100 }` / variables --> `{ offset: 20, ... many other properties }`\n- po:  $.data -> `{ value: 120 }`\n\nVýraz: `data.value + variables.offset`\n\n**Dôležité**\n\n- `Remove` -> `Message data / Message repo` -> `<empty path>` nastaví `Message data / Message repo` na `null`;\n- `Remove` -> `Local variables / Global variables` -> `<empty path>` sa ignoruje, ale `Remove` -> `Local variables / Global variables` -> `myVar` funguje.\n- `Set` -> `Message data` -> `some.path` na: `Message data` -> `some.other.path` pridá do prichádzajúcich údajov ďalšiu vlastnosť a zvyšok údajov zostane nedotknutý\n- `Set` -> `Message data` -> `<empty path>` na: `Message data` -> `some.path` v podstate prepíše prichádzajúce údaje, potom už k pôvodným údajom nemáš prístup (to isté platí pre repo)\n\n### print.html · version 9\n\nType: `component`\n\nVypíše prichádzajúce údaje vo formáte JSON na uzle.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Zobrazuje repozitár. |\n| `data` | `Boolean` | no | `true` | Zobrazuje údaje. |\n| `once` | `Boolean` | no | `false` | Vypísať údaje raz ako príklad. |\n| `length` | `Number` | no | `0` | Max. dĺžka. |\n| `color` | `String` | no |  | Farba. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent vypíše prichádzajúce údaje vo formáte JSON.\n\n### printhtml.html · version 2\n\nType: `component`\n\nVykreslí prichádzajúce údaje ako HTML na uzle.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no | `<b>{{ value }}</b>` | HTML šablóna. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent zobrazí údaje vo formáte HTML vo svojom tele. Môžeš tak jednoducho vizualizovať akékoľvek údaje. Údaje sa vykresľujú na serveri.\n\n### printjson.html · version 2\n\nType: `component`\n\nVypíše prichádzajúce údaje vo formáte JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Zobrazuje repozitár. |\n| `data` | `Boolean` | no | `true` | Zobrazuje údaje. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent vypíše prichádzajúce údaje vo formáte JSON.\n\n### printtext.html · version 1\n\nType: `component`\n\nVypíše prichádzajúce údaje ako obyčajný text.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `response` | Cesta. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent vypíše text ako obyčajný text.\n\n### secrets.html · version 1\n\nType: `component`\n\nVytvorí z prichádzajúcich údajov tajné premenné.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent vytvorí tajné premenné z údajov vstupnej správy. Údaje jednoducho načítaš cez `{key}` v nastaveniach komponentu. Kľúče a ich hodnoty musia byť typu String.\n\n```js\n{\n\tkey1: value1,\n\tkey2: value2,\n\tkeyN: valueN\n}\n```\n\n### sendandwait.html · version 1\n\nType: `component`\n\nPošle údaje a potom počká nastavený čas.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `1` | Interval. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent pošle údaje ďalej a potom počká definovaný čas.\n\n### stepper.html · version 1\n\nType: `component`\n\nPodrží prichádzajúce správy, kým ich neuvoľníš.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent odkladá prichádzajúce správy. Správy treba uvoľniť ručne.\n\n### stringoperations.html · version 1\n\nType: `component`\n\nPoužije na prichádzajúce údaje operácie s reťazcami.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `operation` | `String` | no | `lowercase` | Operácia. Jedna z hodnôt: `capitalize` (Capitalize), `lowercase` (Lower Case), `uppercase` (Upper Case), `slug` (Slug), `deburr` (Remove diacritic), `reverse` (Reverse), `spaces` (Remove spaces). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent dokáže použiť na tvoje komponenty operáciu s reťazcom.\n\n- vstup: `String`\n- výstup: `String`\n\n### switch.html · version 4\n\nType: `component`\n\nPošle každú správu na výstup prvej podmienky, ktorú spĺňa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `conditions` | `Array` | no | `[{\"operator\":\"eq\",\"value\":\"Hello world\",\"type\":\"string\"}]` | Podmienky. Každá podmienka má vlastný výstup, v rovnakom poradí. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output1` (Output #1); ďalšie pochádzajú z nastavení uzla.\n\n**Source a Path**\n\nV rozbaľovacom zozname **Source** vyber, kde sa má hľadať hodnota na kontrolu podmienok.\nNastav **Path**, ak hodnotou nie sú samotné údaje. Podporuje bodkovú notáciu: `position.longitude` alebo `sensor.0.value` pre polia, nepodporuje `sensor[0].value`.\n**Expression** podporuje syntax JavaScriptu. Mal by vrátiť hodnotu, ktorá sa pri kontrole podmienky použije ako `data`. Dostupné premenné: data, repo, variables, variables2\n**Príklad výrazu:**\n\n```js\ndata.value - variables.offset\n```\n\n**Podmienky**\n\nKaždá z podmienok (**Conditions**) zodpovedá jednému výstupu v presne rovnakom poradí. Prvá podmienka -> prvý výstup.\n\n**Operátor**\nNie všetky operátory fungujú so všetkými typmi údajov. Napríklad pre reťazce nemôžeš použiť `>` ani `<` atď.\n*index of* funguje iba pre údaje typu pole alebo reťazec.\n**Operátor Expression**\nV tomto prípade sa pole **type** ignoruje a výraz v poli **value** musí vrátiť `true` alebo `false`. Dostupné premenné: data, repo, variables, variables2.\nPríklad operátora Expression:\n\n```js\ndata.value > variables.threshold;\n```\n\nalebo s podmienkami\n\n```js\nif (typeof data.value !== 'number') return false; else return data.value > parseInt(variables.threshold);\n```\n\n**Typ Expression**\nVýraz v poli **value** musí vrátiť hodnotu, ktorá sa použije v danej operácii. Dostupné premenné: data, repo, variables, variables2.\nPríklad výrazu:\n\n```js\ndata.value - variables.offset\n```\n\n**Operátor Between** funguje iba s číselným typom údajov a hodnotou musia byť dve hodnoty oddelené čiarkou, napr.: `2,4`, takže podmienka bude `val > 2 && val < 4`\n\n### telemetry.html · version 4\n\nType: `component`\n\nZobrazuje hodnoty prichádzajúcich údajov v šablóne na uzle.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `paths` | `Object` | no | `{}` | Vlastnosti, ktoré sa majú zobraziť v šablóne. |\n| `interval` | `Object` | no | `null` | Interval aktualizácie (v ms). |\n| `format` | `String` | no | `dd.MM.yyyy HH:mm:ss` | Formát dátumu. |\n| `extend` | `String` | no |  | Rozšíriť predchádzajúce údaje? |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent zobrazuje údaje v šablóne.\nKeď prejdeš myšou nad hodnotu, zobrazí sa čas poslednej aktualizácie.\nPri týchto prichádzajúcich údajoch:\n\n```javascript\n{\n\tspeed: 1,\n\tnested: { value: 2 },\n\tarray: [{ value: 3 }]\n}\n```\n\nmusia byť cesty definované takto:\n\n```\nspeed         // -> 1\nnested.value  // -> 2\narray.0.value // -> 3\n```\n\n### teleport.html · version 3\n\nType: `component`\n\nPresunie správu do iného komponentu Teleport bez spojenia.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Názov. |\n| `color` | `String` | no | `#B9261A` | Farba. |\n\n**Vstupy:** pochádzajú z nastavení uzla.  \n**Výstupy:** pochádzajú z nastavení uzla.\n\nKomponent dokáže teleportovať správu (vstup) do iného komponentu teleport (výstup).\n\n### textenricher.html · version 1\n\nType: `component`\n\nVyplní textovú šablónu hodnotami z prichádzajúcich údajov.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `content` | Čítať. |\n| `text` | `String` | no | `{value}` | Text. |\n| `path` | `String` | no | `content` | Zapísať. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent obohatí textovú vlastnosť podľa šablóny definovanej v konfigurácii. Zástupný text `{value}` sa nahradí zodpovedajúcou hodnotou z payloadu.\n\n### throttle.html · version 1\n\nType: `component`\n\nPošle iba obmedzený počet správ.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `limit` | `Number` | no | `1` | Limit. |\n| `delay` | `Number` | no | `0` | Oneskorenie (milisekundy). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Outputs).\n\nKomponent pošle iba obmedzený počet správ.\n\n### transform.html · version 1\n\nType: `component`\n\nPošle údaje na výstup transform a pokračuje s odpoveďou.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Transformovať hodnotu podľa tejto cesty. |\n| `assign` | `String` | no |  | Priradiť odpoveď do cesty. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `transform` (Transform), `output` (Output).\n\nTento komponent dokáže transformovať údaje správy.\n\n### transformer.html · version 1\n\nType: `component`\n\nZmení prichádzajúce údaje tvojím vlastným kódom.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no | `data.name = data.name.toUpperCase()` | JavaScript kód, ktorý mení údaje. |\n| `clear` | `Boolean` | no | `false` | Vymazať objekt repozitára. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTýmto komponentom jednoducho upravíš prichádzajúce údaje. Potom sa doručí obsah `data`. Na ukladanie dočasných/trvalých údajov môžeš použiť premenné `repo {Object}` a `refs {Object}`.\n\n__Príklad 1__:\n\n```js\n// \"data\" is a reference to message data\ndata.name = data.name.toUpperCase();\n```\n\n__Príklad 2__:\n\n```js\ndata = data.toUpperCase();\n```\n\n__Príklad 3__:\n\n```js\nvar tmp = data;\ndata = {};\ndata.name = tmp.Name;\n```\n\n### urldownload.html · version 2\n\nType: `component`\n\nStiahne obsah URL adresy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `url` | Vlastnosť s URL adresou. |\n| `path` | `String` | no | `response` | Uložiť odpoveď do. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nKomponent stiahne obsah zo zadanej URL.\n\n__Payload__:\n\n```html\nhttps://www.totaljs.com\n```\n\nalebo\n\n```js\n{\n\turl: 'https://www.totaljs.com'\n}\n```\n\n### xmlparser.html · version 1\n\nType: `component`\n\nSpracuje XML z reťazca.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nSpracuje XML z reťazca.\n- __Vstup__: {String}\n- __Výstup__: {String}\n","entries":[{"type":"component","name":"Code","signature":"code.html · version 4","since":"","deprecated":false},{"type":"component","name":"Comment","signature":"comment.html · version 1","since":"","deprecated":false},{"type":"component","name":"Counter","signature":"counter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data mapper","signature":"datamapper.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data sorter","signature":"datasorter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Delay","signature":"delay.html · version 4","since":"","deprecated":false},{"type":"component","name":"Downloader","signature":"downloader.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duplicator","signature":"duplicator.html · version 1","since":"","deprecated":false},{"type":"component","name":"End","signature":"end.html · version 1","since":"","deprecated":false},{"type":"component","name":"Extend","signature":"extend.html · version 3","since":"","deprecated":false},{"type":"component","name":"Feed to delay","signature":"feedtodelay.html · version 1","since":"","deprecated":false},{"type":"component","name":"Flashback","signature":"flashback.html · version 4","since":"","deprecated":false},{"type":"component","name":"Forward","signature":"forward.html · version 1","since":"","deprecated":false},{"type":"component","name":"HTTP Request","signature":"request.html · version 8","since":"","deprecated":false},{"type":"component","name":"JSON Schema validator","signature":"jsonschemavalidator.html · version 1","since":"","deprecated":false},{"type":"component","name":"Live stats","signature":"livestats.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"logger.html · version 1","since":"","deprecated":false},{"type":"component","name":"Macro","signature":"macro.html · version 1","since":"","deprecated":false},{"type":"component","name":"Map array","signature":"map-array.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge","signature":"merge.html · version 1","since":"","deprecated":false},{"type":"component","name":"Merge inputs","signature":"merginputs.html · version 1.1.0","since":"","deprecated":false},{"type":"component","name":"Modified","signature":"modified.html · version 1","since":"","deprecated":false},{"type":"component","name":"Modify","signature":"modify.html · version 3","since":"","deprecated":false},{"type":"component","name":"Print","signature":"print.html · version 9","since":"","deprecated":false},{"type":"component","name":"Print HTML","signature":"printhtml.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print JSON","signature":"printjson.html · version 2","since":"","deprecated":false},{"type":"component","name":"Print text","signature":"printtext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Secrets","signature":"secrets.html · version 1","since":"","deprecated":false},{"type":"component","name":"Send and wait","signature":"sendandwait.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stepper","signature":"stepper.html · version 1","since":"","deprecated":false},{"type":"component","name":"String Operations","signature":"stringoperations.html · version 1","since":"","deprecated":false},{"type":"component","name":"Switch","signature":"switch.html · version 4","since":"","deprecated":false},{"type":"component","name":"Telemetry","signature":"telemetry.html · version 4","since":"","deprecated":false},{"type":"component","name":"Teleport","signature":"teleport.html · version 3","since":"","deprecated":false},{"type":"component","name":"Text enricher","signature":"textenricher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Throttle","signature":"throttle.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transform","signature":"transform.html · version 1","since":"","deprecated":false},{"type":"component","name":"Transformer","signature":"transformer.html · version 1","since":"","deprecated":false},{"type":"component","name":"URL download","signature":"urldownload.html · version 2","since":"","deprecated":false},{"type":"component","name":"XML parser","signature":"xmlparser.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyUu4KE61f","url":"https://totaljs.es/docs/flow/11-1/components/triggers-and-time/","project":"flow","version":"11-1","section":"components","language":"en","title":"Triggers and time","summary":"Components that start messages on demand, on a schedule or from an endpoint, and work with dates.","markdown":"---\ntitle: Triggers and time\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/triggers-and-time/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Triggers and time\n\n> Components that start messages on demand, on a schedule or from an endpoint, and work with dates.\n\nComponents that start messages on demand, on a schedule or from an endpoint, and work with dates. This page holds the catalogue groups **Triggers**, **Timers**, **Date & Time**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### crontab.html · version 1\n\nType: `component`\n\nTriggers data at the times you set with a cron expression.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Random data. |\n| `type` | `String` | no | `now` | Type. One of: `string` (String), `number` (Number), `boolean` (Boolean), `now` (Current date and time), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Data. |\n| `timers` | `Array` | no | `[\"0 9 * * *\"]` | Timers. |\n| `restart` | `Boolean` | no | `false` | Trigger 5s after initialization. |\n| `offset` | `String` | no |  | Time zone offset. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThe component can make a trigger in the specific time and date.\n\n**Cron string: `* * * * *`**\n\nMeaning of each `*` explained bellow, in order from left to right:\n\n- minute `0 - 59`\n- hour `0 - 23`\n- day of month `1 - 31`\n- month `1 - 12`\n- day of week `0 - 6` and `0` is Sunday\n\n```\n0 16 * * *      -> trigger every day at 16:00\n20 19 * * *     -> every day at 19:20 and 19:40\n* * * * *       -> trigger every minute\n0 20 * * 1      -> every monday at 20:00\n```\n\n### date.html · version 1\n\nType: `component`\n\nReturns the current date and time, raw or formatted.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no |  | Date format. |\n\n**Inputs:** `input` (Trigger).  \n**Outputs:** `output` (Date/Time).\n\nThe component will return a Date/Time object (raw or formatted) according to its configuration.\n\n### exec.html · version 1\n\nType: `component`\n\nSends data into the FlowStream when your code calls it.\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThe component is extraordinary because it must be executed directly from the source code via the `flowstream.exec()` method. The component triggers received data into the Flow.\n\n```js\nvar opt = {};\nopt.id = 'ID_OF_EXEC_INSTANCE';\nopt.data = { custom: 'data' };\nopt.callback = function(err, msg) {\n\t// msg.uid;\n\t// msg.ref;\n\t// msg.repo {Object}\n\t// msg.data {Object}\n\t// msg.cloned {Number} how many times was the message cloned?\n\t// msg.duration {Number} in milliseconds\n};\n\n// optional:\n// opt.vars = {};    --> custom variables\n// opt.repo = {};    --> custom repository data and this data will be returned in the callback\n// opt.uid;          --> for storing some unique ID\n// opt.ref;          --> for storing some reference ID\nflowinstance.exec(opt);\n```\n\n### minutely.html · version 1\n\nType: `component`\n\nTriggers data every minute.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Random data. |\n| `type` | `String` | no | `now` | Type. One of: `now` (Current date), `counter` (Counter), `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Data. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThe component triggers data into the Flow in every minute.\n\n### notify.html · version 1\n\nType: `component`\n\nReceives data that is sent to the notify endpoint.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `method` | `String` | no | `all` | HTTP Method. One of: `all` (All supported HTTP methods), `GET`, `POST`. |\n| `send` | `String` | no | `all` | Send to output. One of: `all` (Everything), `query` (Query arguments), `body` (Payload), `headers` (Headers), `cookies` (Cookies). |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThis component captures data on the `/notify/` endpoint.\n\n__Output data__:\n\n```js\n{\n\t\"method\": String,\n\t\"query\": Object,\n\t\"body\": Object,\n\t\"headers\": Object,\n\t\"cookies\": Object,\n\t\"url\": String,\n\t\"ip\": String\n}\n```\n\n### timezone.html · version 1\n\nType: `component`\n\nConverts a date and time to a time zone.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `ts` | `String` | no | `Europe/Bratislava` | Timezone. |\n| `input` | `String` | no | `ts` | Input property. |\n| `output` | `String` | no | `ts` | Output property. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component converts a date and time to a specified timezone and returns the corresponding UTC date.\n\n### timeout.html · version 1\n\nType: `component`\n\nStarts a timeout and restarts it when a new message arrives.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `5` | Timeout. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component starts a timeout and restarts it when a new message arrives.\n\n### timer.html · version 3\n\nType: `component`\n\nTriggers data at a regular interval.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Random data. |\n| `type` | `String` | no | `string` | Type. One of: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Data. |\n| `prop` | `String` | no |  | Write to. |\n| `restart` | `Boolean` | no | `false` | Trigger 5s after initialization. |\n| `interval` | `Number` | no | `5000` | Interval (milliseconds). |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThe component triggers data into the Flow in the specified interval.\n\n### trigger.html · version 6\n\nType: `component`\n\nSends data into the FlowStream when you select its button.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Random data. |\n| `type` | `String` | no | `string` | Type. One of: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Data. |\n| `restart` | `Boolean` | no | `false` | Trigger 5s after initialization. |\n| `prompt` | `Boolean` | no | `false` | Prompt. |\n| `prop` | `String` | no |  | Write to. |\n| `promptlabel` | `String` | no |  | Prompt label. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThe component triggers data into the Flow.\n","entries":[{"type":"component","name":"Crontab","signature":"crontab.html · version 1","since":"","deprecated":false},{"type":"component","name":"Date","signature":"date.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exec","signature":"exec.html · version 1","since":"","deprecated":false},{"type":"component","name":"Minutely","signature":"minutely.html · version 1","since":"","deprecated":false},{"type":"component","name":"Notify","signature":"notify.html · version 1","since":"","deprecated":false},{"type":"component","name":"Time zone","signature":"timezone.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timeout","signature":"timeout.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timer","signature":"timer.html · version 3","since":"","deprecated":false},{"type":"component","name":"Trigger","signature":"trigger.html · version 6","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyUu4KE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/triggers-and-time/","project":"flow","version":"11-1","section":"components","language":"de","title":"Auslöser und Zeit","summary":"Komponenten, die Nachrichten auf Abruf, nach Zeitplan oder über einen Endpunkt starten und mit Datumswerten arbeiten.","markdown":"---\ntitle: \"Auslöser und Zeit\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/triggers-and-time/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Auslöser und Zeit\n\n> Komponenten, die Nachrichten auf Abruf, nach Zeitplan oder über einen Endpunkt starten und mit Datumswerten arbeiten.\n\nKomponenten, die Nachrichten auf Abruf, nach Zeitplan oder über einen Endpunkt starten und mit Datumswerten arbeiten. Diese Seite enthält die Katalog-Gruppen **Triggers**, **Timers**, **Date & Time**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### crontab.html · version 1\n\nType: `component`\n\nLöst Daten zu den Zeiten aus, die du mit einem Cron-Ausdruck festlegst.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Zufällige Daten. |\n| `type` | `String` | no | `now` | Typ. Einer von: `string` (String), `number` (Number), `boolean` (Boolean), `now` (Current date and time), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Daten. |\n| `timers` | `Array` | no | `[\"0 9 * * *\"]` | Timer. |\n| `restart` | `Boolean` | no | `false` | 5 s nach der Initialisierung auslösen. |\n| `offset` | `String` | no |  | Zeitzonen-Versatz. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDie Komponente kann zu einer bestimmten Uhrzeit und an einem bestimmten Datum einen Auslöser setzen.\n\n**Cron-String: `* * * * *`**\n\nDie Bedeutung jedes `*`, der Reihe nach von links nach rechts:\n\n- Minute `0 - 59`\n- Stunde `0 - 23`\n- Tag im Monat `1 - 31`\n- Monat `1 - 12`\n- Wochentag `0 - 6`, wobei `0` Sonntag ist\n\n```\n0 16 * * *      -> trigger every day at 16:00\n20 19 * * *     -> every day at 19:20 and 19:40\n* * * * *       -> trigger every minute\n0 20 * * 1      -> every monday at 20:00\n```\n\n### date.html · version 1\n\nType: `component`\n\nGibt das aktuelle Datum und die Uhrzeit zurück, roh oder formatiert.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no |  | Datumsformat. |\n\n**Eingänge:** `input` (Trigger).\n**Ausgänge:** `output` (Date/Time).\n\nDie Komponente gibt je nach Konfiguration ein Date/Time-Objekt zurück (roh oder formatiert).\n\n### exec.html · version 1\n\nType: `component`\n\nSendet Daten in den FlowStream, wenn dein Code sie aufruft.\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDie Komponente ist besonders, weil sie direkt aus dem Quellcode über die Methode `flowstream.exec()` ausgeführt werden muss. Sie gibt die empfangenen Daten in den Flow weiter.\n\n```js\nvar opt = {};\nopt.id = 'ID_OF_EXEC_INSTANCE';\nopt.data = { custom: 'data' };\nopt.callback = function(err, msg) {\n\t// msg.uid;\n\t// msg.ref;\n\t// msg.repo {Object}\n\t// msg.data {Object}\n\t// msg.cloned {Number} how many times was the message cloned?\n\t// msg.duration {Number} in milliseconds\n};\n\n// optional:\n// opt.vars = {};    --> custom variables\n// opt.repo = {};    --> custom repository data and this data will be returned in the callback\n// opt.uid;          --> for storing some unique ID\n// opt.ref;          --> for storing some reference ID\nflowinstance.exec(opt);\n```\n\n### minutely.html · version 1\n\nType: `component`\n\nLöst jede Minute Daten aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Zufällige Daten. |\n| `type` | `String` | no | `now` | Typ. Einer von: `now` (Current date), `counter` (Counter), `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Daten. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDie Komponente löst jede Minute Daten in den Flow aus.\n\n### notify.html · version 1\n\nType: `component`\n\nEmpfängt Daten, die an den Notify-Endpunkt gesendet werden.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `method` | `String` | no | `all` | HTTP-Methode. Eine von: `all` (All supported HTTP methods), `GET`, `POST`. |\n| `send` | `String` | no | `all` | An den Ausgang senden. Eines von: `all` (Everything), `query` (Query arguments), `body` (Payload), `headers` (Headers), `cookies` (Cookies). |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDiese Komponente fängt Daten am Endpunkt `/notify/` ab.\n\n__Ausgabedaten__:\n\n```js\n{\n\t\"method\": String,\n\t\"query\": Object,\n\t\"body\": Object,\n\t\"headers\": Object,\n\t\"cookies\": Object,\n\t\"url\": String,\n\t\"ip\": String\n}\n```\n\n### timezone.html · version 1\n\nType: `component`\n\nRechnet ein Datum mit Uhrzeit in eine Zeitzone um.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `ts` | `String` | no | `Europe/Bratislava` | Zeitzone. |\n| `input` | `String` | no | `ts` | Eingabe-Eigenschaft. |\n| `output` | `String` | no | `ts` | Ausgabe-Eigenschaft. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente rechnet ein Datum mit Uhrzeit in eine bestimmte Zeitzone um und gibt das entsprechende UTC-Datum zurück.\n\n### timeout.html · version 1\n\nType: `component`\n\nStartet einen Timeout und startet ihn neu, wenn eine neue Nachricht ankommt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `5` | Timeout. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente startet einen Timeout und startet ihn neu, wenn eine neue Nachricht ankommt.\n\n### timer.html · version 3\n\nType: `component`\n\nLöst Daten in einem regelmäßigen Intervall aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Zufällige Daten. |\n| `type` | `String` | no | `string` | Typ. Einer von: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Daten. |\n| `prop` | `String` | no |  | Schreiben in. |\n| `restart` | `Boolean` | no | `false` | 5 s nach der Initialisierung auslösen. |\n| `interval` | `Number` | no | `5000` | Intervall (Millisekunden). |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDie Komponente löst Daten im angegebenen Intervall in den Flow aus.\n\n### trigger.html · version 6\n\nType: `component`\n\nSendet Daten in den FlowStream, wenn du seine Schaltfläche auswählst.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Zufällige Daten. |\n| `type` | `String` | no | `string` | Typ. Einer von: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Daten. |\n| `restart` | `Boolean` | no | `false` | 5 s nach der Initialisierung auslösen. |\n| `prompt` | `Boolean` | no | `false` | Eingabeaufforderung. |\n| `prop` | `String` | no |  | Schreiben in. |\n| `promptlabel` | `String` | no |  | Beschriftung der Eingabeaufforderung. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDie Komponente löst Daten in den Flow aus.\n","entries":[{"type":"component","name":"Crontab","signature":"crontab.html · version 1","since":"","deprecated":false},{"type":"component","name":"Date","signature":"date.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exec","signature":"exec.html · version 1","since":"","deprecated":false},{"type":"component","name":"Minutely","signature":"minutely.html · version 1","since":"","deprecated":false},{"type":"component","name":"Notify","signature":"notify.html · version 1","since":"","deprecated":false},{"type":"component","name":"Time zone","signature":"timezone.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timeout","signature":"timeout.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timer","signature":"timer.html · version 3","since":"","deprecated":false},{"type":"component","name":"Trigger","signature":"trigger.html · version 6","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyUu4KE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/triggers-and-time/","project":"flow","version":"11-1","section":"components","language":"es","title":"Disparadores y tiempo","summary":"Componentes que inician mensajes a petición, según una programación o desde un endpoint, y trabajan con fechas.","markdown":"---\ntitle: Disparadores y tiempo\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/triggers-and-time/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Disparadores y tiempo\n\n> Componentes que inician mensajes a petición, según una programación o desde un endpoint, y trabajan con fechas.\n\nComponentes que inician mensajes a petición, según una programación o desde un endpoint, y trabajan con fechas. Esta página contiene los grupos **Triggers**, **Timers** y **Date & Time** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### crontab.html · version 1\n\nType: `component`\n\nDispara datos en los momentos que indicas con una expresión cron.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Datos aleatorios. |\n| `type` | `String` | no | `now` | Tipo. Uno de: `string` (String), `number` (Number), `boolean` (Boolean), `now` (Current date and time), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Datos. |\n| `timers` | `Array` | no | `[\"0 9 * * *\"]` | Temporizadores. |\n| `restart` | `Boolean` | no | `false` | Disparar 5 s después de la inicialización. |\n| `offset` | `String` | no |  | Desfase de zona horaria. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEl componente puede lanzar un disparo en una hora y fecha concretas.\n\n**Cadena cron: `* * * * *`**\n\nEl significado de cada `*` se explica abajo, en orden de izquierda a derecha:\n\n- minuto `0 - 59`\n- hora `0 - 23`\n- día del mes `1 - 31`\n- mes `1 - 12`\n- día de la semana `0 - 6`, donde `0` es el domingo\n\n```\n0 16 * * *      -> trigger every day at 16:00\n20 19 * * *     -> every day at 19:20 and 19:40\n* * * * *       -> trigger every minute\n0 20 * * 1      -> every monday at 20:00\n```\n\n### date.html · version 1\n\nType: `component`\n\nDevuelve la fecha y la hora actuales, sin formato o con formato.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no |  | Formato de fecha. |\n\n**Entradas:** `input` (Trigger).\n**Salidas:** `output` (Date/Time).\n\nEl componente devuelve un objeto de fecha/hora (sin formato o con formato) según su configuración.\n\n### exec.html · version 1\n\nType: `component`\n\nEnvía datos al FlowStream cuando tu código lo llama.\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEste componente es especial porque hay que ejecutarlo directamente desde el código fuente con el método `flowstream.exec()`. El componente dispara los datos recibidos dentro de Flow.\n\n```js\nvar opt = {};\nopt.id = 'ID_OF_EXEC_INSTANCE';\nopt.data = { custom: 'data' };\nopt.callback = function(err, msg) {\n\t// msg.uid;\n\t// msg.ref;\n\t// msg.repo {Object}\n\t// msg.data {Object}\n\t// msg.cloned {Number} how many times was the message cloned?\n\t// msg.duration {Number} in milliseconds\n};\n\n// optional:\n// opt.vars = {};    --> custom variables\n// opt.repo = {};    --> custom repository data and this data will be returned in the callback\n// opt.uid;          --> for storing some unique ID\n// opt.ref;          --> for storing some reference ID\nflowinstance.exec(opt);\n```\n\n### minutely.html · version 1\n\nType: `component`\n\nDispara datos cada minuto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Datos aleatorios. |\n| `type` | `String` | no | `now` | Tipo. Uno de: `now` (Current date), `counter` (Counter), `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Datos. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEl componente dispara datos dentro de Flow cada minuto.\n\n### notify.html · version 1\n\nType: `component`\n\nRecibe los datos que se envían al endpoint notify.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `method` | `String` | no | `all` | Método HTTP. Uno de: `all` (All supported HTTP methods), `GET`, `POST`. |\n| `send` | `String` | no | `all` | Enviar a la salida. Uno de: `all` (Everything), `query` (Query arguments), `body` (Payload), `headers` (Headers), `cookies` (Cookies). |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEste componente captura los datos del endpoint `/notify/`.\n\n__Datos de salida__:\n\n```js\n{\n\t\"method\": String,\n\t\"query\": Object,\n\t\"body\": Object,\n\t\"headers\": Object,\n\t\"cookies\": Object,\n\t\"url\": String,\n\t\"ip\": String\n}\n```\n\n### timezone.html · version 1\n\nType: `component`\n\nConvierte una fecha y hora a una zona horaria.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `ts` | `String` | no | `Europe/Bratislava` | Zona horaria. |\n| `input` | `String` | no | `ts` | Propiedad de entrada. |\n| `output` | `String` | no | `ts` | Propiedad de salida. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente convierte una fecha y hora a la zona horaria indicada y devuelve la fecha UTC correspondiente.\n\n### timeout.html · version 1\n\nType: `component`\n\nInicia un tiempo de espera y lo reinicia cuando llega un mensaje nuevo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `5` | Tiempo de espera. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente inicia un tiempo de espera y lo reinicia cuando llega un mensaje nuevo.\n\n### timer.html · version 3\n\nType: `component`\n\nDispara datos a intervalos regulares.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Datos aleatorios. |\n| `type` | `String` | no | `string` | Tipo. Uno de: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Datos. |\n| `prop` | `String` | no |  | Escribir en. |\n| `restart` | `Boolean` | no | `false` | Disparar 5 s después de la inicialización. |\n| `interval` | `Number` | no | `5000` | Intervalo (milisegundos). |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEl componente dispara datos dentro de Flow en el intervalo indicado.\n\n### trigger.html · version 6\n\nType: `component`\n\nEnvía datos al FlowStream cuando seleccionas su botón.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Datos aleatorios. |\n| `type` | `String` | no | `string` | Tipo. Uno de: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Datos. |\n| `restart` | `Boolean` | no | `false` | Disparar 5 s después de la inicialización. |\n| `prompt` | `Boolean` | no | `false` | Pregunta. |\n| `prop` | `String` | no |  | Escribir en. |\n| `promptlabel` | `String` | no |  | Etiqueta de la pregunta. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEl componente dispara datos dentro de Flow.\n","entries":[{"type":"component","name":"Crontab","signature":"crontab.html · version 1","since":"","deprecated":false},{"type":"component","name":"Date","signature":"date.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exec","signature":"exec.html · version 1","since":"","deprecated":false},{"type":"component","name":"Minutely","signature":"minutely.html · version 1","since":"","deprecated":false},{"type":"component","name":"Notify","signature":"notify.html · version 1","since":"","deprecated":false},{"type":"component","name":"Time zone","signature":"timezone.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timeout","signature":"timeout.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timer","signature":"timer.html · version 3","since":"","deprecated":false},{"type":"component","name":"Trigger","signature":"trigger.html · version 6","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyUu4KE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/triggers-and-time/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Déclencheurs et temps","summary":"Composants qui lancent des messages à la demande, selon un planning ou depuis un endpoint, et qui travaillent avec les dates.","markdown":"---\ntitle: \"Déclencheurs et temps\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/triggers-and-time/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Déclencheurs et temps\n\n> Composants qui lancent des messages à la demande, selon un planning ou depuis un endpoint, et qui travaillent avec les dates.\n\nComposants qui lancent des messages à la demande, selon un planning ou depuis un endpoint, et qui travaillent avec les dates. Cette page contient les groupes du catalogue **Triggers**, **Timers**, **Date & Time**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### crontab.html · version 1\n\nType: `component`\n\nDéclenche des données aux moments que tu définis avec une expression cron.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Données aléatoires. |\n| `type` | `String` | no | `now` | Type. Valeurs possibles : `string` (String), `number` (Number), `boolean` (Boolean), `now` (Current date and time), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Données. |\n| `timers` | `Array` | no | `[\"0 9 * * *\"]` | Minuteries. |\n| `restart` | `Boolean` | no | `false` | Déclencher 5 s après l’initialisation. |\n| `offset` | `String` | no |  | Décalage du fuseau horaire. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nLe composant peut déclencher un envoi à une heure et une date précises.\n\n**Chaîne cron : `* * * * *`**\n\nLa signification de chaque `*`, dans l’ordre de gauche à droite :\n\n- minute `0 - 59`\n- heure `0 - 23`\n- jour du mois `1 - 31`\n- mois `1 - 12`\n- jour de la semaine `0 - 6`, et `0` est dimanche\n\n```\n0 16 * * *      -> trigger every day at 16:00\n20 19 * * *     -> every day at 19:20 and 19:40\n* * * * *       -> trigger every minute\n0 20 * * 1      -> every monday at 20:00\n```\n\n### date.html · version 1\n\nType: `component`\n\nRenvoie la date et l’heure actuelles, brutes ou formatées.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no |  | Format de date. |\n\n**Entrées :** `input` (Trigger).  \n**Sorties :** `output` (Date/Time).\n\nLe composant renvoie un objet Date/Time (brut ou formaté) selon sa configuration.\n\n### exec.html · version 1\n\nType: `component`\n\nEnvoie des données dans le FlowStream quand ton code l’appelle.\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nCe composant est particulier, car il doit être exécuté directement depuis le code source via la méthode `flowstream.exec()`. Le composant injecte les données reçues dans le Flow.\n\n```js\nvar opt = {};\nopt.id = 'ID_OF_EXEC_INSTANCE';\nopt.data = { custom: 'data' };\nopt.callback = function(err, msg) {\n\t// msg.uid;\n\t// msg.ref;\n\t// msg.repo {Object}\n\t// msg.data {Object}\n\t// msg.cloned {Number} how many times was the message cloned?\n\t// msg.duration {Number} in milliseconds\n};\n\n// optional:\n// opt.vars = {};    --> custom variables\n// opt.repo = {};    --> custom repository data and this data will be returned in the callback\n// opt.uid;          --> for storing some unique ID\n// opt.ref;          --> for storing some reference ID\nflowinstance.exec(opt);\n```\n\n### minutely.html · version 1\n\nType: `component`\n\nDéclenche des données chaque minute.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Données aléatoires. |\n| `type` | `String` | no | `now` | Type. Valeurs possibles : `now` (Current date), `counter` (Counter), `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Données. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nLe composant injecte des données dans le Flow chaque minute.\n\n### notify.html · version 1\n\nType: `component`\n\nReçoit les données envoyées à l’endpoint notify.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `method` | `String` | no | `all` | Méthode HTTP. Valeurs possibles : `all` (All supported HTTP methods), `GET`, `POST`. |\n| `send` | `String` | no | `all` | Envoyer vers la sortie. Valeurs possibles : `all` (Everything), `query` (Query arguments), `body` (Payload), `headers` (Headers), `cookies` (Cookies). |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nCe composant capture les données sur l’endpoint `/notify/`.\n\n__Données de sortie__ :\n\n```js\n{\n\t\"method\": String,\n\t\"query\": Object,\n\t\"body\": Object,\n\t\"headers\": Object,\n\t\"cookies\": Object,\n\t\"url\": String,\n\t\"ip\": String\n}\n```\n\n### timezone.html · version 1\n\nType: `component`\n\nConvertit une date et une heure dans un fuseau horaire.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `ts` | `String` | no | `Europe/Bratislava` | Fuseau horaire. |\n| `input` | `String` | no | `ts` | Propriété d’entrée. |\n| `output` | `String` | no | `ts` | Propriété de sortie. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant convertit une date et une heure dans le fuseau horaire indiqué et renvoie la date UTC correspondante.\n\n### timeout.html · version 1\n\nType: `component`\n\nLance un délai et le relance quand un nouveau message arrive.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `5` | Délai. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant lance un délai et le relance quand un nouveau message arrive.\n\n### timer.html · version 3\n\nType: `component`\n\nDéclenche des données à intervalle régulier.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Données aléatoires. |\n| `type` | `String` | no | `string` | Type. Valeurs possibles : `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Données. |\n| `prop` | `String` | no |  | Écrire dans. |\n| `restart` | `Boolean` | no | `false` | Déclencher 5 s après l’initialisation. |\n| `interval` | `Number` | no | `5000` | Intervalle (millisecondes). |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nLe composant injecte des données dans le Flow à l’intervalle indiqué.\n\n### trigger.html · version 6\n\nType: `component`\n\nEnvoie des données dans le FlowStream quand tu sélectionnes son bouton.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Données aléatoires. |\n| `type` | `String` | no | `string` | Type. Valeurs possibles : `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Données. |\n| `restart` | `Boolean` | no | `false` | Déclencher 5 s après l’initialisation. |\n| `prompt` | `Boolean` | no | `false` | Invite. |\n| `prop` | `String` | no |  | Écrire dans. |\n| `promptlabel` | `String` | no |  | Libellé de l’invite. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nLe composant injecte des données dans le Flow.\n","entries":[{"type":"component","name":"Crontab","signature":"crontab.html · version 1","since":"","deprecated":false},{"type":"component","name":"Date","signature":"date.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exec","signature":"exec.html · version 1","since":"","deprecated":false},{"type":"component","name":"Minutely","signature":"minutely.html · version 1","since":"","deprecated":false},{"type":"component","name":"Notify","signature":"notify.html · version 1","since":"","deprecated":false},{"type":"component","name":"Time zone","signature":"timezone.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timeout","signature":"timeout.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timer","signature":"timer.html · version 3","since":"","deprecated":false},{"type":"component","name":"Trigger","signature":"trigger.html · version 6","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyUu4KE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/triggers-and-time/","project":"flow","version":"11-1","section":"components","language":"it","title":"Trigger e tempo","summary":"Componenti che avviano messaggi su richiesta, a orari pianificati o da un endpoint, e lavorano con le date.","markdown":"---\ntitle: Trigger e tempo\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/triggers-and-time/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Trigger e tempo\n\n> Componenti che avviano messaggi su richiesta, a orari pianificati o da un endpoint, e lavorano con le date.\n\nComponenti che avviano messaggi su richiesta, a orari pianificati o da un endpoint, e lavorano con le date. Questa pagina contiene i gruppi del catalogo **Triggers**, **Timers**, **Date & Time**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### crontab.html · version 1\n\nType: `component`\n\nInvia dati negli orari che imposti con un'espressione cron.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Dati casuali. |\n| `type` | `String` | no | `now` | Tipo. Uno tra: `string` (String), `number` (Number), `boolean` (Boolean), `now` (Current date and time), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Dati. |\n| `timers` | `Array` | no | `[\"0 9 * * *\"]` | Timer. |\n| `restart` | `Boolean` | no | `false` | Avvia 5 s dopo l'inizializzazione. |\n| `offset` | `String` | no |  | Differenza di fuso orario. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nIl componente può far partire un trigger a un'ora e in una data specifiche.\n\n**Stringa cron: `* * * * *`**\n\nIl significato di ogni `*` è spiegato qui sotto, in ordine da sinistra a destra:\n\n- minuto `0 - 59`\n- ora `0 - 23`\n- giorno del mese `1 - 31`\n- mese `1 - 12`\n- giorno della settimana `0 - 6`, dove `0` è domenica\n\n```\n0 16 * * *      -> trigger every day at 16:00\n20 19 * * *     -> every day at 19:20 and 19:40\n* * * * *       -> trigger every minute\n0 20 * * 1      -> every monday at 20:00\n```\n\n### date.html · version 1\n\nType: `component`\n\nRestituisce la data e l'ora attuali, grezze o formattate.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no |  | Formato della data. |\n\n**Ingressi:** `input` (Trigger).  \n**Uscite:** `output` (Date/Time).\n\nIl componente restituisce un oggetto Date/Time (grezzo o formattato) in base alla sua configurazione.\n\n### exec.html · version 1\n\nType: `component`\n\nInvia dati nel FlowStream quando il tuo codice lo chiama.\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nIl componente è speciale perché deve essere eseguito direttamente dal codice sorgente tramite il metodo `flowstream.exec()`. Il componente invia i dati ricevuti nel Flow.\n\n```js\nvar opt = {};\nopt.id = 'ID_OF_EXEC_INSTANCE';\nopt.data = { custom: 'data' };\nopt.callback = function(err, msg) {\n\t// msg.uid;\n\t// msg.ref;\n\t// msg.repo {Object}\n\t// msg.data {Object}\n\t// msg.cloned {Number} how many times was the message cloned?\n\t// msg.duration {Number} in milliseconds\n};\n\n// optional:\n// opt.vars = {};    --> custom variables\n// opt.repo = {};    --> custom repository data and this data will be returned in the callback\n// opt.uid;          --> for storing some unique ID\n// opt.ref;          --> for storing some reference ID\nflowinstance.exec(opt);\n```\n\n### minutely.html · version 1\n\nType: `component`\n\nInvia dati ogni minuto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Dati casuali. |\n| `type` | `String` | no | `now` | Tipo. Uno tra: `now` (Current date), `counter` (Counter), `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Dati. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nIl componente invia dati nel Flow ogni minuto.\n\n### notify.html · version 1\n\nType: `component`\n\nRiceve i dati inviati all'endpoint notify.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `method` | `String` | no | `all` | Metodo HTTP. Uno tra: `all` (All supported HTTP methods), `GET`, `POST`. |\n| `send` | `String` | no | `all` | Invia all'uscita. Uno tra: `all` (Everything), `query` (Query arguments), `body` (Payload), `headers` (Headers), `cookies` (Cookies). |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nQuesto componente cattura i dati sull'endpoint `/notify/`.\n\n__Dati in uscita__:\n\n```js\n{\n\t\"method\": String,\n\t\"query\": Object,\n\t\"body\": Object,\n\t\"headers\": Object,\n\t\"cookies\": Object,\n\t\"url\": String,\n\t\"ip\": String\n}\n```\n\n### timezone.html · version 1\n\nType: `component`\n\nConverte una data e un'ora in un fuso orario.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `ts` | `String` | no | `Europe/Bratislava` | Fuso orario. |\n| `input` | `String` | no | `ts` | Proprietà di ingresso. |\n| `output` | `String` | no | `ts` | Proprietà di uscita. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente converte una data e un'ora nel fuso orario indicato e restituisce la data UTC corrispondente.\n\n### timeout.html · version 1\n\nType: `component`\n\nAvvia un timeout e lo riavvia quando arriva un nuovo messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `5` | Timeout. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente avvia un timeout e lo riavvia quando arriva un nuovo messaggio.\n\n### timer.html · version 3\n\nType: `component`\n\nInvia dati a intervalli regolari.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Dati casuali. |\n| `type` | `String` | no | `string` | Tipo. Uno tra: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Dati. |\n| `prop` | `String` | no |  | Scrivi in. |\n| `restart` | `Boolean` | no | `false` | Avvia 5 s dopo l'inizializzazione. |\n| `interval` | `Number` | no | `5000` | Intervallo (millisecondi). |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nIl componente invia dati nel Flow all'intervallo indicato.\n\n### trigger.html · version 6\n\nType: `component`\n\nInvia dati nel FlowStream quando selezioni il suo pulsante.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Dati casuali. |\n| `type` | `String` | no | `string` | Tipo. Uno tra: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Dati. |\n| `restart` | `Boolean` | no | `false` | Avvia 5 s dopo l'inizializzazione. |\n| `prompt` | `Boolean` | no | `false` | Richiesta (prompt). |\n| `prop` | `String` | no |  | Scrivi in. |\n| `promptlabel` | `String` | no |  | Etichetta della richiesta. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nIl componente invia dati nel Flow.\n","entries":[{"type":"component","name":"Crontab","signature":"crontab.html · version 1","since":"","deprecated":false},{"type":"component","name":"Date","signature":"date.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exec","signature":"exec.html · version 1","since":"","deprecated":false},{"type":"component","name":"Minutely","signature":"minutely.html · version 1","since":"","deprecated":false},{"type":"component","name":"Notify","signature":"notify.html · version 1","since":"","deprecated":false},{"type":"component","name":"Time zone","signature":"timezone.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timeout","signature":"timeout.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timer","signature":"timer.html · version 3","since":"","deprecated":false},{"type":"component","name":"Trigger","signature":"trigger.html · version 6","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyUu4KE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/triggers-and-time/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Spúšťače a čas","summary":"Komponenty, ktoré spúšťajú správy na požiadanie, podľa plánu alebo z endpointu a pracujú s dátumami.","markdown":"---\ntitle: \"Spúšťače a čas\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/triggers-and-time/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Spúšťače a čas\n\n> Komponenty, ktoré spúšťajú správy na požiadanie, podľa plánu alebo z endpointu a pracujú s dátumami.\n\nKomponenty, ktoré spúšťajú správy na požiadanie, podľa plánu alebo z endpointu a pracujú s dátumami. Táto stránka obsahuje skupiny katalógu **Triggers**, **Timers**, **Date & Time**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### crontab.html · version 1\n\nType: `component`\n\nSpúšťa údaje v časoch, ktoré nastavíš cron výrazom.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Náhodné údaje. |\n| `type` | `String` | no | `now` | Typ. Jedna z hodnôt: `string` (String), `number` (Number), `boolean` (Boolean), `now` (Current date and time), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Údaje. |\n| `timers` | `Array` | no | `[\"0 9 * * *\"]` | Časovače. |\n| `restart` | `Boolean` | no | `false` | Spustiť 5 s po inicializácii. |\n| `offset` | `String` | no |  | Posun časového pásma. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nKomponent dokáže spustiť údaje v konkrétny čas a dátum.\n\n**Cron reťazec: `* * * * *`**\n\nVýznam jednotlivých `*` je vysvetlený nižšie, v poradí zľava doprava:\n\n- minúta `0 - 59`\n- hodina `0 - 23`\n- deň v mesiaci `1 - 31`\n- mesiac `1 - 12`\n- deň v týždni `0 - 6`, pričom `0` je nedeľa\n\n```\n0 16 * * *      -> trigger every day at 16:00\n20 19 * * *     -> every day at 19:20 and 19:40\n* * * * *       -> trigger every minute\n0 20 * * 1      -> every monday at 20:00\n```\n\n### date.html · version 1\n\nType: `component`\n\nVráti aktuálny dátum a čas, surový alebo naformátovaný.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no |  | Formát dátumu. |\n\n**Vstupy:** `input` (Trigger).  \n**Výstupy:** `output` (Date/Time).\n\nKomponent vráti objekt Date/Time (surový alebo naformátovaný) podľa svojej konfigurácie.\n\n### exec.html · version 1\n\nType: `component`\n\nPosiela údaje do FlowStreamu, keď ho zavolá tvoj kód.\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nKomponent je výnimočný tým, že sa musí spúšťať priamo zo zdrojového kódu metódou `flowstream.exec()`. Komponent pošle prijaté údaje do Flow.\n\n```js\nvar opt = {};\nopt.id = 'ID_OF_EXEC_INSTANCE';\nopt.data = { custom: 'data' };\nopt.callback = function(err, msg) {\n\t// msg.uid;\n\t// msg.ref;\n\t// msg.repo {Object}\n\t// msg.data {Object}\n\t// msg.cloned {Number} how many times was the message cloned?\n\t// msg.duration {Number} in milliseconds\n};\n\n// optional:\n// opt.vars = {};    --> custom variables\n// opt.repo = {};    --> custom repository data and this data will be returned in the callback\n// opt.uid;          --> for storing some unique ID\n// opt.ref;          --> for storing some reference ID\nflowinstance.exec(opt);\n```\n\n### minutely.html · version 1\n\nType: `component`\n\nSpúšťa údaje každú minútu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Náhodné údaje. |\n| `type` | `String` | no | `now` | Typ. Jedna z hodnôt: `now` (Current date), `counter` (Counter), `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Údaje. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nKomponent posiela údaje do Flow každú minútu.\n\n### notify.html · version 1\n\nType: `component`\n\nPrijíma údaje, ktoré sa pošlú na endpoint notify.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `method` | `String` | no | `all` | HTTP metóda. Jedna z hodnôt: `all` (All supported HTTP methods), `GET`, `POST`. |\n| `send` | `String` | no | `all` | Poslať na výstup. Jedna z hodnôt: `all` (Everything), `query` (Query arguments), `body` (Payload), `headers` (Headers), `cookies` (Cookies). |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nTento komponent zachytáva údaje na endpointe `/notify/`.\n\n__Výstupné údaje__:\n\n```js\n{\n\t\"method\": String,\n\t\"query\": Object,\n\t\"body\": Object,\n\t\"headers\": Object,\n\t\"cookies\": Object,\n\t\"url\": String,\n\t\"ip\": String\n}\n```\n\n### timezone.html · version 1\n\nType: `component`\n\nPrevedie dátum a čas do časového pásma.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `ts` | `String` | no | `Europe/Bratislava` | Časové pásmo. |\n| `input` | `String` | no | `ts` | Vstupná vlastnosť. |\n| `output` | `String` | no | `ts` | Výstupná vlastnosť. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent prevedie dátum a čas do zadaného časového pásma a vráti zodpovedajúci dátum v UTC.\n\n### timeout.html · version 1\n\nType: `component`\n\nSpustí časový limit a reštartuje ho, keď príde nová správa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `timeout` | `Number` | no | `5` | Časový limit. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent spustí časový limit a reštartuje ho, keď príde nová správa.\n\n### timer.html · version 3\n\nType: `component`\n\nSpúšťa údaje v pravidelnom intervale.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Náhodné údaje. |\n| `type` | `String` | no | `string` | Typ. Jedna z hodnôt: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Údaje. |\n| `prop` | `String` | no |  | Zapísať do. |\n| `restart` | `Boolean` | no | `false` | Spustiť 5 s po inicializácii. |\n| `interval` | `Number` | no | `5000` | Interval (milisekundy). |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nKomponent posiela údaje do Flow v zadanom intervale.\n\n### trigger.html · version 6\n\nType: `component`\n\nPošle údaje do FlowStreamu, keď vyberieš jeho tlačidlo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `random` | `Boolean` | no | `true` | Náhodné údaje. |\n| `type` | `String` | no | `string` | Typ. Jedna z hodnôt: `string` (String), `number` (Number), `boolean` (Boolean), `date` (Date), `object` (Object), `buffer` (Buffer as Base64). |\n| `data` | `String` | no |  | Údaje. |\n| `restart` | `Boolean` | no | `false` | Spustiť 5 s po inicializácii. |\n| `prompt` | `Boolean` | no | `false` | Výzva. |\n| `prop` | `String` | no |  | Zapísať do. |\n| `promptlabel` | `String` | no |  | Popisok výzvy. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nKomponent posiela údaje do Flow.\n","entries":[{"type":"component","name":"Crontab","signature":"crontab.html · version 1","since":"","deprecated":false},{"type":"component","name":"Date","signature":"date.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exec","signature":"exec.html · version 1","since":"","deprecated":false},{"type":"component","name":"Minutely","signature":"minutely.html · version 1","since":"","deprecated":false},{"type":"component","name":"Notify","signature":"notify.html · version 1","since":"","deprecated":false},{"type":"component","name":"Time zone","signature":"timezone.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timeout","signature":"timeout.html · version 1","since":"","deprecated":false},{"type":"component","name":"Timer","signature":"timer.html · version 3","since":"","deprecated":false},{"type":"component","name":"Trigger","signature":"trigger.html · version 6","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapySO3vA60f","url":"https://totaljs.es/docs/flow/11-1/components/data-and-transformations/","project":"flow","version":"11-1","section":"components","language":"en","title":"Data and transformations","summary":"Components that parse, read, template and generate data.","markdown":"---\ntitle: Data and transformations\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/data-and-transformations/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Data and transformations\n\n> Components that parse, read, template and generate data.\n\nComponents that parse, read, template and generate data. This page holds the catalogue groups **Transformations**, **Objects**, **Data**, **Array**, **Templates**, **HTML**, **Generators**, **Scripting**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### cheerio.html · version 1\n\nType: `component`\n\nRuns your code with Cheerio to read data from HTML.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no |  | The code that reads the HTML. `$` is the Cheerio instance and `html` is the HTML string; return the result. |\n| `path` | `String` | no |  | Path to html. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm package `cheerio` when you add the component.\n\nUses [Cheerio](https://cheerio.js.org/index.html)\nPlease refer to the [documentation](https://cheerio.js.org/classes/Cheerio.html) for available functions.\n\n**Input**\n\n```js\n<any>\n```\n\n**Output**\n\n```js\n{\nresult: <the data returned from the code>,\ninput: <incomming data>\n}\n```\n\n**Example code**\n\n```js\n// instance : component instance\n// $: cheerio instance\n// html: html string\n\nvar txt = [];\n$('ul > li').each(function (i, elem) {\ntxt.push($(this).text());\n});\nreturn txt;\n```\n\n### dataparser.html · version 1\n\nType: `component`\n\nSplits a buffer or string into parts by new lines or by begin and end phrases.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `convert` | `Boolean` | no | `false` | Convert parsed value to the object. |\n| `beg` | `String` | no |  | Begin phrase. |\n| `end` | `String` | no |  | End phrase. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component can parse newline data or begin/end phrases in the buffer or string. In addition, it can help with parsing XML or CSV files.\n\n### model.html · version 3\n\nType: `component`\n\nPrepares incoming data according to a schema.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Model` | Model name. |\n| `path` | `String` | no |  | Load data from the specific property/field. |\n| `rewrite` | `Boolean` | no | `true` | Rewrite value only (otherwise, it will replace entire message data). |\n\n**Inputs:** `input` (Data), `partial` (Partial data).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThis component prepares incoming data according to the defined schema. Output is prepared model or Error.\n\n### object.html · version 1\n\nType: `component`\n\nCreates an object from a Tangular template.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no |  | The Tangular template of the object. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component creates an object from the defined string (Tangular) template. With the help of the Tangular template engine, you can use conditions, loops, etc..\n\n__Available markup__:\n\n- `{{ data.key }}` represents data\n- `{{ variables.key }}` represents local and global Flow variables\n- `{{ hostname }}` contains a current URL address to the main Flow app `{String}`\n- `{{ url }}` contains a current URL address to the current Flow `{String}`\n- `{{ env }}` contains a current environment `{String}`\n\n### qrcode.html · version 1\n\nType: `component`\n\nGenerates a QR code.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nFlow installs the npm package `qrcode` when you add the component.\n\nThe component generates QR Code.\n\n__Input data__:\n\n```js\n{\n\ttext: String\n}\n```\n\n__Output data__:\n\n```js\n{\n\ttext: String,\n\tdata: 'Data URL - BASE64'\n}\n```\n\n### read.html · version 3\n\nType: `component`\n\nReads specific values from the data according to a map.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Load data from the specific property/field. |\n| `keep` | `Boolean` | no | `false` | Keep the message data and transform only specific paths. |\n| `rewrite` | `String` | no |  | Rewrite value only (otherwise, it will replace entire message data). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component reads specific values according to the configured map.\n\n### rssreader.html · version 1\n\nType: `component`\n\nDownloads every item of an RSS feed.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL address. |\n| `type` | `String` | no | `a` | Output. One of: `a` (Send all items), `b` (Send only new items), `c` (Send every item separately), `d` (Send only new items separately). |\n\n**Inputs:** `input` (Trigger).  \n**Outputs:** `output` (Output).\n\nThe component downloads every item from the RSS source. A message on to this `Trigger` input starts downloading RSS data.\n\n__Example__:\n\n```js\n{\n\ttitle: String,\n\tdescription: String,\n\tlink: String,\n\timage: String, // optional\n\tdate: Date // optional\n}\n```\n\n### script.html · version 1\n\nType: `component`\n\nRuns your own JavaScript code with a simple send function.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no |  | The JavaScript code that runs for each message. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component executes a custom JavaScript code as it is. To send data to the default output use `send(data);`\n\n### snapshot.html · version 1\n\nType: `component`\n\nSaves snapshots of incoming data to send them again later.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | Message ID. |\n| `name` | `String` | no | `{{ data.name }}` | Snapshot name. |\n| `status` | `String` | no | `Initial data` | Snapshot status. |\n| `remove` | `String` | no | `1 year` | Remove snapshots older than. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component takes a snapshot of the incoming data and the user can reuse saved snapshots in the future.\n\n### split.html · version 1\n\nType: `component`\n\nSplits an array into separate messages.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Load data from the specific property/field. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component splits a message with an array of objects on the input into separate messages with individual objects on the output.\n\n__Input example__:\n\n```js\n[\n\t{\n\t\t\"email\": \"michal@totaljs.com\",\n\t\t\"date\": 20220202,\n\t\t\"name\": \"Michal Klacan\"\n\t},\n\t{\n\t\t\"email\": \"martin@totaljs.com\",\n\t\t\"date\": 20220204,\n\t\t\"name\": \"Martin Smola\"\n\t},\n\t{\n\t\t\"email\": \"peter@totaljs.com\",\n\t\t\"datum\": 20220210,\n\t\t\"name\": \"Peter Sirka\"\n\t}\n]\n```\n\n__Output example__:\n\n```js\n{\n\t\"email\": \"michal@totaljs.com\",\n\t\"date\": 20220202,\n\t\"name\": \"Michal Klacan\"\n}\n```\n\n```js\n{\n\t\"email\": \"martin@totaljs.com\",\n\t\"date\": 20220204,\n\t\"name\": \"Martin Smola\"\n}\n```\n\n```js\n{\n\t\"email\": \"peter@totaljs.com\",\n\t\"datum\": 20220210,\n\t\"name\": \"Peter Sirka\"\n}\n```\n\n### tangular.html · version 1\n\nType: `component`\n\nRenders a Tangular template with the incoming data.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component uses server-side implementation of [Tangular template engine](https://docs.totaljs.com/components/40d06002lm50c/).\n\n**Example**\n\n__Incomming data__:\n\n```js\n{\n\tapp_name: 'Total.js Flow'\n}\n```\n\n__Template__:\n\n```html\nApp name: {{ value.app_name }}\n```\n\n- `$` type `{MessageInstance}` <https://docs.totaljs.com/total4/40844001ni51c/>\n\nIn the example bellow, the $.refs.controller is only available if the message was created by the Route component:\n\n```html\nURL: {{ $.refs.controller.url }}\n```\n\n### vs.html · version 1\n\nType: `component`\n\nGenerates a variable symbol in a custom format.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no | `yyyy####` | Format. |\n| `path` | `String` | no |  | Path. |\n| `autoreset` | `String` | no | `yyyy` | Auto-reset. One of: `yyyy` (Yearly), `MM` (Monthly), `dd` (Daily). |\n| `start` | `Number` | no | `0` | Start from. |\n| `reset` | `Boolean` | no | `false` | Reset indexer. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThe component will generate a variable symbol according to a custom format.\n","entries":[{"type":"component","name":"Cheerio","signature":"cheerio.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data parser","signature":"dataparser.html · version 1","since":"","deprecated":false},{"type":"component","name":"Model","signature":"model.html · version 3","since":"","deprecated":false},{"type":"component","name":"Object","signature":"object.html · version 1","since":"","deprecated":false},{"type":"component","name":"QR Code","signature":"qrcode.html · version 1","since":"","deprecated":false},{"type":"component","name":"Read","signature":"read.html · version 3","since":"","deprecated":false},{"type":"component","name":"RSS reader","signature":"rssreader.html · version 1","since":"","deprecated":false},{"type":"component","name":"Script","signature":"script.html · version 1","since":"","deprecated":false},{"type":"component","name":"Snapshot","signature":"snapshot.html · version 1","since":"","deprecated":false},{"type":"component","name":"Split","signature":"split.html · version 1","since":"","deprecated":false},{"type":"component","name":"Tangular","signature":"tangular.html · version 1","since":"","deprecated":false},{"type":"component","name":"Variable symbol","signature":"vs.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapySO3vA60f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/data-and-transformations/","project":"flow","version":"11-1","section":"components","language":"de","title":"Daten und Transformationen","summary":"Komponenten, die Daten parsen, lesen, mit Vorlagen aufbereiten und erzeugen.","markdown":"---\ntitle: Daten und Transformationen\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/data-and-transformations/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Daten und Transformationen\n\n> Komponenten, die Daten parsen, lesen, mit Vorlagen aufbereiten und erzeugen.\n\nKomponenten, die Daten parsen, lesen, mit Vorlagen aufbereiten und erzeugen. Diese Seite enthält die Katalog-Gruppen **Transformations**, **Objects**, **Data**, **Array**, **Templates**, **HTML**, **Generators**, **Scripting**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### cheerio.html · version 1\n\nType: `component`\n\nFührt deinen Code mit Cheerio aus, um Daten aus HTML zu lesen.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no |  | Der Code, der das HTML liest. `$` ist die Cheerio-Instanz und `html` der HTML-String; gib das Ergebnis zurück. |\n| `path` | `String` | no |  | Pfad zum HTML. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert das npm-Paket `cheerio`, wenn du die Komponente hinzufügst.\n\nNutzt [Cheerio](https://cheerio.js.org/index.html).\nDie verfügbaren Funktionen findest du in der [Dokumentation](https://cheerio.js.org/classes/Cheerio.html).\n\n**Eingabe**\n\n```js\n<any>\n```\n\n**Ausgabe**\n\n```js\n{\nresult: <the data returned from the code>,\ninput: <incomming data>\n}\n```\n\n**Beispielcode**\n\n```js\n// instance : component instance\n// $: cheerio instance\n// html: html string\n\nvar txt = [];\n$('ul > li').each(function (i, elem) {\ntxt.push($(this).text());\n});\nreturn txt;\n```\n\n### dataparser.html · version 1\n\nType: `component`\n\nTeilt einen Buffer oder String nach Zeilenumbrüchen oder nach Anfangs- und Endphrasen in Teile.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `convert` | `Boolean` | no | `false` | Geparsten Wert in ein Objekt umwandeln. |\n| `beg` | `String` | no |  | Anfangsphrase. |\n| `end` | `String` | no |  | Endphrase. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente kann Daten im Buffer oder String nach Zeilenumbrüchen oder nach Anfangs-/Endphrasen parsen. Außerdem hilft sie beim Parsen von XML- oder CSV-Dateien.\n\n### model.html · version 3\n\nType: `component`\n\nBereitet eingehende Daten nach einem Schema auf.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Model` | Name des Modells. |\n| `path` | `String` | no |  | Daten aus einer bestimmten Eigenschaft bzw. einem bestimmten Feld laden. |\n| `rewrite` | `Boolean` | no | `true` | Nur den Wert überschreiben (sonst werden die gesamten Daten der Nachricht ersetzt). |\n\n**Eingänge:** `input` (Data), `partial` (Partial data).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDiese Komponente bereitet eingehende Daten nach dem definierten Schema auf. Die Ausgabe ist das aufbereitete Modell oder ein Fehler.\n\n### object.html · version 1\n\nType: `component`\n\nErzeugt ein Objekt aus einer Tangular-Vorlage.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no |  | Die Tangular-Vorlage des Objekts. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente erzeugt ein Objekt aus der definierten String-Vorlage (Tangular). Mit der Template-Engine Tangular kannst du Bedingungen, Schleifen usw. verwenden.\n\n__Verfügbares Markup__:\n\n- `{{ data.key }}` steht für die Daten\n- `{{ variables.key }}` steht für lokale und globale Flow-Variablen\n- `{{ hostname }}` enthält die aktuelle URL-Adresse der Haupt-App von Flow `{String}`\n- `{{ url }}` enthält die aktuelle URL-Adresse des aktuellen Flows `{String}`\n- `{{ env }}` enthält die aktuelle Umgebung `{String}`\n\n### qrcode.html · version 1\n\nType: `component`\n\nErzeugt einen QR-Code.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nFlow installiert das npm-Paket `qrcode`, wenn du die Komponente hinzufügst.\n\nDie Komponente erzeugt einen QR-Code.\n\n__Eingabedaten__:\n\n```js\n{\n\ttext: String\n}\n```\n\n__Ausgabedaten__:\n\n```js\n{\n\ttext: String,\n\tdata: 'Data URL - BASE64'\n}\n```\n\n### read.html · version 3\n\nType: `component`\n\nLiest bestimmte Werte anhand einer Zuordnung aus den Daten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Daten aus einer bestimmten Eigenschaft bzw. einem bestimmten Feld laden. |\n| `keep` | `Boolean` | no | `false` | Die Daten der Nachricht behalten und nur bestimmte Pfade umwandeln. |\n| `rewrite` | `String` | no |  | Nur den Wert überschreiben (sonst werden die gesamten Daten der Nachricht ersetzt). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente liest bestimmte Werte anhand der konfigurierten Zuordnung.\n\n### rssreader.html · version 1\n\nType: `component`\n\nLädt jeden Eintrag eines RSS-Feeds herunter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL-Adresse. |\n| `type` | `String` | no | `a` | Ausgabe. Eine von: `a` (Send all items), `b` (Send only new items), `c` (Send every item separately), `d` (Send only new items separately). |\n\n**Eingänge:** `input` (Trigger).\n**Ausgänge:** `output` (Output).\n\nDie Komponente lädt jeden Eintrag aus der RSS-Quelle herunter. Eine Nachricht an den Eingang `Trigger` startet das Herunterladen der RSS-Daten.\n\n__Beispiel__:\n\n```js\n{\n\ttitle: String,\n\tdescription: String,\n\tlink: String,\n\timage: String, // optional\n\tdate: Date // optional\n}\n```\n\n### script.html · version 1\n\nType: `component`\n\nFührt deinen eigenen JavaScript-Code mit einer einfachen send-Funktion aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no |  | Der JavaScript-Code, der für jede Nachricht läuft. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente führt eigenen JavaScript-Code so aus, wie er ist. Um Daten an den Standardausgang zu senden, nutze `send(data);`\n\n### snapshot.html · version 1\n\nType: `component`\n\nSpeichert Schnappschüsse eingehender Daten, um sie später erneut zu senden.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | Nachrichten-ID. |\n| `name` | `String` | no | `{{ data.name }}` | Name des Schnappschusses. |\n| `status` | `String` | no | `Initial data` | Status des Schnappschusses. |\n| `remove` | `String` | no | `1 year` | Schnappschüsse entfernen, die älter sind als. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente macht einen Schnappschuss der eingehenden Daten, und du kannst gespeicherte Schnappschüsse später wiederverwenden.\n\n### split.html · version 1\n\nType: `component`\n\nTeilt ein Array in einzelne Nachrichten auf.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Daten aus einer bestimmten Eigenschaft bzw. einem bestimmten Feld laden. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente teilt eine Nachricht mit einem Array von Objekten am Eingang in einzelne Nachrichten mit je einem Objekt am Ausgang auf.\n\n__Eingabe-Beispiel__:\n\n```js\n[\n\t{\n\t\t\"email\": \"michal@totaljs.com\",\n\t\t\"date\": 20220202,\n\t\t\"name\": \"Michal Klacan\"\n\t},\n\t{\n\t\t\"email\": \"martin@totaljs.com\",\n\t\t\"date\": 20220204,\n\t\t\"name\": \"Martin Smola\"\n\t},\n\t{\n\t\t\"email\": \"peter@totaljs.com\",\n\t\t\"datum\": 20220210,\n\t\t\"name\": \"Peter Sirka\"\n\t}\n]\n```\n\n__Ausgabe-Beispiel__:\n\n```js\n{\n\t\"email\": \"michal@totaljs.com\",\n\t\"date\": 20220202,\n\t\"name\": \"Michal Klacan\"\n}\n```\n\n```js\n{\n\t\"email\": \"martin@totaljs.com\",\n\t\"date\": 20220204,\n\t\"name\": \"Martin Smola\"\n}\n```\n\n```js\n{\n\t\"email\": \"peter@totaljs.com\",\n\t\"datum\": 20220210,\n\t\"name\": \"Peter Sirka\"\n}\n```\n\n### tangular.html · version 1\n\nType: `component`\n\nRendert eine Tangular-Vorlage mit den eingehenden Daten.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente nutzt die serverseitige Umsetzung der [Template-Engine Tangular](https://docs.totaljs.com/components/40d06002lm50c/).\n\n**Beispiel**\n\n__Eingehende Daten__:\n\n```js\n{\n\tapp_name: 'Total.js Flow'\n}\n```\n\n__Vorlage__:\n\n```html\nApp name: {{ value.app_name }}\n```\n\n- `$` vom Typ `{MessageInstance}` <https://docs.totaljs.com/total4/40844001ni51c/>\n\nIm Beispiel unten ist $.refs.controller nur verfügbar, wenn die Nachricht von der Komponente Route erstellt wurde:\n\n```html\nURL: {{ $.refs.controller.url }}\n```\n\n### vs.html · version 1\n\nType: `component`\n\nErzeugt ein variables Symbol in einem eigenen Format.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no | `yyyy####` | Format. |\n| `path` | `String` | no |  | Pfad. |\n| `autoreset` | `String` | no | `yyyy` | Automatisch zurücksetzen. Einer von: `yyyy` (Yearly), `MM` (Monthly), `dd` (Daily). |\n| `start` | `Number` | no | `0` | Beginnen bei. |\n| `reset` | `Boolean` | no | `false` | Zähler zurücksetzen. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDie Komponente erzeugt ein variables Symbol nach einem eigenen Format.\n","entries":[{"type":"component","name":"Cheerio","signature":"cheerio.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data parser","signature":"dataparser.html · version 1","since":"","deprecated":false},{"type":"component","name":"Model","signature":"model.html · version 3","since":"","deprecated":false},{"type":"component","name":"Object","signature":"object.html · version 1","since":"","deprecated":false},{"type":"component","name":"QR Code","signature":"qrcode.html · version 1","since":"","deprecated":false},{"type":"component","name":"Read","signature":"read.html · version 3","since":"","deprecated":false},{"type":"component","name":"RSS reader","signature":"rssreader.html · version 1","since":"","deprecated":false},{"type":"component","name":"Script","signature":"script.html · version 1","since":"","deprecated":false},{"type":"component","name":"Snapshot","signature":"snapshot.html · version 1","since":"","deprecated":false},{"type":"component","name":"Split","signature":"split.html · version 1","since":"","deprecated":false},{"type":"component","name":"Tangular","signature":"tangular.html · version 1","since":"","deprecated":false},{"type":"component","name":"Variable symbol","signature":"vs.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapySO3vA60f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/data-and-transformations/","project":"flow","version":"11-1","section":"components","language":"es","title":"Datos y transformaciones","summary":"Componentes que analizan, leen, generan datos y les aplican plantillas.","markdown":"---\ntitle: Datos y transformaciones\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/data-and-transformations/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Datos y transformaciones\n\n> Componentes que analizan, leen, generan datos y les aplican plantillas.\n\nComponentes que analizan, leen, generan datos y les aplican plantillas. Esta página contiene los grupos **Transformations**, **Objects**, **Data**, **Array**, **Templates**, **HTML**, **Generators** y **Scripting** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### cheerio.html · version 1\n\nType: `component`\n\nEjecuta tu código con Cheerio para leer datos de un HTML.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no |  | El código que lee el HTML. `$` es la instancia de Cheerio y `html` es la cadena HTML; devuelve el resultado. |\n| `path` | `String` | no |  | Ruta al html. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala el paquete npm `cheerio` cuando añades el componente.\n\nUsa [Cheerio](https://cheerio.js.org/index.html)\nConsulta la [documentación](https://cheerio.js.org/classes/Cheerio.html) para ver las funciones disponibles.\n\n**Entrada**\n\n```js\n<any>\n```\n\n**Salida**\n\n```js\n{\nresult: <the data returned from the code>,\ninput: <incomming data>\n}\n```\n\n**Código de ejemplo**\n\n```js\n// instance : component instance\n// $: cheerio instance\n// html: html string\n\nvar txt = [];\n$('ul > li').each(function (i, elem) {\ntxt.push($(this).text());\n});\nreturn txt;\n```\n\n### dataparser.html · version 1\n\nType: `component`\n\nDivide un buffer o una cadena en partes por saltos de línea o por frases de inicio y fin.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `convert` | `Boolean` | no | `false` | Convertir el valor analizado en objeto. |\n| `beg` | `String` | no |  | Frase de inicio. |\n| `end` | `String` | no |  | Frase de fin. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente puede analizar datos separados por saltos de línea o por frases de inicio/fin en un buffer o una cadena. Además, puede ayudarte a analizar archivos XML o CSV.\n\n### model.html · version 3\n\nType: `component`\n\nPrepara los datos entrantes según un esquema.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Model` | Nombre del modelo. |\n| `path` | `String` | no |  | Cargar los datos de la propiedad/campo indicado. |\n| `rewrite` | `Boolean` | no | `true` | Reescribir solo el valor (si no, sustituye todos los datos del mensaje). |\n\n**Entradas:** `input` (Data), `partial` (Partial data).\n**Salidas:** `output` (Output), `error` (Error).\n\nEste componente prepara los datos entrantes según el esquema definido. La salida es el modelo preparado o un Error.\n\n### object.html · version 1\n\nType: `component`\n\nCrea un objeto a partir de una plantilla Tangular.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no |  | La plantilla Tangular del objeto. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente crea un objeto a partir de la plantilla de texto (Tangular) definida. Con el motor de plantillas Tangular puedes usar condiciones, bucles, etc.\n\n__Marcas disponibles__:\n\n- `{{ data.key }}` representa los datos\n- `{{ variables.key }}` representa las variables locales y globales de Flow\n- `{{ hostname }}` contiene la dirección URL actual de la app principal de Flow `{String}`\n- `{{ url }}` contiene la dirección URL actual del Flow actual `{String}`\n- `{{ env }}` contiene el entorno actual `{String}`\n\n### qrcode.html · version 1\n\nType: `component`\n\nGenera un código QR.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nFlow instala el paquete npm `qrcode` cuando añades el componente.\n\nEl componente genera un código QR.\n\n__Datos de entrada__:\n\n```js\n{\n\ttext: String\n}\n```\n\n__Datos de salida__:\n\n```js\n{\n\ttext: String,\n\tdata: 'Data URL - BASE64'\n}\n```\n\n### read.html · version 3\n\nType: `component`\n\nLee valores concretos de los datos según un mapa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Cargar los datos de la propiedad/campo indicado. |\n| `keep` | `Boolean` | no | `false` | Conservar los datos del mensaje y transformar solo rutas concretas. |\n| `rewrite` | `String` | no |  | Reescribir solo el valor (si no, sustituye todos los datos del mensaje). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente lee valores concretos según el mapa configurado.\n\n### rssreader.html · version 1\n\nType: `component`\n\nDescarga todos los elementos de un canal RSS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Dirección URL. |\n| `type` | `String` | no | `a` | Salida. Una de: `a` (Send all items), `b` (Send only new items), `c` (Send every item separately), `d` (Send only new items separately). |\n\n**Entradas:** `input` (Trigger).\n**Salidas:** `output` (Output).\n\nEl componente descarga todos los elementos de la fuente RSS. Un mensaje en la entrada `Trigger` inicia la descarga de los datos RSS.\n\n__Ejemplo__:\n\n```js\n{\n\ttitle: String,\n\tdescription: String,\n\tlink: String,\n\timage: String, // optional\n\tdate: Date // optional\n}\n```\n\n### script.html · version 1\n\nType: `component`\n\nEjecuta tu propio código JavaScript con una función send sencilla.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no |  | El código JavaScript que se ejecuta con cada mensaje. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente ejecuta tal cual un código JavaScript personalizado. Para enviar datos a la salida por defecto usa `send(data);`\n\n### snapshot.html · version 1\n\nType: `component`\n\nGuarda instantáneas de los datos entrantes para volver a enviarlas más tarde.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID del mensaje. |\n| `name` | `String` | no | `{{ data.name }}` | Nombre de la instantánea. |\n| `status` | `String` | no | `Initial data` | Estado de la instantánea. |\n| `remove` | `String` | no | `1 year` | Eliminar las instantáneas más antiguas que. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente toma una instantánea de los datos entrantes y puedes reutilizar las instantáneas guardadas en el futuro.\n\n### split.html · version 1\n\nType: `component`\n\nDivide un array en mensajes separados.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Cargar los datos de la propiedad/campo indicado. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente divide un mensaje con un array de objetos en la entrada en mensajes separados, cada uno con un objeto, en la salida.\n\n__Ejemplo de entrada__:\n\n```js\n[\n\t{\n\t\t\"email\": \"michal@totaljs.com\",\n\t\t\"date\": 20220202,\n\t\t\"name\": \"Michal Klacan\"\n\t},\n\t{\n\t\t\"email\": \"martin@totaljs.com\",\n\t\t\"date\": 20220204,\n\t\t\"name\": \"Martin Smola\"\n\t},\n\t{\n\t\t\"email\": \"peter@totaljs.com\",\n\t\t\"datum\": 20220210,\n\t\t\"name\": \"Peter Sirka\"\n\t}\n]\n```\n\n__Ejemplo de salida__:\n\n```js\n{\n\t\"email\": \"michal@totaljs.com\",\n\t\"date\": 20220202,\n\t\"name\": \"Michal Klacan\"\n}\n```\n\n```js\n{\n\t\"email\": \"martin@totaljs.com\",\n\t\"date\": 20220204,\n\t\"name\": \"Martin Smola\"\n}\n```\n\n```js\n{\n\t\"email\": \"peter@totaljs.com\",\n\t\"datum\": 20220210,\n\t\"name\": \"Peter Sirka\"\n}\n```\n\n### tangular.html · version 1\n\nType: `component`\n\nGenera una plantilla Tangular con los datos entrantes.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente usa la implementación de servidor del [motor de plantillas Tangular](https://docs.totaljs.com/components/40d06002lm50c/).\n\n**Ejemplo**\n\n__Datos entrantes__:\n\n```js\n{\n\tapp_name: 'Total.js Flow'\n}\n```\n\n__Plantilla__:\n\n```html\nApp name: {{ value.app_name }}\n```\n\n- `$` de tipo `{MessageInstance}` <https://docs.totaljs.com/total4/40844001ni51c/>\n\nEn el ejemplo de abajo, $.refs.controller solo está disponible si el mensaje lo creó el componente Route:\n\n```html\nURL: {{ $.refs.controller.url }}\n```\n\n### vs.html · version 1\n\nType: `component`\n\nGenera un símbolo variable con un formato personalizado.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no | `yyyy####` | Formato. |\n| `path` | `String` | no |  | Ruta. |\n| `autoreset` | `String` | no | `yyyy` | Reinicio automático. Uno de: `yyyy` (Yearly), `MM` (Monthly), `dd` (Daily). |\n| `start` | `Number` | no | `0` | Empezar desde. |\n| `reset` | `Boolean` | no | `false` | Reiniciar el indexador. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEl componente genera un símbolo variable según un formato personalizado.\n","entries":[{"type":"component","name":"Cheerio","signature":"cheerio.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data parser","signature":"dataparser.html · version 1","since":"","deprecated":false},{"type":"component","name":"Model","signature":"model.html · version 3","since":"","deprecated":false},{"type":"component","name":"Object","signature":"object.html · version 1","since":"","deprecated":false},{"type":"component","name":"QR Code","signature":"qrcode.html · version 1","since":"","deprecated":false},{"type":"component","name":"Read","signature":"read.html · version 3","since":"","deprecated":false},{"type":"component","name":"RSS reader","signature":"rssreader.html · version 1","since":"","deprecated":false},{"type":"component","name":"Script","signature":"script.html · version 1","since":"","deprecated":false},{"type":"component","name":"Snapshot","signature":"snapshot.html · version 1","since":"","deprecated":false},{"type":"component","name":"Split","signature":"split.html · version 1","since":"","deprecated":false},{"type":"component","name":"Tangular","signature":"tangular.html · version 1","since":"","deprecated":false},{"type":"component","name":"Variable symbol","signature":"vs.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapySO3vA60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/data-and-transformations/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Données et transformations","summary":"Composants qui analysent, lisent, mettent en forme avec des modèles et génèrent des données.","markdown":"---\ntitle: \"Données et transformations\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/data-and-transformations/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Données et transformations\n\n> Composants qui analysent, lisent, mettent en forme avec des modèles et génèrent des données.\n\nComposants qui analysent, lisent, mettent en forme avec des modèles et génèrent des données. Cette page contient les groupes du catalogue **Transformations**, **Objects**, **Data**, **Array**, **Templates**, **HTML**, **Generators**, **Scripting**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### cheerio.html · version 1\n\nType: `component`\n\nExécute ton code avec Cheerio pour lire des données dans du HTML.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no |  | Le code qui lit le HTML. `$` est l’instance Cheerio et `html` est la chaîne HTML ; renvoie le résultat. |\n| `path` | `String` | no |  | Chemin vers le HTML. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe le paquet npm `cheerio` quand tu ajoutes le composant.\n\nUtilise [Cheerio](https://cheerio.js.org/index.html)\nConsulte la [documentation](https://cheerio.js.org/classes/Cheerio.html) pour les fonctions disponibles.\n\n**Entrée**\n\n```js\n<any>\n```\n\n**Sortie**\n\n```js\n{\nresult: <the data returned from the code>,\ninput: <incomming data>\n}\n```\n\n**Exemple de code**\n\n```js\n// instance : component instance\n// $: cheerio instance\n// html: html string\n\nvar txt = [];\n$('ul > li').each(function (i, elem) {\ntxt.push($(this).text());\n});\nreturn txt;\n```\n\n### dataparser.html · version 1\n\nType: `component`\n\nDécoupe un buffer ou une chaîne en parties, par retours à la ligne ou par expressions de début et de fin.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `convert` | `Boolean` | no | `false` | Convertir la valeur analysée en objet. |\n| `beg` | `String` | no |  | Expression de début. |\n| `end` | `String` | no |  | Expression de fin. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant peut analyser des données séparées par des retours à la ligne ou délimitées par des expressions de début/fin dans le buffer ou la chaîne. Il peut aussi t’aider à analyser des fichiers XML ou CSV.\n\n### model.html · version 3\n\nType: `component`\n\nPrépare les données entrantes selon un schéma.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Model` | Nom du modèle. |\n| `path` | `String` | no |  | Charger les données depuis la propriété/le champ indiqué. |\n| `rewrite` | `Boolean` | no | `true` | Réécrire seulement la valeur (sinon, toutes les données du message sont remplacées). |\n\n**Entrées :** `input` (Data), `partial` (Partial data).  \n**Sorties :** `output` (Output), `error` (Error).\n\nCe composant prépare les données entrantes selon le schéma défini. La sortie est le modèle préparé ou une erreur.\n\n### object.html · version 1\n\nType: `component`\n\nCrée un objet à partir d’un modèle Tangular.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no |  | Le modèle Tangular de l’objet. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant crée un objet à partir du modèle de chaîne (Tangular) défini. Grâce au moteur de modèles Tangular, tu peux utiliser des conditions, des boucles, etc.\n\n__Balises disponibles__ :\n\n- `{{ data.key }}` représente les données\n- `{{ variables.key }}` représente les variables Flow locales et globales\n- `{{ hostname }}` contient l’adresse URL actuelle de l’app Flow principale `{String}`\n- `{{ url }}` contient l’adresse URL actuelle du Flow actuel `{String}`\n- `{{ env }}` contient l’environnement actuel `{String}`\n\n### qrcode.html · version 1\n\nType: `component`\n\nGénère un QR code.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nFlow installe le paquet npm `qrcode` quand tu ajoutes le composant.\n\nLe composant génère un QR code.\n\n__Données d’entrée__ :\n\n```js\n{\n\ttext: String\n}\n```\n\n__Données de sortie__ :\n\n```js\n{\n\ttext: String,\n\tdata: 'Data URL - BASE64'\n}\n```\n\n### read.html · version 3\n\nType: `component`\n\nLit des valeurs précises dans les données selon une table de correspondance.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Charger les données depuis la propriété/le champ indiqué. |\n| `keep` | `Boolean` | no | `false` | Garder les données du message et ne transformer que certains chemins. |\n| `rewrite` | `String` | no |  | Réécrire seulement la valeur (sinon, toutes les données du message sont remplacées). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant lit des valeurs précises selon la table de correspondance configurée.\n\n### rssreader.html · version 1\n\nType: `component`\n\nTélécharge tous les éléments d’un flux RSS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Adresse URL. |\n| `type` | `String` | no | `a` | Sortie. Valeurs possibles : `a` (Send all items), `b` (Send only new items), `c` (Send every item separately), `d` (Send only new items separately). |\n\n**Entrées :** `input` (Trigger).  \n**Sorties :** `output` (Output).\n\nLe composant télécharge tous les éléments de la source RSS. Un message sur cette entrée `Trigger` lance le téléchargement des données RSS.\n\n__Exemple__ :\n\n```js\n{\n\ttitle: String,\n\tdescription: String,\n\tlink: String,\n\timage: String, // optional\n\tdate: Date // optional\n}\n```\n\n### script.html · version 1\n\nType: `component`\n\nExécute ton propre code JavaScript avec une fonction d’envoi simple.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no |  | Le code JavaScript exécuté pour chaque message. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant exécute tel quel un code JavaScript personnalisé. Pour envoyer des données vers la sortie par défaut, utilise `send(data);`\n\n### snapshot.html · version 1\n\nType: `component`\n\nEnregistre des instantanés des données entrantes pour les renvoyer plus tard.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID du message. |\n| `name` | `String` | no | `{{ data.name }}` | Nom de l’instantané. |\n| `status` | `String` | no | `Initial data` | État de l’instantané. |\n| `remove` | `String` | no | `1 year` | Supprimer les instantanés plus anciens que. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant prend un instantané des données entrantes, et l’utilisateur peut réutiliser plus tard les instantanés enregistrés.\n\n### split.html · version 1\n\nType: `component`\n\nDécoupe un tableau en messages séparés.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Charger les données depuis la propriété/le champ indiqué. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant découpe un message contenant un tableau d’objets en entrée en messages séparés, chacun avec un seul objet, en sortie.\n\n__Exemple d’entrée__ :\n\n```js\n[\n\t{\n\t\t\"email\": \"michal@totaljs.com\",\n\t\t\"date\": 20220202,\n\t\t\"name\": \"Michal Klacan\"\n\t},\n\t{\n\t\t\"email\": \"martin@totaljs.com\",\n\t\t\"date\": 20220204,\n\t\t\"name\": \"Martin Smola\"\n\t},\n\t{\n\t\t\"email\": \"peter@totaljs.com\",\n\t\t\"datum\": 20220210,\n\t\t\"name\": \"Peter Sirka\"\n\t}\n]\n```\n\n__Exemple de sortie__ :\n\n```js\n{\n\t\"email\": \"michal@totaljs.com\",\n\t\"date\": 20220202,\n\t\"name\": \"Michal Klacan\"\n}\n```\n\n```js\n{\n\t\"email\": \"martin@totaljs.com\",\n\t\"date\": 20220204,\n\t\"name\": \"Martin Smola\"\n}\n```\n\n```js\n{\n\t\"email\": \"peter@totaljs.com\",\n\t\"datum\": 20220210,\n\t\"name\": \"Peter Sirka\"\n}\n```\n\n### tangular.html · version 1\n\nType: `component`\n\nGénère un modèle Tangular avec les données entrantes.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant utilise l’implémentation côté serveur du [moteur de modèles Tangular](https://docs.totaljs.com/components/40d06002lm50c/).\n\n**Exemple**\n\n__Données entrantes__ :\n\n```js\n{\n\tapp_name: 'Total.js Flow'\n}\n```\n\n__Modèle__ :\n\n```html\nApp name: {{ value.app_name }}\n```\n\n- `$` de type `{MessageInstance}` <https://docs.totaljs.com/total4/40844001ni51c/>\n\nDans l’exemple ci-dessous, $.refs.controller n’est disponible que si le message a été créé par le composant Route :\n\n```html\nURL: {{ $.refs.controller.url }}\n```\n\n### vs.html · version 1\n\nType: `component`\n\nGénère un symbole variable dans un format personnalisé.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no | `yyyy####` | Format. |\n| `path` | `String` | no |  | Chemin. |\n| `autoreset` | `String` | no | `yyyy` | Remise à zéro automatique. Valeurs possibles : `yyyy` (Yearly), `MM` (Monthly), `dd` (Daily). |\n| `start` | `Number` | no | `0` | Commencer à. |\n| `reset` | `Boolean` | no | `false` | Remettre l’indexeur à zéro. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nLe composant génère un symbole variable selon un format personnalisé.\n","entries":[{"type":"component","name":"Cheerio","signature":"cheerio.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data parser","signature":"dataparser.html · version 1","since":"","deprecated":false},{"type":"component","name":"Model","signature":"model.html · version 3","since":"","deprecated":false},{"type":"component","name":"Object","signature":"object.html · version 1","since":"","deprecated":false},{"type":"component","name":"QR Code","signature":"qrcode.html · version 1","since":"","deprecated":false},{"type":"component","name":"Read","signature":"read.html · version 3","since":"","deprecated":false},{"type":"component","name":"RSS reader","signature":"rssreader.html · version 1","since":"","deprecated":false},{"type":"component","name":"Script","signature":"script.html · version 1","since":"","deprecated":false},{"type":"component","name":"Snapshot","signature":"snapshot.html · version 1","since":"","deprecated":false},{"type":"component","name":"Split","signature":"split.html · version 1","since":"","deprecated":false},{"type":"component","name":"Tangular","signature":"tangular.html · version 1","since":"","deprecated":false},{"type":"component","name":"Variable symbol","signature":"vs.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapySO3vA60f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/data-and-transformations/","project":"flow","version":"11-1","section":"components","language":"it","title":"Dati e trasformazioni","summary":"Componenti che analizzano, leggono, trasformano con template e generano dati.","markdown":"---\ntitle: Dati e trasformazioni\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/data-and-transformations/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Dati e trasformazioni\n\n> Componenti che analizzano, leggono, trasformano con template e generano dati.\n\nComponenti che analizzano, leggono, trasformano con template e generano dati. Questa pagina contiene i gruppi del catalogo **Transformations**, **Objects**, **Data**, **Array**, **Templates**, **HTML**, **Generators**, **Scripting**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### cheerio.html · version 1\n\nType: `component`\n\nEsegue il tuo codice con Cheerio per leggere dati dall'HTML.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no |  | Il codice che legge l'HTML. `$` è l'istanza di Cheerio e `html` è la stringa HTML; restituisci il risultato. |\n| `path` | `String` | no |  | Percorso dell'HTML. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa il pacchetto npm `cheerio` quando aggiungi il componente.\n\nUsa [Cheerio](https://cheerio.js.org/index.html)\nPer le funzioni disponibili consulta la [documentazione](https://cheerio.js.org/classes/Cheerio.html).\n\n**Ingresso**\n\n```js\n<any>\n```\n\n**Uscita**\n\n```js\n{\nresult: <the data returned from the code>,\ninput: <incomming data>\n}\n```\n\n**Codice di esempio**\n\n```js\n// instance : component instance\n// $: cheerio instance\n// html: html string\n\nvar txt = [];\n$('ul > li').each(function (i, elem) {\ntxt.push($(this).text());\n});\nreturn txt;\n```\n\n### dataparser.html · version 1\n\nType: `component`\n\nDivide un buffer o una stringa in parti, per righe o per frasi di inizio e fine.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `convert` | `Boolean` | no | `false` | Converti il valore analizzato in oggetto. |\n| `beg` | `String` | no |  | Frase di inizio. |\n| `end` | `String` | no |  | Frase di fine. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente può analizzare dati separati da nuove righe o da frasi di inizio/fine nel buffer o nella stringa. Inoltre, può aiutarti ad analizzare file XML o CSV.\n\n### model.html · version 3\n\nType: `component`\n\nPrepara i dati in arrivo in base a uno schema.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Model` | Nome del modello. |\n| `path` | `String` | no |  | Carica i dati dalla proprietà/campo specifico. |\n| `rewrite` | `Boolean` | no | `true` | Sovrascrivi solo il valore (altrimenti sostituisce tutti i dati del messaggio). |\n\n**Ingressi:** `input` (Data), `partial` (Partial data).  \n**Uscite:** `output` (Output), `error` (Error).\n\nQuesto componente prepara i dati in arrivo in base allo schema definito. L'uscita è il modello preparato oppure un Error.\n\n### object.html · version 1\n\nType: `component`\n\nCrea un oggetto da un template Tangular.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no |  | Il template Tangular dell'oggetto. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente crea un oggetto dal template di stringa (Tangular) definito. Grazie al motore di template Tangular, puoi usare condizioni, cicli, ecc.\n\n__Markup disponibile__:\n\n- `{{ data.key }}` rappresenta i dati\n- `{{ variables.key }}` rappresenta le variabili locali e globali di Flow\n- `{{ hostname }}` contiene l'indirizzo URL attuale dell'app Flow principale `{String}`\n- `{{ url }}` contiene l'indirizzo URL attuale del Flow corrente `{String}`\n- `{{ env }}` contiene l'ambiente attuale `{String}`\n\n### qrcode.html · version 1\n\nType: `component`\n\nGenera un codice QR.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nFlow installa il pacchetto npm `qrcode` quando aggiungi il componente.\n\nIl componente genera un codice QR.\n\n__Dati in ingresso__:\n\n```js\n{\n\ttext: String\n}\n```\n\n__Dati in uscita__:\n\n```js\n{\n\ttext: String,\n\tdata: 'Data URL - BASE64'\n}\n```\n\n### read.html · version 3\n\nType: `component`\n\nLegge valori specifici dai dati in base a una mappa.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Carica i dati dalla proprietà/campo specifico. |\n| `keep` | `Boolean` | no | `false` | Mantieni i dati del messaggio e trasforma solo percorsi specifici. |\n| `rewrite` | `String` | no |  | Sovrascrivi solo il valore (altrimenti sostituisce tutti i dati del messaggio). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente legge valori specifici in base alla mappa configurata.\n\n### rssreader.html · version 1\n\nType: `component`\n\nScarica tutti gli elementi di un feed RSS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Indirizzo URL. |\n| `type` | `String` | no | `a` | Uscita. Una tra: `a` (Send all items), `b` (Send only new items), `c` (Send every item separately), `d` (Send only new items separately). |\n\n**Ingressi:** `input` (Trigger).  \n**Uscite:** `output` (Output).\n\nIl componente scarica tutti gli elementi dalla fonte RSS. Un messaggio sull'ingresso `Trigger` avvia il download dei dati RSS.\n\n__Esempio__:\n\n```js\n{\n\ttitle: String,\n\tdescription: String,\n\tlink: String,\n\timage: String, // optional\n\tdate: Date // optional\n}\n```\n\n### script.html · version 1\n\nType: `component`\n\nEsegue il tuo codice JavaScript con una semplice funzione send.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no |  | Il codice JavaScript che viene eseguito per ogni messaggio. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente esegue un codice JavaScript personalizzato così com'è. Per inviare dati all'uscita predefinita usa `send(data);`\n\n### snapshot.html · version 1\n\nType: `component`\n\nSalva istantanee dei dati in arrivo per inviarle di nuovo più tardi.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID del messaggio. |\n| `name` | `String` | no | `{{ data.name }}` | Nome dell'istantanea. |\n| `status` | `String` | no | `Initial data` | Stato dell'istantanea. |\n| `remove` | `String` | no | `1 year` | Rimuovi le istantanee più vecchie di. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente scatta un'istantanea dei dati in arrivo e l'utente può riusare in futuro le istantanee salvate.\n\n### split.html · version 1\n\nType: `component`\n\nDivide un array in messaggi separati.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Carica i dati dalla proprietà/campo specifico. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente divide un messaggio con un array di oggetti in ingresso in messaggi separati, ciascuno con un singolo oggetto in uscita.\n\n__Esempio di ingresso__:\n\n```js\n[\n\t{\n\t\t\"email\": \"michal@totaljs.com\",\n\t\t\"date\": 20220202,\n\t\t\"name\": \"Michal Klacan\"\n\t},\n\t{\n\t\t\"email\": \"martin@totaljs.com\",\n\t\t\"date\": 20220204,\n\t\t\"name\": \"Martin Smola\"\n\t},\n\t{\n\t\t\"email\": \"peter@totaljs.com\",\n\t\t\"datum\": 20220210,\n\t\t\"name\": \"Peter Sirka\"\n\t}\n]\n```\n\n__Esempio di uscita__:\n\n```js\n{\n\t\"email\": \"michal@totaljs.com\",\n\t\"date\": 20220202,\n\t\"name\": \"Michal Klacan\"\n}\n```\n\n```js\n{\n\t\"email\": \"martin@totaljs.com\",\n\t\"date\": 20220204,\n\t\"name\": \"Martin Smola\"\n}\n```\n\n```js\n{\n\t\"email\": \"peter@totaljs.com\",\n\t\"datum\": 20220210,\n\t\"name\": \"Peter Sirka\"\n}\n```\n\n### tangular.html · version 1\n\nType: `component`\n\nGenera un template Tangular con i dati in arrivo.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente usa l'implementazione lato server del [motore di template Tangular](https://docs.totaljs.com/components/40d06002lm50c/).\n\n**Esempio**\n\n__Dati in arrivo__:\n\n```js\n{\n\tapp_name: 'Total.js Flow'\n}\n```\n\n__Template__:\n\n```html\nApp name: {{ value.app_name }}\n```\n\n- `$` di tipo `{MessageInstance}` <https://docs.totaljs.com/total4/40844001ni51c/>\n\nNell'esempio qui sotto, $.refs.controller è disponibile solo se il messaggio è stato creato dal componente Route:\n\n```html\nURL: {{ $.refs.controller.url }}\n```\n\n### vs.html · version 1\n\nType: `component`\n\nGenera un simbolo variabile in un formato personalizzato.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no | `yyyy####` | Formato. |\n| `path` | `String` | no |  | Percorso. |\n| `autoreset` | `String` | no | `yyyy` | Azzeramento automatico. Uno tra: `yyyy` (Yearly), `MM` (Monthly), `dd` (Daily). |\n| `start` | `Number` | no | `0` | Inizia da. |\n| `reset` | `Boolean` | no | `false` | Azzera l'indicizzatore. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nIl componente genera un simbolo variabile in base a un formato personalizzato.\n","entries":[{"type":"component","name":"Cheerio","signature":"cheerio.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data parser","signature":"dataparser.html · version 1","since":"","deprecated":false},{"type":"component","name":"Model","signature":"model.html · version 3","since":"","deprecated":false},{"type":"component","name":"Object","signature":"object.html · version 1","since":"","deprecated":false},{"type":"component","name":"QR Code","signature":"qrcode.html · version 1","since":"","deprecated":false},{"type":"component","name":"Read","signature":"read.html · version 3","since":"","deprecated":false},{"type":"component","name":"RSS reader","signature":"rssreader.html · version 1","since":"","deprecated":false},{"type":"component","name":"Script","signature":"script.html · version 1","since":"","deprecated":false},{"type":"component","name":"Snapshot","signature":"snapshot.html · version 1","since":"","deprecated":false},{"type":"component","name":"Split","signature":"split.html · version 1","since":"","deprecated":false},{"type":"component","name":"Tangular","signature":"tangular.html · version 1","since":"","deprecated":false},{"type":"component","name":"Variable symbol","signature":"vs.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapySO3vA60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/data-and-transformations/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Údaje a transformácie","summary":"Komponenty, ktoré spracúvajú, čítajú, šablónujú a generujú údaje.","markdown":"---\ntitle: \"Údaje a transformácie\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/data-and-transformations/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Údaje a transformácie\n\n> Komponenty, ktoré spracúvajú, čítajú, šablónujú a generujú údaje.\n\nKomponenty, ktoré spracúvajú, čítajú, šablónujú a generujú údaje. Táto stránka obsahuje skupiny katalógu **Transformations**, **Objects**, **Data**, **Array**, **Templates**, **HTML**, **Generators**, **Scripting**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### cheerio.html · version 1\n\nType: `component`\n\nSpustí tvoj kód s Cheerio na čítanie údajov z HTML.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no |  | Kód, ktorý číta HTML. `$` je inštancia Cheerio a `html` je HTML reťazec; vráť výsledok. |\n| `path` | `String` | no |  | Cesta k HTML. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `cheerio`.\n\nPoužíva [Cheerio](https://cheerio.js.org/index.html)\nDostupné funkcie nájdeš v [dokumentácii](https://cheerio.js.org/classes/Cheerio.html).\n\n**Vstup**\n\n```js\n<any>\n```\n\n**Výstup**\n\n```js\n{\nresult: <the data returned from the code>,\ninput: <incomming data>\n}\n```\n\n**Príklad kódu**\n\n```js\n// instance : component instance\n// $: cheerio instance\n// html: html string\n\nvar txt = [];\n$('ul > li').each(function (i, elem) {\ntxt.push($(this).text());\n});\nreturn txt;\n```\n\n### dataparser.html · version 1\n\nType: `component`\n\nRozdelí buffer alebo reťazec na časti podľa nových riadkov alebo podľa začiatočnej a koncovej frázy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `convert` | `Boolean` | no | `false` | Previesť spracovanú hodnotu na objekt. |\n| `beg` | `String` | no |  | Začiatočná fráza. |\n| `end` | `String` | no |  | Koncová fráza. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent dokáže v bufferi alebo reťazci rozpoznať údaje oddelené novými riadkami alebo začiatočnou/koncovou frázou. Okrem toho ti pomôže so spracovaním súborov XML alebo CSV.\n\n### model.html · version 3\n\nType: `component`\n\nPripraví prichádzajúce údaje podľa schémy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Model` | Názov modelu. |\n| `path` | `String` | no |  | Načítať údaje z konkrétnej vlastnosti/poľa. |\n| `rewrite` | `Boolean` | no | `true` | Prepísať iba hodnotu (inak nahradí celé údaje správy). |\n\n**Vstupy:** `input` (Data), `partial` (Partial data).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nTento komponent pripraví prichádzajúce údaje podľa definovanej schémy. Výstupom je pripravený model alebo chyba.\n\n### object.html · version 1\n\nType: `component`\n\nVytvorí objekt zo šablóny Tangular.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `template` | `String` | no |  | Šablóna Tangular pre objekt. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent vytvorí objekt z definovanej reťazcovej šablóny (Tangular). Vďaka šablónovaciemu enginu Tangular môžeš používať podmienky, cykly atď.\n\n__Dostupné značky__:\n\n- `{{ data.key }}` predstavuje údaje\n- `{{ variables.key }}` predstavuje lokálne a globálne premenné Flow\n- `{{ hostname }}` obsahuje aktuálnu URL adresu hlavnej aplikácie Flow `{String}`\n- `{{ url }}` obsahuje aktuálnu URL adresu aktuálneho Flow `{String}`\n- `{{ env }}` obsahuje aktuálne prostredie `{String}`\n\n### qrcode.html · version 1\n\nType: `component`\n\nVygeneruje QR kód.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `qrcode`.\n\nKomponent generuje QR kód.\n\n__Vstupné údaje__:\n\n```js\n{\n\ttext: String\n}\n```\n\n__Výstupné údaje__:\n\n```js\n{\n\ttext: String,\n\tdata: 'Data URL - BASE64'\n}\n```\n\n### read.html · version 3\n\nType: `component`\n\nNačíta z údajov konkrétne hodnoty podľa mapy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Načítať údaje z konkrétnej vlastnosti/poľa. |\n| `keep` | `Boolean` | no | `false` | Ponechať údaje správy a transformovať iba konkrétne cesty. |\n| `rewrite` | `String` | no |  | Prepísať iba hodnotu (inak nahradí celé údaje správy). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent načíta konkrétne hodnoty podľa nakonfigurovanej mapy.\n\n### rssreader.html · version 1\n\nType: `component`\n\nStiahne všetky položky RSS kanála.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL adresa. |\n| `type` | `String` | no | `a` | Výstup. Jedna z hodnôt: `a` (Send all items), `b` (Send only new items), `c` (Send every item separately), `d` (Send only new items separately). |\n\n**Vstupy:** `input` (Trigger).  \n**Výstupy:** `output` (Output).\n\nKomponent stiahne všetky položky zo zdroja RSS. Správa na vstupe `Trigger` spustí sťahovanie RSS údajov.\n\n__Príklad__:\n\n```js\n{\n\ttitle: String,\n\tdescription: String,\n\tlink: String,\n\timage: String, // optional\n\tdate: Date // optional\n}\n```\n\n### script.html · version 1\n\nType: `component`\n\nSpustí tvoj vlastný JavaScript kód s jednoduchou funkciou send.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `code` | `String` | no |  | JavaScript kód, ktorý sa spustí pre každú správu. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent spustí vlastný JavaScript kód tak, ako je. Ak chceš poslať údaje na predvolený výstup, použi `send(data);`\n\n### snapshot.html · version 1\n\nType: `component`\n\nUkladá snímky prichádzajúcich údajov, aby ich neskôr mohol poslať znova.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `id` | ID správy. |\n| `name` | `String` | no | `{{ data.name }}` | Názov snímky. |\n| `status` | `String` | no | `Initial data` | Stav snímky. |\n| `remove` | `String` | no | `1 year` | Odstrániť snímky staršie ako. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent vytvorí snímku prichádzajúcich údajov a používateľ môže uložené snímky v budúcnosti znova použiť.\n\n### split.html · version 1\n\nType: `component`\n\nRozdelí pole na samostatné správy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Načítať údaje z konkrétnej vlastnosti/poľa. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent rozdelí správu s poľom objektov na vstupe na samostatné správy s jednotlivými objektmi na výstupe.\n\n__Príklad vstupu__:\n\n```js\n[\n\t{\n\t\t\"email\": \"michal@totaljs.com\",\n\t\t\"date\": 20220202,\n\t\t\"name\": \"Michal Klacan\"\n\t},\n\t{\n\t\t\"email\": \"martin@totaljs.com\",\n\t\t\"date\": 20220204,\n\t\t\"name\": \"Martin Smola\"\n\t},\n\t{\n\t\t\"email\": \"peter@totaljs.com\",\n\t\t\"datum\": 20220210,\n\t\t\"name\": \"Peter Sirka\"\n\t}\n]\n```\n\n__Príklad výstupu__:\n\n```js\n{\n\t\"email\": \"michal@totaljs.com\",\n\t\"date\": 20220202,\n\t\"name\": \"Michal Klacan\"\n}\n```\n\n```js\n{\n\t\"email\": \"martin@totaljs.com\",\n\t\"date\": 20220204,\n\t\"name\": \"Martin Smola\"\n}\n```\n\n```js\n{\n\t\"email\": \"peter@totaljs.com\",\n\t\"datum\": 20220210,\n\t\"name\": \"Peter Sirka\"\n}\n```\n\n### tangular.html · version 1\n\nType: `component`\n\nVykreslí šablónu Tangular s prichádzajúcimi údajmi.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent používa serverovú implementáciu [šablónovacieho enginu Tangular](https://docs.totaljs.com/components/40d06002lm50c/).\n\n**Príklad**\n\n__Prichádzajúce údaje__:\n\n```js\n{\n\tapp_name: 'Total.js Flow'\n}\n```\n\n__Šablóna__:\n\n```html\nApp name: {{ value.app_name }}\n```\n\n- `$` typu `{MessageInstance}` <https://docs.totaljs.com/total4/40844001ni51c/>\n\nV príklade nižšie je $.refs.controller dostupný iba vtedy, ak správu vytvoril komponent Route:\n\n```html\nURL: {{ $.refs.controller.url }}\n```\n\n### vs.html · version 1\n\nType: `component`\n\nVygeneruje variabilný symbol vo vlastnom formáte.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `format` | `String` | no | `yyyy####` | Formát. |\n| `path` | `String` | no |  | Cesta. |\n| `autoreset` | `String` | no | `yyyy` | Automatický reset. Jedna z hodnôt: `yyyy` (Yearly), `MM` (Monthly), `dd` (Daily). |\n| `start` | `Number` | no | `0` | Začať od. |\n| `reset` | `Boolean` | no | `false` | Resetovať počítadlo. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKomponent vygeneruje variabilný symbol podľa vlastného formátu.\n","entries":[{"type":"component","name":"Cheerio","signature":"cheerio.html · version 1","since":"","deprecated":false},{"type":"component","name":"Data parser","signature":"dataparser.html · version 1","since":"","deprecated":false},{"type":"component","name":"Model","signature":"model.html · version 3","since":"","deprecated":false},{"type":"component","name":"Object","signature":"object.html · version 1","since":"","deprecated":false},{"type":"component","name":"QR Code","signature":"qrcode.html · version 1","since":"","deprecated":false},{"type":"component","name":"Read","signature":"read.html · version 3","since":"","deprecated":false},{"type":"component","name":"RSS reader","signature":"rssreader.html · version 1","since":"","deprecated":false},{"type":"component","name":"Script","signature":"script.html · version 1","since":"","deprecated":false},{"type":"component","name":"Snapshot","signature":"snapshot.html · version 1","since":"","deprecated":false},{"type":"component","name":"Split","signature":"split.html · version 1","since":"","deprecated":false},{"type":"component","name":"Tangular","signature":"tangular.html · version 1","since":"","deprecated":false},{"type":"component","name":"Variable symbol","signature":"vs.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyTI2YE61f","url":"https://totaljs.es/docs/flow/11-1/components/flow-and-flowstreams/","project":"flow","version":"11-1","section":"components","language":"en","title":"Flow and FlowStreams","summary":"Components that debug a FlowStream, extend the server and pass data between FlowStreams.","markdown":"---\ntitle: Flow and FlowStreams\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/flow-and-flowstreams/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Flow and FlowStreams\n\n> Components that debug a FlowStream, extend the server and pass data between FlowStreams.\n\nComponents that debug a FlowStream, extend the server and pass data between FlowStreams. This page holds the catalogue groups **Flow**, **FlowStream**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### consoledebug.html · version 4\n\nType: `component`\n\nPrints incoming messages and debug logs in the console of the designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `native` | `Boolean` | no | `true` | Append the log messages to the native web developer console. |\n| `console` | `Boolean` | no | `false` | Capture all console.log(). |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nA FlowStream can hold only one node of this component.\n\nThe component can print the payload of incoming messages and `instance.debug()` log messages in JSON format.\n\n### consolelog.html · version 1\n\nType: `component`\n\nPrints the message into the console of the server.\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThis component prints a message into the console.\n\n### debug.html · version 4\n\nType: `component`\n\nPrints incoming messages and debug logs in JSON format.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Shows repository. |\n| `debug` | `Boolean` | no | `true` | Shows debug messages. |\n| `data` | `Boolean` | no | `true` | Shows data. |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nA FlowStream can hold only one node of this component.\n\nThe component can print the payload of incoming messages and `instance.debug()` log messages in JSON format.\n\n### flowrecorder.html · version 1\n\nType: `component`\n\nRecords significant events of the FlowStream worker.\n\n**Inputs:** none.  \n**Outputs:** none.\n\nA FlowStream can hold only one node of this component.\n\nAs the FlowStream worker runs, the component records significant information. The component can reveal hidden bugs or performance issues. The component stores data in the `logs/*` directory.\n\n### input.html · version 2\n\nType: `component`\n\nReceives data that a Publish component sends from another FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Input` | Input name. |\n| `readme` | `String` | no |  | Readme. |\n\n**Inputs:** none.  \n**Outputs:** `data` (Data).\n\nThe component receives data in an encapsulated FlowStream.\n\n### kill.html · version 1\n\nType: `component`\n\nKills the current FlowStream process.\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nBe careful because this component will kill the current Flow instance. It's targeted only for exceptional cases.\n\n### output.html · version 2\n\nType: `component`\n\nSends data to the Subscribe components of other FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Output` | Output name. |\n| `readme` | `String` | no |  | Readme. |\n\n**Inputs:** `data` (Data).  \n**Outputs:** none.\n\nThe component can send data from an encapsulated FlowStream.\n\n### publish.html · version 5\n\nType: `component`\n\nSends data to an Input component of another FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Input. |\n\n**Inputs:** `data` (Data).  \n**Outputs:** none.\n\nThe component publish the data to the specific `Input` component.\n\n### serverextension.html · version 1\n\nType: `component`\n\nInstalls a Total.js server-side extension from your code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `My extension` | Name. |\n| `install` | `String` | no |  | Installation code. It runs when the node starts and when its configuration changes. |\n| `uninstall` | `String` | no |  | Uninstallation code. |\n| `icon` | `String` | no |  | Icon. |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nThe component installs Total.js server-side extension. In other words: it can evaluate JavaScript code when the component is initialized or the component settings is changed.\n\n### subscribe.html · version 4\n\nType: `component`\n\nReceives data from an Output component of another FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Output. |\n\n**Inputs:** none.  \n**Outputs:** `data` (Data).\n\nThe component subscribes to the specific `Output` component.\n","entries":[{"type":"component","name":"Console debug","signature":"consoledebug.html · version 4","since":"","deprecated":false},{"type":"component","name":"console.log()","signature":"consolelog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Debug","signature":"debug.html · version 4","since":"","deprecated":false},{"type":"component","name":"Flow recorder","signature":"flowrecorder.html · version 1","since":"","deprecated":false},{"type":"component","name":"Input","signature":"input.html · version 2","since":"","deprecated":false},{"type":"component","name":"Kill","signature":"kill.html · version 1","since":"","deprecated":false},{"type":"component","name":"Output","signature":"output.html · version 2","since":"","deprecated":false},{"type":"component","name":"Publish","signature":"publish.html · version 5","since":"","deprecated":false},{"type":"component","name":"Server extension","signature":"serverextension.html · version 1","since":"","deprecated":false},{"type":"component","name":"Subscribe","signature":"subscribe.html · version 4","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyTI2YE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/flow-and-flowstreams/","project":"flow","version":"11-1","section":"components","language":"de","title":"Flow und FlowStreams","summary":"Komponenten, die einen FlowStream debuggen, den Server erweitern und Daten zwischen FlowStreams weitergeben.","markdown":"---\ntitle: Flow und FlowStreams\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/flow-and-flowstreams/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Flow und FlowStreams\n\n> Komponenten, die einen FlowStream debuggen, den Server erweitern und Daten zwischen FlowStreams weitergeben.\n\nKomponenten, die einen FlowStream debuggen, den Server erweitern und Daten zwischen FlowStreams weitergeben. Diese Seite enthält die Katalog-Gruppen **Flow**, **FlowStream**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### consoledebug.html · version 4\n\nType: `component`\n\nGibt eingehende Nachrichten und Debug-Logs in der Konsole des Designers aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `native` | `Boolean` | no | `true` | Die Log-Meldungen an die native Entwicklerkonsole des Browsers anhängen. |\n| `console` | `Boolean` | no | `false` | Alle console.log() abfangen. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nDie Komponente kann den Payload eingehender Nachrichten und Log-Meldungen von `instance.debug()` im JSON-Format ausgeben.\n\n### consolelog.html · version 1\n\nType: `component`\n\nGibt die Nachricht in der Konsole des Servers aus.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDiese Komponente gibt eine Nachricht in der Konsole aus.\n\n### debug.html · version 4\n\nType: `component`\n\nGibt eingehende Nachrichten und Debug-Logs im JSON-Format aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Zeigt das Repository. |\n| `debug` | `Boolean` | no | `true` | Zeigt Debug-Meldungen. |\n| `data` | `Boolean` | no | `true` | Zeigt Daten. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nDie Komponente kann den Payload eingehender Nachrichten und Log-Meldungen von `instance.debug()` im JSON-Format ausgeben.\n\n### flowrecorder.html · version 1\n\nType: `component`\n\nZeichnet wichtige Ereignisse des FlowStream-Workers auf.\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nWährend der FlowStream-Worker läuft, zeichnet die Komponente wichtige Informationen auf. So kann sie versteckte Fehler oder Leistungsprobleme sichtbar machen. Die Komponente speichert die Daten im Verzeichnis `logs/*`.\n\n### input.html · version 2\n\nType: `component`\n\nEmpfängt Daten, die eine Publish-Komponente aus einem anderen FlowStream sendet.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Input` | Name des Eingangs. |\n| `readme` | `String` | no |  | Readme. |\n\n**Eingänge:** keine.\n**Ausgänge:** `data` (Data).\n\nDie Komponente empfängt Daten in einem gekapselten FlowStream.\n\n### kill.html · version 1\n\nType: `component`\n\nBeendet den aktuellen FlowStream-Prozess.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nSei vorsichtig: Diese Komponente beendet die aktuelle Flow-Instanz. Sie ist nur für Ausnahmefälle gedacht.\n\n### output.html · version 2\n\nType: `component`\n\nSendet Daten an die Subscribe-Komponenten anderer FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Output` | Name des Ausgangs. |\n| `readme` | `String` | no |  | Readme. |\n\n**Eingänge:** `data` (Data).\n**Ausgänge:** keine.\n\nDie Komponente kann Daten aus einem gekapselten FlowStream senden.\n\n### publish.html · version 5\n\nType: `component`\n\nSendet Daten an eine Input-Komponente eines anderen FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Eingang. |\n\n**Eingänge:** `data` (Data).\n**Ausgänge:** keine.\n\nDie Komponente veröffentlicht die Daten an die jeweilige `Input`-Komponente.\n\n### serverextension.html · version 1\n\nType: `component`\n\nInstalliert eine serverseitige Total.js-Erweiterung aus deinem Code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `My extension` | Name. |\n| `install` | `String` | no |  | Installationscode. Er läuft, wenn der Knoten startet und wenn sich seine Konfiguration ändert. |\n| `uninstall` | `String` | no |  | Deinstallationscode. |\n| `icon` | `String` | no |  | Symbol. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nDie Komponente installiert eine serverseitige Total.js-Erweiterung. Anders gesagt: Sie kann JavaScript-Code ausführen, wenn die Komponente initialisiert wird oder sich ihre Einstellungen ändern.\n\n### subscribe.html · version 4\n\nType: `component`\n\nEmpfängt Daten von einer Output-Komponente eines anderen FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Ausgang. |\n\n**Eingänge:** keine.\n**Ausgänge:** `data` (Data).\n\nDie Komponente abonniert die jeweilige `Output`-Komponente.\n","entries":[{"type":"component","name":"Console debug","signature":"consoledebug.html · version 4","since":"","deprecated":false},{"type":"component","name":"console.log()","signature":"consolelog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Debug","signature":"debug.html · version 4","since":"","deprecated":false},{"type":"component","name":"Flow recorder","signature":"flowrecorder.html · version 1","since":"","deprecated":false},{"type":"component","name":"Input","signature":"input.html · version 2","since":"","deprecated":false},{"type":"component","name":"Kill","signature":"kill.html · version 1","since":"","deprecated":false},{"type":"component","name":"Output","signature":"output.html · version 2","since":"","deprecated":false},{"type":"component","name":"Publish","signature":"publish.html · version 5","since":"","deprecated":false},{"type":"component","name":"Server extension","signature":"serverextension.html · version 1","since":"","deprecated":false},{"type":"component","name":"Subscribe","signature":"subscribe.html · version 4","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyTI2YE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/flow-and-flowstreams/","project":"flow","version":"11-1","section":"components","language":"es","title":"Flow y FlowStreams","summary":"Componentes que depuran un FlowStream, amplían el servidor y pasan datos entre FlowStreams.","markdown":"---\ntitle: Flow y FlowStreams\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/flow-and-flowstreams/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Flow y FlowStreams\n\n> Componentes que depuran un FlowStream, amplían el servidor y pasan datos entre FlowStreams.\n\nComponentes que depuran un FlowStream, amplían el servidor y pasan datos entre FlowStreams. Esta página contiene los grupos **Flow** y **FlowStream** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### consoledebug.html · version 4\n\nType: `component`\n\nMuestra los mensajes entrantes y los registros de depuración en la consola del diseñador.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `native` | `Boolean` | no | `true` | Añadir los mensajes de registro a la consola nativa de desarrollo web. |\n| `console` | `Boolean` | no | `false` | Capturar todos los console.log(). |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nEl componente puede mostrar en formato JSON el payload de los mensajes entrantes y los mensajes de registro de `instance.debug()`.\n\n### consolelog.html · version 1\n\nType: `component`\n\nMuestra el mensaje en la consola del servidor.\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEste componente muestra un mensaje en la consola.\n\n### debug.html · version 4\n\nType: `component`\n\nMuestra los mensajes entrantes y los registros de depuración en formato JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Muestra el repositorio. |\n| `debug` | `Boolean` | no | `true` | Muestra los mensajes de depuración. |\n| `data` | `Boolean` | no | `true` | Muestra los datos. |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nEl componente puede mostrar en formato JSON el payload de los mensajes entrantes y los mensajes de registro de `instance.debug()`.\n\n### flowrecorder.html · version 1\n\nType: `component`\n\nRegistra los eventos importantes del worker del FlowStream.\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nMientras el worker del FlowStream se ejecuta, el componente registra la información importante. Puede sacar a la luz errores ocultos o problemas de rendimiento. Guarda los datos en el directorio `logs/*`.\n\n### input.html · version 2\n\nType: `component`\n\nRecibe los datos que un componente Publish envía desde otro FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Input` | Nombre de la entrada. |\n| `readme` | `String` | no |  | Readme. |\n\n**Entradas:** ninguna.\n**Salidas:** `data` (Data).\n\nEl componente recibe datos en un FlowStream encapsulado.\n\n### kill.html · version 1\n\nType: `component`\n\nTermina el proceso del FlowStream actual.\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nTen cuidado, porque este componente termina la instancia actual de Flow. Está pensado solo para casos excepcionales.\n\n### output.html · version 2\n\nType: `component`\n\nEnvía datos a los componentes Subscribe de otros FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Output` | Nombre de la salida. |\n| `readme` | `String` | no |  | Readme. |\n\n**Entradas:** `data` (Data).\n**Salidas:** ninguna.\n\nEl componente puede enviar datos desde un FlowStream encapsulado.\n\n### publish.html · version 5\n\nType: `component`\n\nEnvía datos a un componente Input de otro FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Entrada. |\n\n**Entradas:** `data` (Data).\n**Salidas:** ninguna.\n\nEl componente publica los datos en el componente `Input` indicado.\n\n### serverextension.html · version 1\n\nType: `component`\n\nInstala una extensión de servidor de Total.js a partir de tu código.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `My extension` | Nombre. |\n| `install` | `String` | no |  | Código de instalación. Se ejecuta cuando el nodo arranca y cuando cambia su configuración. |\n| `uninstall` | `String` | no |  | Código de desinstalación. |\n| `icon` | `String` | no |  | Icono. |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nEl componente instala una extensión de servidor de Total.js. Dicho de otro modo: puede evaluar código JavaScript cuando el componente se inicializa o cuando cambian sus ajustes.\n\n### subscribe.html · version 4\n\nType: `component`\n\nRecibe datos de un componente Output de otro FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Salida. |\n\n**Entradas:** ninguna.\n**Salidas:** `data` (Data).\n\nEl componente se suscribe al componente `Output` indicado.\n","entries":[{"type":"component","name":"Console debug","signature":"consoledebug.html · version 4","since":"","deprecated":false},{"type":"component","name":"console.log()","signature":"consolelog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Debug","signature":"debug.html · version 4","since":"","deprecated":false},{"type":"component","name":"Flow recorder","signature":"flowrecorder.html · version 1","since":"","deprecated":false},{"type":"component","name":"Input","signature":"input.html · version 2","since":"","deprecated":false},{"type":"component","name":"Kill","signature":"kill.html · version 1","since":"","deprecated":false},{"type":"component","name":"Output","signature":"output.html · version 2","since":"","deprecated":false},{"type":"component","name":"Publish","signature":"publish.html · version 5","since":"","deprecated":false},{"type":"component","name":"Server extension","signature":"serverextension.html · version 1","since":"","deprecated":false},{"type":"component","name":"Subscribe","signature":"subscribe.html · version 4","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyTI2YE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/flow-and-flowstreams/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Flow et FlowStreams","summary":"Composants qui déboguent un FlowStream, étendent le serveur et transmettent des données entre FlowStreams.","markdown":"---\ntitle: Flow et FlowStreams\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/flow-and-flowstreams/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Flow et FlowStreams\n\n> Composants qui déboguent un FlowStream, étendent le serveur et transmettent des données entre FlowStreams.\n\nComposants qui déboguent un FlowStream, étendent le serveur et transmettent des données entre FlowStreams. Cette page contient les groupes du catalogue **Flow**, **FlowStream**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### consoledebug.html · version 4\n\nType: `component`\n\nAffiche les messages entrants et les logs de débogage dans la console du designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `native` | `Boolean` | no | `true` | Ajouter les messages de log à la console développeur native du navigateur. |\n| `console` | `Boolean` | no | `false` | Capturer tous les console.log(). |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nLe composant peut afficher le payload des messages entrants et les messages de log de `instance.debug()` au format JSON.\n\n### consolelog.html · version 1\n\nType: `component`\n\nAffiche le message dans la console du serveur.\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nCe composant affiche un message dans la console.\n\n### debug.html · version 4\n\nType: `component`\n\nAffiche les messages entrants et les logs de débogage au format JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Affiche le dépôt. |\n| `debug` | `Boolean` | no | `true` | Affiche les messages de débogage. |\n| `data` | `Boolean` | no | `true` | Affiche les données. |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nLe composant peut afficher le payload des messages entrants et les messages de log de `instance.debug()` au format JSON.\n\n### flowrecorder.html · version 1\n\nType: `component`\n\nEnregistre les événements importants du worker du FlowStream.\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nPendant que le worker du FlowStream tourne, le composant enregistre les informations importantes. Il peut révéler des bugs cachés ou des problèmes de performance. Le composant stocke les données dans le répertoire `logs/*`.\n\n### input.html · version 2\n\nType: `component`\n\nReçoit les données qu’un composant Publish envoie depuis un autre FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Input` | Nom de l’entrée. |\n| `readme` | `String` | no |  | Readme. |\n\n**Entrées :** aucune.  \n**Sorties :** `data` (Data).\n\nLe composant reçoit des données dans un FlowStream encapsulé.\n\n### kill.html · version 1\n\nType: `component`\n\nArrête de force le processus du FlowStream actuel.\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nFais attention : ce composant arrête de force l’instance Flow actuelle. Il est réservé aux cas exceptionnels.\n\n### output.html · version 2\n\nType: `component`\n\nEnvoie des données aux composants Subscribe d’autres FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Output` | Nom de la sortie. |\n| `readme` | `String` | no |  | Readme. |\n\n**Entrées :** `data` (Data).  \n**Sorties :** aucune.\n\nLe composant peut envoyer des données depuis un FlowStream encapsulé.\n\n### publish.html · version 5\n\nType: `component`\n\nEnvoie des données à un composant Input d’un autre FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Entrée. |\n\n**Entrées :** `data` (Data).  \n**Sorties :** aucune.\n\nLe composant publie les données vers le composant `Input` indiqué.\n\n### serverextension.html · version 1\n\nType: `component`\n\nInstalle une extension Total.js côté serveur à partir de ton code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `My extension` | Nom. |\n| `install` | `String` | no |  | Code d’installation. Il s’exécute au démarrage du nœud et quand sa configuration change. |\n| `uninstall` | `String` | no |  | Code de désinstallation. |\n| `icon` | `String` | no |  | Icône. |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nLe composant installe une extension Total.js côté serveur. Autrement dit : il peut évaluer du code JavaScript quand le composant est initialisé ou quand ses paramètres changent.\n\n### subscribe.html · version 4\n\nType: `component`\n\nReçoit des données d’un composant Output d’un autre FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Sortie. |\n\n**Entrées :** aucune.  \n**Sorties :** `data` (Data).\n\nLe composant s’abonne au composant `Output` indiqué.\n","entries":[{"type":"component","name":"Console debug","signature":"consoledebug.html · version 4","since":"","deprecated":false},{"type":"component","name":"console.log()","signature":"consolelog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Debug","signature":"debug.html · version 4","since":"","deprecated":false},{"type":"component","name":"Flow recorder","signature":"flowrecorder.html · version 1","since":"","deprecated":false},{"type":"component","name":"Input","signature":"input.html · version 2","since":"","deprecated":false},{"type":"component","name":"Kill","signature":"kill.html · version 1","since":"","deprecated":false},{"type":"component","name":"Output","signature":"output.html · version 2","since":"","deprecated":false},{"type":"component","name":"Publish","signature":"publish.html · version 5","since":"","deprecated":false},{"type":"component","name":"Server extension","signature":"serverextension.html · version 1","since":"","deprecated":false},{"type":"component","name":"Subscribe","signature":"subscribe.html · version 4","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyTI2YE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/flow-and-flowstreams/","project":"flow","version":"11-1","section":"components","language":"it","title":"Flow e FlowStream","summary":"Componenti che eseguono il debug di un FlowStream, estendono il server e passano dati tra FlowStream.","markdown":"---\ntitle: Flow e FlowStream\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/flow-and-flowstreams/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Flow e FlowStream\n\n> Componenti che eseguono il debug di un FlowStream, estendono il server e passano dati tra FlowStream.\n\nComponenti che eseguono il debug di un FlowStream, estendono il server e passano dati tra FlowStream. Questa pagina contiene i gruppi del catalogo **Flow**, **FlowStream**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### consoledebug.html · version 4\n\nType: `component`\n\nMostra i messaggi in arrivo e i log di debug nella console del designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `native` | `Boolean` | no | `true` | Aggiungi i messaggi di log alla console nativa per sviluppatori del browser. |\n| `console` | `Boolean` | no | `false` | Cattura tutti i console.log(). |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nIl componente può mostrare il payload dei messaggi in arrivo e i messaggi di log di `instance.debug()` in formato JSON.\n\n### consolelog.html · version 1\n\nType: `component`\n\nScrive il messaggio nella console del server.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nQuesto componente scrive un messaggio nella console.\n\n### debug.html · version 4\n\nType: `component`\n\nMostra i messaggi in arrivo e i log di debug in formato JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Mostra il repository. |\n| `debug` | `Boolean` | no | `true` | Mostra i messaggi di debug. |\n| `data` | `Boolean` | no | `true` | Mostra i dati. |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nIl componente può mostrare il payload dei messaggi in arrivo e i messaggi di log di `instance.debug()` in formato JSON.\n\n### flowrecorder.html · version 1\n\nType: `component`\n\nRegistra gli eventi significativi del worker del FlowStream.\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nMentre il worker del FlowStream è in esecuzione, il componente registra le informazioni significative. Il componente può rivelare bug nascosti o problemi di prestazioni. Il componente salva i dati nella cartella `logs/*`.\n\n### input.html · version 2\n\nType: `component`\n\nRiceve i dati che un componente Publish invia da un altro FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Input` | Nome dell'ingresso. |\n| `readme` | `String` | no |  | Readme. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `data` (Data).\n\nIl componente riceve dati in un FlowStream incapsulato.\n\n### kill.html · version 1\n\nType: `component`\n\nTermina il processo del FlowStream corrente.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nFai attenzione, perché questo componente termina l'istanza corrente di Flow. È pensato solo per casi eccezionali.\n\n### output.html · version 2\n\nType: `component`\n\nInvia dati ai componenti Subscribe di altri FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Output` | Nome dell'uscita. |\n| `readme` | `String` | no |  | Readme. |\n\n**Ingressi:** `data` (Data).  \n**Uscite:** nessuna.\n\nIl componente può inviare dati da un FlowStream incapsulato.\n\n### publish.html · version 5\n\nType: `component`\n\nInvia dati a un componente Input di un altro FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Input. |\n\n**Ingressi:** `data` (Data).  \n**Uscite:** nessuna.\n\nIl componente pubblica i dati verso il componente `Input` specifico.\n\n### serverextension.html · version 1\n\nType: `component`\n\nInstalla un'estensione lato server di Total.js dal tuo codice.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `My extension` | Nome. |\n| `install` | `String` | no |  | Codice di installazione. Viene eseguito quando il nodo si avvia e quando cambia la sua configurazione. |\n| `uninstall` | `String` | no |  | Codice di disinstallazione. |\n| `icon` | `String` | no |  | Icona. |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nIl componente installa un'estensione lato server di Total.js. In altre parole: può valutare codice JavaScript quando il componente viene inizializzato o quando cambiano le sue impostazioni.\n\n### subscribe.html · version 4\n\nType: `component`\n\nRiceve dati da un componente Output di un altro FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Output. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `data` (Data).\n\nIl componente si iscrive al componente `Output` specifico.\n","entries":[{"type":"component","name":"Console debug","signature":"consoledebug.html · version 4","since":"","deprecated":false},{"type":"component","name":"console.log()","signature":"consolelog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Debug","signature":"debug.html · version 4","since":"","deprecated":false},{"type":"component","name":"Flow recorder","signature":"flowrecorder.html · version 1","since":"","deprecated":false},{"type":"component","name":"Input","signature":"input.html · version 2","since":"","deprecated":false},{"type":"component","name":"Kill","signature":"kill.html · version 1","since":"","deprecated":false},{"type":"component","name":"Output","signature":"output.html · version 2","since":"","deprecated":false},{"type":"component","name":"Publish","signature":"publish.html · version 5","since":"","deprecated":false},{"type":"component","name":"Server extension","signature":"serverextension.html · version 1","since":"","deprecated":false},{"type":"component","name":"Subscribe","signature":"subscribe.html · version 4","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyTI2YE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/flow-and-flowstreams/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Flow a FlowStreamy","summary":"Komponenty, ktoré ladia FlowStream, rozširujú server a odovzdávajú údaje medzi FlowStreamami.","markdown":"---\ntitle: Flow a FlowStreamy\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/flow-and-flowstreams/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Flow a FlowStreamy\n\n> Komponenty, ktoré ladia FlowStream, rozširujú server a odovzdávajú údaje medzi FlowStreamami.\n\nKomponenty, ktoré ladia FlowStream, rozširujú server a odovzdávajú údaje medzi FlowStreamami. Táto stránka obsahuje skupiny katalógu **Flow**, **FlowStream**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### consoledebug.html · version 4\n\nType: `component`\n\nVypisuje prichádzajúce správy a ladiace záznamy do konzoly návrhára.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `native` | `Boolean` | no | `true` | Pridávať záznamy aj do natívnej vývojárskej konzoly prehliadača. |\n| `console` | `Boolean` | no | `false` | Zachytávať všetky volania console.log(). |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nKomponent dokáže vypísať payload prichádzajúcich správ a ladiace záznamy `instance.debug()` vo formáte JSON.\n\n### consolelog.html · version 1\n\nType: `component`\n\nVypíše správu do konzoly servera.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nTento komponent vypíše správu do konzoly.\n\n### debug.html · version 4\n\nType: `component`\n\nVypisuje prichádzajúce správy a ladiace záznamy vo formáte JSON.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `repo` | `Boolean` | no | `false` | Zobrazuje repozitár. |\n| `debug` | `Boolean` | no | `true` | Zobrazuje ladiace správy. |\n| `data` | `Boolean` | no | `true` | Zobrazuje údaje. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nKomponent dokáže vypísať payload prichádzajúcich správ a ladiace záznamy `instance.debug()` vo formáte JSON.\n\n### flowrecorder.html · version 1\n\nType: `component`\n\nZaznamenáva dôležité udalosti workera FlowStreamu.\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nPočas behu workera FlowStreamu komponent zaznamenáva dôležité informácie. Komponent môže odhaliť skryté chyby alebo problémy s výkonom. Údaje ukladá do priečinka `logs/*`.\n\n### input.html · version 2\n\nType: `component`\n\nPrijíma údaje, ktoré posiela komponent Publish z iného FlowStreamu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Input` | Názov vstupu. |\n| `readme` | `String` | no |  | Readme. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `data` (Data).\n\nKomponent prijíma údaje v zapuzdrenom FlowStreame.\n\n### kill.html · version 1\n\nType: `component`\n\nUkončí aktuálny proces FlowStreamu.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nBuď opatrný, pretože tento komponent ukončí aktuálnu inštanciu Flow. Je určený iba na výnimočné prípady.\n\n### output.html · version 2\n\nType: `component`\n\nPosiela údaje komponentom Subscribe v iných FlowStreamoch.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Output` | Názov výstupu. |\n| `readme` | `String` | no |  | Readme. |\n\n**Vstupy:** `data` (Data).  \n**Výstupy:** žiadne.\n\nKomponent dokáže posielať údaje zo zapuzdreného FlowStreamu.\n\n### publish.html · version 5\n\nType: `component`\n\nPosiela údaje komponentu Input v inom FlowStreame.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Vstup. |\n\n**Vstupy:** `data` (Data).  \n**Výstupy:** žiadne.\n\nKomponent publikuje údaje do konkrétneho komponentu `Input`.\n\n### serverextension.html · version 1\n\nType: `component`\n\nNainštaluje rozšírenie Total.js na strane servera z tvojho kódu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `My extension` | Názov. |\n| `install` | `String` | no |  | Inštalačný kód. Spustí sa, keď sa uzol spustí a keď sa zmení jeho konfigurácia. |\n| `uninstall` | `String` | no |  | Odinštalačný kód. |\n| `icon` | `String` | no |  | Ikona. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nKomponent nainštaluje rozšírenie Total.js na strane servera. Inými slovami: dokáže vyhodnotiť JavaScript kód, keď sa komponent inicializuje alebo keď sa zmenia jeho nastavenia.\n\n### subscribe.html · version 4\n\nType: `component`\n\nPrijíma údaje z komponentu Output v inom FlowStreame.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no |  | Výstup. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `data` (Data).\n\nKomponent odoberá údaje z konkrétneho komponentu `Output`.\n","entries":[{"type":"component","name":"Console debug","signature":"consoledebug.html · version 4","since":"","deprecated":false},{"type":"component","name":"console.log()","signature":"consolelog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Debug","signature":"debug.html · version 4","since":"","deprecated":false},{"type":"component","name":"Flow recorder","signature":"flowrecorder.html · version 1","since":"","deprecated":false},{"type":"component","name":"Input","signature":"input.html · version 2","since":"","deprecated":false},{"type":"component","name":"Kill","signature":"kill.html · version 1","since":"","deprecated":false},{"type":"component","name":"Output","signature":"output.html · version 2","since":"","deprecated":false},{"type":"component","name":"Publish","signature":"publish.html · version 5","since":"","deprecated":false},{"type":"component","name":"Server extension","signature":"serverextension.html · version 1","since":"","deprecated":false},{"type":"component","name":"Subscribe","signature":"subscribe.html · version 4","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyT32IE61f","url":"https://totaljs.es/docs/flow/11-1/components/files-and-video/","project":"flow","version":"11-1","section":"components","language":"en","title":"Files and video","summary":"Components that watch, write, rename and remove files, and convert videos.","markdown":"---\ntitle: Files and video\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/files-and-video/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Files and video\n\n> Components that watch, write, rename and remove files, and convert videos.\n\nComponents that watch, write, rename and remove files, and convert videos. This page holds the catalogue groups **Files**, **Video**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### filewatcher.html · version 1\n\nType: `component`\n\nWaits for a file to exist, reads it, sends its content and removes it.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Path. |\n| `parser` | `String` | no | `json` | Parser. One of: `json` (JSON), `text` (Text), `buffer` (Buffer), `number` (Number), `date` (Date). |\n| `interval` | `Number` | no | `1000` | Interval (milliseconds). |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThe component watches the existence of the file, then reads the content and sends it next. The file will be removed automatically after reading.\n\n### filewriter.html · version 1\n\nType: `component`\n\nWrites incoming data into a file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Path. |\n| `serializer` | `String` | no | `json` | Serializer. One of: `json` (JSON), `text` (Text), `buffer` (Buffer). |\n| `rewrite` | `Boolean` | no | `true` | Rewrite content. |\n| `divider` | `String` | no | `\\n` | Divider. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component writes incoming data into the file.\n\n### fileswatcher.html · version 1\n\nType: `component`\n\nWatches a folder for new files.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/www/` | Path. |\n| `ext` | `String` | no | `.mp4` | Extension. |\n| `interval` | `Number` | no | `5000` | Interval (milliseconds). |\n| `expire` | `String` | no | `10 minutes` | Expire. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThis component watches new files.\n\n__Output__:\n\n```js\n{\n\t\"filename\": \"filename.mp4\",\n\t\"size\": 10785133,\n\t\"atime\": \"2026-04-30T06:53:00.501Z\",\n\t\"ctime\": \"2026-05-27T16:44:08.217Z\",\n\t\"mtime\": \"2026-04-30T06:53:00.501Z\",\n}\n```\n\n### fsunlink.html · version 1\n\nType: `component`\n\nRemoves a file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Read filename from the property. |\n\n**Inputs:** `input` (Filename).  \n**Outputs:** `output` (Output).\n\nThis component removes file according to the configuration path.\n\n__Payload__:\n\n```js\nString\n\n// or\n\n{\n\tfilename: 'String'\n}\n```\n\n__Output__:\n\nIncoming payload.\n\n### fsrename.html · version 1\n\nType: `component`\n\nRenames a file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Read filename from. |\n| `prop2` | `String` | no | `rename` | Rename filename to. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThis component renames file according to the input values.\n\n__Payload__:\n\n```js\n{\n\tfilename: 'String',\n\trename: 'String'\n}\n```\n\n__Output__:\n\nIncoming payload.\n\n### fstouch.html · version 1\n\nType: `component`\n\nUpdates the modification time of a file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `filename` | Property. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component updates a file's modification timestamp if the file exists.\n\n__Input__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n__Output__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n### ffmpegconverter.html · version 1\n\nType: `component`\n\nResizes a video and changes its frame rate with FFmpeg.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `width` | `Number` | no | `400` | Width. |\n| `fps` | `Number` | no | `0` | FPS. |\n| `path` | `String` | no | `/` | Path. |\n| `prop` | `String` | no | `response` | Output property. |\n| `prop2` | `String` | no | `preview` | Output preview. |\n| `prop3` | `String` | no | `duration` | Output duration. |\n\n**Inputs:** `input` (File).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThis component resizes video and change framerate according to the component settings. The component extends the output by adding an __Output property__ with a containing the file name.\n\n__Output__:\n\n```js\n{\n\t// incoming payload\n\t...\n\toutput_property: String\n}\n```\n","entries":[{"type":"component","name":"File Watcher","signature":"filewatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"File Writer","signature":"filewriter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Files watcher","signature":"fileswatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Remove file","signature":"fsunlink.html · version 1","since":"","deprecated":false},{"type":"component","name":"Rename file","signature":"fsrename.html · version 1","since":"","deprecated":false},{"type":"component","name":"Touch file","signature":"fstouch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Video converter","signature":"ffmpegconverter.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyT32IE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/files-and-video/","project":"flow","version":"11-1","section":"components","language":"de","title":"Dateien und Video","summary":"Komponenten, die Dateien überwachen, schreiben, umbenennen und entfernen und Videos konvertieren.","markdown":"---\ntitle: Dateien und Video\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/files-and-video/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Dateien und Video\n\n> Komponenten, die Dateien überwachen, schreiben, umbenennen und entfernen und Videos konvertieren.\n\nKomponenten, die Dateien überwachen, schreiben, umbenennen und entfernen und Videos konvertieren. Diese Seite enthält die Katalog-Gruppen **Files**, **Video**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### filewatcher.html · version 1\n\nType: `component`\n\nWartet, bis eine Datei existiert, liest sie, sendet ihren Inhalt und entfernt sie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Pfad. |\n| `parser` | `String` | no | `json` | Parser. Einer von: `json` (JSON), `text` (Text), `buffer` (Buffer), `number` (Number), `date` (Date). |\n| `interval` | `Number` | no | `1000` | Intervall (Millisekunden). |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDie Komponente überwacht, ob die Datei existiert, liest dann den Inhalt und sendet ihn weiter. Nach dem Lesen wird die Datei automatisch entfernt.\n\n### filewriter.html · version 1\n\nType: `component`\n\nSchreibt eingehende Daten in eine Datei.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Pfad. |\n| `serializer` | `String` | no | `json` | Serializer. Einer von: `json` (JSON), `text` (Text), `buffer` (Buffer). |\n| `rewrite` | `Boolean` | no | `true` | Inhalt überschreiben. |\n| `divider` | `String` | no | `\\n` | Trennzeichen. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente schreibt eingehende Daten in die Datei.\n\n### fileswatcher.html · version 1\n\nType: `component`\n\nÜberwacht einen Ordner auf neue Dateien.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/www/` | Pfad. |\n| `ext` | `String` | no | `.mp4` | Erweiterung. |\n| `interval` | `Number` | no | `5000` | Intervall (Millisekunden). |\n| `expire` | `String` | no | `10 minutes` | Ablauf. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDiese Komponente überwacht neue Dateien.\n\n__Ausgabe__:\n\n```js\n{\n\t\"filename\": \"filename.mp4\",\n\t\"size\": 10785133,\n\t\"atime\": \"2026-04-30T06:53:00.501Z\",\n\t\"ctime\": \"2026-05-27T16:44:08.217Z\",\n\t\"mtime\": \"2026-04-30T06:53:00.501Z\",\n}\n```\n\n### fsunlink.html · version 1\n\nType: `component`\n\nEntfernt eine Datei.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Dateinamen aus der Eigenschaft lesen. |\n\n**Eingänge:** `input` (Filename).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente entfernt eine Datei anhand des Pfads aus der Konfiguration.\n\n__Payload__:\n\n```js\nString\n\n// or\n\n{\n\tfilename: 'String'\n}\n```\n\n__Ausgabe__:\n\nDer eingehende Payload.\n\n### fsrename.html · version 1\n\nType: `component`\n\nBenennt eine Datei um.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Dateinamen lesen aus. |\n| `prop2` | `String` | no | `rename` | Dateinamen umbenennen in. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDiese Komponente benennt eine Datei anhand der Eingabewerte um.\n\n__Payload__:\n\n```js\n{\n\tfilename: 'String',\n\trename: 'String'\n}\n```\n\n__Ausgabe__:\n\nDer eingehende Payload.\n\n### fstouch.html · version 1\n\nType: `component`\n\nAktualisiert die Änderungszeit einer Datei.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `filename` | Eigenschaft. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente aktualisiert den Änderungszeitstempel einer Datei, wenn die Datei existiert.\n\n__Eingabe__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n__Ausgabe__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n### ffmpegconverter.html · version 1\n\nType: `component`\n\nÄndert mit FFmpeg die Größe eines Videos und seine Bildrate.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `width` | `Number` | no | `400` | Breite. |\n| `fps` | `Number` | no | `0` | FPS. |\n| `path` | `String` | no | `/` | Pfad. |\n| `prop` | `String` | no | `response` | Ausgabe-Eigenschaft. |\n| `prop2` | `String` | no | `preview` | Ausgabe-Vorschau. |\n| `prop3` | `String` | no | `duration` | Ausgabe-Dauer. |\n\n**Eingänge:** `input` (File).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDiese Komponente ändert die Größe eines Videos und die Bildrate gemäß den Einstellungen der Komponente. Die Komponente erweitert die Ausgabe um eine __Output property__ (Ausgabe-Eigenschaft), die den Dateinamen enthält.\n\n__Ausgabe__:\n\n```js\n{\n\t// incoming payload\n\t...\n\toutput_property: String\n}\n```\n","entries":[{"type":"component","name":"File Watcher","signature":"filewatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"File Writer","signature":"filewriter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Files watcher","signature":"fileswatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Remove file","signature":"fsunlink.html · version 1","since":"","deprecated":false},{"type":"component","name":"Rename file","signature":"fsrename.html · version 1","since":"","deprecated":false},{"type":"component","name":"Touch file","signature":"fstouch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Video converter","signature":"ffmpegconverter.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyT32IE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/files-and-video/","project":"flow","version":"11-1","section":"components","language":"es","title":"Archivos y vídeo","summary":"Componentes que vigilan, escriben, renombran y eliminan archivos, y convierten vídeos.","markdown":"---\ntitle: \"Archivos y vídeo\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/files-and-video/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Archivos y vídeo\n\n> Componentes que vigilan, escriben, renombran y eliminan archivos, y convierten vídeos.\n\nComponentes que vigilan, escriben, renombran y eliminan archivos, y convierten vídeos. Esta página contiene los grupos **Files** y **Video** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### filewatcher.html · version 1\n\nType: `component`\n\nEspera a que exista un archivo, lo lee, envía su contenido y lo elimina.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Ruta. |\n| `parser` | `String` | no | `json` | Analizador. Uno de: `json` (JSON), `text` (Text), `buffer` (Buffer), `number` (Number), `date` (Date). |\n| `interval` | `Number` | no | `1000` | Intervalo (milisegundos). |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEl componente vigila si el archivo existe, después lee su contenido y lo envía. El archivo se elimina automáticamente después de leerlo.\n\n### filewriter.html · version 1\n\nType: `component`\n\nEscribe los datos entrantes en un archivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Ruta. |\n| `serializer` | `String` | no | `json` | Serializador. Uno de: `json` (JSON), `text` (Text), `buffer` (Buffer). |\n| `rewrite` | `Boolean` | no | `true` | Reescribir el contenido. |\n| `divider` | `String` | no | `\\n` | Separador. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente escribe los datos entrantes en el archivo.\n\n### fileswatcher.html · version 1\n\nType: `component`\n\nVigila una carpeta en busca de archivos nuevos.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/www/` | Ruta. |\n| `ext` | `String` | no | `.mp4` | Extensión. |\n| `interval` | `Number` | no | `5000` | Intervalo (milisegundos). |\n| `expire` | `String` | no | `10 minutes` | Caducidad. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEste componente vigila los archivos nuevos.\n\n__Salida__:\n\n```js\n{\n\t\"filename\": \"filename.mp4\",\n\t\"size\": 10785133,\n\t\"atime\": \"2026-04-30T06:53:00.501Z\",\n\t\"ctime\": \"2026-05-27T16:44:08.217Z\",\n\t\"mtime\": \"2026-04-30T06:53:00.501Z\",\n}\n```\n\n### fsunlink.html · version 1\n\nType: `component`\n\nElimina un archivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Leer el nombre del archivo de la propiedad. |\n\n**Entradas:** `input` (Filename).\n**Salidas:** `output` (Output).\n\nEste componente elimina el archivo según la ruta de la configuración.\n\n__Payload__:\n\n```js\nString\n\n// or\n\n{\n\tfilename: 'String'\n}\n```\n\n__Salida__:\n\nEl payload entrante.\n\n### fsrename.html · version 1\n\nType: `component`\n\nRenombra un archivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Leer el nombre del archivo de. |\n| `prop2` | `String` | no | `rename` | Renombrar el archivo a. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nEste componente renombra el archivo según los valores de entrada.\n\n__Payload__:\n\n```js\n{\n\tfilename: 'String',\n\trename: 'String'\n}\n```\n\n__Salida__:\n\nEl payload entrante.\n\n### fstouch.html · version 1\n\nType: `component`\n\nActualiza la fecha de modificación de un archivo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `filename` | Propiedad. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente actualiza la marca de tiempo de modificación de un archivo, si el archivo existe.\n\n__Entrada__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n__Salida__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n### ffmpegconverter.html · version 1\n\nType: `component`\n\nCambia el tamaño de un vídeo y su número de fotogramas por segundo con FFmpeg.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `width` | `Number` | no | `400` | Ancho. |\n| `fps` | `Number` | no | `0` | FPS. |\n| `path` | `String` | no | `/` | Ruta. |\n| `prop` | `String` | no | `response` | Propiedad de salida. |\n| `prop2` | `String` | no | `preview` | Vista previa de salida. |\n| `prop3` | `String` | no | `duration` | Duración de salida. |\n\n**Entradas:** `input` (File).\n**Salidas:** `output` (Output), `error` (Error).\n\nEste componente cambia el tamaño del vídeo y sus fotogramas por segundo según los ajustes del componente. Amplía la salida añadiendo una __Output property__ (propiedad de salida) que contiene el nombre del archivo.\n\n__Salida__:\n\n```js\n{\n\t// incoming payload\n\t...\n\toutput_property: String\n}\n```\n","entries":[{"type":"component","name":"File Watcher","signature":"filewatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"File Writer","signature":"filewriter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Files watcher","signature":"fileswatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Remove file","signature":"fsunlink.html · version 1","since":"","deprecated":false},{"type":"component","name":"Rename file","signature":"fsrename.html · version 1","since":"","deprecated":false},{"type":"component","name":"Touch file","signature":"fstouch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Video converter","signature":"ffmpegconverter.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyT32IE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/files-and-video/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Fichiers et vidéo","summary":"Composants qui surveillent, écrivent, renomment et suppriment des fichiers, et qui convertissent des vidéos.","markdown":"---\ntitle: \"Fichiers et vidéo\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/files-and-video/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Fichiers et vidéo\n\n> Composants qui surveillent, écrivent, renomment et suppriment des fichiers, et qui convertissent des vidéos.\n\nComposants qui surveillent, écrivent, renomment et suppriment des fichiers, et qui convertissent des vidéos. Cette page contient les groupes du catalogue **Files**, **Video**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### filewatcher.html · version 1\n\nType: `component`\n\nAttend qu’un fichier existe, le lit, envoie son contenu et le supprime.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Chemin. |\n| `parser` | `String` | no | `json` | Analyseur. Valeurs possibles : `json` (JSON), `text` (Text), `buffer` (Buffer), `number` (Number), `date` (Date). |\n| `interval` | `Number` | no | `1000` | Intervalle (millisecondes). |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nLe composant surveille l’existence du fichier, puis lit son contenu et l’envoie plus loin. Le fichier est supprimé automatiquement après la lecture.\n\n### filewriter.html · version 1\n\nType: `component`\n\nÉcrit les données entrantes dans un fichier.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Chemin. |\n| `serializer` | `String` | no | `json` | Sérialiseur. Valeurs possibles : `json` (JSON), `text` (Text), `buffer` (Buffer). |\n| `rewrite` | `Boolean` | no | `true` | Réécrire le contenu. |\n| `divider` | `String` | no | `\\n` | Séparateur. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant écrit les données entrantes dans le fichier.\n\n### fileswatcher.html · version 1\n\nType: `component`\n\nSurveille l’arrivée de nouveaux fichiers dans un dossier.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/www/` | Chemin. |\n| `ext` | `String` | no | `.mp4` | Extension. |\n| `interval` | `Number` | no | `5000` | Intervalle (millisecondes). |\n| `expire` | `String` | no | `10 minutes` | Expiration. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nCe composant surveille les nouveaux fichiers.\n\n__Sortie__ :\n\n```js\n{\n\t\"filename\": \"filename.mp4\",\n\t\"size\": 10785133,\n\t\"atime\": \"2026-04-30T06:53:00.501Z\",\n\t\"ctime\": \"2026-05-27T16:44:08.217Z\",\n\t\"mtime\": \"2026-04-30T06:53:00.501Z\",\n}\n```\n\n### fsunlink.html · version 1\n\nType: `component`\n\nSupprime un fichier.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Lire le nom du fichier depuis la propriété. |\n\n**Entrées :** `input` (Filename).  \n**Sorties :** `output` (Output).\n\nCe composant supprime le fichier selon le chemin configuré.\n\n__Payload__ :\n\n```js\nString\n\n// or\n\n{\n\tfilename: 'String'\n}\n```\n\n__Sortie__ :\n\nLe payload entrant.\n\n### fsrename.html · version 1\n\nType: `component`\n\nRenomme un fichier.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Lire le nom du fichier depuis. |\n| `prop2` | `String` | no | `rename` | Renommer le fichier en. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nCe composant renomme le fichier selon les valeurs d’entrée.\n\n__Payload__ :\n\n```js\n{\n\tfilename: 'String',\n\trename: 'String'\n}\n```\n\n__Sortie__ :\n\nLe payload entrant.\n\n### fstouch.html · version 1\n\nType: `component`\n\nMet à jour la date de modification d’un fichier.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `filename` | Propriété. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant met à jour l’horodatage de modification d’un fichier s’il existe.\n\n__Entrée__ :\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n__Sortie__ :\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n### ffmpegconverter.html · version 1\n\nType: `component`\n\nRedimensionne une vidéo et change sa fréquence d’images avec FFmpeg.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `width` | `Number` | no | `400` | Largeur. |\n| `fps` | `Number` | no | `0` | FPS. |\n| `path` | `String` | no | `/` | Chemin. |\n| `prop` | `String` | no | `response` | Propriété de sortie. |\n| `prop2` | `String` | no | `preview` | Aperçu de sortie. |\n| `prop3` | `String` | no | `duration` | Durée de sortie. |\n\n**Entrées :** `input` (File).  \n**Sorties :** `output` (Output), `error` (Error).\n\nCe composant redimensionne la vidéo et change la fréquence d’images selon ses paramètres. Il complète la sortie en ajoutant une __propriété de sortie__ (Output property) qui contient le nom du fichier.\n\n__Sortie__ :\n\n```js\n{\n\t// incoming payload\n\t...\n\toutput_property: String\n}\n```\n","entries":[{"type":"component","name":"File Watcher","signature":"filewatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"File Writer","signature":"filewriter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Files watcher","signature":"fileswatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Remove file","signature":"fsunlink.html · version 1","since":"","deprecated":false},{"type":"component","name":"Rename file","signature":"fsrename.html · version 1","since":"","deprecated":false},{"type":"component","name":"Touch file","signature":"fstouch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Video converter","signature":"ffmpegconverter.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyT32IE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/files-and-video/","project":"flow","version":"11-1","section":"components","language":"it","title":"File e video","summary":"Componenti che osservano, scrivono, rinominano e rimuovono file, e convertono video.","markdown":"---\ntitle: File e video\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/files-and-video/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# File e video\n\n> Componenti che osservano, scrivono, rinominano e rimuovono file, e convertono video.\n\nComponenti che osservano, scrivono, rinominano e rimuovono file, e convertono video. Questa pagina contiene i gruppi del catalogo **Files**, **Video**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### filewatcher.html · version 1\n\nType: `component`\n\nAspetta che un file esista, lo legge, invia il suo contenuto e lo rimuove.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Percorso. |\n| `parser` | `String` | no | `json` | Parser. Uno tra: `json` (JSON), `text` (Text), `buffer` (Buffer), `number` (Number), `date` (Date). |\n| `interval` | `Number` | no | `1000` | Intervallo (millisecondi). |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nIl componente controlla se il file esiste, poi ne legge il contenuto e lo invia avanti. Dopo la lettura il file viene rimosso automaticamente.\n\n### filewriter.html · version 1\n\nType: `component`\n\nScrive i dati in arrivo in un file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Percorso. |\n| `serializer` | `String` | no | `json` | Serializzatore. Uno tra: `json` (JSON), `text` (Text), `buffer` (Buffer). |\n| `rewrite` | `Boolean` | no | `true` | Sovrascrivi il contenuto. |\n| `divider` | `String` | no | `\\n` | Separatore. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente scrive i dati in arrivo nel file.\n\n### fileswatcher.html · version 1\n\nType: `component`\n\nOsserva una cartella in attesa di nuovi file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/www/` | Percorso. |\n| `ext` | `String` | no | `.mp4` | Estensione. |\n| `interval` | `Number` | no | `5000` | Intervallo (millisecondi). |\n| `expire` | `String` | no | `10 minutes` | Scadenza. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nQuesto componente osserva i nuovi file.\n\n__Uscita__:\n\n```js\n{\n\t\"filename\": \"filename.mp4\",\n\t\"size\": 10785133,\n\t\"atime\": \"2026-04-30T06:53:00.501Z\",\n\t\"ctime\": \"2026-05-27T16:44:08.217Z\",\n\t\"mtime\": \"2026-04-30T06:53:00.501Z\",\n}\n```\n\n### fsunlink.html · version 1\n\nType: `component`\n\nRimuove un file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Leggi il nome del file dalla proprietà. |\n\n**Ingressi:** `input` (Filename).  \n**Uscite:** `output` (Output).\n\nQuesto componente rimuove il file in base al percorso della configurazione.\n\n__Payload__:\n\n```js\nString\n\n// or\n\n{\n\tfilename: 'String'\n}\n```\n\n__Uscita__:\n\nIl payload in arrivo.\n\n### fsrename.html · version 1\n\nType: `component`\n\nRinomina un file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Leggi il nome del file da. |\n| `prop2` | `String` | no | `rename` | Rinomina il file in. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nQuesto componente rinomina il file in base ai valori in ingresso.\n\n__Payload__:\n\n```js\n{\n\tfilename: 'String',\n\trename: 'String'\n}\n```\n\n__Uscita__:\n\nIl payload in arrivo.\n\n### fstouch.html · version 1\n\nType: `component`\n\nAggiorna la data di modifica di un file.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `filename` | Proprietà. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente aggiorna la data e ora di modifica di un file, se il file esiste.\n\n__Ingresso__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n__Uscita__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n### ffmpegconverter.html · version 1\n\nType: `component`\n\nRidimensiona un video e ne cambia il frame rate con FFmpeg.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `width` | `Number` | no | `400` | Larghezza. |\n| `fps` | `Number` | no | `0` | FPS. |\n| `path` | `String` | no | `/` | Percorso. |\n| `prop` | `String` | no | `response` | Proprietà di uscita. |\n| `prop2` | `String` | no | `preview` | Anteprima in uscita. |\n| `prop3` | `String` | no | `duration` | Durata in uscita. |\n\n**Ingressi:** `input` (File).  \n**Uscite:** `output` (Output), `error` (Error).\n\nQuesto componente ridimensiona il video e cambia il frame rate in base alle impostazioni del componente. Il componente estende l'uscita aggiungendo una __proprietà di uscita__ che contiene il nome del file.\n\n__Uscita__:\n\n```js\n{\n\t// incoming payload\n\t...\n\toutput_property: String\n}\n```\n","entries":[{"type":"component","name":"File Watcher","signature":"filewatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"File Writer","signature":"filewriter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Files watcher","signature":"fileswatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Remove file","signature":"fsunlink.html · version 1","since":"","deprecated":false},{"type":"component","name":"Rename file","signature":"fsrename.html · version 1","since":"","deprecated":false},{"type":"component","name":"Touch file","signature":"fstouch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Video converter","signature":"ffmpegconverter.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyT32IE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/files-and-video/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Súbory a video","summary":"Komponenty, ktoré sledujú, zapisujú, premenúvajú a odstraňujú súbory a konvertujú videá.","markdown":"---\ntitle: \"Súbory a video\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/files-and-video/\nupdated: 2026-11-20T06:50:52.962Z\n---\n\n# Súbory a video\n\n> Komponenty, ktoré sledujú, zapisujú, premenúvajú a odstraňujú súbory a konvertujú videá.\n\nKomponenty, ktoré sledujú, zapisujú, premenúvajú a odstraňujú súbory a konvertujú videá. Táto stránka obsahuje skupiny katalógu **Files**, **Video**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### filewatcher.html · version 1\n\nType: `component`\n\nČaká, kým súbor existuje, prečíta ho, pošle jeho obsah a odstráni ho.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Cesta. |\n| `parser` | `String` | no | `json` | Parser. Jedna z hodnôt: `json` (JSON), `text` (Text), `buffer` (Buffer), `number` (Number), `date` (Date). |\n| `interval` | `Number` | no | `1000` | Interval (milisekundy). |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nKomponent sleduje, či súbor existuje, potom prečíta jeho obsah a pošle ho ďalej. Po prečítaní sa súbor automaticky odstráni.\n\n### filewriter.html · version 1\n\nType: `component`\n\nZapisuje prichádzajúce údaje do súboru.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Cesta. |\n| `serializer` | `String` | no | `json` | Serializátor. Jedna z hodnôt: `json` (JSON), `text` (Text), `buffer` (Buffer). |\n| `rewrite` | `Boolean` | no | `true` | Prepísať obsah. |\n| `divider` | `String` | no | `\\n` | Oddeľovač. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent zapisuje prichádzajúce údaje do súboru.\n\n### fileswatcher.html · version 1\n\nType: `component`\n\nSleduje nové súbory v priečinku.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/www/` | Cesta. |\n| `ext` | `String` | no | `.mp4` | Prípona. |\n| `interval` | `Number` | no | `5000` | Interval (milisekundy). |\n| `expire` | `String` | no | `10 minutes` | Platnosť. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nTento komponent sleduje nové súbory.\n\n__Výstup__:\n\n```js\n{\n\t\"filename\": \"filename.mp4\",\n\t\"size\": 10785133,\n\t\"atime\": \"2026-04-30T06:53:00.501Z\",\n\t\"ctime\": \"2026-05-27T16:44:08.217Z\",\n\t\"mtime\": \"2026-04-30T06:53:00.501Z\",\n}\n```\n\n### fsunlink.html · version 1\n\nType: `component`\n\nOdstráni súbor.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Načítať názov súboru z vlastnosti. |\n\n**Vstupy:** `input` (Filename).  \n**Výstupy:** `output` (Output).\n\nTento komponent odstráni súbor podľa cesty v konfigurácii.\n\n__Payload__:\n\n```js\nString\n\n// or\n\n{\n\tfilename: 'String'\n}\n```\n\n__Výstup__:\n\nPrichádzajúci payload.\n\n### fsrename.html · version 1\n\nType: `component`\n\nPremenuje súbor.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `prop` | `String` | no | `filename` | Načítať názov súboru z. |\n| `prop2` | `String` | no | `rename` | Premenovať súbor na. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nTento komponent premenuje súbor podľa vstupných hodnôt.\n\n__Payload__:\n\n```js\n{\n\tfilename: 'String',\n\trename: 'String'\n}\n```\n\n__Výstup__:\n\nPrichádzajúci payload.\n\n### fstouch.html · version 1\n\nType: `component`\n\nAktualizuje čas zmeny súboru.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `filename` | Vlastnosť. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent aktualizuje časovú pečiatku zmeny súboru, ak súbor existuje.\n\n__Vstup__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n__Výstup__:\n\n```js\n{\n\tfilename: '/absolute/path/to/file.txt'\n}\n```\n\n### ffmpegconverter.html · version 1\n\nType: `component`\n\nZmení veľkosť videa a jeho snímkovú frekvenciu pomocou FFmpeg.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `width` | `Number` | no | `400` | Šírka. |\n| `fps` | `Number` | no | `0` | FPS. |\n| `path` | `String` | no | `/` | Cesta. |\n| `prop` | `String` | no | `response` | Výstupná vlastnosť. |\n| `prop2` | `String` | no | `preview` | Náhľad výstupu. |\n| `prop3` | `String` | no | `duration` | Dĺžka výstupu. |\n\n**Vstupy:** `input` (File).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nTento komponent zmení veľkosť videa a snímkovú frekvenciu podľa nastavení komponentu. Komponent rozšíri výstup o vlastnosť __Output property__, ktorá obsahuje názov súboru.\n\n__Výstup__:\n\n```js\n{\n\t// incoming payload\n\t...\n\toutput_property: String\n}\n```\n","entries":[{"type":"component","name":"File Watcher","signature":"filewatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"File Writer","signature":"filewriter.html · version 1","since":"","deprecated":false},{"type":"component","name":"Files watcher","signature":"fileswatcher.html · version 1","since":"","deprecated":false},{"type":"component","name":"Remove file","signature":"fsunlink.html · version 1","since":"","deprecated":false},{"type":"component","name":"Rename file","signature":"fsrename.html · version 1","since":"","deprecated":false},{"type":"component","name":"Touch file","signature":"fstouch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Video converter","signature":"ffmpegconverter.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:52.962Z"}
{"id":"JapyQu2FA60f","url":"https://totaljs.es/docs/flow/11-1/components/checks-and-statistics/","project":"flow","version":"11-1","section":"components","language":"en","title":"Checks and statistics","summary":"Components that check your server and services and measure your messages.","markdown":"---\ntitle: Checks and statistics\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/checks-and-statistics/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Checks and statistics\n\n> Components that check your server and services and measure your messages.\n\nComponents that check your server and services and measure your messages. This page holds the catalogue groups **Checks**, **Stats**, **Linux**, **Dashboard**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### checkfreespace.html · version 1\n\nType: `component`\n\nChecks the free space on a disk.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `warning` | `Number` | no | `10000` | Minimal free space. |\n\n**Inputs:** `input` (Test).  \n**Outputs:** `error` (Error).\n\nThis component checks a freespace on HDD.\n\n### checklog.html · version 1\n\nType: `component`\n\nReads new lines of a log file and reports the ones that contain your keywords.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/var/log/auth.log` | A path to the log file. |\n| `error` | `String` | no | `Log error: {0}` | Error message. |\n| `keywords` | `String` | no | `Error, error, ERROR` | Keywords. |\n| `remember` | `Boolean` | no | `true` | Remember file position. |\n\n**Inputs:** `input` (Test).  \n**Outputs:** `error` (Error).\n\nThis component checks a file and tries to find a\n\n### checkpg.html · version 1\n\nType: `component`\n\nChecks the connection to a PostgreSQL database.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no | `postgresql://user:pass@hostname:5432/database` | Connection string. |\n| `sql` | `String` | no | `SELECT 1` | SQL statement. |\n| `error` | `String` | no | `PostgreSQL error: {0}` | Error message format. |\n\n**Inputs:** `input` (Test).  \n**Outputs:** `error` (Error).\n\nFlow installs the npm package `querybuilderpg` when you add the component.\n\nThis component checks PostgreSQL database connection.\n\n### checkurl.html · version 1\n\nType: `component`\n\nChecks that a URL address responds.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `https://www.totaljs.com` | URL address. |\n| `error` | `String` | no | `URL error: {0}` | Error message format. |\n\n**Inputs:** `input` (Test).  \n**Outputs:** `error` (Error).\n\nThis component checks URL address.\n\n### csvdataset.html · version 2\n\nType: `component`\n\nStores incoming data as a CSV dataset in the private folder.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Name. |\n| `unit` | `String` | no |  | Unit. |\n| `icon` | `String` | no |  | Icon. |\n| `color` | `String` | no |  | Color. |\n| `decimals` | `Number` | no | `2` | Decimals. |\n| `type` | `String` | no | `daily` | Type. One of: `lastvalue` (Last value only), `logger` (Logger), `hourly` (Hourly), `daily` (Daily), `weekly` (Weeekly), `monthly` (Monthly), `yearly` (Yearly). |\n| `sum` | `Number` | no | `0` | Calculate the sum. One of: `0` (Disabled), `1` (Periodical sum), `2` (Total sum). |\n| `hours` | `Number` | no | `48` | Hours. |\n| `days` | `Number` | no | `12` | Days. |\n| `months` | `Number` | no | `12` | Months. |\n| `years` | `Number` | no | `6` | Years. |\n\n**Inputs:** `input` (Value), `live` (Live stats), `stats` (Stats).  \n**Outputs:** `stats` (Output).\n\nThe component stores data as CSV Dataset for e.g. Dashboard application. Dataset is stored in `/private/` path that is available with the help of the Flow access token.\n\nCSV file contains only processed values (according to the period) and the `.meta` file contains meta data + last value.\n\n__Input for data processing__:\n\n```js\n{\n\tkey: String,    // optional, e.g. device_id | device_name\n\tvalue: Number   // measured value\n}\n```\n\n**CSV columns**\n\n- `a` = `key {String}`\n- `b` = `value {Number}`\n- `c` = `min {Number}`\n- `d` = `max {Number}`\n- `e` = `sum {Number}`\n- `f` = `count {Number}`\n- `g` = `tshour {Number}`in the form `yyyyMMddhh`\n- `h` = `tsday {Number}` in the form `yyyyMMdd`\n- `i` = `tsweek {Number}` in the form `yyyyww`\n- `j` = `tsmonth {Number}` in the form `yyyyMM`\n- `k` = `tsyear {Number}` in the form `yyyy`\n\n### duration.html · version 1\n\nType: `component`\n\nMeasures how long messages take to pass through the FlowStream.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Stats).\n\nThe component counts the duration of the message. All values except count are defined in seconds. Place this component at the end of the flow.\n\n__Output__:\n\n```js\n{\n\tmin: Number,\n\tmax: Number,\n\tavg: Number,\n\tlast: Number,\n\tcount: Number\n}\n```\n\n### measuretime.html · version 1\n\nType: `component`\n\nMeasures the time taken to create and send a message.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component measures the time taken to create and send a message.\n\n### norepeat.html · version 1\n\nType: `component`\n\nStops the same content from being sent again within a short time.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `expire` | `Number` | no | `1` | Expire in minutes. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component prevents the same content from being sent again in a short amount of time.\n\n### nvidiasmi.html · version 1\n\nType: `component`\n\nCollects NVIDIA GPU statistics at regular intervals.\n\n**Inputs:** none.  \n**Outputs:** `output` (Stats).\n\nA FlowStream can hold only one node of this component.\n\nThis component periodically collects hardware statistics.\n\n### stopwatch.html · version 3\n\nType: `component`\n\nMeasures the time taken to create and send a message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Stopwatch` | Name. |\n| `delay` | `Number` | no | `1000` | Idle time delay (milliseconds). |\n\n**Inputs:** `input` (Counter).  \n**Outputs:** none.\n\nThis component measures the time taken to create and send a message.\n","entries":[{"type":"component","name":"Check Free space","signature":"checkfreespace.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check log","signature":"checklog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check PostgreSQL","signature":"checkpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check URL","signature":"checkurl.html · version 1","since":"","deprecated":false},{"type":"component","name":"CSV Dataset","signature":"csvdataset.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duration","signature":"duration.html · version 1","since":"","deprecated":false},{"type":"component","name":"Measure time","signature":"measuretime.html · version 1","since":"","deprecated":false},{"type":"component","name":"No repeat","signature":"norepeat.html · version 1","since":"","deprecated":false},{"type":"component","name":"NVIDIA Monitor","signature":"nvidiasmi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stopwatch","signature":"stopwatch.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQu2FA60f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/checks-and-statistics/","project":"flow","version":"11-1","section":"components","language":"de","title":"Prüfungen und Statistiken","summary":"Komponenten, die deinen Server und deine Dienste prüfen und deine Nachrichten messen.","markdown":"---\ntitle: \"Prüfungen und Statistiken\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/checks-and-statistics/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Prüfungen und Statistiken\n\n> Komponenten, die deinen Server und deine Dienste prüfen und deine Nachrichten messen.\n\nKomponenten, die deinen Server und deine Dienste prüfen und deine Nachrichten messen. Diese Seite enthält die Katalog-Gruppen **Checks**, **Stats**, **Linux**, **Dashboard**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### checkfreespace.html · version 1\n\nType: `component`\n\nPrüft den freien Speicherplatz auf einem Laufwerk.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `warning` | `Number` | no | `10000` | Minimaler freier Speicherplatz. |\n\n**Eingänge:** `input` (Test).\n**Ausgänge:** `error` (Error).\n\nDiese Komponente prüft den freien Speicherplatz auf der Festplatte.\n\n### checklog.html · version 1\n\nType: `component`\n\nLiest neue Zeilen einer Logdatei und meldet die, die deine Schlüsselwörter enthalten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/var/log/auth.log` | Pfad zur Logdatei. |\n| `error` | `String` | no | `Log error: {0}` | Fehlermeldung. |\n| `keywords` | `String` | no | `Error, error, ERROR` | Schlüsselwörter. |\n| `remember` | `Boolean` | no | `true` | Dateiposition merken. |\n\n**Eingänge:** `input` (Test).\n**Ausgänge:** `error` (Error).\n\nDiese Komponente prüft eine Datei und versucht, darin ein\n\n### checkpg.html · version 1\n\nType: `component`\n\nPrüft die Verbindung zu einer PostgreSQL-Datenbank.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no | `postgresql://user:pass@hostname:5432/database` | Verbindungszeichenfolge. |\n| `sql` | `String` | no | `SELECT 1` | SQL-Anweisung. |\n| `error` | `String` | no | `PostgreSQL error: {0}` | Format der Fehlermeldung. |\n\n**Eingänge:** `input` (Test).\n**Ausgänge:** `error` (Error).\n\nFlow installiert das npm-Paket `querybuilderpg`, wenn du die Komponente hinzufügst.\n\nDiese Komponente prüft die Verbindung zur PostgreSQL-Datenbank.\n\n### checkurl.html · version 1\n\nType: `component`\n\nPrüft, ob eine URL-Adresse antwortet.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `https://www.totaljs.com` | URL-Adresse. |\n| `error` | `String` | no | `URL error: {0}` | Format der Fehlermeldung. |\n\n**Eingänge:** `input` (Test).\n**Ausgänge:** `error` (Error).\n\nDiese Komponente prüft eine URL-Adresse.\n\n### csvdataset.html · version 2\n\nType: `component`\n\nSpeichert eingehende Daten als CSV-Datensatz im privaten Ordner.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Name. |\n| `unit` | `String` | no |  | Einheit. |\n| `icon` | `String` | no |  | Symbol. |\n| `color` | `String` | no |  | Farbe. |\n| `decimals` | `Number` | no | `2` | Dezimalstellen. |\n| `type` | `String` | no | `daily` | Typ. Einer von: `lastvalue` (Last value only), `logger` (Logger), `hourly` (Hourly), `daily` (Daily), `weekly` (Weeekly), `monthly` (Monthly), `yearly` (Yearly). |\n| `sum` | `Number` | no | `0` | Summe berechnen. Einer von: `0` (Disabled), `1` (Periodical sum), `2` (Total sum). |\n| `hours` | `Number` | no | `48` | Stunden. |\n| `days` | `Number` | no | `12` | Tage. |\n| `months` | `Number` | no | `12` | Monate. |\n| `years` | `Number` | no | `6` | Jahre. |\n\n**Eingänge:** `input` (Value), `live` (Live stats), `stats` (Stats).\n**Ausgänge:** `stats` (Output).\n\nDie Komponente speichert Daten als CSV-Datensatz, zum Beispiel für die Dashboard-Anwendung. Der Datensatz liegt im Pfad `/private/`, den du mit dem Zugriffstoken von Flow erreichst.\n\nDie CSV-Datei enthält nur verarbeitete Werte (je nach Zeitraum), und die Datei `.meta` enthält Metadaten und den letzten Wert.\n\n__Eingabe für die Datenverarbeitung__:\n\n```js\n{\n\tkey: String,    // optional, e.g. device_id | device_name\n\tvalue: Number   // measured value\n}\n```\n\n**CSV-Spalten**\n\n- `a` = `key {String}`\n- `b` = `value {Number}`\n- `c` = `min {Number}`\n- `d` = `max {Number}`\n- `e` = `sum {Number}`\n- `f` = `count {Number}`\n- `g` = `tshour {Number}` im Format `yyyyMMddhh`\n- `h` = `tsday {Number}` im Format `yyyyMMdd`\n- `i` = `tsweek {Number}` im Format `yyyyww`\n- `j` = `tsmonth {Number}` im Format `yyyyMM`\n- `k` = `tsyear {Number}` im Format `yyyy`\n\n### duration.html · version 1\n\nType: `component`\n\nMisst, wie lange Nachrichten brauchen, um den FlowStream zu durchlaufen.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Stats).\n\nDie Komponente misst die Dauer der Nachricht. Alle Werte außer count sind in Sekunden angegeben. Setze diese Komponente ans Ende des Flows.\n\n__Ausgabe__:\n\n```js\n{\n\tmin: Number,\n\tmax: Number,\n\tavg: Number,\n\tlast: Number,\n\tcount: Number\n}\n```\n\n### measuretime.html · version 1\n\nType: `component`\n\nMisst die Zeit, die das Erstellen und Senden einer Nachricht dauert.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente misst die Zeit, die das Erstellen und Senden einer Nachricht dauert.\n\n### norepeat.html · version 1\n\nType: `component`\n\nVerhindert, dass derselbe Inhalt innerhalb kurzer Zeit erneut gesendet wird.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `expire` | `Number` | no | `1` | Ablauf in Minuten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente verhindert, dass derselbe Inhalt innerhalb kurzer Zeit erneut gesendet wird.\n\n### nvidiasmi.html · version 1\n\nType: `component`\n\nSammelt in regelmäßigen Abständen Statistiken der NVIDIA-GPU.\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Stats).\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nDiese Komponente sammelt regelmäßig Hardware-Statistiken.\n\n### stopwatch.html · version 3\n\nType: `component`\n\nMisst die Zeit, die das Erstellen und Senden einer Nachricht dauert.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Stopwatch` | Name. |\n| `delay` | `Number` | no | `1000` | Verzögerung bei Leerlauf (Millisekunden). |\n\n**Eingänge:** `input` (Counter).\n**Ausgänge:** keine.\n\nDiese Komponente misst die Zeit, die das Erstellen und Senden einer Nachricht dauert.\n","entries":[{"type":"component","name":"Check Free space","signature":"checkfreespace.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check log","signature":"checklog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check PostgreSQL","signature":"checkpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check URL","signature":"checkurl.html · version 1","since":"","deprecated":false},{"type":"component","name":"CSV Dataset","signature":"csvdataset.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duration","signature":"duration.html · version 1","since":"","deprecated":false},{"type":"component","name":"Measure time","signature":"measuretime.html · version 1","since":"","deprecated":false},{"type":"component","name":"No repeat","signature":"norepeat.html · version 1","since":"","deprecated":false},{"type":"component","name":"NVIDIA Monitor","signature":"nvidiasmi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stopwatch","signature":"stopwatch.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQu2FA60f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/checks-and-statistics/","project":"flow","version":"11-1","section":"components","language":"es","title":"Comprobaciones y estadísticas","summary":"Componentes que comprueban tu servidor y tus servicios y miden tus mensajes.","markdown":"---\ntitle: \"Comprobaciones y estadísticas\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/checks-and-statistics/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Comprobaciones y estadísticas\n\n> Componentes que comprueban tu servidor y tus servicios y miden tus mensajes.\n\nComponentes que comprueban tu servidor y tus servicios y miden tus mensajes. Esta página contiene los grupos **Checks**, **Stats**, **Linux** y **Dashboard** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### checkfreespace.html · version 1\n\nType: `component`\n\nComprueba el espacio libre de un disco.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `warning` | `Number` | no | `10000` | Espacio libre mínimo. |\n\n**Entradas:** `input` (Test).\n**Salidas:** `error` (Error).\n\nEste componente comprueba el espacio libre del disco duro.\n\n### checklog.html · version 1\n\nType: `component`\n\nLee las líneas nuevas de un archivo de registro e informa de las que contienen tus palabras clave.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/var/log/auth.log` | Ruta al archivo de registro. |\n| `error` | `String` | no | `Log error: {0}` | Mensaje de error. |\n| `keywords` | `String` | no | `Error, error, ERROR` | Palabras clave. |\n| `remember` | `Boolean` | no | `true` | Recordar la posición en el archivo. |\n\n**Entradas:** `input` (Test).\n**Salidas:** `error` (Error).\n\nEste componente comprueba un archivo e intenta encontrar un\n\n### checkpg.html · version 1\n\nType: `component`\n\nComprueba la conexión a una base de datos PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no | `postgresql://user:pass@hostname:5432/database` | Cadena de conexión. |\n| `sql` | `String` | no | `SELECT 1` | Sentencia SQL. |\n| `error` | `String` | no | `PostgreSQL error: {0}` | Formato del mensaje de error. |\n\n**Entradas:** `input` (Test).\n**Salidas:** `error` (Error).\n\nFlow instala el paquete npm `querybuilderpg` cuando añades el componente.\n\nEste componente comprueba la conexión a la base de datos PostgreSQL.\n\n### checkurl.html · version 1\n\nType: `component`\n\nComprueba que una dirección URL responde.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `https://www.totaljs.com` | Dirección URL. |\n| `error` | `String` | no | `URL error: {0}` | Formato del mensaje de error. |\n\n**Entradas:** `input` (Test).\n**Salidas:** `error` (Error).\n\nEste componente comprueba una dirección URL.\n\n### csvdataset.html · version 2\n\nType: `component`\n\nGuarda los datos entrantes como un conjunto de datos CSV en la carpeta privada.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nombre. |\n| `unit` | `String` | no |  | Unidad. |\n| `icon` | `String` | no |  | Icono. |\n| `color` | `String` | no |  | Color. |\n| `decimals` | `Number` | no | `2` | Decimales. |\n| `type` | `String` | no | `daily` | Tipo. Uno de: `lastvalue` (Last value only), `logger` (Logger), `hourly` (Hourly), `daily` (Daily), `weekly` (Weeekly), `monthly` (Monthly), `yearly` (Yearly). |\n| `sum` | `Number` | no | `0` | Calcular la suma. Uno de: `0` (Disabled), `1` (Periodical sum), `2` (Total sum). |\n| `hours` | `Number` | no | `48` | Horas. |\n| `days` | `Number` | no | `12` | Días. |\n| `months` | `Number` | no | `12` | Meses. |\n| `years` | `Number` | no | `6` | Años. |\n\n**Entradas:** `input` (Value), `live` (Live stats), `stats` (Stats).\n**Salidas:** `stats` (Output).\n\nEl componente guarda los datos como un conjunto de datos CSV, por ejemplo para la aplicación Dashboard. El conjunto de datos se guarda en la ruta `/private/`, a la que puedes acceder con el token de acceso de Flow.\n\nEl archivo CSV contiene solo los valores procesados (según el periodo) y el archivo `.meta` contiene los metadatos + el último valor.\n\n__Entrada para el procesamiento de datos__:\n\n```js\n{\n\tkey: String,    // optional, e.g. device_id | device_name\n\tvalue: Number   // measured value\n}\n```\n\n**Columnas del CSV**\n\n- `a` = `key {String}`\n- `b` = `value {Number}`\n- `c` = `min {Number}`\n- `d` = `max {Number}`\n- `e` = `sum {Number}`\n- `f` = `count {Number}`\n- `g` = `tshour {Number}`con el formato `yyyyMMddhh`\n- `h` = `tsday {Number}` con el formato `yyyyMMdd`\n- `i` = `tsweek {Number}` con el formato `yyyyww`\n- `j` = `tsmonth {Number}` con el formato `yyyyMM`\n- `k` = `tsyear {Number}` con el formato `yyyy`\n\n### duration.html · version 1\n\nType: `component`\n\nMide cuánto tardan los mensajes en recorrer el FlowStream.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Stats).\n\nEl componente cuenta la duración del mensaje. Todos los valores, salvo count, están en segundos. Coloca este componente al final del flujo.\n\n__Salida__:\n\n```js\n{\n\tmin: Number,\n\tmax: Number,\n\tavg: Number,\n\tlast: Number,\n\tcount: Number\n}\n```\n\n### measuretime.html · version 1\n\nType: `component`\n\nMide el tiempo que se tarda en crear y enviar un mensaje.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente mide el tiempo que se tarda en crear y enviar un mensaje.\n\n### norepeat.html · version 1\n\nType: `component`\n\nEvita que el mismo contenido se envíe de nuevo en poco tiempo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `expire` | `Number` | no | `1` | Caduca en minutos. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente evita que el mismo contenido se vuelva a enviar en un corto espacio de tiempo.\n\n### nvidiasmi.html · version 1\n\nType: `component`\n\nRecoge estadísticas de la GPU NVIDIA a intervalos regulares.\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Stats).\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nEste componente recoge estadísticas del hardware de forma periódica.\n\n### stopwatch.html · version 3\n\nType: `component`\n\nMide el tiempo que se tarda en crear y enviar un mensaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Stopwatch` | Nombre. |\n| `delay` | `Number` | no | `1000` | Retardo por inactividad (milisegundos). |\n\n**Entradas:** `input` (Counter).\n**Salidas:** ninguna.\n\nEste componente mide el tiempo que se tarda en crear y enviar un mensaje.\n","entries":[{"type":"component","name":"Check Free space","signature":"checkfreespace.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check log","signature":"checklog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check PostgreSQL","signature":"checkpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check URL","signature":"checkurl.html · version 1","since":"","deprecated":false},{"type":"component","name":"CSV Dataset","signature":"csvdataset.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duration","signature":"duration.html · version 1","since":"","deprecated":false},{"type":"component","name":"Measure time","signature":"measuretime.html · version 1","since":"","deprecated":false},{"type":"component","name":"No repeat","signature":"norepeat.html · version 1","since":"","deprecated":false},{"type":"component","name":"NVIDIA Monitor","signature":"nvidiasmi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stopwatch","signature":"stopwatch.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQu2FA60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/checks-and-statistics/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Contrôles et statistiques","summary":"Composants qui contrôlent ton serveur et tes services, et qui mesurent tes messages.","markdown":"---\ntitle: \"Contrôles et statistiques\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/checks-and-statistics/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Contrôles et statistiques\n\n> Composants qui contrôlent ton serveur et tes services, et qui mesurent tes messages.\n\nComposants qui contrôlent ton serveur et tes services, et qui mesurent tes messages. Cette page contient les groupes du catalogue **Checks**, **Stats**, **Linux**, **Dashboard**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### checkfreespace.html · version 1\n\nType: `component`\n\nContrôle l’espace libre sur un disque.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `warning` | `Number` | no | `10000` | Espace libre minimal. |\n\n**Entrées :** `input` (Test).  \n**Sorties :** `error` (Error).\n\nCe composant contrôle l’espace libre sur le disque dur.\n\n### checklog.html · version 1\n\nType: `component`\n\nLit les nouvelles lignes d’un fichier de log et signale celles qui contiennent tes mots-clés.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/var/log/auth.log` | Chemin vers le fichier de log. |\n| `error` | `String` | no | `Log error: {0}` | Message d’erreur. |\n| `keywords` | `String` | no | `Error, error, ERROR` | Mots-clés. |\n| `remember` | `Boolean` | no | `true` | Mémoriser la position dans le fichier. |\n\n**Entrées :** `input` (Test).  \n**Sorties :** `error` (Error).\n\nCe composant contrôle un fichier et essaie d’y trouver un\n\n### checkpg.html · version 1\n\nType: `component`\n\nContrôle la connexion à une base de données PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no | `postgresql://user:pass@hostname:5432/database` | Chaîne de connexion. |\n| `sql` | `String` | no | `SELECT 1` | Requête SQL. |\n| `error` | `String` | no | `PostgreSQL error: {0}` | Format du message d’erreur. |\n\n**Entrées :** `input` (Test).  \n**Sorties :** `error` (Error).\n\nFlow installe le paquet npm `querybuilderpg` quand tu ajoutes le composant.\n\nCe composant contrôle la connexion à une base de données PostgreSQL.\n\n### checkurl.html · version 1\n\nType: `component`\n\nContrôle qu’une adresse URL répond.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `https://www.totaljs.com` | Adresse URL. |\n| `error` | `String` | no | `URL error: {0}` | Format du message d’erreur. |\n\n**Entrées :** `input` (Test).  \n**Sorties :** `error` (Error).\n\nCe composant contrôle une adresse URL.\n\n### csvdataset.html · version 2\n\nType: `component`\n\nStocke les données entrantes sous forme de jeu de données CSV dans le dossier privé.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nom. |\n| `unit` | `String` | no |  | Unité. |\n| `icon` | `String` | no |  | Icône. |\n| `color` | `String` | no |  | Couleur. |\n| `decimals` | `Number` | no | `2` | Décimales. |\n| `type` | `String` | no | `daily` | Type. Valeurs possibles : `lastvalue` (Last value only), `logger` (Logger), `hourly` (Hourly), `daily` (Daily), `weekly` (Weeekly), `monthly` (Monthly), `yearly` (Yearly). |\n| `sum` | `Number` | no | `0` | Calculer la somme. Valeurs possibles : `0` (Disabled), `1` (Periodical sum), `2` (Total sum). |\n| `hours` | `Number` | no | `48` | Heures. |\n| `days` | `Number` | no | `12` | Jours. |\n| `months` | `Number` | no | `12` | Mois. |\n| `years` | `Number` | no | `6` | Années. |\n\n**Entrées :** `input` (Value), `live` (Live stats), `stats` (Stats).  \n**Sorties :** `stats` (Output).\n\nLe composant stocke les données sous forme de jeu de données CSV, par exemple pour l’application Dashboard. Le jeu de données est stocké dans le chemin `/private/`, accessible grâce au jeton d’accès de Flow.\n\nLe fichier CSV ne contient que les valeurs traitées (selon la période) et le fichier `.meta` contient les métadonnées + la dernière valeur.\n\n__Entrée pour le traitement des données__ :\n\n```js\n{\n\tkey: String,    // optional, e.g. device_id | device_name\n\tvalue: Number   // measured value\n}\n```\n\n**Colonnes du CSV**\n\n- `a` = `key {String}`\n- `b` = `value {Number}`\n- `c` = `min {Number}`\n- `d` = `max {Number}`\n- `e` = `sum {Number}`\n- `f` = `count {Number}`\n- `g` = `tshour {Number}`au format `yyyyMMddhh`\n- `h` = `tsday {Number}` au format `yyyyMMdd`\n- `i` = `tsweek {Number}` au format `yyyyww`\n- `j` = `tsmonth {Number}` au format `yyyyMM`\n- `k` = `tsyear {Number}` au format `yyyy`\n\n### duration.html · version 1\n\nType: `component`\n\nMesure le temps que mettent les messages à traverser le FlowStream.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Stats).\n\nLe composant compte la durée du message. Toutes les valeurs sauf count sont exprimées en secondes. Place ce composant à la fin du flux.\n\n__Sortie__ :\n\n```js\n{\n\tmin: Number,\n\tmax: Number,\n\tavg: Number,\n\tlast: Number,\n\tcount: Number\n}\n```\n\n### measuretime.html · version 1\n\nType: `component`\n\nMesure le temps nécessaire pour créer et envoyer un message.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant mesure le temps nécessaire pour créer et envoyer un message.\n\n### norepeat.html · version 1\n\nType: `component`\n\nEmpêche que le même contenu soit renvoyé dans un court laps de temps.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `expire` | `Number` | no | `1` | Expiration en minutes. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant empêche que le même contenu soit renvoyé dans un court laps de temps.\n\n### nvidiasmi.html · version 1\n\nType: `component`\n\nCollecte les statistiques des GPU NVIDIA à intervalles réguliers.\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Stats).\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nCe composant collecte périodiquement des statistiques matérielles.\n\n### stopwatch.html · version 3\n\nType: `component`\n\nMesure le temps nécessaire pour créer et envoyer un message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Stopwatch` | Nom. |\n| `delay` | `Number` | no | `1000` | Délai d’inactivité (millisecondes). |\n\n**Entrées :** `input` (Counter).  \n**Sorties :** aucune.\n\nCe composant mesure le temps nécessaire pour créer et envoyer un message.\n","entries":[{"type":"component","name":"Check Free space","signature":"checkfreespace.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check log","signature":"checklog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check PostgreSQL","signature":"checkpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check URL","signature":"checkurl.html · version 1","since":"","deprecated":false},{"type":"component","name":"CSV Dataset","signature":"csvdataset.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duration","signature":"duration.html · version 1","since":"","deprecated":false},{"type":"component","name":"Measure time","signature":"measuretime.html · version 1","since":"","deprecated":false},{"type":"component","name":"No repeat","signature":"norepeat.html · version 1","since":"","deprecated":false},{"type":"component","name":"NVIDIA Monitor","signature":"nvidiasmi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stopwatch","signature":"stopwatch.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQu2FA60f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/checks-and-statistics/","project":"flow","version":"11-1","section":"components","language":"it","title":"Controlli e statistiche","summary":"Componenti che controllano il tuo server e i tuoi servizi e misurano i tuoi messaggi.","markdown":"---\ntitle: Controlli e statistiche\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/checks-and-statistics/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Controlli e statistiche\n\n> Componenti che controllano il tuo server e i tuoi servizi e misurano i tuoi messaggi.\n\nComponenti che controllano il tuo server e i tuoi servizi e misurano i tuoi messaggi. Questa pagina contiene i gruppi del catalogo **Checks**, **Stats**, **Linux**, **Dashboard**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### checkfreespace.html · version 1\n\nType: `component`\n\nControlla lo spazio libero su un disco.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `warning` | `Number` | no | `10000` | Spazio libero minimo. |\n\n**Ingressi:** `input` (Test).  \n**Uscite:** `error` (Error).\n\nQuesto componente controlla lo spazio libero sul disco.\n\n### checklog.html · version 1\n\nType: `component`\n\nLegge le nuove righe di un file di log e segnala quelle che contengono le tue parole chiave.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/var/log/auth.log` | Percorso del file di log. |\n| `error` | `String` | no | `Log error: {0}` | Messaggio di errore. |\n| `keywords` | `String` | no | `Error, error, ERROR` | Parole chiave. |\n| `remember` | `Boolean` | no | `true` | Ricorda la posizione nel file. |\n\n**Ingressi:** `input` (Test).  \n**Uscite:** `error` (Error).\n\nQuesto componente controlla un file e prova a trovare un\n\n### checkpg.html · version 1\n\nType: `component`\n\nControlla la connessione a un database PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no | `postgresql://user:pass@hostname:5432/database` | Stringa di connessione. |\n| `sql` | `String` | no | `SELECT 1` | Istruzione SQL. |\n| `error` | `String` | no | `PostgreSQL error: {0}` | Formato del messaggio di errore. |\n\n**Ingressi:** `input` (Test).  \n**Uscite:** `error` (Error).\n\nFlow installa il pacchetto npm `querybuilderpg` quando aggiungi il componente.\n\nQuesto componente controlla la connessione al database PostgreSQL.\n\n### checkurl.html · version 1\n\nType: `component`\n\nControlla che un indirizzo URL risponda.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `https://www.totaljs.com` | Indirizzo URL. |\n| `error` | `String` | no | `URL error: {0}` | Formato del messaggio di errore. |\n\n**Ingressi:** `input` (Test).  \n**Uscite:** `error` (Error).\n\nQuesto componente controlla un indirizzo URL.\n\n### csvdataset.html · version 2\n\nType: `component`\n\nSalva i dati in arrivo come dataset CSV nella cartella privata.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nome. |\n| `unit` | `String` | no |  | Unità. |\n| `icon` | `String` | no |  | Icona. |\n| `color` | `String` | no |  | Colore. |\n| `decimals` | `Number` | no | `2` | Decimali. |\n| `type` | `String` | no | `daily` | Tipo. Uno tra: `lastvalue` (Last value only), `logger` (Logger), `hourly` (Hourly), `daily` (Daily), `weekly` (Weeekly), `monthly` (Monthly), `yearly` (Yearly). |\n| `sum` | `Number` | no | `0` | Calcola la somma. Uno tra: `0` (Disabled), `1` (Periodical sum), `2` (Total sum). |\n| `hours` | `Number` | no | `48` | Ore. |\n| `days` | `Number` | no | `12` | Giorni. |\n| `months` | `Number` | no | `12` | Mesi. |\n| `years` | `Number` | no | `6` | Anni. |\n\n**Ingressi:** `input` (Value), `live` (Live stats), `stats` (Stats).  \n**Uscite:** `stats` (Output).\n\nIl componente salva i dati come dataset CSV, per esempio per l'applicazione Dashboard. Il dataset viene salvato nel percorso `/private/`, accessibile con il token di accesso di Flow.\n\nIl file CSV contiene solo i valori elaborati (in base al periodo) e il file `.meta` contiene i metadati + l'ultimo valore.\n\n__Ingresso per l'elaborazione dei dati__:\n\n```js\n{\n\tkey: String,    // optional, e.g. device_id | device_name\n\tvalue: Number   // measured value\n}\n```\n\n**Colonne CSV**\n\n- `a` = `key {String}`\n- `b` = `value {Number}`\n- `c` = `min {Number}`\n- `d` = `max {Number}`\n- `e` = `sum {Number}`\n- `f` = `count {Number}`\n- `g` = `tshour {Number}`nel formato `yyyyMMddhh`\n- `h` = `tsday {Number}` nel formato `yyyyMMdd`\n- `i` = `tsweek {Number}` nel formato `yyyyww`\n- `j` = `tsmonth {Number}` nel formato `yyyyMM`\n- `k` = `tsyear {Number}` nel formato `yyyy`\n\n### duration.html · version 1\n\nType: `component`\n\nMisura quanto tempo impiegano i messaggi ad attraversare il FlowStream.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Stats).\n\nIl componente conta la durata del messaggio. Tutti i valori tranne il conteggio sono espressi in secondi. Metti questo componente alla fine del flusso.\n\n__Uscita__:\n\n```js\n{\n\tmin: Number,\n\tmax: Number,\n\tavg: Number,\n\tlast: Number,\n\tcount: Number\n}\n```\n\n### measuretime.html · version 1\n\nType: `component`\n\nMisura il tempo impiegato per creare e inviare un messaggio.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente misura il tempo impiegato per creare e inviare un messaggio.\n\n### norepeat.html · version 1\n\nType: `component`\n\nImpedisce che lo stesso contenuto venga inviato di nuovo entro poco tempo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `expire` | `Number` | no | `1` | Scadenza in minuti. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente impedisce che lo stesso contenuto venga inviato di nuovo in poco tempo.\n\n### nvidiasmi.html · version 1\n\nType: `component`\n\nRaccoglie a intervalli regolari le statistiche delle GPU NVIDIA.\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Stats).\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nQuesto componente raccoglie periodicamente le statistiche dell'hardware.\n\n### stopwatch.html · version 3\n\nType: `component`\n\nMisura il tempo impiegato per creare e inviare un messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Stopwatch` | Nome. |\n| `delay` | `Number` | no | `1000` | Ritardo di inattività (millisecondi). |\n\n**Ingressi:** `input` (Counter).  \n**Uscite:** nessuna.\n\nQuesto componente misura il tempo impiegato per creare e inviare un messaggio.\n","entries":[{"type":"component","name":"Check Free space","signature":"checkfreespace.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check log","signature":"checklog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check PostgreSQL","signature":"checkpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check URL","signature":"checkurl.html · version 1","since":"","deprecated":false},{"type":"component","name":"CSV Dataset","signature":"csvdataset.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duration","signature":"duration.html · version 1","since":"","deprecated":false},{"type":"component","name":"Measure time","signature":"measuretime.html · version 1","since":"","deprecated":false},{"type":"component","name":"No repeat","signature":"norepeat.html · version 1","since":"","deprecated":false},{"type":"component","name":"NVIDIA Monitor","signature":"nvidiasmi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stopwatch","signature":"stopwatch.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQu2FA60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/checks-and-statistics/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Kontroly a štatistiky","summary":"Komponenty, ktoré kontrolujú tvoj server a služby a merajú tvoje správy.","markdown":"---\ntitle: \"Kontroly a štatistiky\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/checks-and-statistics/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Kontroly a štatistiky\n\n> Komponenty, ktoré kontrolujú tvoj server a služby a merajú tvoje správy.\n\nKomponenty, ktoré kontrolujú tvoj server a služby a merajú tvoje správy. Táto stránka obsahuje skupiny katalógu **Checks**, **Stats**, **Linux**, **Dashboard**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### checkfreespace.html · version 1\n\nType: `component`\n\nKontroluje voľné miesto na disku.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `warning` | `Number` | no | `10000` | Minimálne voľné miesto. |\n\n**Vstupy:** `input` (Test).  \n**Výstupy:** `error` (Error).\n\nTento komponent kontroluje voľné miesto na pevnom disku.\n\n### checklog.html · version 1\n\nType: `component`\n\nČíta nové riadky súboru so záznamami a hlási tie, ktoré obsahujú tvoje kľúčové slová.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `/var/log/auth.log` | Cesta k súboru so záznamami. |\n| `error` | `String` | no | `Log error: {0}` | Chybová správa. |\n| `keywords` | `String` | no | `Error, error, ERROR` | Kľúčové slová. |\n| `remember` | `Boolean` | no | `true` | Pamätať si pozíciu v súbore. |\n\n**Vstupy:** `input` (Test).  \n**Výstupy:** `error` (Error).\n\nTento komponent kontroluje súbor a pokúša sa v ňom nájsť\n\n### checkpg.html · version 1\n\nType: `component`\n\nKontroluje pripojenie k databáze PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no | `postgresql://user:pass@hostname:5432/database` | Pripojovací reťazec. |\n| `sql` | `String` | no | `SELECT 1` | SQL príkaz. |\n| `error` | `String` | no | `PostgreSQL error: {0}` | Formát chybovej správy. |\n\n**Vstupy:** `input` (Test).  \n**Výstupy:** `error` (Error).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `querybuilderpg`.\n\nTento komponent kontroluje pripojenie k databáze PostgreSQL.\n\n### checkurl.html · version 1\n\nType: `component`\n\nKontroluje, či URL adresa odpovedá.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `https://www.totaljs.com` | URL adresa. |\n| `error` | `String` | no | `URL error: {0}` | Formát chybovej správy. |\n\n**Vstupy:** `input` (Test).  \n**Výstupy:** `error` (Error).\n\nTento komponent kontroluje URL adresu.\n\n### csvdataset.html · version 2\n\nType: `component`\n\nUkladá prichádzajúce údaje ako CSV dataset v súkromnom priečinku.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Názov. |\n| `unit` | `String` | no |  | Jednotka. |\n| `icon` | `String` | no |  | Ikona. |\n| `color` | `String` | no |  | Farba. |\n| `decimals` | `Number` | no | `2` | Desatinné miesta. |\n| `type` | `String` | no | `daily` | Typ. Jedna z hodnôt: `lastvalue` (Last value only), `logger` (Logger), `hourly` (Hourly), `daily` (Daily), `weekly` (Weeekly), `monthly` (Monthly), `yearly` (Yearly). |\n| `sum` | `Number` | no | `0` | Počítať súčet. Jedna z hodnôt: `0` (Disabled), `1` (Periodical sum), `2` (Total sum). |\n| `hours` | `Number` | no | `48` | Hodiny. |\n| `days` | `Number` | no | `12` | Dni. |\n| `months` | `Number` | no | `12` | Mesiace. |\n| `years` | `Number` | no | `6` | Roky. |\n\n**Vstupy:** `input` (Value), `live` (Live stats), `stats` (Stats).  \n**Výstupy:** `stats` (Output).\n\nKomponent ukladá údaje ako CSV dataset, napríklad pre aplikáciu Dashboard. Dataset sa ukladá do cesty `/private/`, ktorá je dostupná pomocou prístupového tokenu Flow.\n\nCSV súbor obsahuje iba spracované hodnoty (podľa obdobia) a súbor `.meta` obsahuje metaúdaje + poslednú hodnotu.\n\n__Vstup na spracovanie údajov__:\n\n```js\n{\n\tkey: String,    // optional, e.g. device_id | device_name\n\tvalue: Number   // measured value\n}\n```\n\n**Stĺpce CSV**\n\n- `a` = `key {String}`\n- `b` = `value {Number}`\n- `c` = `min {Number}`\n- `d` = `max {Number}`\n- `e` = `sum {Number}`\n- `f` = `count {Number}`\n- `g` = `tshour {Number}` v tvare `yyyyMMddhh`\n- `h` = `tsday {Number}` v tvare `yyyyMMdd`\n- `i` = `tsweek {Number}` v tvare `yyyyww`\n- `j` = `tsmonth {Number}` v tvare `yyyyMM`\n- `k` = `tsyear {Number}` v tvare `yyyy`\n\n### duration.html · version 1\n\nType: `component`\n\nMeria, ako dlho trvá správam prejsť cez FlowStream.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Stats).\n\nKomponent počíta trvanie správy. Všetky hodnoty okrem počtu sú v sekundách. Umiestni tento komponent na koniec flow.\n\n__Výstup__:\n\n```js\n{\n\tmin: Number,\n\tmax: Number,\n\tavg: Number,\n\tlast: Number,\n\tcount: Number\n}\n```\n\n### measuretime.html · version 1\n\nType: `component`\n\nMeria čas potrebný na vytvorenie a odoslanie správy.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent meria čas potrebný na vytvorenie a odoslanie správy.\n\n### norepeat.html · version 1\n\nType: `component`\n\nZabráni tomu, aby sa ten istý obsah poslal znova v krátkom čase.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `expire` | `Number` | no | `1` | Platnosť v minútach. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent zabraňuje tomu, aby sa ten istý obsah poslal znova v krátkom čase.\n\n### nvidiasmi.html · version 1\n\nType: `component`\n\nV pravidelných intervaloch zbiera štatistiky NVIDIA GPU.\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Stats).\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nTento komponent pravidelne zbiera štatistiky hardvéru.\n\n### stopwatch.html · version 3\n\nType: `component`\n\nMeria čas potrebný na vytvorenie a odoslanie správy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no | `Stopwatch` | Názov. |\n| `delay` | `Number` | no | `1000` | Oneskorenie pri nečinnosti (milisekundy). |\n\n**Vstupy:** `input` (Counter).  \n**Výstupy:** žiadne.\n\nTento komponent meria čas potrebný na vytvorenie a odoslanie správy.\n","entries":[{"type":"component","name":"Check Free space","signature":"checkfreespace.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check log","signature":"checklog.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check PostgreSQL","signature":"checkpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check URL","signature":"checkurl.html · version 1","since":"","deprecated":false},{"type":"component","name":"CSV Dataset","signature":"csvdataset.html · version 2","since":"","deprecated":false},{"type":"component","name":"Duration","signature":"duration.html · version 1","since":"","deprecated":false},{"type":"component","name":"Measure time","signature":"measuretime.html · version 1","since":"","deprecated":false},{"type":"component","name":"No repeat","signature":"norepeat.html · version 1","since":"","deprecated":false},{"type":"component","name":"NVIDIA Monitor","signature":"nvidiasmi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Stopwatch","signature":"stopwatch.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapySm20E61f","url":"https://totaljs.es/docs/flow/11-1/components/databases/","project":"flow","version":"11-1","section":"components","language":"en","title":"Databases","summary":"Components that read and write data in databases.","markdown":"---\ntitle: Databases\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/databases/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Databases\n\n> Components that read and write data in databases.\n\nComponents that read and write data in databases. This page holds the catalogue group **Databases**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### influxdb.html · version 1\n\nType: `component`\n\nWrites data to InfluxDB or runs a Flux query.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Server url. |\n| `token` | `String` | no |  | Token. |\n| `org` | `String` | no |  | Organization. |\n| `bucket` | `String` | no |  | Bucket. |\n| `api` | `String` | no |  | Action. One of: `write` (Write data), `query` (Execute a Flux query). |\n| `fields` | `String` | no |  | Fields. |\n| `tags` | `String` | no |  | Tags. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm package `@influxdata/influxdb-client` when you add the component.\n\n**Input**\n\nExpected data for \"Write data\":\n\n```js\n{\n    measurement: '<measurement-name>',\n\tfields: {\n        fieldname: <fieldvalue>,\n    },\n    tags: {\n        tagname: '<tagvalue>'\n    }\n}\n```\n\nExpected data for \"Execute a Flux query\":\n\n```js\n{\n    query: 'from(bucket: \"Some Bucket\") |> range(start: -1h)'\n}\n```\n\n### localstorage.html · version 1\n\nType: `component`\n\nStores data for a short time and reads it back.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `savekey` | `String` | no | `id` | Save key. |\n| `readkey` | `String` | no | `id` | Read key. |\n| `path` | `String` | no |  | Where to save data? |\n| `remove` | `Boolean` | no | `true` | Remove the item after reading. |\n| `expire` | `String` | no | `1 hour` | Expiration. |\n\n**Inputs:** `save` (Save), `read` (Read).  \n**Outputs:** `output` (Output), `error` (Error).\n\nA small and simple persistent storage component is provided by this component. Data can be stored for a short period of time and read when needed.\n\n### mongodb-insert.html · version 1\n\nType: `component`\n\nInserts documents into MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Connection name. |\n| `connection` | `String` | no |  | Connection string (without the database name). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm package `mongodb@4.0.0` when you add the component.\n\n**Input**\n\nExample\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: { ... },  // data to insert, object for `insertOne` and an array of objects for `insertMany`\n\toptions: { ... }// insert options as passed to `insertOne(data, options)` or `insertMany(data, options)`\n}\n```\n\n### mongodb-query.html · version 2\n\nType: `component`\n\nRuns queries on MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no | `return query.find();` | Query editor. |\n| `name` | `String` | no |  | Connection name. |\n| `connection` | `String` | no |  | Connection string (without the database name). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm packages `mongodb@4.0.0`, `mquery` when you add the component.\n\nUses mquery under the hood. Here is the [documentation](https://www.npmjs.com/package/mquery)\n\n**Input**\n\nExample\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: <any> // this prop will be passed into the query function\n}\n```\n\n**Query editor**\n\n```js\n// query; mquery instance\n// data; data from the incomming object\n\nreturn query.find(); // return all documents\n```\n\n**Important**\n\nIn the `.select()` you cannot use inclusion and exclusion together.\nThis is invalid: `.select('firstname -lastname')`\nValid exclusion: `.select('-lastname')` or `.select('-email -lastname')` etc.\nValid inclusion: `.select('name email')` or `.select('email lastname')` etc.\n\n### mysql.html · version 2\n\nType: `component`\n\nRuns SQL queries on a MySQL database.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Connection string. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm package `mysql2` when you add the component.\n\n**Input**\n\nExpected data:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\n### nosql.html · version 1\n\nType: `component`\n\nInserts, reads, queries, updates and removes documents in the Total.js NoSQL database.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `collection` | `String` | no |  | DB collection(table) name. |\n| `method` | `String` | no |  | Method. One of: `insert` (Insert), `update` (Update), `read` (Read), `query` (Query), `remove` (Remove). |\n| `addid` | `String` | no |  | Add unique ID to `id` property of data before insert. |\n| `upsert` | `String` | no |  | Insert document if it doesn't exist. |\n| `upsertid` | `String` | no |  | Add unique ID to `id` property of data before insert (only if it doesn't exist). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\n**Outputs**\n\n- response from nosql engine\n\n**Settings**\n\n- collection: (optional) if not set, incomming data object must have a 'collection' property set\n- method: (optional) if not set, incomming data object must have a 'method' property set\n\n**Input**\n\n```javascript\n{\n\tcollection: 'users', // optional, will override settings value\n\tmethod: 'query', // insert|read|query|update|remove - optional, will override settings value\n\t// for insert, update\n\tdata: { ... },\n\t// for query, read, update, remove\n\tfilter: [\n\t\t['where', 'sensor', 'temp'], // builder.where('sensor', 'temp');\n\t\t['limit', 2]                 // builder.limit(2);\n\t],\n\tupsert: true // only for update, if set then document will be inserted if it doesn't exist\n\taddid: true  // only for insert and update, if set then id prop will be automaticaly generated (for update only when upsert is also set)\n}\n```\n\n**Insert**\n\n- inserts recieved data\n- expects data to be an Object\n- returns error, success, id\n\n**Read**\n\n- returns first document found\n- requires `filter`\n- returns error, response\n\n**Update**\n\n- updates document(s)\n- expects data to be an Object with all the props to be updated\n- requires `filter`\n- returns error, response\n- if response is 0 then update failed\n\n**Remove**\n\n- removes document\n- requires `filter`\n- returns error, response\n- if response is 0 then remove failed\n\n**Query**\n\n- returns all documents found\n- requires `filter`\n- returns error, response\n\n### postgresql.html · version 2\n\nType: `component`\n\nRuns SQL queries on a PostgreSQL database.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Connection string. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm package `pg` when you add the component.\n\nPostgreSQL\n\n**Input**\n\nExpected data:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\nOutput:\n\n```javascript\n{\n\tcommand: 'INSERT', // SELECT, etc.\n\trows: [], //\n\trowCount: 1\n}\n```\n\n### sqlite3.html · version 2\n\nType: `component`\n\nRuns queries on an SQLite3 database.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `filename` | `String` | no |  | Filename (optional). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nFlow installs the npm package `better-sqlite3` when you add the component.\n\nSQLite3 [Documentation](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md)\n\n```js\n{\n\t// query\n\tprepare: 'INSERT INTO cats (name, age) VALUES (?, ?)',\n\n\t// function name: run, get, all, exec\n\tfn: 'run',\n\n\t// data, optional\n\tdata: ['Joey', 2] // string/number or array\n\n}\n```\n\n__Functions:__\n\n- [run](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#runbindparameters---object)\n- [get](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#getbindparameters---row)\n- [all](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#allbindparameters---array-of-rows)\n- [exec](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#execstring---this)\n","entries":[{"type":"component","name":"Influxdb","signature":"influxdb.html · version 1","since":"","deprecated":false},{"type":"component","name":"Local storage","signature":"localstorage.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Insert","signature":"mongodb-insert.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Query","signature":"mongodb-query.html · version 2","since":"","deprecated":false},{"type":"component","name":"MySQL","signature":"mysql.html · version 2","since":"","deprecated":false},{"type":"component","name":"NoSQL","signature":"nosql.html · version 1","since":"","deprecated":false},{"type":"component","name":"PostgreSQL","signature":"postgresql.html · version 2","since":"","deprecated":false},{"type":"component","name":"SQLite3","signature":"sqlite3.html · version 2","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapySm20E61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/databases/","project":"flow","version":"11-1","section":"components","language":"de","title":"Datenbanken","summary":"Komponenten, die Daten in Datenbanken lesen und schreiben.","markdown":"---\ntitle: Datenbanken\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/databases/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Datenbanken\n\n> Komponenten, die Daten in Datenbanken lesen und schreiben.\n\nKomponenten, die Daten in Datenbanken lesen und schreiben. Diese Seite enthält die Katalog-Gruppe **Databases**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### influxdb.html · version 1\n\nType: `component`\n\nSchreibt Daten in InfluxDB oder führt eine Flux-Abfrage aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Server-URL. |\n| `token` | `String` | no |  | Token. |\n| `org` | `String` | no |  | Organisation. |\n| `bucket` | `String` | no |  | Bucket. |\n| `api` | `String` | no |  | Aktion. Eine von: `write` (Write data), `query` (Execute a Flux query). |\n| `fields` | `String` | no |  | Felder. |\n| `tags` | `String` | no |  | Tags. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert das npm-Paket `@influxdata/influxdb-client`, wenn du die Komponente hinzufügst.\n\n**Eingabe**\n\nErwartete Daten für „Write data“ (Daten schreiben):\n\n```js\n{\n    measurement: '<measurement-name>',\n\tfields: {\n        fieldname: <fieldvalue>,\n    },\n    tags: {\n        tagname: '<tagvalue>'\n    }\n}\n```\n\nErwartete Daten für „Execute a Flux query“ (Flux-Abfrage ausführen):\n\n```js\n{\n    query: 'from(bucket: \"Some Bucket\") |> range(start: -1h)'\n}\n```\n\n### localstorage.html · version 1\n\nType: `component`\n\nSpeichert Daten für kurze Zeit und liest sie wieder aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `savekey` | `String` | no | `id` | Schlüssel zum Speichern. |\n| `readkey` | `String` | no | `id` | Schlüssel zum Lesen. |\n| `path` | `String` | no |  | Wo sollen die Daten gespeichert werden? |\n| `remove` | `Boolean` | no | `true` | Eintrag nach dem Lesen entfernen. |\n| `expire` | `String` | no | `1 hour` | Ablauf. |\n\n**Eingänge:** `save` (Save), `read` (Read).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDiese Komponente bietet einen kleinen, einfachen dauerhaften Speicher. Daten können für kurze Zeit gespeichert und bei Bedarf gelesen werden.\n\n### mongodb-insert.html · version 1\n\nType: `component`\n\nFügt Dokumente in MongoDB ein.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Name der Verbindung. |\n| `connection` | `String` | no |  | Verbindungszeichenfolge (ohne den Datenbanknamen). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert das npm-Paket `mongodb@4.0.0`, wenn du die Komponente hinzufügst.\n\n**Eingabe**\n\nBeispiel\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: { ... },  // data to insert, object for `insertOne` and an array of objects for `insertMany`\n\toptions: { ... }// insert options as passed to `insertOne(data, options)` or `insertMany(data, options)`\n}\n```\n\n### mongodb-query.html · version 2\n\nType: `component`\n\nFührt Abfragen auf MongoDB aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no | `return query.find();` | Abfrage-Editor. |\n| `name` | `String` | no |  | Name der Verbindung. |\n| `connection` | `String` | no |  | Verbindungszeichenfolge (ohne den Datenbanknamen). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert die npm-Pakete `mongodb@4.0.0`, `mquery`, wenn du die Komponente hinzufügst.\n\nNutzt im Hintergrund mquery. Hier ist die [Dokumentation](https://www.npmjs.com/package/mquery)\n\n**Eingabe**\n\nBeispiel\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: <any> // this prop will be passed into the query function\n}\n```\n\n**Abfrage-Editor**\n\n```js\n// query; mquery instance\n// data; data from the incomming object\n\nreturn query.find(); // return all documents\n```\n\n**Wichtig**\n\nIn `.select()` kannst du Einschluss und Ausschluss nicht zusammen verwenden.\nDas ist ungültig: `.select('firstname -lastname')`\nGültiger Ausschluss: `.select('-lastname')` oder `.select('-email -lastname')` usw.\nGültiger Einschluss: `.select('name email')` oder `.select('email lastname')` usw.\n\n### mysql.html · version 2\n\nType: `component`\n\nFührt SQL-Abfragen auf einer MySQL-Datenbank aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Verbindungszeichenfolge. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert das npm-Paket `mysql2`, wenn du die Komponente hinzufügst.\n\n**Eingabe**\n\nErwartete Daten:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\n### nosql.html · version 1\n\nType: `component`\n\nFügt Dokumente in die NoSQL-Datenbank von Total.js ein, liest, fragt ab, aktualisiert und entfernt sie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `collection` | `String` | no |  | Name der DB-Collection (Tabelle). |\n| `method` | `String` | no |  | Methode. Eine von: `insert` (Insert), `update` (Update), `read` (Read), `query` (Query), `remove` (Remove). |\n| `addid` | `String` | no |  | Vor dem Einfügen eine eindeutige ID in die Eigenschaft `id` der Daten schreiben. |\n| `upsert` | `String` | no |  | Dokument einfügen, wenn es nicht existiert. |\n| `upsertid` | `String` | no |  | Vor dem Einfügen eine eindeutige ID in die Eigenschaft `id` der Daten schreiben (nur wenn sie nicht existiert). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\n**Ausgänge**\n\n- Antwort der NoSQL-Engine\n\n**Einstellungen**\n\n- collection: (optional) wenn nicht gesetzt, muss das eingehende Datenobjekt eine Eigenschaft 'collection' haben\n- method: (optional) wenn nicht gesetzt, muss das eingehende Datenobjekt eine Eigenschaft 'method' haben\n\n**Eingabe**\n\n```javascript\n{\n\tcollection: 'users', // optional, will override settings value\n\tmethod: 'query', // insert|read|query|update|remove - optional, will override settings value\n\t// for insert, update\n\tdata: { ... },\n\t// for query, read, update, remove\n\tfilter: [\n\t\t['where', 'sensor', 'temp'], // builder.where('sensor', 'temp');\n\t\t['limit', 2]                 // builder.limit(2);\n\t],\n\tupsert: true // only for update, if set then document will be inserted if it doesn't exist\n\taddid: true  // only for insert and update, if set then id prop will be automaticaly generated (for update only when upsert is also set)\n}\n```\n\n**Insert**\n\n- fügt die empfangenen Daten ein\n- erwartet, dass die Daten ein Objekt sind\n- gibt error, success, id zurück\n\n**Read**\n\n- gibt das erste gefundene Dokument zurück\n- braucht `filter`\n- gibt error, response zurück\n\n**Update**\n\n- aktualisiert ein oder mehrere Dokumente\n- erwartet, dass die Daten ein Objekt mit allen zu aktualisierenden Eigenschaften sind\n- braucht `filter`\n- gibt error, response zurück\n- ist response 0, ist die Aktualisierung fehlgeschlagen\n\n**Remove**\n\n- entfernt ein Dokument\n- braucht `filter`\n- gibt error, response zurück\n- ist response 0, ist das Entfernen fehlgeschlagen\n\n**Query**\n\n- gibt alle gefundenen Dokumente zurück\n- braucht `filter`\n- gibt error, response zurück\n\n### postgresql.html · version 2\n\nType: `component`\n\nFührt SQL-Abfragen auf einer PostgreSQL-Datenbank aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Verbindungszeichenfolge. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert das npm-Paket `pg`, wenn du die Komponente hinzufügst.\n\nPostgreSQL\n\n**Eingabe**\n\nErwartete Daten:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\nAusgabe:\n\n```javascript\n{\n\tcommand: 'INSERT', // SELECT, etc.\n\trows: [], //\n\trowCount: 1\n}\n```\n\n### sqlite3.html · version 2\n\nType: `component`\n\nFührt Abfragen auf einer SQLite3-Datenbank aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `filename` | `String` | no |  | Dateiname (optional). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nFlow installiert das npm-Paket `better-sqlite3`, wenn du die Komponente hinzufügst.\n\nSQLite3 [Dokumentation](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md)\n\n```js\n{\n\t// query\n\tprepare: 'INSERT INTO cats (name, age) VALUES (?, ?)',\n\n\t// function name: run, get, all, exec\n\tfn: 'run',\n\n\t// data, optional\n\tdata: ['Joey', 2] // string/number or array\n\n}\n```\n\n__Funktionen:__\n\n- [run](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#runbindparameters---object)\n- [get](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#getbindparameters---row)\n- [all](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#allbindparameters---array-of-rows)\n- [exec](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#execstring---this)\n","entries":[{"type":"component","name":"Influxdb","signature":"influxdb.html · version 1","since":"","deprecated":false},{"type":"component","name":"Local storage","signature":"localstorage.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Insert","signature":"mongodb-insert.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Query","signature":"mongodb-query.html · version 2","since":"","deprecated":false},{"type":"component","name":"MySQL","signature":"mysql.html · version 2","since":"","deprecated":false},{"type":"component","name":"NoSQL","signature":"nosql.html · version 1","since":"","deprecated":false},{"type":"component","name":"PostgreSQL","signature":"postgresql.html · version 2","since":"","deprecated":false},{"type":"component","name":"SQLite3","signature":"sqlite3.html · version 2","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapySm20E61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/databases/","project":"flow","version":"11-1","section":"components","language":"es","title":"Bases de datos","summary":"Componentes que leen y escriben datos en bases de datos.","markdown":"---\ntitle: Bases de datos\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/databases/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Bases de datos\n\n> Componentes que leen y escriben datos en bases de datos.\n\nComponentes que leen y escriben datos en bases de datos. Esta página contiene el grupo **Databases** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### influxdb.html · version 1\n\nType: `component`\n\nEscribe datos en InfluxDB o ejecuta una consulta Flux.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL del servidor. |\n| `token` | `String` | no |  | Token. |\n| `org` | `String` | no |  | Organización. |\n| `bucket` | `String` | no |  | Bucket. |\n| `api` | `String` | no |  | Acción. Una de: `write` (Write data), `query` (Execute a Flux query). |\n| `fields` | `String` | no |  | Campos. |\n| `tags` | `String` | no |  | Etiquetas. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala el paquete npm `@influxdata/influxdb-client` cuando añades el componente.\n\n**Entrada**\n\nDatos esperados para \"Write data\" (escribir datos):\n\n```js\n{\n    measurement: '<measurement-name>',\n\tfields: {\n        fieldname: <fieldvalue>,\n    },\n    tags: {\n        tagname: '<tagvalue>'\n    }\n}\n```\n\nDatos esperados para \"Execute a Flux query\" (ejecutar una consulta Flux):\n\n```js\n{\n    query: 'from(bucket: \"Some Bucket\") |> range(start: -1h)'\n}\n```\n\n### localstorage.html · version 1\n\nType: `component`\n\nGuarda datos durante poco tiempo y los vuelve a leer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `savekey` | `String` | no | `id` | Clave para guardar. |\n| `readkey` | `String` | no | `id` | Clave para leer. |\n| `path` | `String` | no |  | ¿Dónde guardar los datos? |\n| `remove` | `Boolean` | no | `true` | Eliminar el elemento después de leerlo. |\n| `expire` | `String` | no | `1 hour` | Caducidad. |\n\n**Entradas:** `save` (Save), `read` (Read).\n**Salidas:** `output` (Output), `error` (Error).\n\nEste componente ofrece un almacenamiento persistente pequeño y sencillo. Puedes guardar datos durante un periodo corto de tiempo y leerlos cuando los necesites.\n\n### mongodb-insert.html · version 1\n\nType: `component`\n\nInserta documentos en MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nombre de la conexión. |\n| `connection` | `String` | no |  | Cadena de conexión (sin el nombre de la base de datos). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala el paquete npm `mongodb@4.0.0` cuando añades el componente.\n\n**Entrada**\n\nEjemplo\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: { ... },  // data to insert, object for `insertOne` and an array of objects for `insertMany`\n\toptions: { ... }// insert options as passed to `insertOne(data, options)` or `insertMany(data, options)`\n}\n```\n\n### mongodb-query.html · version 2\n\nType: `component`\n\nEjecuta consultas en MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no | `return query.find();` | Editor de consultas. |\n| `name` | `String` | no |  | Nombre de la conexión. |\n| `connection` | `String` | no |  | Cadena de conexión (sin el nombre de la base de datos). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala los paquetes npm `mongodb@4.0.0` y `mquery` cuando añades el componente.\n\nPor debajo usa mquery. Aquí tienes la [documentación](https://www.npmjs.com/package/mquery)\n\n**Entrada**\n\nEjemplo\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: <any> // this prop will be passed into the query function\n}\n```\n\n**Editor de consultas**\n\n```js\n// query; mquery instance\n// data; data from the incomming object\n\nreturn query.find(); // return all documents\n```\n\n**Importante**\n\nEn `.select()` no puedes usar inclusión y exclusión a la vez.\nEsto no es válido: `.select('firstname -lastname')`\nExclusión válida: `.select('-lastname')` o `.select('-email -lastname')`, etc.\nInclusión válida: `.select('name email')` o `.select('email lastname')`, etc.\n\n### mysql.html · version 2\n\nType: `component`\n\nEjecuta consultas SQL en una base de datos MySQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Cadena de conexión. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala el paquete npm `mysql2` cuando añades el componente.\n\n**Entrada**\n\nDatos esperados:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\n### nosql.html · version 1\n\nType: `component`\n\nInserta, lee, consulta, actualiza y elimina documentos en la base de datos NoSQL de Total.js.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `collection` | `String` | no |  | Nombre de la colección (tabla) de la base de datos. |\n| `method` | `String` | no |  | Método. Uno de: `insert` (Insert), `update` (Update), `read` (Read), `query` (Query), `remove` (Remove). |\n| `addid` | `String` | no |  | Añadir un ID único a la propiedad `id` de los datos antes de insertarlos. |\n| `upsert` | `String` | no |  | Insertar el documento si no existe. |\n| `upsertid` | `String` | no |  | Añadir un ID único a la propiedad `id` de los datos antes de insertarlos (solo si no existe). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\n**Salidas**\n\n- respuesta del motor nosql\n\n**Ajustes**\n\n- collection: (opcional) si no se indica, el objeto de datos entrante debe tener la propiedad 'collection'\n- method: (opcional) si no se indica, el objeto de datos entrante debe tener la propiedad 'method'\n\n**Entrada**\n\n```javascript\n{\n\tcollection: 'users', // optional, will override settings value\n\tmethod: 'query', // insert|read|query|update|remove - optional, will override settings value\n\t// for insert, update\n\tdata: { ... },\n\t// for query, read, update, remove\n\tfilter: [\n\t\t['where', 'sensor', 'temp'], // builder.where('sensor', 'temp');\n\t\t['limit', 2]                 // builder.limit(2);\n\t],\n\tupsert: true // only for update, if set then document will be inserted if it doesn't exist\n\taddid: true  // only for insert and update, if set then id prop will be automaticaly generated (for update only when upsert is also set)\n}\n```\n\n**Insert**\n\n- inserta los datos recibidos\n- espera que los datos sean un Object\n- devuelve error, success, id\n\n**Read**\n\n- devuelve el primer documento encontrado\n- requiere `filter`\n- devuelve error, response\n\n**Update**\n\n- actualiza uno o varios documentos\n- espera que los datos sean un Object con todas las propiedades que se van a actualizar\n- requiere `filter`\n- devuelve error, response\n- si response es 0, la actualización ha fallado\n\n**Remove**\n\n- elimina el documento\n- requiere `filter`\n- devuelve error, response\n- si response es 0, la eliminación ha fallado\n\n**Query**\n\n- devuelve todos los documentos encontrados\n- requiere `filter`\n- devuelve error, response\n\n### postgresql.html · version 2\n\nType: `component`\n\nEjecuta consultas SQL en una base de datos PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Cadena de conexión. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala el paquete npm `pg` cuando añades el componente.\n\nPostgreSQL\n\n**Entrada**\n\nDatos esperados:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\nSalida:\n\n```javascript\n{\n\tcommand: 'INSERT', // SELECT, etc.\n\trows: [], //\n\trowCount: 1\n}\n```\n\n### sqlite3.html · version 2\n\nType: `component`\n\nEjecuta consultas en una base de datos SQLite3.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `filename` | `String` | no |  | Nombre del archivo (opcional). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nFlow instala el paquete npm `better-sqlite3` cuando añades el componente.\n\nSQLite3 [Documentación](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md)\n\n```js\n{\n\t// query\n\tprepare: 'INSERT INTO cats (name, age) VALUES (?, ?)',\n\n\t// function name: run, get, all, exec\n\tfn: 'run',\n\n\t// data, optional\n\tdata: ['Joey', 2] // string/number or array\n\n}\n```\n\n__Funciones:__\n\n- [run](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#runbindparameters---object)\n- [get](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#getbindparameters---row)\n- [all](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#allbindparameters---array-of-rows)\n- [exec](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#execstring---this)\n","entries":[{"type":"component","name":"Influxdb","signature":"influxdb.html · version 1","since":"","deprecated":false},{"type":"component","name":"Local storage","signature":"localstorage.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Insert","signature":"mongodb-insert.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Query","signature":"mongodb-query.html · version 2","since":"","deprecated":false},{"type":"component","name":"MySQL","signature":"mysql.html · version 2","since":"","deprecated":false},{"type":"component","name":"NoSQL","signature":"nosql.html · version 1","since":"","deprecated":false},{"type":"component","name":"PostgreSQL","signature":"postgresql.html · version 2","since":"","deprecated":false},{"type":"component","name":"SQLite3","signature":"sqlite3.html · version 2","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapySm20E61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/databases/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Bases de données","summary":"Composants qui lisent et écrivent des données dans des bases de données.","markdown":"---\ntitle: \"Bases de données\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/databases/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Bases de données\n\n> Composants qui lisent et écrivent des données dans des bases de données.\n\nComposants qui lisent et écrivent des données dans des bases de données. Cette page contient le groupe du catalogue **Databases**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### influxdb.html · version 1\n\nType: `component`\n\nÉcrit des données dans InfluxDB ou exécute une requête Flux.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL du serveur. |\n| `token` | `String` | no |  | Jeton. |\n| `org` | `String` | no |  | Organisation. |\n| `bucket` | `String` | no |  | Bucket. |\n| `api` | `String` | no |  | Action. Valeurs possibles : `write` (Write data), `query` (Execute a Flux query). |\n| `fields` | `String` | no |  | Champs. |\n| `tags` | `String` | no |  | Tags. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe le paquet npm `@influxdata/influxdb-client` quand tu ajoutes le composant.\n\n**Entrée**\n\nDonnées attendues pour « Write data » :\n\n```js\n{\n    measurement: '<measurement-name>',\n\tfields: {\n        fieldname: <fieldvalue>,\n    },\n    tags: {\n        tagname: '<tagvalue>'\n    }\n}\n```\n\nDonnées attendues pour « Execute a Flux query » :\n\n```js\n{\n    query: 'from(bucket: \"Some Bucket\") |> range(start: -1h)'\n}\n```\n\n### localstorage.html · version 1\n\nType: `component`\n\nStocke des données pour une courte durée et les relit.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `savekey` | `String` | no | `id` | Clé d’enregistrement. |\n| `readkey` | `String` | no | `id` | Clé de lecture. |\n| `path` | `String` | no |  | Où enregistrer les données ? |\n| `remove` | `Boolean` | no | `true` | Supprimer l’élément après la lecture. |\n| `expire` | `String` | no | `1 hour` | Expiration. |\n\n**Entrées :** `save` (Save), `read` (Read).  \n**Sorties :** `output` (Output), `error` (Error).\n\nCe composant fournit un petit stockage persistant tout simple. Les données peuvent être stockées pour une courte durée et lues quand tu en as besoin.\n\n### mongodb-insert.html · version 1\n\nType: `component`\n\nInsère des documents dans MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nom de la connexion. |\n| `connection` | `String` | no |  | Chaîne de connexion (sans le nom de la base de données). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe le paquet npm `mongodb@4.0.0` quand tu ajoutes le composant.\n\n**Entrée**\n\nExemple\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: { ... },  // data to insert, object for `insertOne` and an array of objects for `insertMany`\n\toptions: { ... }// insert options as passed to `insertOne(data, options)` or `insertMany(data, options)`\n}\n```\n\n### mongodb-query.html · version 2\n\nType: `component`\n\nExécute des requêtes sur MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no | `return query.find();` | Éditeur de requête. |\n| `name` | `String` | no |  | Nom de la connexion. |\n| `connection` | `String` | no |  | Chaîne de connexion (sans le nom de la base de données). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe les paquets npm `mongodb@4.0.0`, `mquery` quand tu ajoutes le composant.\n\nUtilise mquery en interne. Voici la [documentation](https://www.npmjs.com/package/mquery)\n\n**Entrée**\n\nExemple\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: <any> // this prop will be passed into the query function\n}\n```\n\n**Éditeur de requête**\n\n```js\n// query; mquery instance\n// data; data from the incomming object\n\nreturn query.find(); // return all documents\n```\n\n**Important**\n\nDans `.select()`, tu ne peux pas utiliser l’inclusion et l’exclusion en même temps.\nCeci n’est pas valide : `.select('firstname -lastname')`\nExclusion valide : `.select('-lastname')` ou `.select('-email -lastname')`, etc.\nInclusion valide : `.select('name email')` ou `.select('email lastname')`, etc.\n\n### mysql.html · version 2\n\nType: `component`\n\nExécute des requêtes SQL sur une base de données MySQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Chaîne de connexion. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe le paquet npm `mysql2` quand tu ajoutes le composant.\n\n**Entrée**\n\nDonnées attendues :\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\n### nosql.html · version 1\n\nType: `component`\n\nInsère, lit, interroge, met à jour et supprime des documents dans la base de données NoSQL de Total.js.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `collection` | `String` | no |  | Nom de la collection (table) de la base. |\n| `method` | `String` | no |  | Méthode. Valeurs possibles : `insert` (Insert), `update` (Update), `read` (Read), `query` (Query), `remove` (Remove). |\n| `addid` | `String` | no |  | Ajouter un ID unique dans la propriété `id` des données avant l’insertion. |\n| `upsert` | `String` | no |  | Insérer le document s’il n’existe pas. |\n| `upsertid` | `String` | no |  | Ajouter un ID unique dans la propriété `id` des données avant l’insertion (seulement s’il n’existe pas). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\n**Sorties**\n\n- réponse du moteur NoSQL\n\n**Paramètres**\n\n- collection : (facultatif) s’il n’est pas défini, l’objet de données entrant doit avoir une propriété 'collection'\n- method : (facultatif) s’il n’est pas défini, l’objet de données entrant doit avoir une propriété 'method'\n\n**Entrée**\n\n```javascript\n{\n\tcollection: 'users', // optional, will override settings value\n\tmethod: 'query', // insert|read|query|update|remove - optional, will override settings value\n\t// for insert, update\n\tdata: { ... },\n\t// for query, read, update, remove\n\tfilter: [\n\t\t['where', 'sensor', 'temp'], // builder.where('sensor', 'temp');\n\t\t['limit', 2]                 // builder.limit(2);\n\t],\n\tupsert: true // only for update, if set then document will be inserted if it doesn't exist\n\taddid: true  // only for insert and update, if set then id prop will be automaticaly generated (for update only when upsert is also set)\n}\n```\n\n**Insert**\n\n- insère les données reçues\n- attend que les données soient un objet\n- renvoie error, success, id\n\n**Read**\n\n- renvoie le premier document trouvé\n- nécessite `filter`\n- renvoie error, response\n\n**Update**\n\n- met à jour un ou plusieurs documents\n- attend que les données soient un objet avec toutes les propriétés à mettre à jour\n- nécessite `filter`\n- renvoie error, response\n- si response vaut 0, la mise à jour a échoué\n\n**Remove**\n\n- supprime le document\n- nécessite `filter`\n- renvoie error, response\n- si response vaut 0, la suppression a échoué\n\n**Query**\n\n- renvoie tous les documents trouvés\n- nécessite `filter`\n- renvoie error, response\n\n### postgresql.html · version 2\n\nType: `component`\n\nExécute des requêtes SQL sur une base de données PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Chaîne de connexion. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe le paquet npm `pg` quand tu ajoutes le composant.\n\nPostgreSQL\n\n**Entrée**\n\nDonnées attendues :\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\nSortie :\n\n```javascript\n{\n\tcommand: 'INSERT', // SELECT, etc.\n\trows: [], //\n\trowCount: 1\n}\n```\n\n### sqlite3.html · version 2\n\nType: `component`\n\nExécute des requêtes sur une base de données SQLite3.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `filename` | `String` | no |  | Nom du fichier (facultatif). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nFlow installe le paquet npm `better-sqlite3` quand tu ajoutes le composant.\n\nSQLite3 [Documentation](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md)\n\n```js\n{\n\t// query\n\tprepare: 'INSERT INTO cats (name, age) VALUES (?, ?)',\n\n\t// function name: run, get, all, exec\n\tfn: 'run',\n\n\t// data, optional\n\tdata: ['Joey', 2] // string/number or array\n\n}\n```\n\n__Fonctions :__\n\n- [run](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#runbindparameters---object)\n- [get](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#getbindparameters---row)\n- [all](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#allbindparameters---array-of-rows)\n- [exec](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#execstring---this)\n","entries":[{"type":"component","name":"Influxdb","signature":"influxdb.html · version 1","since":"","deprecated":false},{"type":"component","name":"Local storage","signature":"localstorage.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Insert","signature":"mongodb-insert.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Query","signature":"mongodb-query.html · version 2","since":"","deprecated":false},{"type":"component","name":"MySQL","signature":"mysql.html · version 2","since":"","deprecated":false},{"type":"component","name":"NoSQL","signature":"nosql.html · version 1","since":"","deprecated":false},{"type":"component","name":"PostgreSQL","signature":"postgresql.html · version 2","since":"","deprecated":false},{"type":"component","name":"SQLite3","signature":"sqlite3.html · version 2","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapySm20E61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/databases/","project":"flow","version":"11-1","section":"components","language":"it","title":"Database","summary":"Componenti che leggono e scrivono dati nei database.","markdown":"---\ntitle: Database\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/databases/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Database\n\n> Componenti che leggono e scrivono dati nei database.\n\nComponenti che leggono e scrivono dati nei database. Questa pagina contiene il gruppo del catalogo **Databases**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### influxdb.html · version 1\n\nType: `component`\n\nScrive dati in InfluxDB o esegue una query Flux.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL del server. |\n| `token` | `String` | no |  | Token. |\n| `org` | `String` | no |  | Organizzazione. |\n| `bucket` | `String` | no |  | Bucket. |\n| `api` | `String` | no |  | Azione. Una tra: `write` (Write data), `query` (Execute a Flux query). |\n| `fields` | `String` | no |  | Campi. |\n| `tags` | `String` | no |  | Tag. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa il pacchetto npm `@influxdata/influxdb-client` quando aggiungi il componente.\n\n**Ingresso**\n\nDati attesi per \"Write data\":\n\n```js\n{\n    measurement: '<measurement-name>',\n\tfields: {\n        fieldname: <fieldvalue>,\n    },\n    tags: {\n        tagname: '<tagvalue>'\n    }\n}\n```\n\nDati attesi per \"Execute a Flux query\":\n\n```js\n{\n    query: 'from(bucket: \"Some Bucket\") |> range(start: -1h)'\n}\n```\n\n### localstorage.html · version 1\n\nType: `component`\n\nConserva dati per poco tempo e li rilegge.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `savekey` | `String` | no | `id` | Chiave di salvataggio. |\n| `readkey` | `String` | no | `id` | Chiave di lettura. |\n| `path` | `String` | no |  | Dove salvare i dati? |\n| `remove` | `Boolean` | no | `true` | Rimuovi l'elemento dopo la lettura. |\n| `expire` | `String` | no | `1 hour` | Scadenza. |\n\n**Ingressi:** `save` (Save), `read` (Read).  \n**Uscite:** `output` (Output), `error` (Error).\n\nQuesto componente offre un piccolo e semplice archivio persistente. Puoi salvare i dati per un breve periodo e leggerli quando ti servono.\n\n### mongodb-insert.html · version 1\n\nType: `component`\n\nInserisce documenti in MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Nome della connessione. |\n| `connection` | `String` | no |  | Stringa di connessione (senza il nome del database). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa il pacchetto npm `mongodb@4.0.0` quando aggiungi il componente.\n\n**Ingresso**\n\nEsempio\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: { ... },  // data to insert, object for `insertOne` and an array of objects for `insertMany`\n\toptions: { ... }// insert options as passed to `insertOne(data, options)` or `insertMany(data, options)`\n}\n```\n\n### mongodb-query.html · version 2\n\nType: `component`\n\nEsegue query su MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no | `return query.find();` | Editor della query. |\n| `name` | `String` | no |  | Nome della connessione. |\n| `connection` | `String` | no |  | Stringa di connessione (senza il nome del database). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa i pacchetti npm `mongodb@4.0.0`, `mquery` quando aggiungi il componente.\n\nDietro le quinte usa mquery. Ecco la [documentazione](https://www.npmjs.com/package/mquery)\n\n**Ingresso**\n\nEsempio\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: <any> // this prop will be passed into the query function\n}\n```\n\n**Editor della query**\n\n```js\n// query; mquery instance\n// data; data from the incomming object\n\nreturn query.find(); // return all documents\n```\n\n**Importante**\n\nIn `.select()` non puoi usare inclusione ed esclusione insieme.\nQuesto non è valido: `.select('firstname -lastname')`\nEsclusione valida: `.select('-lastname')` o `.select('-email -lastname')` ecc.\nInclusione valida: `.select('name email')` o `.select('email lastname')` ecc.\n\n### mysql.html · version 2\n\nType: `component`\n\nEsegue query SQL su un database MySQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Stringa di connessione. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa il pacchetto npm `mysql2` quando aggiungi il componente.\n\n**Ingresso**\n\nDati attesi:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\n### nosql.html · version 1\n\nType: `component`\n\nInserisce, legge, interroga, aggiorna e rimuove documenti nel database NoSQL di Total.js.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `collection` | `String` | no |  | Nome della collezione (tabella) del DB. |\n| `method` | `String` | no |  | Metodo. Uno tra: `insert` (Insert), `update` (Update), `read` (Read), `query` (Query), `remove` (Remove). |\n| `addid` | `String` | no |  | Aggiungi un ID univoco alla proprietà `id` dei dati prima dell'inserimento. |\n| `upsert` | `String` | no |  | Inserisci il documento se non esiste. |\n| `upsertid` | `String` | no |  | Aggiungi un ID univoco alla proprietà `id` dei dati prima dell'inserimento (solo se non esiste). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\n**Uscite**\n\n- risposta del motore NoSQL\n\n**Impostazioni**\n\n- collection: (facoltativo) se non è impostato, l'oggetto dei dati in arrivo deve avere la proprietà 'collection'\n- method: (facoltativo) se non è impostato, l'oggetto dei dati in arrivo deve avere la proprietà 'method'\n\n**Ingresso**\n\n```javascript\n{\n\tcollection: 'users', // optional, will override settings value\n\tmethod: 'query', // insert|read|query|update|remove - optional, will override settings value\n\t// for insert, update\n\tdata: { ... },\n\t// for query, read, update, remove\n\tfilter: [\n\t\t['where', 'sensor', 'temp'], // builder.where('sensor', 'temp');\n\t\t['limit', 2]                 // builder.limit(2);\n\t],\n\tupsert: true // only for update, if set then document will be inserted if it doesn't exist\n\taddid: true  // only for insert and update, if set then id prop will be automaticaly generated (for update only when upsert is also set)\n}\n```\n\n**Insert**\n\n- inserisce i dati ricevuti\n- si aspetta che i dati siano un Object\n- restituisce error, success, id\n\n**Read**\n\n- restituisce il primo documento trovato\n- richiede `filter`\n- restituisce error, response\n\n**Update**\n\n- aggiorna uno o più documenti\n- si aspetta che i dati siano un Object con tutte le proprietà da aggiornare\n- richiede `filter`\n- restituisce error, response\n- se response è 0, l'aggiornamento non è riuscito\n\n**Remove**\n\n- rimuove il documento\n- richiede `filter`\n- restituisce error, response\n- se response è 0, la rimozione non è riuscita\n\n**Query**\n\n- restituisce tutti i documenti trovati\n- richiede `filter`\n- restituisce error, response\n\n### postgresql.html · version 2\n\nType: `component`\n\nEsegue query SQL su un database PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Stringa di connessione. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa il pacchetto npm `pg` quando aggiungi il componente.\n\nPostgreSQL\n\n**Ingresso**\n\nDati attesi:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\nUscita:\n\n```javascript\n{\n\tcommand: 'INSERT', // SELECT, etc.\n\trows: [], //\n\trowCount: 1\n}\n```\n\n### sqlite3.html · version 2\n\nType: `component`\n\nEsegue query su un database SQLite3.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `filename` | `String` | no |  | Nome del file (facoltativo). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nFlow installa il pacchetto npm `better-sqlite3` quando aggiungi il componente.\n\nSQLite3 [Documentazione](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md)\n\n```js\n{\n\t// query\n\tprepare: 'INSERT INTO cats (name, age) VALUES (?, ?)',\n\n\t// function name: run, get, all, exec\n\tfn: 'run',\n\n\t// data, optional\n\tdata: ['Joey', 2] // string/number or array\n\n}\n```\n\n__Funzioni:__\n\n- [run](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#runbindparameters---object)\n- [get](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#getbindparameters---row)\n- [all](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#allbindparameters---array-of-rows)\n- [exec](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#execstring---this)\n","entries":[{"type":"component","name":"Influxdb","signature":"influxdb.html · version 1","since":"","deprecated":false},{"type":"component","name":"Local storage","signature":"localstorage.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Insert","signature":"mongodb-insert.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Query","signature":"mongodb-query.html · version 2","since":"","deprecated":false},{"type":"component","name":"MySQL","signature":"mysql.html · version 2","since":"","deprecated":false},{"type":"component","name":"NoSQL","signature":"nosql.html · version 1","since":"","deprecated":false},{"type":"component","name":"PostgreSQL","signature":"postgresql.html · version 2","since":"","deprecated":false},{"type":"component","name":"SQLite3","signature":"sqlite3.html · version 2","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapySm20E61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/databases/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Databázy","summary":"Komponenty, ktoré čítajú a zapisujú údaje v databázach.","markdown":"---\ntitle: \"Databázy\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/databases/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Databázy\n\n> Komponenty, ktoré čítajú a zapisujú údaje v databázach.\n\nKomponenty, ktoré čítajú a zapisujú údaje v databázach. Táto stránka obsahuje skupinu katalógu **Databases**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### influxdb.html · version 1\n\nType: `component`\n\nZapisuje údaje do InfluxDB alebo spustí Flux dopyt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL servera. |\n| `token` | `String` | no |  | Token. |\n| `org` | `String` | no |  | Organizácia. |\n| `bucket` | `String` | no |  | Bucket. |\n| `api` | `String` | no |  | Akcia. Jedna z hodnôt: `write` (Write data), `query` (Execute a Flux query). |\n| `fields` | `String` | no |  | Polia. |\n| `tags` | `String` | no |  | Tagy. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `@influxdata/influxdb-client`.\n\n**Vstup**\n\nOčakávané údaje pre \"Write data\":\n\n```js\n{\n    measurement: '<measurement-name>',\n\tfields: {\n        fieldname: <fieldvalue>,\n    },\n    tags: {\n        tagname: '<tagvalue>'\n    }\n}\n```\n\nOčakávané údaje pre \"Execute a Flux query\":\n\n```js\n{\n    query: 'from(bucket: \"Some Bucket\") |> range(start: -1h)'\n}\n```\n\n### localstorage.html · version 1\n\nType: `component`\n\nUloží údaje na krátky čas a znova ich načíta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `savekey` | `String` | no | `id` | Kľúč na uloženie. |\n| `readkey` | `String` | no | `id` | Kľúč na čítanie. |\n| `path` | `String` | no |  | Kam uložiť údaje? |\n| `remove` | `Boolean` | no | `true` | Po prečítaní položku odstrániť. |\n| `expire` | `String` | no | `1 hour` | Platnosť. |\n\n**Vstupy:** `save` (Save), `read` (Read).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nTento komponent poskytuje malé a jednoduché trvalé úložisko. Údaje môžeš uložiť na krátky čas a načítať ich, keď ich potrebuješ.\n\n### mongodb-insert.html · version 1\n\nType: `component`\n\nVkladá dokumenty do MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | no |  | Názov pripojenia. |\n| `connection` | `String` | no |  | Pripojovací reťazec (bez názvu databázy). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `mongodb@4.0.0`.\n\n**Vstup**\n\nPríklad\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: { ... },  // data to insert, object for `insertOne` and an array of objects for `insertMany`\n\toptions: { ... }// insert options as passed to `insertOne(data, options)` or `insertMany(data, options)`\n}\n```\n\n### mongodb-query.html · version 2\n\nType: `component`\n\nSpúšťa dopyty nad MongoDB.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `fn` | `String` | no | `return query.find();` | Editor dopytov. |\n| `name` | `String` | no |  | Názov pripojenia. |\n| `connection` | `String` | no |  | Pripojovací reťazec (bez názvu databázy). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balíky `mongodb@4.0.0`, `mquery`.\n\nNa pozadí používa mquery. Tu je [dokumentácia](https://www.npmjs.com/package/mquery)\n\n**Vstup**\n\nPríklad\n\n```javascript\n{\n    database: 'database-name',\n    collection: 'collection-name',\n\tdata: <any> // this prop will be passed into the query function\n}\n```\n\n**Editor dopytov**\n\n```js\n// query; mquery instance\n// data; data from the incomming object\n\nreturn query.find(); // return all documents\n```\n\n**Dôležité**\n\nV `.select()` nemôžeš použiť zahrnutie a vylúčenie naraz.\nToto je neplatné: `.select('firstname -lastname')`\nPlatné vylúčenie: `.select('-lastname')` alebo `.select('-email -lastname')` atď.\nPlatné zahrnutie: `.select('name email')` alebo `.select('email lastname')` atď.\n\n### mysql.html · version 2\n\nType: `component`\n\nSpúšťa SQL dopyty nad databázou MySQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Pripojovací reťazec. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `mysql2`.\n\n**Vstup**\n\nOčakávané údaje:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\n### nosql.html · version 1\n\nType: `component`\n\nVkladá, číta, vyhľadáva, aktualizuje a odstraňuje dokumenty v databáze Total.js NoSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `collection` | `String` | no |  | Názov kolekcie (tabuľky) v DB. |\n| `method` | `String` | no |  | Metóda. Jedna z hodnôt: `insert` (Insert), `update` (Update), `read` (Read), `query` (Query), `remove` (Remove). |\n| `addid` | `String` | no |  | Pred vložením pridať do vlastnosti `id` údajov jedinečné ID. |\n| `upsert` | `String` | no |  | Vložiť dokument, ak neexistuje. |\n| `upsertid` | `String` | no |  | Pred vložením pridať do vlastnosti `id` údajov jedinečné ID (iba ak neexistuje). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\n**Výstupy**\n\n- odpoveď z NoSQL enginu\n\n**Nastavenia**\n\n- collection: (voliteľné) ak nie je nastavená, prichádzajúci objekt s údajmi musí mať nastavenú vlastnosť 'collection'\n- method: (voliteľné) ak nie je nastavená, prichádzajúci objekt s údajmi musí mať nastavenú vlastnosť 'method'\n\n**Vstup**\n\n```javascript\n{\n\tcollection: 'users', // optional, will override settings value\n\tmethod: 'query', // insert|read|query|update|remove - optional, will override settings value\n\t// for insert, update\n\tdata: { ... },\n\t// for query, read, update, remove\n\tfilter: [\n\t\t['where', 'sensor', 'temp'], // builder.where('sensor', 'temp');\n\t\t['limit', 2]                 // builder.limit(2);\n\t],\n\tupsert: true // only for update, if set then document will be inserted if it doesn't exist\n\taddid: true  // only for insert and update, if set then id prop will be automaticaly generated (for update only when upsert is also set)\n}\n```\n\n**Insert**\n\n- vloží prijaté údaje\n- očakáva, že údaje sú objekt\n- vracia error, success, id\n\n**Read**\n\n- vráti prvý nájdený dokument\n- vyžaduje `filter`\n- vracia error, response\n\n**Update**\n\n- aktualizuje dokument(y)\n- očakáva, že údaje sú objekt so všetkými vlastnosťami, ktoré sa majú aktualizovať\n- vyžaduje `filter`\n- vracia error, response\n- ak je response 0, aktualizácia zlyhala\n\n**Remove**\n\n- odstráni dokument\n- vyžaduje `filter`\n- vracia error, response\n- ak je response 0, odstránenie zlyhalo\n\n**Query**\n\n- vráti všetky nájdené dokumenty\n- vyžaduje `filter`\n- vracia error, response\n\n### postgresql.html · version 2\n\nType: `component`\n\nSpúšťa SQL dopyty nad databázou PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `connection` | `String` | no |  | Pripojovací reťazec. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `pg`.\n\nPostgreSQL\n\n**Vstup**\n\nOčakávané údaje:\n\n```javascript\n{\n\tquery: 'SELECT * FROM tblname;'\n}\n```\n\nVýstup:\n\n```javascript\n{\n\tcommand: 'INSERT', // SELECT, etc.\n\trows: [], //\n\trowCount: 1\n}\n```\n\n### sqlite3.html · version 2\n\nType: `component`\n\nSpúšťa dopyty nad databázou SQLite3.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `filename` | `String` | no |  | Názov súboru (voliteľné). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `better-sqlite3`.\n\nSQLite3 [Dokumentácia](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md)\n\n```js\n{\n\t// query\n\tprepare: 'INSERT INTO cats (name, age) VALUES (?, ?)',\n\n\t// function name: run, get, all, exec\n\tfn: 'run',\n\n\t// data, optional\n\tdata: ['Joey', 2] // string/number or array\n\n}\n```\n\n__Funkcie:__\n\n- [run](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#runbindparameters---object)\n- [get](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#getbindparameters---row)\n- [all](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#allbindparameters---array-of-rows)\n- [exec](https://github.com/JoshuaWise/better-sqlite3/blob/HEAD/docs/api.md#execstring---this)\n","entries":[{"type":"component","name":"Influxdb","signature":"influxdb.html · version 1","since":"","deprecated":false},{"type":"component","name":"Local storage","signature":"localstorage.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Insert","signature":"mongodb-insert.html · version 1","since":"","deprecated":false},{"type":"component","name":"MongoDB Query","signature":"mongodb-query.html · version 2","since":"","deprecated":false},{"type":"component","name":"MySQL","signature":"mysql.html · version 2","since":"","deprecated":false},{"type":"component","name":"NoSQL","signature":"nosql.html · version 1","since":"","deprecated":false},{"type":"component","name":"PostgreSQL","signature":"postgresql.html · version 2","since":"","deprecated":false},{"type":"component","name":"SQLite3","signature":"sqlite3.html · version 2","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyUO3kE61f","url":"https://totaljs.es/docs/flow/11-1/components/totaljs/","project":"flow","version":"11-1","section":"components","language":"en","title":"Total.js","summary":"Components that use the Total.js framework: HTTP routes, responses, actions, schemas and SQL.","markdown":"---\ntitle: Total.js\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/totaljs/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js\n\n> Components that use the Total.js framework: HTTP routes, responses, actions, schemas and SQL.\n\nComponents that use the Total.js framework: HTTP routes, responses, actions, schemas and SQL. This page holds the catalogue group **Total.js**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### taction.html · version 2\n\nType: `component`\n\nRuns a Total.js action: it validates the incoming data with a schema and processes it with your code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `partial` | `Boolean` | no | `false` | Allow partial data. |\n| `name` | `String` | no | `Unknown` | Action name. |\n| `input` | `String` | no |  | Payload schema. |\n| `query` | `String` | no |  | Query arguments schema. |\n| `color` | `String` | no | `#68B25B` | Color. |\n| `params` | `String` | no |  | Params schema. |\n| `permissions` | `String` | no |  | Permissions. |\n| `code` | `String` | no |  | The JavaScript code of the action. |\n| `strerr` | `Boolean` | no | `false` | Convert errors to a string. |\n| `path` | `String` | no | `response` | Path for storing a response. |\n| `autoresponse` | `Boolean` | no | `false` | Auto HTTP response. |\n\n**Inputs:** `input` (Payload).  \n**Outputs:** `output` (Response), `error` (Error).\n\nThis component creates similar functionality as Total.js Actions.\n\n**Payload**\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\n**Custom scripting**\n\n- supports `await`\n- supports Total.js global functions\n\n__Properties__:\n\n- `$.model {Object}` or `model` parsed payload\n- `$.query {Object}` parsed URL query arguments\n- `$.params {Object}` parsed URL params\n- `$.cookies {Object}` parsed cookies\n- `$.files [Object]` uploaded files\n- `$.user {Object}` user session (optional)\n- `$.headers {Object}` request headers\n- `$.ip {String}` IP address (optional)\n- `$.language {String}` optional\n- `$.ua {String}` parsed user agent (optional)\n- `$.url {String}` URL endpoint\n- `$.message {Object}` Flow message instance\n- `$.request {Object}` Flow message payload data\n\n__Methods__:\n\n- `$.invalid(error)` responds with an error and ends the action\n- `$.success([value])` responds with `{ success: true, value }` object and ends the action\n- `$.callback(value)` responds with `value` object and ends the action\n- `$.cancel()` ends the action without response\n- `$.audit(message, [type])` writes audit\n\n**Supported types**\n\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` all words\n- `capitalize2` only first word\n- `name` makes a name (capitalizes words and remove special characters)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prepares string to a search string\n- `safestring` checks XSS and SQL Injections\n- `smallint`\n- `tinyint`\n- `{A|B|C}` enum type\n- `[type]` means array\n- `{ name:String, age:Number }` means nested object\n- `[ name:String, age:Number ]` means array with an object\n- `*something:type` is `required` field\n\n### tapicreator.html · version 1\n\nType: `component`\n\nCreates a Total.js API payload from the incoming data.\n\n**Inputs:** `input` (Payload).  \n**Outputs:** `output` (Output).\n\nThis component creates Total.js API payload.\n\nOutput data__:\n\n```js\n{\n\tschema: 'input_name',\n\tdata: input_data\n}\n```\n\n### tapirouter.html · version 3\n\nType: `component`\n\nRoutes incoming Total.js API data to an output for each operation of the API schema.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `payload` | `Boolean` | no | `false` | Send next only payload without schema. |\n\n**Inputs:** `input` (Payload).  \n**Outputs:** they come from the settings of the node.\n\nThis component routes incoming Total.js API data according to the defined API schema. The component extends input data (query, payload and params) with parsed data.\n\n__Input & Output data__:\n\n```js\n{\n\t// REQUIRED payload:\n\tpayload: {\n\t\tschema: 'schema_name/{param_1}/{param_2}?query=arguments',\n\t\tdata: {} // optional, request payload\n\t},\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed UA\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\nIn the case of  `error`, the input data is extended by the `response` property with an error.\n\n### tauthtoken.html · version 1\n\nType: `component`\n\nCompares a token from the request header with the token in its configuration.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token. |\n| `code` | `Number` | no | `401` | Status code. |\n| `header` | `String` | no | `x-token` | Header. |\n| `error` | `String` | no | `Unauthorized` | Error message. |\n| `ddos` | `Number` | no | `0` | DDOS protection. |\n\n**Inputs:** `input` (Request).  \n**Outputs:** `output` (Request).\n\nThis component must be used only with REST Route component. It reads a token from the request header and compares it with the token declared in the configuration.\n\n### tcors.html · version 3\n\nType: `component`\n\nEnables Cross-Origin Resource Sharing (CORS) for the routes of the FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `hostnames` | `Array` | no | `[]` | Hostnames with a protocol. |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nA FlowStream can hold only one node of this component.\n\nThe component enables Cross-Origin Resource Sharing `CORS`, so the web browser will be able to communicate directly with the REST API. The functionality will work only with a defined Proxy endpoint for this Flow.\n\n### tschema.html · version 2\n\nType: `component`\n\nChecks incoming data against a data schema.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no | `*name:String, *email:Email` | Schema. |\n| `partial` | `Boolean` | no | `false` | Allow partial data. |\n| `strerr` | `Boolean` | no | `false` | Convert errors to a string. |\n\n**Inputs:** `input` (Payload).  \n**Outputs:** `output` (Response), `error` (Error).\n\nThis component is in the repository, but not in the catalogue that the **Download components** window shows.\n\nThe component `Schema` can very quickly check incoming data according to the defined schema.\n\n__Supported types__:\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` all words\n- `capitalize2` only first word\n- `name` makes a name (capitalizes words and remove special characters)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prepares string to a search string\n- `safestring` checks XSS and SQL Injections\n- `smallint`\n- `tinyint`\n- `{A|B|C}` enum type\n- `[type]` means array\n- `*something:type` is `required` field\n\n### error.html · version 1\n\nType: `component`\n\nTurns incoming data into the Total.js error structure.\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component transforms incoming data to the Total.js Error structure.\n\n### insecuressl.html · version 1\n\nType: `component`\n\nDisables SSL certificate verification.\n\n**Inputs:** none.  \n**Outputs:** none.\n\nA FlowStream can hold only one node of this component.\n\nDisables SSL verification.\n\n### querybuilderpg.html · version 1\n\nType: `component`\n\nOpens QueryBuilder connections to PostgreSQL databases for other components.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Alias. |\n| `name` | `String` | no | `API PostgreSQL` | Name. |\n| `url` | `String` | no |  | Connection string. |\n| `pooling` | `Number` | no | `2` | Pooling. |\n\n**Inputs:** none.  \n**Outputs:** `error` (Error).\n\nFlow installs the npm package `querybuilderpg` when you add the component.\n\nThe component initializes QueryBuilder for the PostgreSQL database. So you can use the 'API Database` component. Each connection must be separated by an alias.\n\n__Usage in API Database__:\n\n- `tbl_user` is targeted to the `default/tbl_user` alias connection\n- `anotherserver/tbl_user` will use `anotherserver` alias connection\n\n### tredirect.html · version 2\n\nType: `component`\n\nRedirects an HTTP request to another address.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Redirect URL. |\n| `permanent` | `Boolean` | no | `false` | Permanent redirect. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\n**Input**\n\nIncomming data have higher priority than the values set in the Configuration form. Both the `url` and `permanent` are optional.\n\n```js\n{\n\turl: 'https://example.com',\n\tpermanent: true|false\n}\n```\n\n### tremember.html · version 1\n\nType: `component`\n\nRemembers data and returns it on request.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Set remembered data to the specific property/field. |\n\n**Inputs:** `remember` (Remember), `request` (Request).  \n**Outputs:** `response` (Response).\n\nThe primary goal of this component is to remember the data. The component contains two inputs:\n\n- Remember input for remembering data.\n- Request input as a trigger for obtaining data, then remembered data would extend the request message (its data), and the component would send it to the response output.\n\n### tresponse.html · version 2\n\nType: `component`\n\nResponds to an HTTP request received by the Route component.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `auto` | Type. One of: `auto` (Auto), `json` (JSON), `success` (Success), `error` (Error), `empty` (Empty response), `plain` (Plain text), `html` (HTML), `xml` (XML), `buffer` (Buffer). |\n| `code` | `Number` | no | `200` | Status code. |\n| `path` | `String` | no | `response` | Path for reading value. |\n| `ctype` | `String` | no |  | Content type. |\n\n**Inputs:** `input` (Response).  \n**Outputs:** `output` (Log).\n\nThis component can respond to an HTTP request.\n\n### trestart.html · version 1\n\nType: `component`\n\nRestarts the current FlowStream.\n\n**Inputs:** `input` (Restart).  \n**Outputs:** none.\n\nThis component is in the repository, but not in the catalogue that the **Download components** window shows.\n\nThis component restarts the current FlowStream.\n\n### troute.html · version 3\n\nType: `component`\n\nRegisters an HTTP route and sends the request data to its output.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `/` | Relative URL address. |\n| `method` | `String` | no | `GET` | Method. One of: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `API`. |\n| `timeout` | `Number` | no | `5000` | Timeout. |\n| `limit` | `Number` | no | `5120` | Request limit (kB). |\n| `upload` | `Boolean` | no | `false` | Allow uploading files (form data). |\n| `user` | `Number` | no | `0` | Who can call the route. One of: `1` (Authorized), `2` (Unauthorized), `0` (Both). |\n| `send` | `String` | no | `all` | Send to output. One of: `all` (Everything), `payload` (Payload), `query` (Query arguments), `files` (Files), `params` (Dynamic params), `headers` (Headers), `cookies` (Cookies), `user` (User). |\n| `reader` | `String` | no | `-` | Read files to. One of: `-` (Keep as files), `buffer` (Buffer), `utf8` (UTF-8), `ascii` (ASCII), `datauri` (Data URI), `base64` (Base64), `hex` (Hex). |\n| `autoreply` | `String` | no |  | Auto-reply. One of: `success` (Success), `empty` (Empty response). |\n| `action` | `String` | no |  | API Action. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Request).\n\nThis component registers an HTTP Route and sends request data next. It stores `controller` instance in the `message.refs.controller` property. You must respond to the REST response component.\n\n__Output data__:\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number, data:Buffer|String }] // optional\n}\n```\n\n### tsql.html · version 1\n\nType: `component`\n\nRuns an SQL command on a PostgreSQL connection.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Connection. |\n| `sql` | `String` | no | `SELECT 1` | The SQL command. |\n| `first` | `Boolean` | no | `false` | Return only the first row. |\n| `path` | `String` | no |  | Assign data according to the path. |\n\n**Inputs:** `input` (Payload).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThe component executes SQL command on the specifi connection. This component depends on the `API PostgreSQL` component.\n\n### tuploadedfiles.html · version 1\n\nType: `component`\n\nProcesses the files uploaded through the Route component.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `action` | `String` | no | `read` | Action. One of: `read` (Read), `move` (Move). |\n| `path` | `String` | no | `/www/{name}{index}.{extension}` | Absolute path. |\n| `type` | `String` | no | `utf8` | Type. One of: `buffer` (Buffer), `utf8` (UTF-8), `base64` (BASE64), `hex` (Hex). |\n\n**Inputs:** `input` (Request).  \n**Outputs:** `file` (File), `done` (Done).\n\nThe component processes files from the Total.js Route component.\n\n### twebsocketroute.html · version 1\n\nType: `component`\n\nCreates a WebSocket endpoint.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `endpoint` | `String` | no | `/realtime/` | Endpoint. |\n| `type` | `String` | no | `json` | Communication. One of: `json` (JSON), `text` (Text), `binary` (Binary). |\n\n**Inputs:** `send` (Send), `init` (Initial message).  \n**Outputs:** `message` (Message).\n\nThis component creates a WebSocket endpoint. Initial message data is stored in the memory of new clients.\n\n- `message.data {Object}` data from a WebSocket message\n- `message.refs.client {Object}` contains a client controller\n- `message.refs.controller {Object}` contains a WebSocket controller\n","entries":[{"type":"component","name":"Action","signature":"taction.html · version 2","since":"","deprecated":false},{"type":"component","name":"API Creator","signature":"tapicreator.html · version 1","since":"","deprecated":false},{"type":"component","name":"API Router","signature":"tapirouter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Auth token","signature":"tauthtoken.html · version 1","since":"","deprecated":false},{"type":"component","name":"CORS","signature":"tcors.html · version 3","since":"","deprecated":false},{"type":"component","name":"Data schema","signature":"tschema.html · version 2","since":"","deprecated":false},{"type":"component","name":"Error","signature":"error.html · version 1","since":"","deprecated":false},{"type":"component","name":"Insecure SSL","signature":"insecuressl.html · version 1","since":"","deprecated":false},{"type":"component","name":"QueryBuilder PG","signature":"querybuilderpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Redirect","signature":"tredirect.html · version 2","since":"","deprecated":false},{"type":"component","name":"Remember","signature":"tremember.html · version 1","since":"","deprecated":false},{"type":"component","name":"Response","signature":"tresponse.html · version 2","since":"","deprecated":false},{"type":"component","name":"Restart","signature":"trestart.html · version 1","since":"","deprecated":false},{"type":"component","name":"Route","signature":"troute.html · version 3","since":"","deprecated":false},{"type":"component","name":"SQL query","signature":"tsql.html · version 1","since":"","deprecated":false},{"type":"component","name":"Uploaded files","signature":"tuploadedfiles.html · version 1","since":"","deprecated":false},{"type":"component","name":"WebSocket","signature":"twebsocketroute.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyUO3kE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/totaljs/","project":"flow","version":"11-1","section":"components","language":"de","title":"Total.js","summary":"Komponenten, die das Framework Total.js nutzen: HTTP-Routen, Antworten, Actions, Schemas und SQL.","markdown":"---\ntitle: Total.js\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/totaljs/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js\n\n> Komponenten, die das Framework Total.js nutzen: HTTP-Routen, Antworten, Actions, Schemas und SQL.\n\nKomponenten, die das Framework Total.js nutzen: HTTP-Routen, Antworten, Actions, Schemas und SQL. Diese Seite enthält die Katalog-Gruppe **Total.js**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### taction.html · version 2\n\nType: `component`\n\nFührt eine Total.js-Action aus: Sie prüft die eingehenden Daten mit einem Schema und verarbeitet sie mit deinem Code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `partial` | `Boolean` | no | `false` | Teildaten erlauben. |\n| `name` | `String` | no | `Unknown` | Name der Action. |\n| `input` | `String` | no |  | Schema des Payloads. |\n| `query` | `String` | no |  | Schema der Query-Argumente. |\n| `color` | `String` | no | `#68B25B` | Farbe. |\n| `params` | `String` | no |  | Schema der Parameter. |\n| `permissions` | `String` | no |  | Berechtigungen. |\n| `code` | `String` | no |  | Der JavaScript-Code der Action. |\n| `strerr` | `Boolean` | no | `false` | Fehler in einen String umwandeln. |\n| `path` | `String` | no | `response` | Pfad zum Speichern einer Antwort. |\n| `autoresponse` | `Boolean` | no | `false` | Automatische HTTP-Antwort. |\n\n**Eingänge:** `input` (Payload).\n**Ausgänge:** `output` (Response), `error` (Error).\n\nDiese Komponente bietet ähnliche Funktionen wie Total.js Actions.\n\n**Payload**\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\n**Eigenes Scripting**\n\n- unterstützt `await`\n- unterstützt die globalen Funktionen von Total.js\n\n__Eigenschaften__:\n\n- `$.model {Object}` oder `model` geparster Payload\n- `$.query {Object}` geparste Query-Argumente der URL\n- `$.params {Object}` geparste URL-Parameter\n- `$.cookies {Object}` geparste Cookies\n- `$.files [Object]` hochgeladene Dateien\n- `$.user {Object}` Benutzersitzung (optional)\n- `$.headers {Object}` Request-Header\n- `$.ip {String}` IP-Adresse (optional)\n- `$.language {String}` optional\n- `$.ua {String}` geparster User-Agent (optional)\n- `$.url {String}` URL-Endpunkt\n- `$.message {Object}` Instanz der Flow-Nachricht\n- `$.request {Object}` Payload-Daten der Flow-Nachricht\n\n__Methoden__:\n\n- `$.invalid(error)` antwortet mit einem Fehler und beendet die Action\n- `$.success([value])` antwortet mit dem Objekt `{ success: true, value }` und beendet die Action\n- `$.callback(value)` antwortet mit dem Objekt `value` und beendet die Action\n- `$.cancel()` beendet die Action ohne Antwort\n- `$.audit(message, [type])` schreibt einen Audit-Eintrag\n\n**Unterstützte Typen**\n\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` alle Wörter\n- `capitalize2` nur das erste Wort\n- `name` macht daraus einen Namen (schreibt Wörter groß und entfernt Sonderzeichen)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` bereitet einen String als Suchstring auf\n- `safestring` prüft auf XSS und SQL-Injections\n- `smallint`\n- `tinyint`\n- `{A|B|C}` Enum-Typ\n- `[type]` bedeutet Array\n- `{ name:String, age:Number }` bedeutet verschachteltes Objekt\n- `[ name:String, age:Number ]` bedeutet Array mit einem Objekt\n- `*something:type` ist ein `required`-Feld (Pflichtfeld)\n\n### tapicreator.html · version 1\n\nType: `component`\n\nErzeugt aus den eingehenden Daten einen Payload für Total.js API.\n\n**Eingänge:** `input` (Payload).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente erzeugt einen Payload für Total.js API.\n\nAusgabedaten__:\n\n```js\n{\n\tschema: 'input_name',\n\tdata: input_data\n}\n```\n\n### tapirouter.html · version 3\n\nType: `component`\n\nLeitet eingehende Total.js-API-Daten für jede Operation des API-Schemas an einen eigenen Ausgang weiter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `payload` | `Boolean` | no | `false` | Nur den Payload ohne Schema weitersenden. |\n\n**Eingänge:** `input` (Payload).\n**Ausgänge:** Sie ergeben sich aus den Einstellungen des Knotens.\n\nDiese Komponente leitet eingehende Total.js-API-Daten gemäß dem definierten API-Schema weiter. Die Komponente ergänzt die Eingabedaten (query, payload und params) um die geparsten Daten.\n\n__Eingabe- und Ausgabedaten__:\n\n```js\n{\n\t// REQUIRED payload:\n\tpayload: {\n\t\tschema: 'schema_name/{param_1}/{param_2}?query=arguments',\n\t\tdata: {} // optional, request payload\n\t},\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed UA\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\nIm Fall von `error` werden die Eingabedaten um die Eigenschaft `response` mit einem Fehler ergänzt.\n\n### tauthtoken.html · version 1\n\nType: `component`\n\nVergleicht ein Token aus dem Request-Header mit dem Token in ihrer Konfiguration.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token. |\n| `code` | `Number` | no | `401` | Statuscode. |\n| `header` | `String` | no | `x-token` | Header. |\n| `error` | `String` | no | `Unauthorized` | Fehlermeldung. |\n| `ddos` | `Number` | no | `0` | DDoS-Schutz. |\n\n**Eingänge:** `input` (Request).\n**Ausgänge:** `output` (Request).\n\nDiese Komponente darf nur zusammen mit der Komponente REST Route verwendet werden. Sie liest ein Token aus dem Request-Header und vergleicht es mit dem Token aus der Konfiguration.\n\n### tcors.html · version 3\n\nType: `component`\n\nAktiviert Cross-Origin Resource Sharing (CORS) für die Routen des FlowStreams.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `hostnames` | `Array` | no | `[]` | Hostnamen mit Protokoll. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nDie Komponente aktiviert Cross-Origin Resource Sharing `CORS`, damit der Webbrowser direkt mit der REST-API kommunizieren kann. Das funktioniert nur mit einem definierten Proxy-Endpunkt für diesen Flow.\n\n### tschema.html · version 2\n\nType: `component`\n\nPrüft eingehende Daten anhand eines Datenschemas.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no | `*name:String, *email:Email` | Schema. |\n| `partial` | `Boolean` | no | `false` | Teildaten erlauben. |\n| `strerr` | `Boolean` | no | `false` | Fehler in einen String umwandeln. |\n\n**Eingänge:** `input` (Payload).\n**Ausgänge:** `output` (Response), `error` (Error).\n\nDiese Komponente ist im Repository, aber nicht im Katalog, den das Fenster **Download components** anzeigt.\n\nDie Komponente `Schema` kann eingehende Daten sehr schnell anhand des definierten Schemas prüfen.\n\n__Unterstützte Typen__:\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` alle Wörter\n- `capitalize2` nur das erste Wort\n- `name` macht daraus einen Namen (schreibt Wörter groß und entfernt Sonderzeichen)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` bereitet einen String als Suchstring auf\n- `safestring` prüft auf XSS und SQL-Injections\n- `smallint`\n- `tinyint`\n- `{A|B|C}` Enum-Typ\n- `[type]` bedeutet Array\n- `*something:type` ist ein `required`-Feld (Pflichtfeld)\n\n### error.html · version 1\n\nType: `component`\n\nWandelt eingehende Daten in die Fehlerstruktur von Total.js um.\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente wandelt eingehende Daten in die Error-Struktur von Total.js um.\n\n### insecuressl.html · version 1\n\nType: `component`\n\nSchaltet die Prüfung von SSL-Zertifikaten aus.\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nSchaltet die SSL-Prüfung aus.\n\n### querybuilderpg.html · version 1\n\nType: `component`\n\nÖffnet QueryBuilder-Verbindungen zu PostgreSQL-Datenbanken für andere Komponenten.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Alias. |\n| `name` | `String` | no | `API PostgreSQL` | Name. |\n| `url` | `String` | no |  | Verbindungszeichenfolge. |\n| `pooling` | `Number` | no | `2` | Pooling. |\n\n**Eingänge:** keine.\n**Ausgänge:** `error` (Error).\n\nFlow installiert das npm-Paket `querybuilderpg`, wenn du die Komponente hinzufügst.\n\nDie Komponente initialisiert QueryBuilder für die PostgreSQL-Datenbank. So kannst du die Komponente 'API Database` verwenden. Jede Verbindung muss durch einen Alias getrennt sein.\n\n__Verwendung in API Database__:\n\n- `tbl_user` zielt auf die Verbindung mit dem Alias `default/tbl_user`\n- `anotherserver/tbl_user` nutzt die Verbindung mit dem Alias `anotherserver`\n\n### tredirect.html · version 2\n\nType: `component`\n\nLeitet eine HTTP-Anfrage an eine andere Adresse weiter.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Weiterleitungs-URL. |\n| `permanent` | `Boolean` | no | `false` | Dauerhafte Weiterleitung. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\n**Eingabe**\n\nEingehende Daten haben Vorrang vor den Werten aus dem Konfigurationsformular. Sowohl `url` als auch `permanent` sind optional.\n\n```js\n{\n\turl: 'https://example.com',\n\tpermanent: true|false\n}\n```\n\n### tremember.html · version 1\n\nType: `component`\n\nMerkt sich Daten und gibt sie auf Anfrage zurück.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Gemerkte Daten in eine bestimmte Eigenschaft bzw. ein bestimmtes Feld schreiben. |\n\n**Eingänge:** `remember` (Remember), `request` (Request).\n**Ausgänge:** `response` (Response).\n\nDie Hauptaufgabe dieser Komponente ist es, sich Daten zu merken. Die Komponente hat zwei Eingänge:\n\n- Der Eingang Remember merkt sich Daten.\n- Der Eingang Request dient als Auslöser, um die Daten abzurufen: Die gemerkten Daten ergänzen dann die Request-Nachricht (ihre Daten), und die Komponente sendet sie an den Ausgang Response.\n\n### tresponse.html · version 2\n\nType: `component`\n\nAntwortet auf eine HTTP-Anfrage, die die Komponente Route empfangen hat.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `auto` | Typ. Einer von: `auto` (Auto), `json` (JSON), `success` (Success), `error` (Error), `empty` (Empty response), `plain` (Plain text), `html` (HTML), `xml` (XML), `buffer` (Buffer). |\n| `code` | `Number` | no | `200` | Statuscode. |\n| `path` | `String` | no | `response` | Pfad zum Lesen des Werts. |\n| `ctype` | `String` | no |  | Content-Type. |\n\n**Eingänge:** `input` (Response).\n**Ausgänge:** `output` (Log).\n\nDiese Komponente kann auf eine HTTP-Anfrage antworten.\n\n### trestart.html · version 1\n\nType: `component`\n\nStartet den aktuellen FlowStream neu.\n\n**Eingänge:** `input` (Restart).\n**Ausgänge:** keine.\n\nDiese Komponente ist im Repository, aber nicht im Katalog, den das Fenster **Download components** anzeigt.\n\nDiese Komponente startet den aktuellen FlowStream neu.\n\n### troute.html · version 3\n\nType: `component`\n\nRegistriert eine HTTP-Route und sendet die Daten der Anfrage an ihren Ausgang.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `/` | Relative URL-Adresse. |\n| `method` | `String` | no | `GET` | Methode. Eine von: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `API`. |\n| `timeout` | `Number` | no | `5000` | Timeout. |\n| `limit` | `Number` | no | `5120` | Größenlimit der Anfrage (kB). |\n| `upload` | `Boolean` | no | `false` | Hochladen von Dateien erlauben (Formulardaten). |\n| `user` | `Number` | no | `0` | Wer die Route aufrufen darf. Einer von: `1` (Authorized), `2` (Unauthorized), `0` (Both). |\n| `send` | `String` | no | `all` | An den Ausgang senden. Eines von: `all` (Everything), `payload` (Payload), `query` (Query arguments), `files` (Files), `params` (Dynamic params), `headers` (Headers), `cookies` (Cookies), `user` (User). |\n| `reader` | `String` | no | `-` | Dateien lesen als. Eines von: `-` (Keep as files), `buffer` (Buffer), `utf8` (UTF-8), `ascii` (ASCII), `datauri` (Data URI), `base64` (Base64), `hex` (Hex). |\n| `autoreply` | `String` | no |  | Automatische Antwort. Eine von: `success` (Success), `empty` (Empty response). |\n| `action` | `String` | no |  | API-Action. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Request).\n\nDiese Komponente registriert eine HTTP-Route und sendet die Daten der Anfrage weiter. Sie speichert die Instanz von `controller` in der Eigenschaft `message.refs.controller`. Du musst über die Komponente REST Response antworten.\n\n__Ausgabedaten__:\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number, data:Buffer|String }] // optional\n}\n```\n\n### tsql.html · version 1\n\nType: `component`\n\nFührt einen SQL-Befehl auf einer PostgreSQL-Verbindung aus.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Verbindung. |\n| `sql` | `String` | no | `SELECT 1` | Der SQL-Befehl. |\n| `first` | `Boolean` | no | `false` | Nur die erste Zeile zurückgeben. |\n| `path` | `String` | no |  | Daten gemäß dem Pfad zuweisen. |\n\n**Eingänge:** `input` (Payload).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDie Komponente führt einen SQL-Befehl auf der jeweiligen Verbindung aus. Sie braucht die Komponente `API PostgreSQL`.\n\n### tuploadedfiles.html · version 1\n\nType: `component`\n\nVerarbeitet die Dateien, die über die Komponente Route hochgeladen wurden.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `action` | `String` | no | `read` | Aktion. Eine von: `read` (Read), `move` (Move). |\n| `path` | `String` | no | `/www/{name}{index}.{extension}` | Absoluter Pfad. |\n| `type` | `String` | no | `utf8` | Typ. Einer von: `buffer` (Buffer), `utf8` (UTF-8), `base64` (BASE64), `hex` (Hex). |\n\n**Eingänge:** `input` (Request).\n**Ausgänge:** `file` (File), `done` (Done).\n\nDie Komponente verarbeitet Dateien aus der Komponente Total.js Route.\n\n### twebsocketroute.html · version 1\n\nType: `component`\n\nErstellt einen WebSocket-Endpunkt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `endpoint` | `String` | no | `/realtime/` | Endpunkt. |\n| `type` | `String` | no | `json` | Kommunikation. Eine von: `json` (JSON), `text` (Text), `binary` (Binary). |\n\n**Eingänge:** `send` (Send), `init` (Initial message).\n**Ausgänge:** `message` (Message).\n\nDiese Komponente erstellt einen WebSocket-Endpunkt. Die Daten der ersten Nachricht werden im Speicher neuer Clients abgelegt.\n\n- `message.data {Object}` Daten aus einer WebSocket-Nachricht\n- `message.refs.client {Object}` enthält einen Client-Controller\n- `message.refs.controller {Object}` enthält einen WebSocket-Controller\n","entries":[{"type":"component","name":"Action","signature":"taction.html · version 2","since":"","deprecated":false},{"type":"component","name":"API Creator","signature":"tapicreator.html · version 1","since":"","deprecated":false},{"type":"component","name":"API Router","signature":"tapirouter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Auth token","signature":"tauthtoken.html · version 1","since":"","deprecated":false},{"type":"component","name":"CORS","signature":"tcors.html · version 3","since":"","deprecated":false},{"type":"component","name":"Data schema","signature":"tschema.html · version 2","since":"","deprecated":false},{"type":"component","name":"Error","signature":"error.html · version 1","since":"","deprecated":false},{"type":"component","name":"Insecure SSL","signature":"insecuressl.html · version 1","since":"","deprecated":false},{"type":"component","name":"QueryBuilder PG","signature":"querybuilderpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Redirect","signature":"tredirect.html · version 2","since":"","deprecated":false},{"type":"component","name":"Remember","signature":"tremember.html · version 1","since":"","deprecated":false},{"type":"component","name":"Response","signature":"tresponse.html · version 2","since":"","deprecated":false},{"type":"component","name":"Restart","signature":"trestart.html · version 1","since":"","deprecated":false},{"type":"component","name":"Route","signature":"troute.html · version 3","since":"","deprecated":false},{"type":"component","name":"SQL query","signature":"tsql.html · version 1","since":"","deprecated":false},{"type":"component","name":"Uploaded files","signature":"tuploadedfiles.html · version 1","since":"","deprecated":false},{"type":"component","name":"WebSocket","signature":"twebsocketroute.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyUO3kE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/totaljs/","project":"flow","version":"11-1","section":"components","language":"es","title":"Total.js","summary":"Componentes que usan el framework Total.js: rutas HTTP, respuestas, acciones, esquemas y SQL.","markdown":"---\ntitle: Total.js\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/totaljs/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js\n\n> Componentes que usan el framework Total.js: rutas HTTP, respuestas, acciones, esquemas y SQL.\n\nComponentes que usan el framework Total.js: rutas HTTP, respuestas, acciones, esquemas y SQL. Esta página contiene el grupo **Total.js** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### taction.html · version 2\n\nType: `component`\n\nEjecuta una acción de Total.js: valida los datos entrantes con un esquema y los procesa con tu código.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `partial` | `Boolean` | no | `false` | Permitir datos parciales. |\n| `name` | `String` | no | `Unknown` | Nombre de la acción. |\n| `input` | `String` | no |  | Esquema del payload. |\n| `query` | `String` | no |  | Esquema de los argumentos de la consulta. |\n| `color` | `String` | no | `#68B25B` | Color. |\n| `params` | `String` | no |  | Esquema de los parámetros. |\n| `permissions` | `String` | no |  | Permisos. |\n| `code` | `String` | no |  | El código JavaScript de la acción. |\n| `strerr` | `Boolean` | no | `false` | Convertir los errores en cadena. |\n| `path` | `String` | no | `response` | Ruta para guardar la respuesta. |\n| `autoresponse` | `Boolean` | no | `false` | Respuesta HTTP automática. |\n\n**Entradas:** `input` (Payload).\n**Salidas:** `output` (Response), `error` (Error).\n\nEste componente ofrece una funcionalidad parecida a las acciones de Total.js.\n\n**Payload**\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\n**Scripts personalizados**\n\n- admite `await`\n- admite las funciones globales de Total.js\n\n__Propiedades__:\n\n- `$.model {Object}` o `model` payload analizado\n- `$.query {Object}` argumentos de la consulta de la URL analizados\n- `$.params {Object}` parámetros de la URL analizados\n- `$.cookies {Object}` cookies analizadas\n- `$.files [Object]` archivos subidos\n- `$.user {Object}` sesión del usuario (opcional)\n- `$.headers {Object}` cabeceras de la petición\n- `$.ip {String}` dirección IP (opcional)\n- `$.language {String}` opcional\n- `$.ua {String}` user agent analizado (opcional)\n- `$.url {String}` endpoint de la URL\n- `$.message {Object}` instancia del mensaje de Flow\n- `$.request {Object}` datos del payload del mensaje de Flow\n\n__Métodos__:\n\n- `$.invalid(error)` responde con un error y termina la acción\n- `$.success([value])` responde con el objeto `{ success: true, value }` y termina la acción\n- `$.callback(value)` responde con el objeto `value` y termina la acción\n- `$.cancel()` termina la acción sin respuesta\n- `$.audit(message, [type])` escribe una auditoría\n\n**Tipos admitidos**\n\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` todas las palabras\n- `capitalize2` solo la primera palabra\n- `name` crea un nombre (pone en mayúscula las palabras y quita los caracteres especiales)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prepara la cadena como cadena de búsqueda\n- `safestring` comprueba XSS e inyecciones SQL\n- `smallint`\n- `tinyint`\n- `{A|B|C}` tipo enum\n- `[type]` significa array\n- `{ name:String, age:Number }` significa objeto anidado\n- `[ name:String, age:Number ]` significa array con un objeto\n- `*something:type` es un campo `required` (obligatorio)\n\n### tapicreator.html · version 1\n\nType: `component`\n\nCrea un payload de Total.js API a partir de los datos entrantes.\n\n**Entradas:** `input` (Payload).\n**Salidas:** `output` (Output).\n\nEste componente crea un payload de Total.js API.\n\nDatos de salida__:\n\n```js\n{\n\tschema: 'input_name',\n\tdata: input_data\n}\n```\n\n### tapirouter.html · version 3\n\nType: `component`\n\nEnvía los datos entrantes de Total.js API a una salida por cada operación del esquema de la API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `payload` | `Boolean` | no | `false` | Enviar solo el payload, sin el esquema. |\n\n**Entradas:** `input` (Payload).\n**Salidas:** vienen de los ajustes del nodo.\n\nEste componente enruta los datos entrantes de Total.js API según el esquema de API definido. Amplía los datos de entrada (query, payload y params) con los datos analizados.\n\n__Datos de entrada y salida__:\n\n```js\n{\n\t// REQUIRED payload:\n\tpayload: {\n\t\tschema: 'schema_name/{param_1}/{param_2}?query=arguments',\n\t\tdata: {} // optional, request payload\n\t},\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed UA\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\nEn caso de `error`, los datos de entrada se amplían con la propiedad `response`, que contiene el error.\n\n### tauthtoken.html · version 1\n\nType: `component`\n\nCompara un token de la cabecera de la petición con el token de su configuración.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token. |\n| `code` | `Number` | no | `401` | Código de estado. |\n| `header` | `String` | no | `x-token` | Cabecera. |\n| `error` | `String` | no | `Unauthorized` | Mensaje de error. |\n| `ddos` | `Number` | no | `0` | Protección DDOS. |\n\n**Entradas:** `input` (Request).\n**Salidas:** `output` (Request).\n\nEste componente solo debe usarse con el componente REST Route. Lee un token de la cabecera de la petición y lo compara con el token declarado en la configuración.\n\n### tcors.html · version 3\n\nType: `component`\n\nActiva Cross-Origin Resource Sharing (CORS) para las rutas del FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `hostnames` | `Array` | no | `[]` | Nombres de host con protocolo. |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nEl componente activa Cross-Origin Resource Sharing `CORS`, para que el navegador web pueda comunicarse directamente con la API REST. Esta funcionalidad solo funciona si hay un endpoint de Proxy definido para este Flow.\n\n### tschema.html · version 2\n\nType: `component`\n\nComprueba los datos entrantes con un esquema de datos.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no | `*name:String, *email:Email` | Esquema. |\n| `partial` | `Boolean` | no | `false` | Permitir datos parciales. |\n| `strerr` | `Boolean` | no | `false` | Convertir los errores en cadena. |\n\n**Entradas:** `input` (Payload).\n**Salidas:** `output` (Response), `error` (Error).\n\nEste componente está en el repositorio, pero no en el catálogo que muestra la ventana **Download components**.\n\nEl componente `Schema` puede comprobar muy rápido los datos entrantes según el esquema definido.\n\n__Tipos admitidos__:\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` todas las palabras\n- `capitalize2` solo la primera palabra\n- `name` crea un nombre (pone en mayúscula las palabras y quita los caracteres especiales)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prepara la cadena como cadena de búsqueda\n- `safestring` comprueba XSS e inyecciones SQL\n- `smallint`\n- `tinyint`\n- `{A|B|C}` tipo enum\n- `[type]` significa array\n- `*something:type` es un campo `required` (obligatorio)\n\n### error.html · version 1\n\nType: `component`\n\nConvierte los datos entrantes en la estructura de error de Total.js.\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente transforma los datos entrantes en la estructura Error de Total.js.\n\n### insecuressl.html · version 1\n\nType: `component`\n\nDesactiva la verificación de los certificados SSL.\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nDesactiva la verificación SSL.\n\n### querybuilderpg.html · version 1\n\nType: `component`\n\nAbre conexiones de QueryBuilder a bases de datos PostgreSQL para otros componentes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Alias. |\n| `name` | `String` | no | `API PostgreSQL` | Nombre. |\n| `url` | `String` | no |  | Cadena de conexión. |\n| `pooling` | `Number` | no | `2` | Pool de conexiones. |\n\n**Entradas:** ninguna.\n**Salidas:** `error` (Error).\n\nFlow instala el paquete npm `querybuilderpg` cuando añades el componente.\n\nEl componente inicializa QueryBuilder para la base de datos PostgreSQL. Así puedes usar el componente 'API Database`. Cada conexión debe ir separada por un alias.\n\n__Uso en API Database__:\n\n- `tbl_user` se dirige a la conexión con el alias `default/tbl_user`\n- `anotherserver/tbl_user` usará la conexión con el alias `anotherserver`\n\n### tredirect.html · version 2\n\nType: `component`\n\nRedirige una petición HTTP a otra dirección.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL de redirección. |\n| `permanent` | `Boolean` | no | `false` | Redirección permanente. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\n**Entrada**\n\nLos datos entrantes tienen más prioridad que los valores del formulario de configuración. Tanto `url` como `permanent` son opcionales.\n\n```js\n{\n\turl: 'https://example.com',\n\tpermanent: true|false\n}\n```\n\n### tremember.html · version 1\n\nType: `component`\n\nRecuerda datos y los devuelve cuando se le piden.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Poner los datos recordados en la propiedad/campo indicado. |\n\n**Entradas:** `remember` (Remember), `request` (Request).\n**Salidas:** `response` (Response).\n\nEl objetivo principal de este componente es recordar los datos. Tiene dos entradas:\n\n- La entrada Remember, para recordar datos.\n- La entrada Request, como disparador para obtener los datos: los datos recordados amplían el mensaje de la petición (sus datos) y el componente lo envía a la salida Response.\n\n### tresponse.html · version 2\n\nType: `component`\n\nResponde a una petición HTTP recibida por el componente Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `auto` | Tipo. Uno de: `auto` (Auto), `json` (JSON), `success` (Success), `error` (Error), `empty` (Empty response), `plain` (Plain text), `html` (HTML), `xml` (XML), `buffer` (Buffer). |\n| `code` | `Number` | no | `200` | Código de estado. |\n| `path` | `String` | no | `response` | Ruta para leer el valor. |\n| `ctype` | `String` | no |  | Tipo de contenido. |\n\n**Entradas:** `input` (Response).\n**Salidas:** `output` (Log).\n\nEste componente puede responder a una petición HTTP.\n\n### trestart.html · version 1\n\nType: `component`\n\nReinicia el FlowStream actual.\n\n**Entradas:** `input` (Restart).\n**Salidas:** ninguna.\n\nEste componente está en el repositorio, pero no en el catálogo que muestra la ventana **Download components**.\n\nEste componente reinicia el FlowStream actual.\n\n### troute.html · version 3\n\nType: `component`\n\nRegistra una ruta HTTP y envía los datos de la petición a su salida.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `/` | Dirección URL relativa. |\n| `method` | `String` | no | `GET` | Método. Uno de: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `API`. |\n| `timeout` | `Number` | no | `5000` | Tiempo de espera. |\n| `limit` | `Number` | no | `5120` | Límite de la petición (kB). |\n| `upload` | `Boolean` | no | `false` | Permitir subir archivos (form data). |\n| `user` | `Number` | no | `0` | Quién puede llamar a la ruta. Uno de: `1` (Authorized), `2` (Unauthorized), `0` (Both). |\n| `send` | `String` | no | `all` | Enviar a la salida. Uno de: `all` (Everything), `payload` (Payload), `query` (Query arguments), `files` (Files), `params` (Dynamic params), `headers` (Headers), `cookies` (Cookies), `user` (User). |\n| `reader` | `String` | no | `-` | Leer los archivos como. Uno de: `-` (Keep as files), `buffer` (Buffer), `utf8` (UTF-8), `ascii` (ASCII), `datauri` (Data URI), `base64` (Base64), `hex` (Hex). |\n| `autoreply` | `String` | no |  | Respuesta automática. Una de: `success` (Success), `empty` (Empty response). |\n| `action` | `String` | no |  | Acción de API. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Request).\n\nEste componente registra una ruta HTTP y envía los datos de la petición. Guarda la instancia de `controller` en la propiedad `message.refs.controller`. Debes responder con el componente REST response.\n\n__Datos de salida__:\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number, data:Buffer|String }] // optional\n}\n```\n\n### tsql.html · version 1\n\nType: `component`\n\nEjecuta un comando SQL en una conexión PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Conexión. |\n| `sql` | `String` | no | `SELECT 1` | El comando SQL. |\n| `first` | `Boolean` | no | `false` | Devolver solo la primera fila. |\n| `path` | `String` | no |  | Asignar los datos según la ruta. |\n\n**Entradas:** `input` (Payload).\n**Salidas:** `output` (Output), `error` (Error).\n\nEl componente ejecuta el comando SQL en la conexión indicada. Depende del componente `API PostgreSQL`.\n\n### tuploadedfiles.html · version 1\n\nType: `component`\n\nProcesa los archivos subidos a través del componente Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `action` | `String` | no | `read` | Acción. Una de: `read` (Read), `move` (Move). |\n| `path` | `String` | no | `/www/{name}{index}.{extension}` | Ruta absoluta. |\n| `type` | `String` | no | `utf8` | Tipo. Uno de: `buffer` (Buffer), `utf8` (UTF-8), `base64` (BASE64), `hex` (Hex). |\n\n**Entradas:** `input` (Request).\n**Salidas:** `file` (File), `done` (Done).\n\nEl componente procesa los archivos del componente Route de Total.js.\n\n### twebsocketroute.html · version 1\n\nType: `component`\n\nCrea un endpoint WebSocket.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `endpoint` | `String` | no | `/realtime/` | Endpoint. |\n| `type` | `String` | no | `json` | Comunicación. Una de: `json` (JSON), `text` (Text), `binary` (Binary). |\n\n**Entradas:** `send` (Send), `init` (Initial message).\n**Salidas:** `message` (Message).\n\nEste componente crea un endpoint WebSocket. Los datos del mensaje inicial se guardan en la memoria de los clientes nuevos.\n\n- `message.data {Object}` datos de un mensaje WebSocket\n- `message.refs.client {Object}` contiene un controlador de cliente\n- `message.refs.controller {Object}` contiene un controlador WebSocket\n","entries":[{"type":"component","name":"Action","signature":"taction.html · version 2","since":"","deprecated":false},{"type":"component","name":"API Creator","signature":"tapicreator.html · version 1","since":"","deprecated":false},{"type":"component","name":"API Router","signature":"tapirouter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Auth token","signature":"tauthtoken.html · version 1","since":"","deprecated":false},{"type":"component","name":"CORS","signature":"tcors.html · version 3","since":"","deprecated":false},{"type":"component","name":"Data schema","signature":"tschema.html · version 2","since":"","deprecated":false},{"type":"component","name":"Error","signature":"error.html · version 1","since":"","deprecated":false},{"type":"component","name":"Insecure SSL","signature":"insecuressl.html · version 1","since":"","deprecated":false},{"type":"component","name":"QueryBuilder PG","signature":"querybuilderpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Redirect","signature":"tredirect.html · version 2","since":"","deprecated":false},{"type":"component","name":"Remember","signature":"tremember.html · version 1","since":"","deprecated":false},{"type":"component","name":"Response","signature":"tresponse.html · version 2","since":"","deprecated":false},{"type":"component","name":"Restart","signature":"trestart.html · version 1","since":"","deprecated":false},{"type":"component","name":"Route","signature":"troute.html · version 3","since":"","deprecated":false},{"type":"component","name":"SQL query","signature":"tsql.html · version 1","since":"","deprecated":false},{"type":"component","name":"Uploaded files","signature":"tuploadedfiles.html · version 1","since":"","deprecated":false},{"type":"component","name":"WebSocket","signature":"twebsocketroute.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyUO3kE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/totaljs/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Total.js","summary":"Composants qui utilisent le framework Total.js : routes HTTP, réponses, actions, schémas et SQL.","markdown":"---\ntitle: Total.js\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/totaljs/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js\n\n> Composants qui utilisent le framework Total.js : routes HTTP, réponses, actions, schémas et SQL.\n\nComposants qui utilisent le framework Total.js : routes HTTP, réponses, actions, schémas et SQL. Cette page contient le groupe du catalogue **Total.js**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### taction.html · version 2\n\nType: `component`\n\nExécute une action Total.js : elle valide les données entrantes avec un schéma et les traite avec ton code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `partial` | `Boolean` | no | `false` | Autoriser les données partielles. |\n| `name` | `String` | no | `Unknown` | Nom de l’action. |\n| `input` | `String` | no |  | Schéma du payload. |\n| `query` | `String` | no |  | Schéma des arguments de requête. |\n| `color` | `String` | no | `#68B25B` | Couleur. |\n| `params` | `String` | no |  | Schéma des paramètres. |\n| `permissions` | `String` | no |  | Permissions. |\n| `code` | `String` | no |  | Le code JavaScript de l’action. |\n| `strerr` | `Boolean` | no | `false` | Convertir les erreurs en chaîne. |\n| `path` | `String` | no | `response` | Chemin où stocker la réponse. |\n| `autoresponse` | `Boolean` | no | `false` | Réponse HTTP automatique. |\n\n**Entrées :** `input` (Payload).  \n**Sorties :** `output` (Response), `error` (Error).\n\nCe composant offre une fonctionnalité semblable aux actions Total.js.\n\n**Payload**\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\n**Scripts personnalisés**\n\n- prend en charge `await`\n- prend en charge les fonctions globales de Total.js\n\n__Propriétés__ :\n\n- `$.model {Object}` ou `model` payload analysé\n- `$.query {Object}` arguments de la query string de l’URL analysés\n- `$.params {Object}` paramètres de l’URL analysés\n- `$.cookies {Object}` cookies analysés\n- `$.files [Object]` fichiers envoyés\n- `$.user {Object}` session de l’utilisateur (facultatif)\n- `$.headers {Object}` en-têtes de la requête\n- `$.ip {String}` adresse IP (facultatif)\n- `$.language {String}` facultatif\n- `$.ua {String}` user agent analysé (facultatif)\n- `$.url {String}` endpoint de l’URL\n- `$.message {Object}` instance du message Flow\n- `$.request {Object}` données du payload du message Flow\n\n__Méthodes__ :\n\n- `$.invalid(error)` répond avec une erreur et termine l’action\n- `$.success([value])` répond avec l’objet `{ success: true, value }` et termine l’action\n- `$.callback(value)` répond avec l’objet `value` et termine l’action\n- `$.cancel()` termine l’action sans réponse\n- `$.audit(message, [type])` écrit un audit\n\n**Types pris en charge**\n\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` tous les mots\n- `capitalize2` seulement le premier mot\n- `name` crée un nom (met une majuscule aux mots et supprime les caractères spéciaux)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prépare une chaîne pour la recherche\n- `safestring` vérifie les injections XSS et SQL\n- `smallint`\n- `tinyint`\n- `{A|B|C}` type énuméré\n- `[type]` signifie un tableau\n- `{ name:String, age:Number }` signifie un objet imbriqué\n- `[ name:String, age:Number ]` signifie un tableau avec un objet\n- `*something:type` est un champ `required` (obligatoire)\n\n### tapicreator.html · version 1\n\nType: `component`\n\nCrée un payload Total.js API à partir des données entrantes.\n\n**Entrées :** `input` (Payload).  \n**Sorties :** `output` (Output).\n\nCe composant crée un payload Total.js API.\n\nDonnées de sortie__ :\n\n```js\n{\n\tschema: 'input_name',\n\tdata: input_data\n}\n```\n\n### tapirouter.html · version 3\n\nType: `component`\n\nEnvoie les données Total.js API entrantes vers une sortie pour chaque opération du schéma d’API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `payload` | `Boolean` | no | `false` | Envoyer plus loin seulement le payload, sans le schéma. |\n\n**Entrées :** `input` (Payload).  \n**Sorties :** elles viennent des paramètres du nœud.\n\nCe composant aiguille les données Total.js API entrantes selon le schéma d’API défini. Il complète les données d’entrée (query, payload et params) avec les données analysées.\n\n__Données d’entrée et de sortie__ :\n\n```js\n{\n\t// REQUIRED payload:\n\tpayload: {\n\t\tschema: 'schema_name/{param_1}/{param_2}?query=arguments',\n\t\tdata: {} // optional, request payload\n\t},\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed UA\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\nEn cas d’`error`, les données d’entrée sont complétées par la propriété `response` contenant l’erreur.\n\n### tauthtoken.html · version 1\n\nType: `component`\n\nCompare un jeton de l’en-tête de la requête avec le jeton de sa configuration.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton. |\n| `code` | `Number` | no | `401` | Code de statut. |\n| `header` | `String` | no | `x-token` | En-tête. |\n| `error` | `String` | no | `Unauthorized` | Message d’erreur. |\n| `ddos` | `Number` | no | `0` | Protection DDOS. |\n\n**Entrées :** `input` (Request).  \n**Sorties :** `output` (Request).\n\nCe composant ne doit être utilisé qu’avec le composant REST Route. Il lit un jeton dans l’en-tête de la requête et le compare avec le jeton déclaré dans la configuration.\n\n### tcors.html · version 3\n\nType: `component`\n\nActive le Cross-Origin Resource Sharing (CORS) pour les routes du FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `hostnames` | `Array` | no | `[]` | Noms d’hôte avec un protocole. |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nLe composant active le Cross-Origin Resource Sharing `CORS`, pour que le navigateur web puisse communiquer directement avec la REST API. Cela ne fonctionne qu’avec un endpoint Proxy défini pour ce Flow.\n\n### tschema.html · version 2\n\nType: `component`\n\nVérifie les données entrantes selon un schéma de données.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no | `*name:String, *email:Email` | Schéma. |\n| `partial` | `Boolean` | no | `false` | Autoriser les données partielles. |\n| `strerr` | `Boolean` | no | `false` | Convertir les erreurs en chaîne. |\n\n**Entrées :** `input` (Payload).  \n**Sorties :** `output` (Response), `error` (Error).\n\nCe composant se trouve dans le dépôt, mais pas dans le catalogue qu’affiche la fenêtre **Download components**.\n\nLe composant `Schema` peut vérifier très rapidement les données entrantes selon le schéma défini.\n\n__Types pris en charge__ :\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` tous les mots\n- `capitalize2` seulement le premier mot\n- `name` crée un nom (met une majuscule aux mots et supprime les caractères spéciaux)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prépare une chaîne pour la recherche\n- `safestring` vérifie les injections XSS et SQL\n- `smallint`\n- `tinyint`\n- `{A|B|C}` type énuméré\n- `[type]` signifie un tableau\n- `*something:type` est un champ `required` (obligatoire)\n\n### error.html · version 1\n\nType: `component`\n\nTransforme les données entrantes en structure d’erreur Total.js.\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant transforme les données entrantes en structure Error de Total.js.\n\n### insecuressl.html · version 1\n\nType: `component`\n\nDésactive la vérification des certificats SSL.\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nDésactive la vérification SSL.\n\n### querybuilderpg.html · version 1\n\nType: `component`\n\nOuvre des connexions QueryBuilder vers des bases de données PostgreSQL pour les autres composants.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Alias. |\n| `name` | `String` | no | `API PostgreSQL` | Nom. |\n| `url` | `String` | no |  | Chaîne de connexion. |\n| `pooling` | `Number` | no | `2` | Pooling. |\n\n**Entrées :** aucune.  \n**Sorties :** `error` (Error).\n\nFlow installe le paquet npm `querybuilderpg` quand tu ajoutes le composant.\n\nLe composant initialise QueryBuilder pour la base de données PostgreSQL. Tu peux ainsi utiliser le composant 'API Database`. Chaque connexion doit être identifiée par un alias.\n\n__Utilisation dans API Database__ :\n\n- `tbl_user` cible la connexion d’alias `default/tbl_user`\n- `anotherserver/tbl_user` utilise la connexion d’alias `anotherserver`\n\n### tredirect.html · version 2\n\nType: `component`\n\nRedirige une requête HTTP vers une autre adresse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL de redirection. |\n| `permanent` | `Boolean` | no | `false` | Redirection permanente. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\n**Entrée**\n\nLes données entrantes ont une priorité plus haute que les valeurs définies dans le formulaire de configuration. `url` et `permanent` sont tous deux facultatifs.\n\n```js\n{\n\turl: 'https://example.com',\n\tpermanent: true|false\n}\n```\n\n### tremember.html · version 1\n\nType: `component`\n\nMémorise des données et les renvoie à la demande.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Placer les données mémorisées dans la propriété/le champ indiqué. |\n\n**Entrées :** `remember` (Remember), `request` (Request).  \n**Sorties :** `response` (Response).\n\nLe but principal de ce composant est de mémoriser des données. Le composant a deux entrées :\n\n- L’entrée Remember pour mémoriser des données.\n- L’entrée Request comme déclencheur pour obtenir les données : les données mémorisées complètent alors le message de la requête (ses données), et le composant l’envoie vers la sortie response.\n\n### tresponse.html · version 2\n\nType: `component`\n\nRépond à une requête HTTP reçue par le composant Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `auto` | Type. Valeurs possibles : `auto` (Auto), `json` (JSON), `success` (Success), `error` (Error), `empty` (Empty response), `plain` (Plain text), `html` (HTML), `xml` (XML), `buffer` (Buffer). |\n| `code` | `Number` | no | `200` | Code de statut. |\n| `path` | `String` | no | `response` | Chemin de lecture de la valeur. |\n| `ctype` | `String` | no |  | Type de contenu. |\n\n**Entrées :** `input` (Response).  \n**Sorties :** `output` (Log).\n\nCe composant peut répondre à une requête HTTP.\n\n### trestart.html · version 1\n\nType: `component`\n\nRedémarre le FlowStream actuel.\n\n**Entrées :** `input` (Restart).  \n**Sorties :** aucune.\n\nCe composant se trouve dans le dépôt, mais pas dans le catalogue qu’affiche la fenêtre **Download components**.\n\nCe composant redémarre le FlowStream actuel.\n\n### troute.html · version 3\n\nType: `component`\n\nEnregistre une route HTTP et envoie les données de la requête vers sa sortie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `/` | Adresse URL relative. |\n| `method` | `String` | no | `GET` | Méthode. Valeurs possibles : `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `API`. |\n| `timeout` | `Number` | no | `5000` | Délai d’expiration. |\n| `limit` | `Number` | no | `5120` | Limite de la requête (kB). |\n| `upload` | `Boolean` | no | `false` | Autoriser l’envoi de fichiers (form data). |\n| `user` | `Number` | no | `0` | Qui peut appeler la route. Valeurs possibles : `1` (Authorized), `2` (Unauthorized), `0` (Both). |\n| `send` | `String` | no | `all` | Envoyer vers la sortie. Valeurs possibles : `all` (Everything), `payload` (Payload), `query` (Query arguments), `files` (Files), `params` (Dynamic params), `headers` (Headers), `cookies` (Cookies), `user` (User). |\n| `reader` | `String` | no | `-` | Lire les fichiers en. Valeurs possibles : `-` (Keep as files), `buffer` (Buffer), `utf8` (UTF-8), `ascii` (ASCII), `datauri` (Data URI), `base64` (Base64), `hex` (Hex). |\n| `autoreply` | `String` | no |  | Réponse automatique. Valeurs possibles : `success` (Success), `empty` (Empty response). |\n| `action` | `String` | no |  | Action d’API. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Request).\n\nCe composant enregistre une route HTTP et envoie les données de la requête plus loin. Il stocke l’instance `controller` dans la propriété `message.refs.controller`. Tu dois répondre avec le composant REST response.\n\n__Données de sortie__ :\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number, data:Buffer|String }] // optional\n}\n```\n\n### tsql.html · version 1\n\nType: `component`\n\nExécute une commande SQL sur une connexion PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Connexion. |\n| `sql` | `String` | no | `SELECT 1` | La commande SQL. |\n| `first` | `Boolean` | no | `false` | Renvoyer seulement la première ligne. |\n| `path` | `String` | no |  | Assigner les données selon le chemin. |\n\n**Entrées :** `input` (Payload).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLe composant exécute une commande SQL sur la connexion indiquée. Ce composant dépend du composant `API PostgreSQL`.\n\n### tuploadedfiles.html · version 1\n\nType: `component`\n\nTraite les fichiers envoyés via le composant Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `action` | `String` | no | `read` | Action. Valeurs possibles : `read` (Read), `move` (Move). |\n| `path` | `String` | no | `/www/{name}{index}.{extension}` | Chemin absolu. |\n| `type` | `String` | no | `utf8` | Type. Valeurs possibles : `buffer` (Buffer), `utf8` (UTF-8), `base64` (BASE64), `hex` (Hex). |\n\n**Entrées :** `input` (Request).  \n**Sorties :** `file` (File), `done` (Done).\n\nLe composant traite les fichiers du composant Route de Total.js.\n\n### twebsocketroute.html · version 1\n\nType: `component`\n\nCrée un endpoint WebSocket.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `endpoint` | `String` | no | `/realtime/` | Endpoint. |\n| `type` | `String` | no | `json` | Communication. Valeurs possibles : `json` (JSON), `text` (Text), `binary` (Binary). |\n\n**Entrées :** `send` (Send), `init` (Initial message).  \n**Sorties :** `message` (Message).\n\nCe composant crée un endpoint WebSocket. Les données du message initial sont stockées dans la mémoire des nouveaux clients.\n\n- `message.data {Object}` données d’un message WebSocket\n- `message.refs.client {Object}` contient un contrôleur client\n- `message.refs.controller {Object}` contient un contrôleur WebSocket\n","entries":[{"type":"component","name":"Action","signature":"taction.html · version 2","since":"","deprecated":false},{"type":"component","name":"API Creator","signature":"tapicreator.html · version 1","since":"","deprecated":false},{"type":"component","name":"API Router","signature":"tapirouter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Auth token","signature":"tauthtoken.html · version 1","since":"","deprecated":false},{"type":"component","name":"CORS","signature":"tcors.html · version 3","since":"","deprecated":false},{"type":"component","name":"Data schema","signature":"tschema.html · version 2","since":"","deprecated":false},{"type":"component","name":"Error","signature":"error.html · version 1","since":"","deprecated":false},{"type":"component","name":"Insecure SSL","signature":"insecuressl.html · version 1","since":"","deprecated":false},{"type":"component","name":"QueryBuilder PG","signature":"querybuilderpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Redirect","signature":"tredirect.html · version 2","since":"","deprecated":false},{"type":"component","name":"Remember","signature":"tremember.html · version 1","since":"","deprecated":false},{"type":"component","name":"Response","signature":"tresponse.html · version 2","since":"","deprecated":false},{"type":"component","name":"Restart","signature":"trestart.html · version 1","since":"","deprecated":false},{"type":"component","name":"Route","signature":"troute.html · version 3","since":"","deprecated":false},{"type":"component","name":"SQL query","signature":"tsql.html · version 1","since":"","deprecated":false},{"type":"component","name":"Uploaded files","signature":"tuploadedfiles.html · version 1","since":"","deprecated":false},{"type":"component","name":"WebSocket","signature":"twebsocketroute.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyUO3kE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/totaljs/","project":"flow","version":"11-1","section":"components","language":"it","title":"Total.js","summary":"Componenti che usano il framework Total.js: route HTTP, risposte, azioni, schemi e SQL.","markdown":"---\ntitle: Total.js\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/totaljs/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js\n\n> Componenti che usano il framework Total.js: route HTTP, risposte, azioni, schemi e SQL.\n\nComponenti che usano il framework Total.js: route HTTP, risposte, azioni, schemi e SQL. Questa pagina contiene il gruppo del catalogo **Total.js**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### taction.html · version 2\n\nType: `component`\n\nEsegue un'azione Total.js: valida i dati in arrivo con uno schema e li elabora con il tuo codice.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `partial` | `Boolean` | no | `false` | Consenti dati parziali. |\n| `name` | `String` | no | `Unknown` | Nome dell'azione. |\n| `input` | `String` | no |  | Schema del payload. |\n| `query` | `String` | no |  | Schema degli argomenti della query. |\n| `color` | `String` | no | `#68B25B` | Colore. |\n| `params` | `String` | no |  | Schema dei parametri. |\n| `permissions` | `String` | no |  | Permessi. |\n| `code` | `String` | no |  | Il codice JavaScript dell'azione. |\n| `strerr` | `Boolean` | no | `false` | Converti gli errori in stringa. |\n| `path` | `String` | no | `response` | Percorso in cui salvare la risposta. |\n| `autoresponse` | `Boolean` | no | `false` | Risposta HTTP automatica. |\n\n**Ingressi:** `input` (Payload).  \n**Uscite:** `output` (Response), `error` (Error).\n\nQuesto componente offre funzionalità simili alle Actions di Total.js.\n\n**Payload**\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\n**Script personalizzati**\n\n- supporta `await`\n- supporta le funzioni globali di Total.js\n\n__Proprietà__:\n\n- `$.model {Object}` o `model` il payload analizzato\n- `$.query {Object}` gli argomenti della query dell'URL analizzati\n- `$.params {Object}` i parametri dell'URL analizzati\n- `$.cookies {Object}` i cookie analizzati\n- `$.files [Object]` i file caricati\n- `$.user {Object}` la sessione dell'utente (facoltativo)\n- `$.headers {Object}` le intestazioni della richiesta\n- `$.ip {String}` l'indirizzo IP (facoltativo)\n- `$.language {String}` facoltativo\n- `$.ua {String}` lo user agent analizzato (facoltativo)\n- `$.url {String}` l'endpoint URL\n- `$.message {Object}` l'istanza del messaggio di Flow\n- `$.request {Object}` i dati del payload del messaggio di Flow\n\n__Metodi__:\n\n- `$.invalid(error)` risponde con un errore e termina l'azione\n- `$.success([value])` risponde con l'oggetto `{ success: true, value }` e termina l'azione\n- `$.callback(value)` risponde con l'oggetto `value` e termina l'azione\n- `$.cancel()` termina l'azione senza risposta\n- `$.audit(message, [type])` scrive un audit\n\n**Tipi supportati**\n\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` tutte le parole\n- `capitalize2` solo la prima parola\n- `name` crea un nome (mette le iniziali maiuscole e rimuove i caratteri speciali)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prepara la stringa come stringa di ricerca\n- `safestring` controlla XSS e SQL Injection\n- `smallint`\n- `tinyint`\n- `{A|B|C}` tipo enum\n- `[type]` indica un array\n- `{ name:String, age:Number }` indica un oggetto annidato\n- `[ name:String, age:Number ]` indica un array con un oggetto\n- `*something:type` è un campo `required`\n\n### tapicreator.html · version 1\n\nType: `component`\n\nCrea un payload di Total.js API dai dati in arrivo.\n\n**Ingressi:** `input` (Payload).  \n**Uscite:** `output` (Output).\n\nQuesto componente crea un payload di Total.js API.\n\nDati in uscita__:\n\n```js\n{\n\tschema: 'input_name',\n\tdata: input_data\n}\n```\n\n### tapirouter.html · version 3\n\nType: `component`\n\nInstrada i dati di Total.js API in arrivo verso un'uscita per ogni operazione dello schema API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `payload` | `Boolean` | no | `false` | Invia avanti solo il payload, senza schema. |\n\n**Ingressi:** `input` (Payload).  \n**Uscite:** dipendono dalle impostazioni del nodo.\n\nQuesto componente instrada i dati di Total.js API in arrivo in base allo schema API definito. Il componente estende i dati in ingresso (query, payload e params) con i dati analizzati.\n\n__Dati in ingresso e in uscita__:\n\n```js\n{\n\t// REQUIRED payload:\n\tpayload: {\n\t\tschema: 'schema_name/{param_1}/{param_2}?query=arguments',\n\t\tdata: {} // optional, request payload\n\t},\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed UA\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\nIn caso di `error`, i dati in ingresso vengono estesi con la proprietà `response` che contiene l'errore.\n\n### tauthtoken.html · version 1\n\nType: `component`\n\nConfronta un token dell'intestazione della richiesta con il token della sua configurazione.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token. |\n| `code` | `Number` | no | `401` | Codice di stato. |\n| `header` | `String` | no | `x-token` | Intestazione. |\n| `error` | `String` | no | `Unauthorized` | Messaggio di errore. |\n| `ddos` | `Number` | no | `0` | Protezione DDOS. |\n\n**Ingressi:** `input` (Request).  \n**Uscite:** `output` (Request).\n\nQuesto componente va usato solo con il componente REST Route. Legge un token dall'intestazione della richiesta e lo confronta con il token dichiarato nella configurazione.\n\n### tcors.html · version 3\n\nType: `component`\n\nAbilita il Cross-Origin Resource Sharing (CORS) per le route del FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `hostnames` | `Array` | no | `[]` | Nomi host con il protocollo. |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nIl componente abilita il Cross-Origin Resource Sharing `CORS`, così il browser web può comunicare direttamente con la REST API. La funzionalità funziona solo con un endpoint Proxy definito per questo Flow.\n\n### tschema.html · version 2\n\nType: `component`\n\nControlla i dati in arrivo rispetto a uno schema di dati.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no | `*name:String, *email:Email` | Schema. |\n| `partial` | `Boolean` | no | `false` | Consenti dati parziali. |\n| `strerr` | `Boolean` | no | `false` | Converti gli errori in stringa. |\n\n**Ingressi:** `input` (Payload).  \n**Uscite:** `output` (Response), `error` (Error).\n\nQuesto componente è nel repository, ma non nel catalogo mostrato dalla finestra **Download components**.\n\nIl componente `Schema` può controllare molto rapidamente i dati in arrivo in base allo schema definito.\n\n__Tipi supportati__:\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` tutte le parole\n- `capitalize2` solo la prima parola\n- `name` crea un nome (mette le iniziali maiuscole e rimuove i caratteri speciali)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` prepara la stringa come stringa di ricerca\n- `safestring` controlla XSS e SQL Injection\n- `smallint`\n- `tinyint`\n- `{A|B|C}` tipo enum\n- `[type]` indica un array\n- `*something:type` è un campo `required`\n\n### error.html · version 1\n\nType: `component`\n\nTrasforma i dati in arrivo nella struttura di errore di Total.js.\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente trasforma i dati in arrivo nella struttura Error di Total.js.\n\n### insecuressl.html · version 1\n\nType: `component`\n\nDisattiva la verifica dei certificati SSL.\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nDisattiva la verifica SSL.\n\n### querybuilderpg.html · version 1\n\nType: `component`\n\nApre connessioni QueryBuilder ai database PostgreSQL per gli altri componenti.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Alias. |\n| `name` | `String` | no | `API PostgreSQL` | Nome. |\n| `url` | `String` | no |  | Stringa di connessione. |\n| `pooling` | `Number` | no | `2` | Pooling. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `error` (Error).\n\nFlow installa il pacchetto npm `querybuilderpg` quando aggiungi il componente.\n\nIl componente inizializza QueryBuilder per il database PostgreSQL. Così puoi usare il componente 'API Database`. Ogni connessione deve essere distinta da un alias.\n\n__Utilizzo in API Database__:\n\n- `tbl_user` punta alla connessione con alias `default/tbl_user`\n- `anotherserver/tbl_user` usa la connessione con alias `anotherserver`\n\n### tredirect.html · version 2\n\nType: `component`\n\nReindirizza una richiesta HTTP verso un altro indirizzo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL di reindirizzamento. |\n| `permanent` | `Boolean` | no | `false` | Reindirizzamento permanente. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\n**Ingresso**\n\nI dati in arrivo hanno priorità più alta dei valori impostati nel modulo Configuration. Sia `url` sia `permanent` sono facoltativi.\n\n```js\n{\n\turl: 'https://example.com',\n\tpermanent: true|false\n}\n```\n\n### tremember.html · version 1\n\nType: `component`\n\nRicorda dei dati e li restituisce su richiesta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Imposta i dati ricordati nella proprietà/campo specifico. |\n\n**Ingressi:** `remember` (Remember), `request` (Request).  \n**Uscite:** `response` (Response).\n\nLo scopo principale di questo componente è ricordare i dati. Il componente ha due ingressi:\n\n- L'ingresso Remember per ricordare i dati.\n- L'ingresso Request come trigger per ottenere i dati: i dati ricordati estendono il messaggio della richiesta (i suoi dati) e il componente lo invia all'uscita response.\n\n### tresponse.html · version 2\n\nType: `component`\n\nRisponde a una richiesta HTTP ricevuta dal componente Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `auto` | Tipo. Uno tra: `auto` (Auto), `json` (JSON), `success` (Success), `error` (Error), `empty` (Empty response), `plain` (Plain text), `html` (HTML), `xml` (XML), `buffer` (Buffer). |\n| `code` | `Number` | no | `200` | Codice di stato. |\n| `path` | `String` | no | `response` | Percorso da cui leggere il valore. |\n| `ctype` | `String` | no |  | Tipo di contenuto. |\n\n**Ingressi:** `input` (Response).  \n**Uscite:** `output` (Log).\n\nQuesto componente può rispondere a una richiesta HTTP.\n\n### trestart.html · version 1\n\nType: `component`\n\nRiavvia il FlowStream corrente.\n\n**Ingressi:** `input` (Restart).  \n**Uscite:** nessuna.\n\nQuesto componente è nel repository, ma non nel catalogo mostrato dalla finestra **Download components**.\n\nQuesto componente riavvia il FlowStream corrente.\n\n### troute.html · version 3\n\nType: `component`\n\nRegistra una route HTTP e invia i dati della richiesta alla sua uscita.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `/` | Indirizzo URL relativo. |\n| `method` | `String` | no | `GET` | Metodo. Uno tra: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `API`. |\n| `timeout` | `Number` | no | `5000` | Timeout. |\n| `limit` | `Number` | no | `5120` | Limite della richiesta (kB). |\n| `upload` | `Boolean` | no | `false` | Consenti il caricamento di file (form data). |\n| `user` | `Number` | no | `0` | Chi può chiamare la route. Uno tra: `1` (Authorized), `2` (Unauthorized), `0` (Both). |\n| `send` | `String` | no | `all` | Invia all'uscita. Uno tra: `all` (Everything), `payload` (Payload), `query` (Query arguments), `files` (Files), `params` (Dynamic params), `headers` (Headers), `cookies` (Cookies), `user` (User). |\n| `reader` | `String` | no | `-` | Leggi i file come. Uno tra: `-` (Keep as files), `buffer` (Buffer), `utf8` (UTF-8), `ascii` (ASCII), `datauri` (Data URI), `base64` (Base64), `hex` (Hex). |\n| `autoreply` | `String` | no |  | Risposta automatica. Una tra: `success` (Success), `empty` (Empty response). |\n| `action` | `String` | no |  | Azione API. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Request).\n\nQuesto componente registra una route HTTP e invia avanti i dati della richiesta. Salva l'istanza di `controller` nella proprietà `message.refs.controller`. Devi rispondere con il componente REST response.\n\n__Dati in uscita__:\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number, data:Buffer|String }] // optional\n}\n```\n\n### tsql.html · version 1\n\nType: `component`\n\nEsegue un comando SQL su una connessione PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Connessione. |\n| `sql` | `String` | no | `SELECT 1` | Il comando SQL. |\n| `first` | `Boolean` | no | `false` | Restituisci solo la prima riga. |\n| `path` | `String` | no |  | Assegna i dati in base al percorso. |\n\n**Ingressi:** `input` (Payload).  \n**Uscite:** `output` (Output), `error` (Error).\n\nIl componente esegue un comando SQL sulla connessione specifica. Questo componente dipende dal componente `API PostgreSQL`.\n\n### tuploadedfiles.html · version 1\n\nType: `component`\n\nElabora i file caricati tramite il componente Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `action` | `String` | no | `read` | Azione. Una tra: `read` (Read), `move` (Move). |\n| `path` | `String` | no | `/www/{name}{index}.{extension}` | Percorso assoluto. |\n| `type` | `String` | no | `utf8` | Tipo. Uno tra: `buffer` (Buffer), `utf8` (UTF-8), `base64` (BASE64), `hex` (Hex). |\n\n**Ingressi:** `input` (Request).  \n**Uscite:** `file` (File), `done` (Done).\n\nIl componente elabora i file del componente Route di Total.js.\n\n### twebsocketroute.html · version 1\n\nType: `component`\n\nCrea un endpoint WebSocket.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `endpoint` | `String` | no | `/realtime/` | Endpoint. |\n| `type` | `String` | no | `json` | Comunicazione. Una tra: `json` (JSON), `text` (Text), `binary` (Binary). |\n\n**Ingressi:** `send` (Send), `init` (Initial message).  \n**Uscite:** `message` (Message).\n\nQuesto componente crea un endpoint WebSocket. I dati del messaggio iniziale vengono salvati nella memoria dei nuovi client.\n\n- `message.data {Object}` i dati di un messaggio WebSocket\n- `message.refs.client {Object}` contiene un controller del client\n- `message.refs.controller {Object}` contiene un controller WebSocket\n","entries":[{"type":"component","name":"Action","signature":"taction.html · version 2","since":"","deprecated":false},{"type":"component","name":"API Creator","signature":"tapicreator.html · version 1","since":"","deprecated":false},{"type":"component","name":"API Router","signature":"tapirouter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Auth token","signature":"tauthtoken.html · version 1","since":"","deprecated":false},{"type":"component","name":"CORS","signature":"tcors.html · version 3","since":"","deprecated":false},{"type":"component","name":"Data schema","signature":"tschema.html · version 2","since":"","deprecated":false},{"type":"component","name":"Error","signature":"error.html · version 1","since":"","deprecated":false},{"type":"component","name":"Insecure SSL","signature":"insecuressl.html · version 1","since":"","deprecated":false},{"type":"component","name":"QueryBuilder PG","signature":"querybuilderpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Redirect","signature":"tredirect.html · version 2","since":"","deprecated":false},{"type":"component","name":"Remember","signature":"tremember.html · version 1","since":"","deprecated":false},{"type":"component","name":"Response","signature":"tresponse.html · version 2","since":"","deprecated":false},{"type":"component","name":"Restart","signature":"trestart.html · version 1","since":"","deprecated":false},{"type":"component","name":"Route","signature":"troute.html · version 3","since":"","deprecated":false},{"type":"component","name":"SQL query","signature":"tsql.html · version 1","since":"","deprecated":false},{"type":"component","name":"Uploaded files","signature":"tuploadedfiles.html · version 1","since":"","deprecated":false},{"type":"component","name":"WebSocket","signature":"twebsocketroute.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyUO3kE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/totaljs/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Total.js","summary":"Komponenty, ktoré používajú framework Total.js: HTTP routy, odpovede, akcie, schémy a SQL.","markdown":"---\ntitle: Total.js\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/totaljs/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js\n\n> Komponenty, ktoré používajú framework Total.js: HTTP routy, odpovede, akcie, schémy a SQL.\n\nKomponenty, ktoré používajú framework Total.js: HTTP routy, odpovede, akcie, schémy a SQL. Táto stránka obsahuje skupinu katalógu **Total.js**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### taction.html · version 2\n\nType: `component`\n\nSpustí akciu Total.js: overí prichádzajúce údaje schémou a spracuje ich tvojím kódom.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `partial` | `Boolean` | no | `false` | Povoliť čiastočné údaje. |\n| `name` | `String` | no | `Unknown` | Názov akcie. |\n| `input` | `String` | no |  | Schéma payloadu. |\n| `query` | `String` | no |  | Schéma argumentov dopytu. |\n| `color` | `String` | no | `#68B25B` | Farba. |\n| `params` | `String` | no |  | Schéma parametrov. |\n| `permissions` | `String` | no |  | Oprávnenia. |\n| `code` | `String` | no |  | JavaScript kód akcie. |\n| `strerr` | `Boolean` | no | `false` | Previesť chyby na reťazec. |\n| `path` | `String` | no | `response` | Cesta na uloženie odpovede. |\n| `autoresponse` | `Boolean` | no | `false` | Automatická HTTP odpoveď. |\n\n**Vstupy:** `input` (Payload).  \n**Výstupy:** `output` (Response), `error` (Error).\n\nTento komponent poskytuje podobnú funkcionalitu ako akcie Total.js.\n\n**Payload**\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\n**Vlastné skriptovanie**\n\n- podporuje `await`\n- podporuje globálne funkcie Total.js\n\n__Vlastnosti__:\n\n- `$.model {Object}` alebo `model` spracovaný payload\n- `$.query {Object}` spracované argumenty URL dopytu\n- `$.params {Object}` spracované parametre URL\n- `$.cookies {Object}` spracované cookies\n- `$.files [Object]` nahrané súbory\n- `$.user {Object}` session používateľa (voliteľné)\n- `$.headers {Object}` hlavičky požiadavky\n- `$.ip {String}` IP adresa (voliteľné)\n- `$.language {String}` voliteľné\n- `$.ua {String}` spracovaný user agent (voliteľné)\n- `$.url {String}` URL endpointu\n- `$.message {Object}` inštancia správy Flow\n- `$.request {Object}` údaje payloadu správy Flow\n\n__Metódy__:\n\n- `$.invalid(error)` odpovie chybou a ukončí akciu\n- `$.success([value])` odpovie objektom `{ success: true, value }` a ukončí akciu\n- `$.callback(value)` odpovie objektom `value` a ukončí akciu\n- `$.cancel()` ukončí akciu bez odpovede\n- `$.audit(message, [type])` zapíše audit\n\n**Podporované typy**\n\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` všetky slová\n- `capitalize2` iba prvé slovo\n- `name` vytvorí meno (veľké začiatočné písmená slov a odstránenie špeciálnych znakov)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` pripraví reťazec na vyhľadávanie\n- `safestring` kontroluje XSS a SQL injection\n- `smallint`\n- `tinyint`\n- `{A|B|C}` typ enum\n- `[type]` znamená pole\n- `{ name:String, age:Number }` znamená vnorený objekt\n- `[ name:String, age:Number ]` znamená pole s objektom\n- `*something:type` je pole `required` (povinné)\n\n### tapicreator.html · version 1\n\nType: `component`\n\nVytvorí payload Total.js API z prichádzajúcich údajov.\n\n**Vstupy:** `input` (Payload).  \n**Výstupy:** `output` (Output).\n\nTento komponent vytvorí payload Total.js API.\n\nVýstupné údaje__:\n\n```js\n{\n\tschema: 'input_name',\n\tdata: input_data\n}\n```\n\n### tapirouter.html · version 3\n\nType: `component`\n\nSmeruje prichádzajúce údaje Total.js API na výstup pre každú operáciu API schémy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `payload` | `Boolean` | no | `false` | Posielať ďalej iba payload bez schémy. |\n\n**Vstupy:** `input` (Payload).  \n**Výstupy:** pochádzajú z nastavení uzla.\n\nTento komponent smeruje prichádzajúce údaje Total.js API podľa definovanej API schémy. Komponent rozšíri vstupné údaje (query, payload a params) o spracované údaje.\n\n__Vstupné a výstupné údaje__:\n\n```js\n{\n\t// REQUIRED payload:\n\tpayload: {\n\t\tschema: 'schema_name/{param_1}/{param_2}?query=arguments',\n\t\tdata: {} // optional, request payload\n\t},\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed UA\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number }] // optional\n}\n```\n\nV prípade `error` sa vstupné údaje rozšíria o vlastnosť `response` s chybou.\n\n### tauthtoken.html · version 1\n\nType: `component`\n\nPorovná token z hlavičky požiadavky s tokenom vo svojej konfigurácii.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token. |\n| `code` | `Number` | no | `401` | Stavový kód. |\n| `header` | `String` | no | `x-token` | Hlavička. |\n| `error` | `String` | no | `Unauthorized` | Chybová správa. |\n| `ddos` | `Number` | no | `0` | Ochrana proti DDoS. |\n\n**Vstupy:** `input` (Request).  \n**Výstupy:** `output` (Request).\n\nTento komponent sa smie používať iba s komponentom REST Route. Načíta token z hlavičky požiadavky a porovná ho s tokenom zadaným v konfigurácii.\n\n### tcors.html · version 3\n\nType: `component`\n\nZapne Cross-Origin Resource Sharing (CORS) pre routy FlowStreamu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `hostnames` | `Array` | no | `[]` | Názvy hostiteľov s protokolom. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nKomponent zapne Cross-Origin Resource Sharing `CORS`, takže webový prehliadač bude môcť komunikovať priamo s REST API. Funguje to iba vtedy, keď má tento Flow definovaný Proxy endpoint.\n\n### tschema.html · version 2\n\nType: `component`\n\nKontroluje prichádzajúce údaje podľa dátovej schémy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `schema` | `String` | no | `*name:String, *email:Email` | Schéma. |\n| `partial` | `Boolean` | no | `false` | Povoliť čiastočné údaje. |\n| `strerr` | `Boolean` | no | `false` | Previesť chyby na reťazec. |\n\n**Vstupy:** `input` (Payload).  \n**Výstupy:** `output` (Response), `error` (Error).\n\nTento komponent je v repozitári, ale nie je v katalógu, ktorý zobrazuje okno **Download components**.\n\nKomponent `Schema` dokáže veľmi rýchlo skontrolovať prichádzajúce údaje podľa definovanej schémy.\n\n__Podporované typy__:\n- `string`\n- `number`\n- `boolean`\n- `date`\n- `object`\n- `email`\n- `phone`\n- `zip`\n- `base64`\n- `url`\n- `datauri`\n- `json`\n- `lower`\n- `upper`\n- `capitalize` všetky slová\n- `capitalize2` iba prvé slovo\n- `name` vytvorí meno (veľké začiatočné písmená slov a odstránenie špeciálnych znakov)\n- `zip`\n- `uid`\n- `guid`\n- `color`\n- `icon`\n- `search` pripraví reťazec na vyhľadávanie\n- `safestring` kontroluje XSS a SQL injection\n- `smallint`\n- `tinyint`\n- `{A|B|C}` typ enum\n- `[type]` znamená pole\n- `*something:type` je pole `required` (povinné)\n\n### error.html · version 1\n\nType: `component`\n\nPrevedie prichádzajúce údaje na štruktúru chyby Total.js.\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent prevedie prichádzajúce údaje na štruktúru Error z Total.js.\n\n### insecuressl.html · version 1\n\nType: `component`\n\nVypne overovanie SSL certifikátov.\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nVypne overovanie SSL.\n\n### querybuilderpg.html · version 1\n\nType: `component`\n\nOtvára pripojenia QueryBuilder k databázam PostgreSQL pre ostatné komponenty.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Alias. |\n| `name` | `String` | no | `API PostgreSQL` | Názov. |\n| `url` | `String` | no |  | Pripojovací reťazec. |\n| `pooling` | `Number` | no | `2` | Pooling. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `error` (Error).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `querybuilderpg`.\n\nKomponent inicializuje QueryBuilder pre databázu PostgreSQL. Vďaka tomu môžeš používať komponent 'API Database`. Každé pripojenie musí mať vlastný alias.\n\n__Použitie v API Database__:\n\n- `tbl_user` smeruje na pripojenie s aliasom `default/tbl_user`\n- `anotherserver/tbl_user` použije pripojenie s aliasom `anotherserver`\n\n### tredirect.html · version 2\n\nType: `component`\n\nPresmeruje HTTP požiadavku na inú adresu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL presmerovania. |\n| `permanent` | `Boolean` | no | `false` | Trvalé presmerovanie. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\n**Vstup**\n\nPrichádzajúce údaje majú vyššiu prioritu než hodnoty nastavené vo formulári konfigurácie. `url` aj `permanent` sú voliteľné.\n\n```js\n{\n\turl: 'https://example.com',\n\tpermanent: true|false\n}\n```\n\n### tremember.html · version 1\n\nType: `component`\n\nZapamätá si údaje a na požiadanie ich vráti.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no |  | Uložiť zapamätané údaje do konkrétnej vlastnosti/poľa. |\n\n**Vstupy:** `remember` (Remember), `request` (Request).  \n**Výstupy:** `response` (Response).\n\nHlavnou úlohou tohto komponentu je zapamätať si údaje. Komponent má dva vstupy:\n\n- vstup Remember na zapamätanie údajov,\n- vstup Request ako spúšťač na získanie údajov: zapamätané údaje rozšíria správu požiadavky (jej údaje) a komponent ju pošle na výstup response.\n\n### tresponse.html · version 2\n\nType: `component`\n\nOdpovie na HTTP požiadavku, ktorú prijal komponent Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `auto` | Typ. Jedna z hodnôt: `auto` (Auto), `json` (JSON), `success` (Success), `error` (Error), `empty` (Empty response), `plain` (Plain text), `html` (HTML), `xml` (XML), `buffer` (Buffer). |\n| `code` | `Number` | no | `200` | Stavový kód. |\n| `path` | `String` | no | `response` | Cesta na čítanie hodnoty. |\n| `ctype` | `String` | no |  | Typ obsahu. |\n\n**Vstupy:** `input` (Response).  \n**Výstupy:** `output` (Log).\n\nTento komponent dokáže odpovedať na HTTP požiadavku.\n\n### trestart.html · version 1\n\nType: `component`\n\nReštartuje aktuálny FlowStream.\n\n**Vstupy:** `input` (Restart).  \n**Výstupy:** žiadne.\n\nTento komponent je v repozitári, ale nie je v katalógu, ktorý zobrazuje okno **Download components**.\n\nTento komponent reštartuje aktuálny FlowStream.\n\n### troute.html · version 3\n\nType: `component`\n\nZaregistruje HTTP routu a pošle údaje požiadavky na svoj výstup.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `/` | Relatívna URL adresa. |\n| `method` | `String` | no | `GET` | Metóda. Jedna z hodnôt: `GET`, `POST`, `PUT`, `PATCH`, `DELETE`, `API`. |\n| `timeout` | `Number` | no | `5000` | Časový limit. |\n| `limit` | `Number` | no | `5120` | Limit požiadavky (kB). |\n| `upload` | `Boolean` | no | `false` | Povoliť nahrávanie súborov (form data). |\n| `user` | `Number` | no | `0` | Kto môže volať routu. Jedna z hodnôt: `1` (Authorized), `2` (Unauthorized), `0` (Both). |\n| `send` | `String` | no | `all` | Poslať na výstup. Jedna z hodnôt: `all` (Everything), `payload` (Payload), `query` (Query arguments), `files` (Files), `params` (Dynamic params), `headers` (Headers), `cookies` (Cookies), `user` (User). |\n| `reader` | `String` | no | `-` | Načítať súbory ako. Jedna z hodnôt: `-` (Keep as files), `buffer` (Buffer), `utf8` (UTF-8), `ascii` (ASCII), `datauri` (Data URI), `base64` (Base64), `hex` (Hex). |\n| `autoreply` | `String` | no |  | Automatická odpoveď. Jedna z hodnôt: `success` (Success), `empty` (Empty response). |\n| `action` | `String` | no |  | API akcia. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Request).\n\nTento komponent zaregistruje HTTP routu a pošle údaje požiadavky ďalej. Inštanciu `controller` ukladá do vlastnosti `message.refs.controller`. Odpovedať musíš cez komponent REST response.\n\n__Výstupné údaje__:\n\n```js\n{\n\tip: String, // optional, IP address\n\turl: String, // optional\n\tlanguage: String, // optional\n\tua: String, // optional, parsed user-agent\n\tuser: Object, // optional\n\theaders: { key: String }, // optional, request headers\n\tcookies: { key: String }, // optional, cookies\n\tpayload: {}, // optional, request payload\n\tquery: { key: String }, // optional\n\tparams: { key: String }, // optional\n\tfiles: [{ type: String, filename: String, path: String, ext: String, size: Number, width: Number, height: Number, data:Buffer|String }] // optional\n}\n```\n\n### tsql.html · version 1\n\nType: `component`\n\nSpustí SQL príkaz cez pripojenie k PostgreSQL.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `id` | `String` | no | `default` | Pripojenie. |\n| `sql` | `String` | no | `SELECT 1` | SQL príkaz. |\n| `first` | `Boolean` | no | `false` | Vrátiť iba prvý riadok. |\n| `path` | `String` | no |  | Priradiť údaje podľa cesty. |\n\n**Vstupy:** `input` (Payload).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nKomponent spustí SQL príkaz cez zadané pripojenie. Tento komponent závisí od komponentu `API PostgreSQL`.\n\n### tuploadedfiles.html · version 1\n\nType: `component`\n\nSpracuje súbory nahrané cez komponent Route.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `action` | `String` | no | `read` | Akcia. Jedna z hodnôt: `read` (Read), `move` (Move). |\n| `path` | `String` | no | `/www/{name}{index}.{extension}` | Absolútna cesta. |\n| `type` | `String` | no | `utf8` | Typ. Jedna z hodnôt: `buffer` (Buffer), `utf8` (UTF-8), `base64` (BASE64), `hex` (Hex). |\n\n**Vstupy:** `input` (Request).  \n**Výstupy:** `file` (File), `done` (Done).\n\nKomponent spracúva súbory z komponentu Total.js Route.\n\n### twebsocketroute.html · version 1\n\nType: `component`\n\nVytvorí WebSocket endpoint.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `endpoint` | `String` | no | `/realtime/` | Endpoint. |\n| `type` | `String` | no | `json` | Komunikácia. Jedna z hodnôt: `json` (JSON), `text` (Text), `binary` (Binary). |\n\n**Vstupy:** `send` (Send), `init` (Initial message).  \n**Výstupy:** `message` (Message).\n\nTento komponent vytvorí WebSocket endpoint. Údaje úvodnej správy sa ukladajú do pamäte nových klientov.\n\n- `message.data {Object}` údaje zo správy WebSocket\n- `message.refs.client {Object}` obsahuje controller klienta\n- `message.refs.controller {Object}` obsahuje WebSocket controller\n","entries":[{"type":"component","name":"Action","signature":"taction.html · version 2","since":"","deprecated":false},{"type":"component","name":"API Creator","signature":"tapicreator.html · version 1","since":"","deprecated":false},{"type":"component","name":"API Router","signature":"tapirouter.html · version 3","since":"","deprecated":false},{"type":"component","name":"Auth token","signature":"tauthtoken.html · version 1","since":"","deprecated":false},{"type":"component","name":"CORS","signature":"tcors.html · version 3","since":"","deprecated":false},{"type":"component","name":"Data schema","signature":"tschema.html · version 2","since":"","deprecated":false},{"type":"component","name":"Error","signature":"error.html · version 1","since":"","deprecated":false},{"type":"component","name":"Insecure SSL","signature":"insecuressl.html · version 1","since":"","deprecated":false},{"type":"component","name":"QueryBuilder PG","signature":"querybuilderpg.html · version 1","since":"","deprecated":false},{"type":"component","name":"Redirect","signature":"tredirect.html · version 2","since":"","deprecated":false},{"type":"component","name":"Remember","signature":"tremember.html · version 1","since":"","deprecated":false},{"type":"component","name":"Response","signature":"tresponse.html · version 2","since":"","deprecated":false},{"type":"component","name":"Restart","signature":"trestart.html · version 1","since":"","deprecated":false},{"type":"component","name":"Route","signature":"troute.html · version 3","since":"","deprecated":false},{"type":"component","name":"SQL query","signature":"tsql.html · version 1","since":"","deprecated":false},{"type":"component","name":"Uploaded files","signature":"tuploadedfiles.html · version 1","since":"","deprecated":false},{"type":"component","name":"WebSocket","signature":"twebsocketroute.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTw3EE61f","url":"https://totaljs.es/docs/flow/11-1/components/totaljs-api/","project":"flow","version":"11-1","section":"components","language":"en","title":"Total.js API","summary":"Components that call the services of Total.js API with your token.","markdown":"---\ntitle: Total.js API\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/totaljs-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js API\n\n> Components that call the services of Total.js API with your token.\n\nComponents that call the services of Total.js API with your token. This page holds the catalogue groups **Total.js API Services**, **Total.js API**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### tapicaptchaapi.html · version 1\n\nType: `component`\n\nGenerates a captcha as a JPEG image with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n| `width` | `Number` | no | `200` | Width. |\n| `height` | `Number` | no | `80` | Height. |\n| `dark` | `Boolean` | no | `false` | Dark mode. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nCaptcha image generator generates a simple JPEG image. It utilizes the [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#Ii6INR1cR61f).\n\n__Input data:__\n\n```js\n// {String} Captcha text\n'123456'\n```\n\n__Output data__:\n\n```js\n// Returns DataURI\n'data:image/jpeg;base64,/9j/4AAQSkZ...''\n\n```\n\n### tapichatgptapi.html · version 1\n\nType: `component`\n\nAsks ChatGPT through Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n| `output` | `String` | no | `text` | Output. One of: `text` (Text), `image` (Image). |\n| `size` | `String` | no | `small` | Size. One of: `small` (Small), `medium` (Medium), `large` (Large). |\n| `response` | `String` | no | `buffer` | Response type. One of: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nBy using this component you can asks ChatGPT / OpenAPI. It utilizes the [Total.js ChatGPT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128fm001kc51d).\n\n__Input data:__\n\n```js\n// {String} a question for ChatGPT\n'What is Total.js Platform'\n```\n\n__Output data__:\n\nIf `output` is set as Text:\n\n```js\n{\n    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'\n}\n```\n\nIf `output` is set as Image:\nReturns data according to the component configuration Response type. It can be `Buffer`, `Base64` or `DataURI`.\n\n### tapicheckapi.html · version 1\n\nType: `component`\n\nReturns the current status of your Total.js API token.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nReturns a current status for your token. It utilizes the [Total.js Check API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d397001td51c).\n\n__Output data__:\n\n```js\n{\n    credits: 34.49\n}\n```\n\n### tapicheckvatapi.html · version 1\n\nType: `component`\n\nChecks whether a company in the European Union is a VAT payer, with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nDetermines whether is a company VAT payer or no. Works only in European Union. It utilizes the [Total.js Check VAT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d385001lt51c).\n\n__Input data:__\n\n```js\n// {String} VAT ID\n'SK2120417167'\n```\n\n__Output data__:\n\n```js\n{\n    is: true, // Is VAT Payer?\n    vat: 20,  // Country VAT\n    name: 'Total Avengers s. r. o.',\n    address: 'Viestova 6784/28\\n97401 Banská Bystrica\\nSlovensko'\n}\n```\n\n### tapiexchangeratesapi.html · version 1\n\nType: `component`\n\nReads exchange rates with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `currency` | `String` | no | `EUR` | Currency. |\n| `path` | `String` | no |  | Path for reading input data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nReads exchange rates. It utilizes the [Total.js Exchangerates API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6e2f4001dt51c).\n\n__Input data__:\n\n```js\n// {String} Date, optional input default is current date\n\"2020-12-12\"\n```\n\n__Output data__:\n\n```js\n{\n    USD: 1.2109,\n    JPY: 126.05,\n    BGN: 1.9558,\n    CZK: 26.239,\n    DKK: 7.4429,\n    GBP: 0.9,\n    HUF: 356.64,\n    PLN: 4.4246,\n    RON: 4.8685,\n    SEK: 10.2745,\n    CHF: 1.0764,\n    ISK: 153.5,\n    NOK: 10.5763,\n    HRK: 7.549,\n    RUB: 89.167,\n    TRY: 9.4762,\n    AUD: 1.6185,\n    BRL: 6.1993,\n    CAD: 1.5472,\n    CNY: 7.9167,\n    HKD: 9.3866,\n    IDR: 17078,\n    ILS: 3.9406,\n    INR: 89.212,\n    KRW: 1314.27,\n    MXN: 23.9187,\n    MYR: 4.9196,\n    NZD: 1.7103,\n    PHP: 58.298,\n    SGD: 1.6174,\n    THB: 36.388,\n    ZAR: 18.0756\n}\n```\n\n### tapiconvertapi.html · version 1\n\nType: `component`\n\nConverts a file to another file type with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n| `to` | `String` | no | `pdf` | Convert to. One of: `pdf` (PDF), `jpg` (JPG), `png` (PNG). |\n| `output` | `String` | no | `buffer` | Response type. One of: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nIt converts file to another type of file. It utilizes the [Total.js Convert API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ff8001db51d).\n\n__Input data:__\n\n```js\n// {String} dataURI of a file\n\"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Output data__:\nReturns data according to the component configuration `Response type`. It can be `Buffer`, `Base64` or `DataURI`.\n\n### tapigeoipapi.html · version 1\n\nType: `component`\n\nReads the location of an IP address with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nReads GEO information from IP address. It utilizes the [Total.js GEO IP API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d381001hc51c).\n\n__Input data:__\n\n```js\n// {String} IP address\n\"78.98.116.204\"\n```\n\n__Output data__:\n\n```js\n{\n\tip: '78.98.95.176',\n\tisp: 'Slovak Telekom, a.s.',\n\tcountry: 'Slovakia',\n\tcountry_code: 'SK',\n\tregion: 'Banska Bystrica',\n\tregion_code: 'BC',\n\tcity: 'Banská Bystrica',\n\tzip: '974 01',\n\tcontinent: 'Europe',\n\tcontinent_code: 'EU',\n\tlat: 48.804,\n\tlng: 19.1363,\n\ttimezone: 'Europe/Bratislava'\n}\n```\n\n### tapiinvoiceparserapi.html · version 1\n\nType: `component`\n\nReads the data of an invoice from a PDF, JPG or PNG file with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nIt parses meta data of the invoice from the PDF/JPG/PNG file type. It utilizes the [Total.js Invoiceparser API](https://docs.totaljs.com/totalapi/6c221003eo51c/#130w3001db51d).\n\n__Input data:__\n\n```js\n// {String} dataURI of a file\n\"data\": \"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Output data__:\n\n```js\n{\n    supplier: {\n        address: 'Nádražní 44/86 15000 Praha 5',\n        name: 'DRONPRO',\n        vatid: 'CZ04587332'\n    },\n    customer: {\n        name: 'TOTAL AVENGERS S.R.O.',\n        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',\n        vatid: 'SK2120417167'\n    },\n    date: '2023-07-17',\n    number: '23ES04414',\n    amount: 3445.46,\n    total: 3445.46,\n    currency: 'CZK',\n    language: null,\n    tax: 0\n}\n```\n\n### tlogger.html · version 2\n\nType: `component`\n\nLogs incoming messages into the Total.js Cloud Logger.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Total API token. |\n| `type` | `String` | no | `info` | Type. One of: `info` (Info), `error` (Error), `warning` (Warning), `success` (Success). |\n| `message` | `String` | no |  | Message. |\n| `reference` | `String` | no |  | Reference. |\n| `url` | `String` | no |  | URL address. |\n| `app` | `String` | no |  | App name. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component logs incoming messages into the Total.js Cloud Logger.\n\n### tapiocrapi.html · version 1\n\nType: `component`\n\nReads the text of JPG, PNG or PDF files with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n| `language` | `String` | no | `eng` | Language. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nOCR reader for `JPG`, `PNG` or `PDF` files. It utilizes the [Total.js OCR API](https://docs.totaljs.com/totalapi/6c221003eo51c/#If83x81cy61f).\n\n__Input data:__\n\n```js\n// {String} dataURI of a file\n\"data:image/png;base64,iVBORw0KGgo.....\"\n```\n\n__Output data:__\n\n```js\n{\n\ttext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'\n}\n```\n\n### tapiplatenumber.html · version 1\n\nType: `component`\n\nReads a vehicle plate number from a JPG or PNG picture with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n| `code` | `String` | no | `eu` | Country code. One of: `eu` (EU), `us` (US). |\n| `first` | `Boolean` | no | `false` | Return only the first value. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nIt parses a plate number from the JPG/PNG picture. It utilizes the [Total.js Platenumber API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ffb001db51d).\n\n__Input data:__\n\n```js\n// {String} dataURI of an image\n'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'\n```\n\n__Output data:__\n\n```js\n[\n  {\n    \"value\": \"H786P0J\",\n    \"confidence\": 89.8356\n  },\n  {\n    \"value\": \"H786POJ\",\n    \"confidence\": 87.6114\n  },\n  {\n    \"value\": \"HN786P0J\",\n    \"confidence\": 85.2152\n  }\n]\n```\n\n### tapiprintapi.html · version 1\n\nType: `component`\n\nPrints HTML or a URL address to a PDF, JPG, PNG or DOCX file with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n| `type` | `String` | no | `pdf` | Type. One of: `pdf` (PDF), `jpg` (JPG), `png` (PNG), `docx` (DOCX). |\n| `page` | `String` | no | `A4` | Page. |\n| `width` | `Number` | no | `0` | Width. |\n| `height` | `Number` | no | `0` | Height. |\n| `dpi` | `Number` | no | `96` | DPI. |\n| `top` | `Number` | no | `0` | Top. |\n| `right` | `Number` | no | `0` | Right. |\n| `bottom` | `Number` | no | `0` | Bottom. |\n| `left` | `Number` | no | `0` | Left. |\n| `viewport` | `String` | no |  | Viewport. One of: `xs` (XS), `sm` (SM), `md` (MD), `lg` (LG). |\n| `quality` | `Number` | no | `80` | Quality. |\n| `orientation` | `String` | no | `portrait` | Orientation. One of: `portrait` (Portrait), `landscape` (Landscape). |\n| `grayscale` | `Boolean` | no | `false` | Grayscale. |\n| `lowquality` | `Boolean` | no | `false` | Lowquality. |\n| `zoom` | `Number` | no | `100` | Zoom. |\n| `output` | `String` | no | `buffer` | Response type. One of: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nPrints HTML or URL address to PDF, JPG, PNG or DOCX file. It utilizes the [Total.js Print API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6c225001ga51c).\n\n__Input data:__\n\n```js\n// {String} HTML content or URL address\n'<h1>HTML content</h1>'\n```\n\n__Output data:__\nReturns data according to the component configuration `Response type`. It can be `Buffer`, `Base64` or `DataURI`.\n\n### sms.html · version 1\n\nType: `component`\n\nSends a text message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Total API token. |\n| `to` | `String` | no |  | To. |\n| `from` | `String` | no |  | From. |\n| `body` | `String` | no |  | Message. |\n| `isdata` | `Boolean` | no | `false` | Send incoming message data only. |\n| `path` | `String` | no |  | Path for reading message. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** none.\n\nThe component sends a SMS message.\n\n### tapismsapi.html · version 1\n\nType: `component`\n\nSends a text message with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `from` | `String` | no |  | From. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nBy using this component, you can send SMS. It utilizes the [Total.js SMS API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d220001ni51c).\n\n__Input data:__\n\n```js\n{\n\tto: \"+421903163302\",\n\tbody: \"Your message ...\"\n}\n```\n\n__Output data__:\n\n```js\n{ success: true }\n```\n\n### tapiweatherapi.html · version 1\n\nType: `component`\n\nReads the current weather for an address with Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Path for reading input data. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nBy using this component, you can obtain the current weather by an address. It utilizes the [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128f7001kc51d).\n\n__Input data:__\n\n```js\n// {String} address without diacritics\n'Banska Bystrica, Slovakia'\n```\n\n__Output data__:\n\n```js\n{\n\tname: 'Bratislava',\n\ttemperature: 22,\n\twind: 20.2,\n\thumidity: 65,\n\tpressure: 1018,\n\tcloud: 25,\n\tuv: 6,\n\tsky: 'Partly cloudy'\n}\n```\n","entries":[{"type":"component","name":"Captcha","signature":"tapicaptchaapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"ChatGPT","signature":"tapichatgptapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check credits","signature":"tapicheckapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check VAT","signature":"tapicheckvatapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exchange rates","signature":"tapiexchangeratesapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"File converter","signature":"tapiconvertapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Geo IP","signature":"tapigeoipapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Invoice parser","signature":"tapiinvoiceparserapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"tlogger.html · version 2","since":"","deprecated":false},{"type":"component","name":"OCR","signature":"tapiocrapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Plate number parser","signature":"tapiplatenumber.html · version 1","since":"","deprecated":false},{"type":"component","name":"Print PDF","signature":"tapiprintapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"sms.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"tapismsapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Weather","signature":"tapiweatherapi.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTw3EE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/totaljs-api/","project":"flow","version":"11-1","section":"components","language":"de","title":"Total.js API","summary":"Komponenten, die mit deinem Token die Dienste von Total.js API aufrufen.","markdown":"---\ntitle: Total.js API\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/totaljs-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js API\n\n> Komponenten, die mit deinem Token die Dienste von Total.js API aufrufen.\n\nKomponenten, die mit deinem Token die Dienste von Total.js API aufrufen. Diese Seite enthält die Katalog-Gruppen **Total.js API Services**, **Total.js API**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### tapicaptchaapi.html · version 1\n\nType: `component`\n\nErzeugt mit Total.js API ein Captcha als JPEG-Bild.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n| `width` | `Number` | no | `200` | Breite. |\n| `height` | `Number` | no | `80` | Höhe. |\n| `dark` | `Boolean` | no | `false` | Dunkler Modus. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDer Captcha-Bildgenerator erzeugt ein einfaches JPEG-Bild. Er nutzt die [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#Ii6INR1cR61f).\n\n__Eingabedaten:__\n\n```js\n// {String} Captcha text\n'123456'\n```\n\n__Ausgabedaten__:\n\n```js\n// Returns DataURI\n'data:image/jpeg;base64,/9j/4AAQSkZ...''\n\n```\n\n### tapichatgptapi.html · version 1\n\nType: `component`\n\nFragt ChatGPT über Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n| `output` | `String` | no | `text` | Ausgabe. Eine von: `text` (Text), `image` (Image). |\n| `size` | `String` | no | `small` | Größe. Eine von: `small` (Small), `medium` (Medium), `large` (Large). |\n| `response` | `String` | no | `buffer` | Antworttyp. Einer von: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nMit dieser Komponente kannst du ChatGPT / OpenAPI Fragen stellen. Sie nutzt die [Total.js ChatGPT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128fm001kc51d).\n\n__Eingabedaten:__\n\n```js\n// {String} a question for ChatGPT\n'What is Total.js Platform'\n```\n\n__Ausgabedaten__:\n\nWenn `output` auf Text gesetzt ist:\n\n```js\n{\n    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'\n}\n```\n\nWenn `output` auf Image gesetzt ist:\nGibt die Daten gemäß der Einstellung Response type der Komponente zurück. Das kann `Buffer`, `Base64` oder `DataURI` sein.\n\n### tapicheckapi.html · version 1\n\nType: `component`\n\nGibt den aktuellen Status deines Total.js-API-Tokens zurück.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nGibt den aktuellen Status deines Tokens zurück. Sie nutzt die [Total.js Check API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d397001td51c).\n\n__Ausgabedaten__:\n\n```js\n{\n    credits: 34.49\n}\n```\n\n### tapicheckvatapi.html · version 1\n\nType: `component`\n\nPrüft mit Total.js API, ob ein Unternehmen in der Europäischen Union umsatzsteuerpflichtig ist.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nStellt fest, ob ein Unternehmen umsatzsteuerpflichtig ist oder nicht. Funktioniert nur in der Europäischen Union. Sie nutzt die [Total.js Check VAT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d385001lt51c).\n\n__Eingabedaten:__\n\n```js\n// {String} VAT ID\n'SK2120417167'\n```\n\n__Ausgabedaten__:\n\n```js\n{\n    is: true, // Is VAT Payer?\n    vat: 20,  // Country VAT\n    name: 'Total Avengers s. r. o.',\n    address: 'Viestova 6784/28\\n97401 Banská Bystrica\\nSlovensko'\n}\n```\n\n### tapiexchangeratesapi.html · version 1\n\nType: `component`\n\nLiest Wechselkurse mit Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `currency` | `String` | no | `EUR` | Währung. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nLiest Wechselkurse. Sie nutzt die [Total.js Exchangerates API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6e2f4001dt51c).\n\n__Eingabedaten__:\n\n```js\n// {String} Date, optional input default is current date\n\"2020-12-12\"\n```\n\n__Ausgabedaten__:\n\n```js\n{\n    USD: 1.2109,\n    JPY: 126.05,\n    BGN: 1.9558,\n    CZK: 26.239,\n    DKK: 7.4429,\n    GBP: 0.9,\n    HUF: 356.64,\n    PLN: 4.4246,\n    RON: 4.8685,\n    SEK: 10.2745,\n    CHF: 1.0764,\n    ISK: 153.5,\n    NOK: 10.5763,\n    HRK: 7.549,\n    RUB: 89.167,\n    TRY: 9.4762,\n    AUD: 1.6185,\n    BRL: 6.1993,\n    CAD: 1.5472,\n    CNY: 7.9167,\n    HKD: 9.3866,\n    IDR: 17078,\n    ILS: 3.9406,\n    INR: 89.212,\n    KRW: 1314.27,\n    MXN: 23.9187,\n    MYR: 4.9196,\n    NZD: 1.7103,\n    PHP: 58.298,\n    SGD: 1.6174,\n    THB: 36.388,\n    ZAR: 18.0756\n}\n```\n\n### tapiconvertapi.html · version 1\n\nType: `component`\n\nWandelt mit Total.js API eine Datei in einen anderen Dateityp um.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n| `to` | `String` | no | `pdf` | Umwandeln in. Eines von: `pdf` (PDF), `jpg` (JPG), `png` (PNG). |\n| `output` | `String` | no | `buffer` | Antworttyp. Einer von: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nWandelt eine Datei in einen anderen Dateityp um. Sie nutzt die [Total.js Convert API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ff8001db51d).\n\n__Eingabedaten:__\n\n```js\n// {String} dataURI of a file\n\"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Ausgabedaten__:\nGibt die Daten gemäß der Einstellung `Response type` der Komponente zurück. Das kann `Buffer`, `Base64` oder `DataURI` sein.\n\n### tapigeoipapi.html · version 1\n\nType: `component`\n\nLiest mit Total.js API den Standort einer IP-Adresse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nLiest GEO-Informationen zu einer IP-Adresse. Sie nutzt die [Total.js GEO IP API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d381001hc51c).\n\n__Eingabedaten:__\n\n```js\n// {String} IP address\n\"78.98.116.204\"\n```\n\n__Ausgabedaten__:\n\n```js\n{\n\tip: '78.98.95.176',\n\tisp: 'Slovak Telekom, a.s.',\n\tcountry: 'Slovakia',\n\tcountry_code: 'SK',\n\tregion: 'Banska Bystrica',\n\tregion_code: 'BC',\n\tcity: 'Banská Bystrica',\n\tzip: '974 01',\n\tcontinent: 'Europe',\n\tcontinent_code: 'EU',\n\tlat: 48.804,\n\tlng: 19.1363,\n\ttimezone: 'Europe/Bratislava'\n}\n```\n\n### tapiinvoiceparserapi.html · version 1\n\nType: `component`\n\nLiest mit Total.js API die Daten einer Rechnung aus einer PDF-, JPG- oder PNG-Datei.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nLiest die Metadaten der Rechnung aus einer Datei vom Typ PDF/JPG/PNG. Sie nutzt die [Total.js Invoiceparser API](https://docs.totaljs.com/totalapi/6c221003eo51c/#130w3001db51d).\n\n__Eingabedaten:__\n\n```js\n// {String} dataURI of a file\n\"data\": \"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Ausgabedaten__:\n\n```js\n{\n    supplier: {\n        address: 'Nádražní 44/86 15000 Praha 5',\n        name: 'DRONPRO',\n        vatid: 'CZ04587332'\n    },\n    customer: {\n        name: 'TOTAL AVENGERS S.R.O.',\n        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',\n        vatid: 'SK2120417167'\n    },\n    date: '2023-07-17',\n    number: '23ES04414',\n    amount: 3445.46,\n    total: 3445.46,\n    currency: 'CZK',\n    language: null,\n    tax: 0\n}\n```\n\n### tlogger.html · version 2\n\nType: `component`\n\nProtokolliert eingehende Nachrichten im Total.js Cloud Logger.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Total-API-Token. |\n| `type` | `String` | no | `info` | Typ. Einer von: `info` (Info), `error` (Error), `warning` (Warning), `success` (Success). |\n| `message` | `String` | no |  | Nachricht. |\n| `reference` | `String` | no |  | Referenz. |\n| `url` | `String` | no |  | URL-Adresse. |\n| `app` | `String` | no |  | Name der App. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente protokolliert eingehende Nachrichten im Total.js Cloud Logger.\n\n### tapiocrapi.html · version 1\n\nType: `component`\n\nLiest mit Total.js API den Text aus JPG-, PNG- oder PDF-Dateien.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n| `language` | `String` | no | `eng` | Sprache. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nOCR-Leser für Dateien vom Typ `JPG`, `PNG` oder `PDF`. Er nutzt die [Total.js OCR API](https://docs.totaljs.com/totalapi/6c221003eo51c/#If83x81cy61f).\n\n__Eingabedaten:__\n\n```js\n// {String} dataURI of a file\n\"data:image/png;base64,iVBORw0KGgo.....\"\n```\n\n__Ausgabedaten:__\n\n```js\n{\n\ttext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'\n}\n```\n\n### tapiplatenumber.html · version 1\n\nType: `component`\n\nLiest mit Total.js API ein Kfz-Kennzeichen aus einem JPG- oder PNG-Bild.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n| `code` | `String` | no | `eu` | Ländercode. Einer von: `eu` (EU), `us` (US). |\n| `first` | `Boolean` | no | `false` | Nur den ersten Wert zurückgeben. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nLiest ein Kennzeichen aus einem JPG/PNG-Bild. Sie nutzt die [Total.js Platenumber API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ffb001db51d).\n\n__Eingabedaten:__\n\n```js\n// {String} dataURI of an image\n'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'\n```\n\n__Ausgabedaten:__\n\n```js\n[\n  {\n    \"value\": \"H786P0J\",\n    \"confidence\": 89.8356\n  },\n  {\n    \"value\": \"H786POJ\",\n    \"confidence\": 87.6114\n  },\n  {\n    \"value\": \"HN786P0J\",\n    \"confidence\": 85.2152\n  }\n]\n```\n\n### tapiprintapi.html · version 1\n\nType: `component`\n\nDruckt mit Total.js API HTML oder eine URL-Adresse in eine PDF-, JPG-, PNG- oder DOCX-Datei.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n| `type` | `String` | no | `pdf` | Typ. Einer von: `pdf` (PDF), `jpg` (JPG), `png` (PNG), `docx` (DOCX). |\n| `page` | `String` | no | `A4` | Seite. |\n| `width` | `Number` | no | `0` | Breite. |\n| `height` | `Number` | no | `0` | Höhe. |\n| `dpi` | `Number` | no | `96` | DPI. |\n| `top` | `Number` | no | `0` | Oben. |\n| `right` | `Number` | no | `0` | Rechts. |\n| `bottom` | `Number` | no | `0` | Unten. |\n| `left` | `Number` | no | `0` | Links. |\n| `viewport` | `String` | no |  | Viewport. Einer von: `xs` (XS), `sm` (SM), `md` (MD), `lg` (LG). |\n| `quality` | `Number` | no | `80` | Qualität. |\n| `orientation` | `String` | no | `portrait` | Ausrichtung. Eine von: `portrait` (Portrait), `landscape` (Landscape). |\n| `grayscale` | `Boolean` | no | `false` | Graustufen. |\n| `lowquality` | `Boolean` | no | `false` | Niedrige Qualität. |\n| `zoom` | `Number` | no | `100` | Zoom. |\n| `output` | `String` | no | `buffer` | Antworttyp. Einer von: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDruckt HTML oder eine URL-Adresse in eine PDF-, JPG-, PNG- oder DOCX-Datei. Sie nutzt die [Total.js Print API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6c225001ga51c).\n\n__Eingabedaten:__\n\n```js\n// {String} HTML content or URL address\n'<h1>HTML content</h1>'\n```\n\n__Ausgabedaten:__\nGibt die Daten gemäß der Einstellung `Response type` der Komponente zurück. Das kann `Buffer`, `Base64` oder `DataURI` sein.\n\n### sms.html · version 1\n\nType: `component`\n\nSendet eine SMS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Total-API-Token. |\n| `to` | `String` | no |  | An. |\n| `from` | `String` | no |  | Von. |\n| `body` | `String` | no |  | Nachricht. |\n| `isdata` | `Boolean` | no | `false` | Nur die Daten der eingehenden Nachricht senden. |\n| `path` | `String` | no |  | Pfad zum Lesen der Nachricht. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** keine.\n\nDie Komponente sendet eine SMS.\n\n### tapismsapi.html · version 1\n\nType: `component`\n\nSendet mit Total.js API eine SMS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `from` | `String` | no |  | Von. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nMit dieser Komponente kannst du SMS senden. Sie nutzt die [Total.js SMS API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d220001ni51c).\n\n__Eingabedaten:__\n\n```js\n{\n\tto: \"+421903163302\",\n\tbody: \"Your message ...\"\n}\n```\n\n__Ausgabedaten__:\n\n```js\n{ success: true }\n```\n\n### tapiweatherapi.html · version 1\n\nType: `component`\n\nLiest mit Total.js API das aktuelle Wetter für eine Adresse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API-Token. |\n| `path` | `String` | no |  | Pfad zum Lesen der Eingabedaten. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nMit dieser Komponente kannst du das aktuelle Wetter für eine Adresse abrufen. Sie nutzt die [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128f7001kc51d).\n\n__Eingabedaten:__\n\n```js\n// {String} address without diacritics\n'Banska Bystrica, Slovakia'\n```\n\n__Ausgabedaten__:\n\n```js\n{\n\tname: 'Bratislava',\n\ttemperature: 22,\n\twind: 20.2,\n\thumidity: 65,\n\tpressure: 1018,\n\tcloud: 25,\n\tuv: 6,\n\tsky: 'Partly cloudy'\n}\n```\n","entries":[{"type":"component","name":"Captcha","signature":"tapicaptchaapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"ChatGPT","signature":"tapichatgptapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check credits","signature":"tapicheckapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check VAT","signature":"tapicheckvatapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exchange rates","signature":"tapiexchangeratesapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"File converter","signature":"tapiconvertapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Geo IP","signature":"tapigeoipapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Invoice parser","signature":"tapiinvoiceparserapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"tlogger.html · version 2","since":"","deprecated":false},{"type":"component","name":"OCR","signature":"tapiocrapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Plate number parser","signature":"tapiplatenumber.html · version 1","since":"","deprecated":false},{"type":"component","name":"Print PDF","signature":"tapiprintapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"sms.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"tapismsapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Weather","signature":"tapiweatherapi.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTw3EE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/totaljs-api/","project":"flow","version":"11-1","section":"components","language":"es","title":"Total.js API","summary":"Componentes que llaman a los servicios de Total.js API con tu token.","markdown":"---\ntitle: Total.js API\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/totaljs-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js API\n\n> Componentes que llaman a los servicios de Total.js API con tu token.\n\nComponentes que llaman a los servicios de Total.js API con tu token. Esta página contiene los grupos **Total.js API Services** y **Total.js API** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### tapicaptchaapi.html · version 1\n\nType: `component`\n\nGenera un captcha como imagen JPEG con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n| `width` | `Number` | no | `200` | Ancho. |\n| `height` | `Number` | no | `80` | Alto. |\n| `dark` | `Boolean` | no | `false` | Modo oscuro. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nEl generador de imágenes captcha crea una imagen JPEG sencilla. Usa la [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#Ii6INR1cR61f).\n\n__Datos de entrada:__\n\n```js\n// {String} Captcha text\n'123456'\n```\n\n__Datos de salida__:\n\n```js\n// Returns DataURI\n'data:image/jpeg;base64,/9j/4AAQSkZ...''\n\n```\n\n### tapichatgptapi.html · version 1\n\nType: `component`\n\nPregunta a ChatGPT a través de Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n| `output` | `String` | no | `text` | Salida. Una de: `text` (Text), `image` (Image). |\n| `size` | `String` | no | `small` | Tamaño. Uno de: `small` (Small), `medium` (Medium), `large` (Large). |\n| `response` | `String` | no | `buffer` | Tipo de respuesta. Uno de: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nCon este componente puedes preguntar a ChatGPT / OpenAPI. Usa la [Total.js ChatGPT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128fm001kc51d).\n\n__Datos de entrada:__\n\n```js\n// {String} a question for ChatGPT\n'What is Total.js Platform'\n```\n\n__Datos de salida__:\n\nSi `output` está en Text (texto):\n\n```js\n{\n    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'\n}\n```\n\nSi `output` está en Image (imagen):\nDevuelve los datos según el ajuste Response type (tipo de respuesta) del componente. Puede ser `Buffer`, `Base64` o `DataURI`.\n\n### tapicheckapi.html · version 1\n\nType: `component`\n\nDevuelve el estado actual de tu token de Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nDevuelve el estado actual de tu token. Usa la [Total.js Check API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d397001td51c).\n\n__Datos de salida__:\n\n```js\n{\n    credits: 34.49\n}\n```\n\n### tapicheckvatapi.html · version 1\n\nType: `component`\n\nComprueba con Total.js API si una empresa de la Unión Europea paga el IVA.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nIndica si una empresa paga el IVA o no. Solo funciona en la Unión Europea. Usa la [Total.js Check VAT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d385001lt51c).\n\n__Datos de entrada:__\n\n```js\n// {String} VAT ID\n'SK2120417167'\n```\n\n__Datos de salida__:\n\n```js\n{\n    is: true, // Is VAT Payer?\n    vat: 20,  // Country VAT\n    name: 'Total Avengers s. r. o.',\n    address: 'Viestova 6784/28\\n97401 Banská Bystrica\\nSlovensko'\n}\n```\n\n### tapiexchangeratesapi.html · version 1\n\nType: `component`\n\nLee los tipos de cambio con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `currency` | `String` | no | `EUR` | Moneda. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nLee los tipos de cambio. Usa la [Total.js Exchangerates API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6e2f4001dt51c).\n\n__Datos de entrada__:\n\n```js\n// {String} Date, optional input default is current date\n\"2020-12-12\"\n```\n\n__Datos de salida__:\n\n```js\n{\n    USD: 1.2109,\n    JPY: 126.05,\n    BGN: 1.9558,\n    CZK: 26.239,\n    DKK: 7.4429,\n    GBP: 0.9,\n    HUF: 356.64,\n    PLN: 4.4246,\n    RON: 4.8685,\n    SEK: 10.2745,\n    CHF: 1.0764,\n    ISK: 153.5,\n    NOK: 10.5763,\n    HRK: 7.549,\n    RUB: 89.167,\n    TRY: 9.4762,\n    AUD: 1.6185,\n    BRL: 6.1993,\n    CAD: 1.5472,\n    CNY: 7.9167,\n    HKD: 9.3866,\n    IDR: 17078,\n    ILS: 3.9406,\n    INR: 89.212,\n    KRW: 1314.27,\n    MXN: 23.9187,\n    MYR: 4.9196,\n    NZD: 1.7103,\n    PHP: 58.298,\n    SGD: 1.6174,\n    THB: 36.388,\n    ZAR: 18.0756\n}\n```\n\n### tapiconvertapi.html · version 1\n\nType: `component`\n\nConvierte un archivo a otro tipo de archivo con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n| `to` | `String` | no | `pdf` | Convertir a. Uno de: `pdf` (PDF), `jpg` (JPG), `png` (PNG). |\n| `output` | `String` | no | `buffer` | Tipo de respuesta. Uno de: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nConvierte un archivo a otro tipo de archivo. Usa la [Total.js Convert API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ff8001db51d).\n\n__Datos de entrada:__\n\n```js\n// {String} dataURI of a file\n\"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Datos de salida__:\nDevuelve los datos según el ajuste `Response type` del componente. Puede ser `Buffer`, `Base64` o `DataURI`.\n\n### tapigeoipapi.html · version 1\n\nType: `component`\n\nObtiene la ubicación de una dirección IP con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nObtiene la información geográfica de una dirección IP. Usa la [Total.js GEO IP API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d381001hc51c).\n\n__Datos de entrada:__\n\n```js\n// {String} IP address\n\"78.98.116.204\"\n```\n\n__Datos de salida__:\n\n```js\n{\n\tip: '78.98.95.176',\n\tisp: 'Slovak Telekom, a.s.',\n\tcountry: 'Slovakia',\n\tcountry_code: 'SK',\n\tregion: 'Banska Bystrica',\n\tregion_code: 'BC',\n\tcity: 'Banská Bystrica',\n\tzip: '974 01',\n\tcontinent: 'Europe',\n\tcontinent_code: 'EU',\n\tlat: 48.804,\n\tlng: 19.1363,\n\ttimezone: 'Europe/Bratislava'\n}\n```\n\n### tapiinvoiceparserapi.html · version 1\n\nType: `component`\n\nLee los datos de una factura de un archivo PDF, JPG o PNG con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nExtrae los metadatos de la factura de un archivo PDF/JPG/PNG. Usa la [Total.js Invoiceparser API](https://docs.totaljs.com/totalapi/6c221003eo51c/#130w3001db51d).\n\n__Datos de entrada:__\n\n```js\n// {String} dataURI of a file\n\"data\": \"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Datos de salida__:\n\n```js\n{\n    supplier: {\n        address: 'Nádražní 44/86 15000 Praha 5',\n        name: 'DRONPRO',\n        vatid: 'CZ04587332'\n    },\n    customer: {\n        name: 'TOTAL AVENGERS S.R.O.',\n        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',\n        vatid: 'SK2120417167'\n    },\n    date: '2023-07-17',\n    number: '23ES04414',\n    amount: 3445.46,\n    total: 3445.46,\n    currency: 'CZK',\n    language: null,\n    tax: 0\n}\n```\n\n### tlogger.html · version 2\n\nType: `component`\n\nRegistra los mensajes entrantes en Total.js Cloud Logger.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de Total API. |\n| `type` | `String` | no | `info` | Tipo. Uno de: `info` (Info), `error` (Error), `warning` (Warning), `success` (Success). |\n| `message` | `String` | no |  | Mensaje. |\n| `reference` | `String` | no |  | Referencia. |\n| `url` | `String` | no |  | Dirección URL. |\n| `app` | `String` | no |  | Nombre de la app. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente registra los mensajes entrantes en Total.js Cloud Logger.\n\n### tapiocrapi.html · version 1\n\nType: `component`\n\nLee el texto de archivos JPG, PNG o PDF con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n| `language` | `String` | no | `eng` | Idioma. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nLector OCR para archivos `JPG`, `PNG` o `PDF`. Usa la [Total.js OCR API](https://docs.totaljs.com/totalapi/6c221003eo51c/#If83x81cy61f).\n\n__Datos de entrada:__\n\n```js\n// {String} dataURI of a file\n\"data:image/png;base64,iVBORw0KGgo.....\"\n```\n\n__Datos de salida:__\n\n```js\n{\n\ttext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'\n}\n```\n\n### tapiplatenumber.html · version 1\n\nType: `component`\n\nLee la matrícula de un vehículo de una imagen JPG o PNG con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n| `code` | `String` | no | `eu` | Código de país. Uno de: `eu` (EU), `us` (US). |\n| `first` | `Boolean` | no | `false` | Devolver solo el primer valor. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nExtrae la matrícula de una imagen JPG/PNG. Usa la [Total.js Platenumber API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ffb001db51d).\n\n__Datos de entrada:__\n\n```js\n// {String} dataURI of an image\n'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'\n```\n\n__Datos de salida:__\n\n```js\n[\n  {\n    \"value\": \"H786P0J\",\n    \"confidence\": 89.8356\n  },\n  {\n    \"value\": \"H786POJ\",\n    \"confidence\": 87.6114\n  },\n  {\n    \"value\": \"HN786P0J\",\n    \"confidence\": 85.2152\n  }\n]\n```\n\n### tapiprintapi.html · version 1\n\nType: `component`\n\nImprime HTML o una dirección URL en un archivo PDF, JPG, PNG o DOCX con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n| `type` | `String` | no | `pdf` | Tipo. Uno de: `pdf` (PDF), `jpg` (JPG), `png` (PNG), `docx` (DOCX). |\n| `page` | `String` | no | `A4` | Página. |\n| `width` | `Number` | no | `0` | Ancho. |\n| `height` | `Number` | no | `0` | Alto. |\n| `dpi` | `Number` | no | `96` | DPI. |\n| `top` | `Number` | no | `0` | Superior. |\n| `right` | `Number` | no | `0` | Derecha. |\n| `bottom` | `Number` | no | `0` | Inferior. |\n| `left` | `Number` | no | `0` | Izquierda. |\n| `viewport` | `String` | no |  | Viewport. Uno de: `xs` (XS), `sm` (SM), `md` (MD), `lg` (LG). |\n| `quality` | `Number` | no | `80` | Calidad. |\n| `orientation` | `String` | no | `portrait` | Orientación. Una de: `portrait` (Portrait), `landscape` (Landscape). |\n| `grayscale` | `Boolean` | no | `false` | Escala de grises. |\n| `lowquality` | `Boolean` | no | `false` | Baja calidad. |\n| `zoom` | `Number` | no | `100` | Zoom. |\n| `output` | `String` | no | `buffer` | Tipo de respuesta. Uno de: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nImprime HTML o una dirección URL en un archivo PDF, JPG, PNG o DOCX. Usa la [Total.js Print API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6c225001ga51c).\n\n__Datos de entrada:__\n\n```js\n// {String} HTML content or URL address\n'<h1>HTML content</h1>'\n```\n\n__Datos de salida:__\nDevuelve los datos según el ajuste `Response type` del componente. Puede ser `Buffer`, `Base64` o `DataURI`.\n\n### sms.html · version 1\n\nType: `component`\n\nEnvía un mensaje de texto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de Total API. |\n| `to` | `String` | no |  | Para. |\n| `from` | `String` | no |  | De. |\n| `body` | `String` | no |  | Mensaje. |\n| `isdata` | `Boolean` | no | `false` | Enviar solo los datos del mensaje entrante. |\n| `path` | `String` | no |  | Ruta para leer el mensaje. |\n\n**Entradas:** `input` (Input).\n**Salidas:** ninguna.\n\nEl componente envía un mensaje SMS.\n\n### tapismsapi.html · version 1\n\nType: `component`\n\nEnvía un mensaje de texto con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `from` | `String` | no |  | De. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nCon este componente puedes enviar SMS. Usa la [Total.js SMS API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d220001ni51c).\n\n__Datos de entrada:__\n\n```js\n{\n\tto: \"+421903163302\",\n\tbody: \"Your message ...\"\n}\n```\n\n__Datos de salida__:\n\n```js\n{ success: true }\n```\n\n### tapiweatherapi.html · version 1\n\nType: `component`\n\nObtiene el tiempo actual de una dirección con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API. |\n| `path` | `String` | no |  | Ruta para leer los datos de entrada. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nCon este componente puedes obtener el tiempo actual de una dirección. Usa la [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128f7001kc51d).\n\n__Datos de entrada:__\n\n```js\n// {String} address without diacritics\n'Banska Bystrica, Slovakia'\n```\n\n__Datos de salida__:\n\n```js\n{\n\tname: 'Bratislava',\n\ttemperature: 22,\n\twind: 20.2,\n\thumidity: 65,\n\tpressure: 1018,\n\tcloud: 25,\n\tuv: 6,\n\tsky: 'Partly cloudy'\n}\n```\n","entries":[{"type":"component","name":"Captcha","signature":"tapicaptchaapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"ChatGPT","signature":"tapichatgptapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check credits","signature":"tapicheckapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check VAT","signature":"tapicheckvatapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exchange rates","signature":"tapiexchangeratesapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"File converter","signature":"tapiconvertapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Geo IP","signature":"tapigeoipapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Invoice parser","signature":"tapiinvoiceparserapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"tlogger.html · version 2","since":"","deprecated":false},{"type":"component","name":"OCR","signature":"tapiocrapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Plate number parser","signature":"tapiplatenumber.html · version 1","since":"","deprecated":false},{"type":"component","name":"Print PDF","signature":"tapiprintapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"sms.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"tapismsapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Weather","signature":"tapiweatherapi.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTw3EE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/totaljs-api/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Total.js API","summary":"Composants qui appellent les services de Total.js API avec ton jeton.","markdown":"---\ntitle: Total.js API\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/totaljs-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js API\n\n> Composants qui appellent les services de Total.js API avec ton jeton.\n\nComposants qui appellent les services de Total.js API avec ton jeton. Cette page contient les groupes du catalogue **Total.js API Services**, **Total.js API**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### tapicaptchaapi.html · version 1\n\nType: `component`\n\nGénère un captcha sous forme d’image JPEG avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n| `width` | `Number` | no | `200` | Largeur. |\n| `height` | `Number` | no | `80` | Hauteur. |\n| `dark` | `Boolean` | no | `false` | Mode sombre. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLe générateur d’images captcha crée une simple image JPEG. Il utilise la [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#Ii6INR1cR61f).\n\n__Données d’entrée :__\n\n```js\n// {String} Captcha text\n'123456'\n```\n\n__Données de sortie__ :\n\n```js\n// Returns DataURI\n'data:image/jpeg;base64,/9j/4AAQSkZ...''\n\n```\n\n### tapichatgptapi.html · version 1\n\nType: `component`\n\nPose des questions à ChatGPT via Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n| `output` | `String` | no | `text` | Sortie. Valeurs possibles : `text` (Text), `image` (Image). |\n| `size` | `String` | no | `small` | Taille. Valeurs possibles : `small` (Small), `medium` (Medium), `large` (Large). |\n| `response` | `String` | no | `buffer` | Type de réponse. Valeurs possibles : `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nAvec ce composant, tu peux poser des questions à ChatGPT / OpenAPI. Il utilise la [Total.js ChatGPT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128fm001kc51d).\n\n__Données d’entrée :__\n\n```js\n// {String} a question for ChatGPT\n'What is Total.js Platform'\n```\n\n__Données de sortie__ :\n\nSi `output` est réglé sur Text :\n\n```js\n{\n    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'\n}\n```\n\nSi `output` est réglé sur Image :\nRenvoie les données selon le Response type de la configuration du composant. Ce peut être `Buffer`, `Base64` ou `DataURI`.\n\n### tapicheckapi.html · version 1\n\nType: `component`\n\nRenvoie l’état actuel de ton jeton Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nRenvoie l’état actuel de ton jeton. Il utilise la [Total.js Check API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d397001td51c).\n\n__Données de sortie__ :\n\n```js\n{\n    credits: 34.49\n}\n```\n\n### tapicheckvatapi.html · version 1\n\nType: `component`\n\nVérifie si une entreprise de l’Union européenne est assujettie à la TVA, avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nDétermine si une entreprise est assujettie à la TVA ou non. Fonctionne seulement dans l’Union européenne. Il utilise la [Total.js Check VAT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d385001lt51c).\n\n__Données d’entrée :__\n\n```js\n// {String} VAT ID\n'SK2120417167'\n```\n\n__Données de sortie__ :\n\n```js\n{\n    is: true, // Is VAT Payer?\n    vat: 20,  // Country VAT\n    name: 'Total Avengers s. r. o.',\n    address: 'Viestova 6784/28\\n97401 Banská Bystrica\\nSlovensko'\n}\n```\n\n### tapiexchangeratesapi.html · version 1\n\nType: `component`\n\nLit les taux de change avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `currency` | `String` | no | `EUR` | Devise. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLit les taux de change. Il utilise la [Total.js Exchangerates API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6e2f4001dt51c).\n\n__Données d’entrée__ :\n\n```js\n// {String} Date, optional input default is current date\n\"2020-12-12\"\n```\n\n__Données de sortie__ :\n\n```js\n{\n    USD: 1.2109,\n    JPY: 126.05,\n    BGN: 1.9558,\n    CZK: 26.239,\n    DKK: 7.4429,\n    GBP: 0.9,\n    HUF: 356.64,\n    PLN: 4.4246,\n    RON: 4.8685,\n    SEK: 10.2745,\n    CHF: 1.0764,\n    ISK: 153.5,\n    NOK: 10.5763,\n    HRK: 7.549,\n    RUB: 89.167,\n    TRY: 9.4762,\n    AUD: 1.6185,\n    BRL: 6.1993,\n    CAD: 1.5472,\n    CNY: 7.9167,\n    HKD: 9.3866,\n    IDR: 17078,\n    ILS: 3.9406,\n    INR: 89.212,\n    KRW: 1314.27,\n    MXN: 23.9187,\n    MYR: 4.9196,\n    NZD: 1.7103,\n    PHP: 58.298,\n    SGD: 1.6174,\n    THB: 36.388,\n    ZAR: 18.0756\n}\n```\n\n### tapiconvertapi.html · version 1\n\nType: `component`\n\nConvertit un fichier vers un autre type de fichier avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n| `to` | `String` | no | `pdf` | Convertir en. Valeurs possibles : `pdf` (PDF), `jpg` (JPG), `png` (PNG). |\n| `output` | `String` | no | `buffer` | Type de réponse. Valeurs possibles : `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nIl convertit un fichier vers un autre type de fichier. Il utilise la [Total.js Convert API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ff8001db51d).\n\n__Données d’entrée :__\n\n```js\n// {String} dataURI of a file\n\"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Données de sortie__ :\nRenvoie les données selon le `Response type` de la configuration du composant. Ce peut être `Buffer`, `Base64` ou `DataURI`.\n\n### tapigeoipapi.html · version 1\n\nType: `component`\n\nLit la localisation d’une adresse IP avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLit les informations géographiques d’une adresse IP. Il utilise la [Total.js GEO IP API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d381001hc51c).\n\n__Données d’entrée :__\n\n```js\n// {String} IP address\n\"78.98.116.204\"\n```\n\n__Données de sortie__ :\n\n```js\n{\n\tip: '78.98.95.176',\n\tisp: 'Slovak Telekom, a.s.',\n\tcountry: 'Slovakia',\n\tcountry_code: 'SK',\n\tregion: 'Banska Bystrica',\n\tregion_code: 'BC',\n\tcity: 'Banská Bystrica',\n\tzip: '974 01',\n\tcontinent: 'Europe',\n\tcontinent_code: 'EU',\n\tlat: 48.804,\n\tlng: 19.1363,\n\ttimezone: 'Europe/Bratislava'\n}\n```\n\n### tapiinvoiceparserapi.html · version 1\n\nType: `component`\n\nLit les données d’une facture depuis un fichier PDF, JPG ou PNG avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nIl extrait les métadonnées de la facture depuis un fichier PDF/JPG/PNG. Il utilise la [Total.js Invoiceparser API](https://docs.totaljs.com/totalapi/6c221003eo51c/#130w3001db51d).\n\n__Données d’entrée :__\n\n```js\n// {String} dataURI of a file\n\"data\": \"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Données de sortie__ :\n\n```js\n{\n    supplier: {\n        address: 'Nádražní 44/86 15000 Praha 5',\n        name: 'DRONPRO',\n        vatid: 'CZ04587332'\n    },\n    customer: {\n        name: 'TOTAL AVENGERS S.R.O.',\n        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',\n        vatid: 'SK2120417167'\n    },\n    date: '2023-07-17',\n    number: '23ES04414',\n    amount: 3445.46,\n    total: 3445.46,\n    currency: 'CZK',\n    language: null,\n    tax: 0\n}\n```\n\n### tlogger.html · version 2\n\nType: `component`\n\nEnregistre les messages entrants dans Total.js Cloud Logger.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton Total API. |\n| `type` | `String` | no | `info` | Type. Valeurs possibles : `info` (Info), `error` (Error), `warning` (Warning), `success` (Success). |\n| `message` | `String` | no |  | Message. |\n| `reference` | `String` | no |  | Référence. |\n| `url` | `String` | no |  | Adresse URL. |\n| `app` | `String` | no |  | Nom de l’app. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant enregistre les messages entrants dans Total.js Cloud Logger.\n\n### tapiocrapi.html · version 1\n\nType: `component`\n\nLit le texte de fichiers JPG, PNG ou PDF avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n| `language` | `String` | no | `eng` | Langue. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nLecteur OCR pour les fichiers `JPG`, `PNG` ou `PDF`. Il utilise la [Total.js OCR API](https://docs.totaljs.com/totalapi/6c221003eo51c/#If83x81cy61f).\n\n__Données d’entrée :__\n\n```js\n// {String} dataURI of a file\n\"data:image/png;base64,iVBORw0KGgo.....\"\n```\n\n__Données de sortie :__\n\n```js\n{\n\ttext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'\n}\n```\n\n### tapiplatenumber.html · version 1\n\nType: `component`\n\nLit une plaque d’immatriculation dans une image JPG ou PNG avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n| `code` | `String` | no | `eu` | Code du pays. Valeurs possibles : `eu` (EU), `us` (US). |\n| `first` | `Boolean` | no | `false` | Renvoyer seulement la première valeur. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nIl lit une plaque d’immatriculation dans une image JPG/PNG. Il utilise la [Total.js Platenumber API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ffb001db51d).\n\n__Données d’entrée :__\n\n```js\n// {String} dataURI of an image\n'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'\n```\n\n__Données de sortie :__\n\n```js\n[\n  {\n    \"value\": \"H786P0J\",\n    \"confidence\": 89.8356\n  },\n  {\n    \"value\": \"H786POJ\",\n    \"confidence\": 87.6114\n  },\n  {\n    \"value\": \"HN786P0J\",\n    \"confidence\": 85.2152\n  }\n]\n```\n\n### tapiprintapi.html · version 1\n\nType: `component`\n\nImprime du HTML ou une adresse URL dans un fichier PDF, JPG, PNG ou DOCX avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n| `type` | `String` | no | `pdf` | Type. Valeurs possibles : `pdf` (PDF), `jpg` (JPG), `png` (PNG), `docx` (DOCX). |\n| `page` | `String` | no | `A4` | Page. |\n| `width` | `Number` | no | `0` | Largeur. |\n| `height` | `Number` | no | `0` | Hauteur. |\n| `dpi` | `Number` | no | `96` | DPI. |\n| `top` | `Number` | no | `0` | Haut. |\n| `right` | `Number` | no | `0` | Droite. |\n| `bottom` | `Number` | no | `0` | Bas. |\n| `left` | `Number` | no | `0` | Gauche. |\n| `viewport` | `String` | no |  | Viewport. Valeurs possibles : `xs` (XS), `sm` (SM), `md` (MD), `lg` (LG). |\n| `quality` | `Number` | no | `80` | Qualité. |\n| `orientation` | `String` | no | `portrait` | Orientation. Valeurs possibles : `portrait` (Portrait), `landscape` (Landscape). |\n| `grayscale` | `Boolean` | no | `false` | Niveaux de gris. |\n| `lowquality` | `Boolean` | no | `false` | Basse qualité. |\n| `zoom` | `Number` | no | `100` | Zoom. |\n| `output` | `String` | no | `buffer` | Type de réponse. Valeurs possibles : `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nImprime du HTML ou une adresse URL dans un fichier PDF, JPG, PNG ou DOCX. Il utilise la [Total.js Print API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6c225001ga51c).\n\n__Données d’entrée :__\n\n```js\n// {String} HTML content or URL address\n'<h1>HTML content</h1>'\n```\n\n__Données de sortie :__\nRenvoie les données selon le `Response type` de la configuration du composant. Ce peut être `Buffer`, `Base64` ou `DataURI`.\n\n### sms.html · version 1\n\nType: `component`\n\nEnvoie un SMS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton Total API. |\n| `to` | `String` | no |  | Destinataire. |\n| `from` | `String` | no |  | Expéditeur. |\n| `body` | `String` | no |  | Message. |\n| `isdata` | `Boolean` | no | `false` | Envoyer seulement les données du message entrant. |\n| `path` | `String` | no |  | Chemin de lecture du message. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** aucune.\n\nLe composant envoie un SMS.\n\n### tapismsapi.html · version 1\n\nType: `component`\n\nEnvoie un SMS avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `from` | `String` | no |  | Expéditeur. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nAvec ce composant, tu peux envoyer des SMS. Il utilise la [Total.js SMS API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d220001ni51c).\n\n__Données d’entrée :__\n\n```js\n{\n\tto: \"+421903163302\",\n\tbody: \"Your message ...\"\n}\n```\n\n__Données de sortie__ :\n\n```js\n{ success: true }\n```\n\n### tapiweatherapi.html · version 1\n\nType: `component`\n\nLit la météo actuelle pour une adresse avec Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API. |\n| `path` | `String` | no |  | Chemin de lecture des données d’entrée. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nAvec ce composant, tu peux obtenir la météo actuelle pour une adresse. Il utilise la [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128f7001kc51d).\n\n__Données d’entrée :__\n\n```js\n// {String} address without diacritics\n'Banska Bystrica, Slovakia'\n```\n\n__Données de sortie__ :\n\n```js\n{\n\tname: 'Bratislava',\n\ttemperature: 22,\n\twind: 20.2,\n\thumidity: 65,\n\tpressure: 1018,\n\tcloud: 25,\n\tuv: 6,\n\tsky: 'Partly cloudy'\n}\n```\n","entries":[{"type":"component","name":"Captcha","signature":"tapicaptchaapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"ChatGPT","signature":"tapichatgptapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check credits","signature":"tapicheckapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check VAT","signature":"tapicheckvatapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exchange rates","signature":"tapiexchangeratesapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"File converter","signature":"tapiconvertapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Geo IP","signature":"tapigeoipapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Invoice parser","signature":"tapiinvoiceparserapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"tlogger.html · version 2","since":"","deprecated":false},{"type":"component","name":"OCR","signature":"tapiocrapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Plate number parser","signature":"tapiplatenumber.html · version 1","since":"","deprecated":false},{"type":"component","name":"Print PDF","signature":"tapiprintapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"sms.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"tapismsapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Weather","signature":"tapiweatherapi.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTw3EE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/totaljs-api/","project":"flow","version":"11-1","section":"components","language":"it","title":"Total.js API","summary":"Componenti che chiamano i servizi di Total.js API con il tuo token.","markdown":"---\ntitle: Total.js API\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/totaljs-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js API\n\n> Componenti che chiamano i servizi di Total.js API con il tuo token.\n\nComponenti che chiamano i servizi di Total.js API con il tuo token. Questa pagina contiene i gruppi del catalogo **Total.js API Services**, **Total.js API**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### tapicaptchaapi.html · version 1\n\nType: `component`\n\nGenera un captcha come immagine JPEG con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n| `width` | `Number` | no | `200` | Larghezza. |\n| `height` | `Number` | no | `80` | Altezza. |\n| `dark` | `Boolean` | no | `false` | Modalità scura. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nIl generatore di immagini captcha crea una semplice immagine JPEG. Usa la [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#Ii6INR1cR61f).\n\n__Dati in ingresso:__\n\n```js\n// {String} Captcha text\n'123456'\n```\n\n__Dati in uscita__:\n\n```js\n// Returns DataURI\n'data:image/jpeg;base64,/9j/4AAQSkZ...''\n\n```\n\n### tapichatgptapi.html · version 1\n\nType: `component`\n\nFa domande a ChatGPT tramite Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n| `output` | `String` | no | `text` | Uscita. Una tra: `text` (Text), `image` (Image). |\n| `size` | `String` | no | `small` | Dimensione. Una tra: `small` (Small), `medium` (Medium), `large` (Large). |\n| `response` | `String` | no | `buffer` | Tipo di risposta. Uno tra: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nCon questo componente puoi fare domande a ChatGPT / OpenAPI. Usa la [Total.js ChatGPT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128fm001kc51d).\n\n__Dati in ingresso:__\n\n```js\n// {String} a question for ChatGPT\n'What is Total.js Platform'\n```\n\n__Dati in uscita__:\n\nSe `output` è impostato su Text:\n\n```js\n{\n    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'\n}\n```\n\nSe `output` è impostato su Image:\nRestituisce i dati in base al Response type della configurazione del componente. Può essere `Buffer`, `Base64` o `DataURI`.\n\n### tapicheckapi.html · version 1\n\nType: `component`\n\nRestituisce lo stato attuale del tuo token di Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nRestituisce lo stato attuale del tuo token. Usa la [Total.js Check API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d397001td51c).\n\n__Dati in uscita__:\n\n```js\n{\n    credits: 34.49\n}\n```\n\n### tapicheckvatapi.html · version 1\n\nType: `component`\n\nControlla se un'azienda dell'Unione Europea è soggetta a IVA, con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nDetermina se un'azienda è soggetta a IVA o no. Funziona solo nell'Unione Europea. Usa la [Total.js Check VAT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d385001lt51c).\n\n__Dati in ingresso:__\n\n```js\n// {String} VAT ID\n'SK2120417167'\n```\n\n__Dati in uscita__:\n\n```js\n{\n    is: true, // Is VAT Payer?\n    vat: 20,  // Country VAT\n    name: 'Total Avengers s. r. o.',\n    address: 'Viestova 6784/28\\n97401 Banská Bystrica\\nSlovensko'\n}\n```\n\n### tapiexchangeratesapi.html · version 1\n\nType: `component`\n\nLegge i tassi di cambio con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `currency` | `String` | no | `EUR` | Valuta. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nLegge i tassi di cambio. Usa la [Total.js Exchangerates API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6e2f4001dt51c).\n\n__Dati in ingresso__:\n\n```js\n// {String} Date, optional input default is current date\n\"2020-12-12\"\n```\n\n__Dati in uscita__:\n\n```js\n{\n    USD: 1.2109,\n    JPY: 126.05,\n    BGN: 1.9558,\n    CZK: 26.239,\n    DKK: 7.4429,\n    GBP: 0.9,\n    HUF: 356.64,\n    PLN: 4.4246,\n    RON: 4.8685,\n    SEK: 10.2745,\n    CHF: 1.0764,\n    ISK: 153.5,\n    NOK: 10.5763,\n    HRK: 7.549,\n    RUB: 89.167,\n    TRY: 9.4762,\n    AUD: 1.6185,\n    BRL: 6.1993,\n    CAD: 1.5472,\n    CNY: 7.9167,\n    HKD: 9.3866,\n    IDR: 17078,\n    ILS: 3.9406,\n    INR: 89.212,\n    KRW: 1314.27,\n    MXN: 23.9187,\n    MYR: 4.9196,\n    NZD: 1.7103,\n    PHP: 58.298,\n    SGD: 1.6174,\n    THB: 36.388,\n    ZAR: 18.0756\n}\n```\n\n### tapiconvertapi.html · version 1\n\nType: `component`\n\nConverte un file in un altro tipo di file con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n| `to` | `String` | no | `pdf` | Converti in. Uno tra: `pdf` (PDF), `jpg` (JPG), `png` (PNG). |\n| `output` | `String` | no | `buffer` | Tipo di risposta. Uno tra: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nConverte un file in un altro tipo di file. Usa la [Total.js Convert API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ff8001db51d).\n\n__Dati in ingresso:__\n\n```js\n// {String} dataURI of a file\n\"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Dati in uscita__:\nRestituisce i dati in base al `Response type` della configurazione del componente. Può essere `Buffer`, `Base64` o `DataURI`.\n\n### tapigeoipapi.html · version 1\n\nType: `component`\n\nLegge la posizione di un indirizzo IP con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nLegge le informazioni geografiche di un indirizzo IP. Usa la [Total.js GEO IP API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d381001hc51c).\n\n__Dati in ingresso:__\n\n```js\n// {String} IP address\n\"78.98.116.204\"\n```\n\n__Dati in uscita__:\n\n```js\n{\n\tip: '78.98.95.176',\n\tisp: 'Slovak Telekom, a.s.',\n\tcountry: 'Slovakia',\n\tcountry_code: 'SK',\n\tregion: 'Banska Bystrica',\n\tregion_code: 'BC',\n\tcity: 'Banská Bystrica',\n\tzip: '974 01',\n\tcontinent: 'Europe',\n\tcontinent_code: 'EU',\n\tlat: 48.804,\n\tlng: 19.1363,\n\ttimezone: 'Europe/Bratislava'\n}\n```\n\n### tapiinvoiceparserapi.html · version 1\n\nType: `component`\n\nLegge i dati di una fattura da un file PDF, JPG o PNG con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nEstrae i metadati della fattura da un file PDF/JPG/PNG. Usa la [Total.js Invoiceparser API](https://docs.totaljs.com/totalapi/6c221003eo51c/#130w3001db51d).\n\n__Dati in ingresso:__\n\n```js\n// {String} dataURI of a file\n\"data\": \"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Dati in uscita__:\n\n```js\n{\n    supplier: {\n        address: 'Nádražní 44/86 15000 Praha 5',\n        name: 'DRONPRO',\n        vatid: 'CZ04587332'\n    },\n    customer: {\n        name: 'TOTAL AVENGERS S.R.O.',\n        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',\n        vatid: 'SK2120417167'\n    },\n    date: '2023-07-17',\n    number: '23ES04414',\n    amount: 3445.46,\n    total: 3445.46,\n    currency: 'CZK',\n    language: null,\n    tax: 0\n}\n```\n\n### tlogger.html · version 2\n\nType: `component`\n\nRegistra i messaggi in arrivo nel Total.js Cloud Logger.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token di Total API. |\n| `type` | `String` | no | `info` | Tipo. Uno tra: `info` (Info), `error` (Error), `warning` (Warning), `success` (Success). |\n| `message` | `String` | no |  | Messaggio. |\n| `reference` | `String` | no |  | Riferimento. |\n| `url` | `String` | no |  | Indirizzo URL. |\n| `app` | `String` | no |  | Nome dell'app. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente registra i messaggi in arrivo nel Total.js Cloud Logger.\n\n### tapiocrapi.html · version 1\n\nType: `component`\n\nLegge il testo di file JPG, PNG o PDF con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n| `language` | `String` | no | `eng` | Lingua. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nLettore OCR per file `JPG`, `PNG` o `PDF`. Usa la [Total.js OCR API](https://docs.totaljs.com/totalapi/6c221003eo51c/#If83x81cy61f).\n\n__Dati in ingresso:__\n\n```js\n// {String} dataURI of a file\n\"data:image/png;base64,iVBORw0KGgo.....\"\n```\n\n__Dati in uscita:__\n\n```js\n{\n\ttext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'\n}\n```\n\n### tapiplatenumber.html · version 1\n\nType: `component`\n\nLegge il numero di targa di un veicolo da un'immagine JPG o PNG con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n| `code` | `String` | no | `eu` | Codice del paese. Uno tra: `eu` (EU), `us` (US). |\n| `first` | `Boolean` | no | `false` | Restituisci solo il primo valore. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nEstrae il numero di targa da un'immagine JPG/PNG. Usa la [Total.js Platenumber API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ffb001db51d).\n\n__Dati in ingresso:__\n\n```js\n// {String} dataURI of an image\n'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'\n```\n\n__Dati in uscita:__\n\n```js\n[\n  {\n    \"value\": \"H786P0J\",\n    \"confidence\": 89.8356\n  },\n  {\n    \"value\": \"H786POJ\",\n    \"confidence\": 87.6114\n  },\n  {\n    \"value\": \"HN786P0J\",\n    \"confidence\": 85.2152\n  }\n]\n```\n\n### tapiprintapi.html · version 1\n\nType: `component`\n\nStampa HTML o un indirizzo URL in un file PDF, JPG, PNG o DOCX con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n| `type` | `String` | no | `pdf` | Tipo. Uno tra: `pdf` (PDF), `jpg` (JPG), `png` (PNG), `docx` (DOCX). |\n| `page` | `String` | no | `A4` | Pagina. |\n| `width` | `Number` | no | `0` | Larghezza. |\n| `height` | `Number` | no | `0` | Altezza. |\n| `dpi` | `Number` | no | `96` | DPI. |\n| `top` | `Number` | no | `0` | Margine superiore. |\n| `right` | `Number` | no | `0` | Margine destro. |\n| `bottom` | `Number` | no | `0` | Margine inferiore. |\n| `left` | `Number` | no | `0` | Margine sinistro. |\n| `viewport` | `String` | no |  | Viewport. Uno tra: `xs` (XS), `sm` (SM), `md` (MD), `lg` (LG). |\n| `quality` | `Number` | no | `80` | Qualità. |\n| `orientation` | `String` | no | `portrait` | Orientamento. Uno tra: `portrait` (Portrait), `landscape` (Landscape). |\n| `grayscale` | `Boolean` | no | `false` | Scala di grigi. |\n| `lowquality` | `Boolean` | no | `false` | Bassa qualità. |\n| `zoom` | `Number` | no | `100` | Zoom. |\n| `output` | `String` | no | `buffer` | Tipo di risposta. Uno tra: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nStampa HTML o un indirizzo URL in un file PDF, JPG, PNG o DOCX. Usa la [Total.js Print API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6c225001ga51c).\n\n__Dati in ingresso:__\n\n```js\n// {String} HTML content or URL address\n'<h1>HTML content</h1>'\n```\n\n__Dati in uscita:__\nRestituisce i dati in base al `Response type` della configurazione del componente. Può essere `Buffer`, `Base64` o `DataURI`.\n\n### sms.html · version 1\n\nType: `component`\n\nInvia un SMS.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token di Total API. |\n| `to` | `String` | no |  | A. |\n| `from` | `String` | no |  | Da. |\n| `body` | `String` | no |  | Messaggio. |\n| `isdata` | `Boolean` | no | `false` | Invia solo i dati del messaggio in arrivo. |\n| `path` | `String` | no |  | Percorso da cui leggere il messaggio. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** nessuna.\n\nIl componente invia un messaggio SMS.\n\n### tapismsapi.html · version 1\n\nType: `component`\n\nInvia un SMS con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `from` | `String` | no |  | Da. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nCon questo componente puoi inviare SMS. Usa la [Total.js SMS API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d220001ni51c).\n\n__Dati in ingresso:__\n\n```js\n{\n\tto: \"+421903163302\",\n\tbody: \"Your message ...\"\n}\n```\n\n__Dati in uscita__:\n\n```js\n{ success: true }\n```\n\n### tapiweatherapi.html · version 1\n\nType: `component`\n\nLegge il meteo attuale di un indirizzo con Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API. |\n| `path` | `String` | no |  | Percorso da cui leggere i dati in ingresso. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nCon questo componente puoi ottenere il meteo attuale di un indirizzo. Usa la [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128f7001kc51d).\n\n__Dati in ingresso:__\n\n```js\n// {String} address without diacritics\n'Banska Bystrica, Slovakia'\n```\n\n__Dati in uscita__:\n\n```js\n{\n\tname: 'Bratislava',\n\ttemperature: 22,\n\twind: 20.2,\n\thumidity: 65,\n\tpressure: 1018,\n\tcloud: 25,\n\tuv: 6,\n\tsky: 'Partly cloudy'\n}\n```\n","entries":[{"type":"component","name":"Captcha","signature":"tapicaptchaapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"ChatGPT","signature":"tapichatgptapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check credits","signature":"tapicheckapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check VAT","signature":"tapicheckvatapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exchange rates","signature":"tapiexchangeratesapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"File converter","signature":"tapiconvertapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Geo IP","signature":"tapigeoipapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Invoice parser","signature":"tapiinvoiceparserapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"tlogger.html · version 2","since":"","deprecated":false},{"type":"component","name":"OCR","signature":"tapiocrapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Plate number parser","signature":"tapiplatenumber.html · version 1","since":"","deprecated":false},{"type":"component","name":"Print PDF","signature":"tapiprintapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"sms.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"tapismsapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Weather","signature":"tapiweatherapi.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTw3EE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/totaljs-api/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Total.js API","summary":"Komponenty, ktoré volajú služby Total.js API s tvojím tokenom.","markdown":"---\ntitle: Total.js API\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/totaljs-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Total.js API\n\n> Komponenty, ktoré volajú služby Total.js API s tvojím tokenom.\n\nKomponenty, ktoré volajú služby Total.js API s tvojím tokenom. Táto stránka obsahuje skupiny katalógu **Total.js API Services**, **Total.js API**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### tapicaptchaapi.html · version 1\n\nType: `component`\n\nVygeneruje captchu ako obrázok JPEG pomocou Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n| `width` | `Number` | no | `200` | Šírka. |\n| `height` | `Number` | no | `80` | Výška. |\n| `dark` | `Boolean` | no | `false` | Tmavý režim. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nGenerátor captcha obrázkov vytvorí jednoduchý obrázok JPEG. Využíva [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#Ii6INR1cR61f).\n\n__Vstupné údaje:__\n\n```js\n// {String} Captcha text\n'123456'\n```\n\n__Výstupné údaje__:\n\n```js\n// Returns DataURI\n'data:image/jpeg;base64,/9j/4AAQSkZ...''\n\n```\n\n### tapichatgptapi.html · version 1\n\nType: `component`\n\nPýta sa ChatGPT cez Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n| `output` | `String` | no | `text` | Výstup. Jedna z hodnôt: `text` (Text), `image` (Image). |\n| `size` | `String` | no | `small` | Veľkosť. Jedna z hodnôt: `small` (Small), `medium` (Medium), `large` (Large). |\n| `response` | `String` | no | `buffer` | Typ odpovede. Jedna z hodnôt: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nPomocou tohto komponentu sa môžeš pýtať ChatGPT / OpenAPI. Využíva [Total.js ChatGPT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128fm001kc51d).\n\n__Vstupné údaje:__\n\n```js\n// {String} a question for ChatGPT\n'What is Total.js Platform'\n```\n\n__Výstupné údaje__:\n\nAk je `output` nastavený na Text:\n\n```js\n{\n    text: 'Total.js Platform is a web development platform that provides a comprehensive set of tools and modules for building modern, scalable, and high-performance web applications. It is based on the Node.js runtime and offers a seamless development experience with a powerful, intuitive, and easy-to-use framework. Total.js Platform includes features such as database integration, real-time communication, server-side rendering, RESTful API support, and more. It also supports various front-end technologies and integrates seamlessly with popular third-party libraries and services, making it a great choice for building full-stack web applications.'\n}\n```\n\nAk je `output` nastavený na Image:\nVráti údaje podľa nastavenia Response type v konfigurácii komponentu. Môže to byť `Buffer`, `Base64` alebo `DataURI`.\n\n### tapicheckapi.html · version 1\n\nType: `component`\n\nVráti aktuálny stav tvojho tokenu Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nVráti aktuálny stav tvojho tokenu. Využíva [Total.js Check API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d397001td51c).\n\n__Výstupné údaje__:\n\n```js\n{\n    credits: 34.49\n}\n```\n\n### tapicheckvatapi.html · version 1\n\nType: `component`\n\nPomocou Total.js API overí, či je firma v Európskej únii platiteľom DPH.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nZistí, či je firma platiteľom DPH, alebo nie. Funguje iba v Európskej únii. Využíva [Total.js Check VAT API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d385001lt51c).\n\n__Vstupné údaje:__\n\n```js\n// {String} VAT ID\n'SK2120417167'\n```\n\n__Výstupné údaje__:\n\n```js\n{\n    is: true, // Is VAT Payer?\n    vat: 20,  // Country VAT\n    name: 'Total Avengers s. r. o.',\n    address: 'Viestova 6784/28\\n97401 Banská Bystrica\\nSlovensko'\n}\n```\n\n### tapiexchangeratesapi.html · version 1\n\nType: `component`\n\nNačíta výmenné kurzy pomocou Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `currency` | `String` | no | `EUR` | Mena. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nNačíta výmenné kurzy. Využíva [Total.js Exchangerates API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6e2f4001dt51c).\n\n__Vstupné údaje__:\n\n```js\n// {String} Date, optional input default is current date\n\"2020-12-12\"\n```\n\n__Výstupné údaje__:\n\n```js\n{\n    USD: 1.2109,\n    JPY: 126.05,\n    BGN: 1.9558,\n    CZK: 26.239,\n    DKK: 7.4429,\n    GBP: 0.9,\n    HUF: 356.64,\n    PLN: 4.4246,\n    RON: 4.8685,\n    SEK: 10.2745,\n    CHF: 1.0764,\n    ISK: 153.5,\n    NOK: 10.5763,\n    HRK: 7.549,\n    RUB: 89.167,\n    TRY: 9.4762,\n    AUD: 1.6185,\n    BRL: 6.1993,\n    CAD: 1.5472,\n    CNY: 7.9167,\n    HKD: 9.3866,\n    IDR: 17078,\n    ILS: 3.9406,\n    INR: 89.212,\n    KRW: 1314.27,\n    MXN: 23.9187,\n    MYR: 4.9196,\n    NZD: 1.7103,\n    PHP: 58.298,\n    SGD: 1.6174,\n    THB: 36.388,\n    ZAR: 18.0756\n}\n```\n\n### tapiconvertapi.html · version 1\n\nType: `component`\n\nPrevedie súbor na iný typ súboru pomocou Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n| `to` | `String` | no | `pdf` | Previesť na. Jedna z hodnôt: `pdf` (PDF), `jpg` (JPG), `png` (PNG). |\n| `output` | `String` | no | `buffer` | Typ odpovede. Jedna z hodnôt: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nPrevedie súbor na iný typ súboru. Využíva [Total.js Convert API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ff8001db51d).\n\n__Vstupné údaje:__\n\n```js\n// {String} dataURI of a file\n\"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Výstupné údaje__:\nVráti údaje podľa nastavenia `Response type` v konfigurácii komponentu. Môže to byť `Buffer`, `Base64` alebo `DataURI`.\n\n### tapigeoipapi.html · version 1\n\nType: `component`\n\nZistí polohu IP adresy pomocou Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nNačíta GEO informácie o IP adrese. Využíva [Total.js GEO IP API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d381001hc51c).\n\n__Vstupné údaje:__\n\n```js\n// {String} IP address\n\"78.98.116.204\"\n```\n\n__Výstupné údaje__:\n\n```js\n{\n\tip: '78.98.95.176',\n\tisp: 'Slovak Telekom, a.s.',\n\tcountry: 'Slovakia',\n\tcountry_code: 'SK',\n\tregion: 'Banska Bystrica',\n\tregion_code: 'BC',\n\tcity: 'Banská Bystrica',\n\tzip: '974 01',\n\tcontinent: 'Europe',\n\tcontinent_code: 'EU',\n\tlat: 48.804,\n\tlng: 19.1363,\n\ttimezone: 'Europe/Bratislava'\n}\n```\n\n### tapiinvoiceparserapi.html · version 1\n\nType: `component`\n\nPomocou Total.js API načíta údaje faktúry zo súboru PDF, JPG alebo PNG.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nZo súboru typu PDF/JPG/PNG vyčíta metaúdaje faktúry. Využíva [Total.js Invoiceparser API](https://docs.totaljs.com/totalapi/6c221003eo51c/#130w3001db51d).\n\n__Vstupné údaje:__\n\n```js\n// {String} dataURI of a file\n\"data\": \"data:application/pdf;base64,JVBERi0xLjcN...\"\n```\n\n__Výstupné údaje__:\n\n```js\n{\n    supplier: {\n        address: 'Nádražní 44/86 15000 Praha 5',\n        name: 'DRONPRO',\n        vatid: 'CZ04587332'\n    },\n    customer: {\n        name: 'TOTAL AVENGERS S.R.O.',\n        address: 'Viestova 6784/28 97401 Banská Bystrica, Slovakia',\n        vatid: 'SK2120417167'\n    },\n    date: '2023-07-17',\n    number: '23ES04414',\n    amount: 3445.46,\n    total: 3445.46,\n    currency: 'CZK',\n    language: null,\n    tax: 0\n}\n```\n\n### tlogger.html · version 2\n\nType: `component`\n\nZapisuje prichádzajúce správy do Total.js Cloud Logger.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token Total API. |\n| `type` | `String` | no | `info` | Typ. Jedna z hodnôt: `info` (Info), `error` (Error), `warning` (Warning), `success` (Success). |\n| `message` | `String` | no |  | Správa. |\n| `reference` | `String` | no |  | Referencia. |\n| `url` | `String` | no |  | URL adresa. |\n| `app` | `String` | no |  | Názov aplikácie. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent zapisuje prichádzajúce správy do Total.js Cloud Logger.\n\n### tapiocrapi.html · version 1\n\nType: `component`\n\nPomocou Total.js API prečíta text zo súborov JPG, PNG alebo PDF.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n| `language` | `String` | no | `eng` | Jazyk. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nOCR čítačka pre súbory `JPG`, `PNG` alebo `PDF`. Využíva [Total.js OCR API](https://docs.totaljs.com/totalapi/6c221003eo51c/#If83x81cy61f).\n\n__Vstupné údaje:__\n\n```js\n// {String} dataURI of a file\n\"data:image/png;base64,iVBORw0KGgo.....\"\n```\n\n__Výstupné údaje:__\n\n```js\n{\n\ttext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do...'\n}\n```\n\n### tapiplatenumber.html · version 1\n\nType: `component`\n\nPomocou Total.js API prečíta evidenčné číslo vozidla z obrázka JPG alebo PNG.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n| `code` | `String` | no | `eu` | Kód krajiny. Jedna z hodnôt: `eu` (EU), `us` (US). |\n| `first` | `Boolean` | no | `false` | Vrátiť iba prvú hodnotu. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nRozpozná evidenčné číslo z obrázka JPG/PNG. Využíva [Total.js Platenumber API](https://docs.totaljs.com/totalapi/6c221003eo51c/#13ffb001db51d).\n\n__Vstupné údaje:__\n\n```js\n// {String} dataURI of an image\n'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEB....'\n```\n\n__Výstupné údaje:__\n\n```js\n[\n  {\n    \"value\": \"H786P0J\",\n    \"confidence\": 89.8356\n  },\n  {\n    \"value\": \"H786POJ\",\n    \"confidence\": 87.6114\n  },\n  {\n    \"value\": \"HN786P0J\",\n    \"confidence\": 85.2152\n  }\n]\n```\n\n### tapiprintapi.html · version 1\n\nType: `component`\n\nPomocou Total.js API vytlačí HTML alebo URL adresu do súboru PDF, JPG, PNG alebo DOCX.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n| `type` | `String` | no | `pdf` | Typ. Jedna z hodnôt: `pdf` (PDF), `jpg` (JPG), `png` (PNG), `docx` (DOCX). |\n| `page` | `String` | no | `A4` | Strana. |\n| `width` | `Number` | no | `0` | Šírka. |\n| `height` | `Number` | no | `0` | Výška. |\n| `dpi` | `Number` | no | `96` | DPI. |\n| `top` | `Number` | no | `0` | Hore. |\n| `right` | `Number` | no | `0` | Vpravo. |\n| `bottom` | `Number` | no | `0` | Dole. |\n| `left` | `Number` | no | `0` | Vľavo. |\n| `viewport` | `String` | no |  | Viewport. Jedna z hodnôt: `xs` (XS), `sm` (SM), `md` (MD), `lg` (LG). |\n| `quality` | `Number` | no | `80` | Kvalita. |\n| `orientation` | `String` | no | `portrait` | Orientácia. Jedna z hodnôt: `portrait` (Portrait), `landscape` (Landscape). |\n| `grayscale` | `Boolean` | no | `false` | Odtiene sivej. |\n| `lowquality` | `Boolean` | no | `false` | Nízka kvalita. |\n| `zoom` | `Number` | no | `100` | Priblíženie. |\n| `output` | `String` | no | `buffer` | Typ odpovede. Jedna z hodnôt: `buffer` (Buffer), `base64` (Base64), `datauri` (DataURI). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nVytlačí HTML alebo URL adresu do súboru PDF, JPG, PNG alebo DOCX. Využíva [Total.js Print API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6c225001ga51c).\n\n__Vstupné údaje:__\n\n```js\n// {String} HTML content or URL address\n'<h1>HTML content</h1>'\n```\n\n__Výstupné údaje:__\nVráti údaje podľa nastavenia `Response type` v konfigurácii komponentu. Môže to byť `Buffer`, `Base64` alebo `DataURI`.\n\n### sms.html · version 1\n\nType: `component`\n\nPošle textovú správu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token Total API. |\n| `to` | `String` | no |  | Komu. |\n| `from` | `String` | no |  | Od. |\n| `body` | `String` | no |  | Správa. |\n| `isdata` | `Boolean` | no | `false` | Posielať iba údaje prichádzajúcej správy. |\n| `path` | `String` | no |  | Cesta na čítanie správy. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** žiadne.\n\nKomponent pošle SMS správu.\n\n### tapismsapi.html · version 1\n\nType: `component`\n\nPošle textovú správu pomocou Total.js API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `from` | `String` | no |  | Od. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nPomocou tohto komponentu môžeš posielať SMS. Využíva [Total.js SMS API](https://docs.totaljs.com/totalapi/6c221003eo51c/#6d220001ni51c).\n\n__Vstupné údaje:__\n\n```js\n{\n\tto: \"+421903163302\",\n\tbody: \"Your message ...\"\n}\n```\n\n__Výstupné údaje__:\n\n```js\n{ success: true }\n```\n\n### tapiweatherapi.html · version 1\n\nType: `component`\n\nPomocou Total.js API načíta aktuálne počasie pre adresu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token. |\n| `path` | `String` | no |  | Cesta na čítanie vstupných údajov. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nPomocou tohto komponentu získaš aktuálne počasie podľa adresy. Využíva [Total.js Weather API](https://docs.totaljs.com/totalapi/6c221003eo51c/#128f7001kc51d).\n\n__Vstupné údaje:__\n\n```js\n// {String} address without diacritics\n'Banska Bystrica, Slovakia'\n```\n\n__Výstupné údaje__:\n\n```js\n{\n\tname: 'Bratislava',\n\ttemperature: 22,\n\twind: 20.2,\n\thumidity: 65,\n\tpressure: 1018,\n\tcloud: 25,\n\tuv: 6,\n\tsky: 'Partly cloudy'\n}\n```\n","entries":[{"type":"component","name":"Captcha","signature":"tapicaptchaapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"ChatGPT","signature":"tapichatgptapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check credits","signature":"tapicheckapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Check VAT","signature":"tapicheckvatapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Exchange rates","signature":"tapiexchangeratesapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"File converter","signature":"tapiconvertapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Geo IP","signature":"tapigeoipapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Invoice parser","signature":"tapiinvoiceparserapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Logger","signature":"tlogger.html · version 2","since":"","deprecated":false},{"type":"component","name":"OCR","signature":"tapiocrapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Plate number parser","signature":"tapiplatenumber.html · version 1","since":"","deprecated":false},{"type":"component","name":"Print PDF","signature":"tapiprintapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"sms.html · version 1","since":"","deprecated":false},{"type":"component","name":"SMS","signature":"tapismsapi.html · version 1","since":"","deprecated":false},{"type":"component","name":"Weather","signature":"tapiweatherapi.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQc1xA60f","url":"https://totaljs.es/docs/flow/11-1/components/ai-and-online-services/","project":"flow","version":"11-1","section":"components","language":"en","title":"AI and online services","summary":"Components that talk to language models and other online services.","markdown":"---\ntitle: AI and online services\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/ai-and-online-services/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# AI and online services\n\n> Components that talk to language models and other online services.\n\nComponents that talk to language models and other online services. This page holds the catalogue groups **AI**, **Ollama**, **Services**, **External**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### chatgpt.html · version 3\n\nType: `component`\n\nSends the incoming text to ChatGPT and returns the answer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `model` | `String` | no | `gpt-3.5-turbo-instruct` | Model. One of: `gpt-4` (GPT 4), `gpt-3.5-turbo` (GPT 3.5 Turbo), `gpt-3.5-turbo-instruct` (GPT 3.5 Turbo instruct), `Whisper` (whisper-1). |\n| `apikey` | `String` | no |  | API key. |\n| `question` | `String` | no |  | Question. |\n\n**Inputs:** `input` (Question).  \n**Outputs:** `output` (Answer), `error` (Error).\n\nThis component can talk to ChatGPT.\n\n**Input**\n\nInput will depend on selected model\n\n- __CPT 3.5 Turbo__ and __CPT 4__\n\n```js\n\n// Object\n{\nmessages : [{ role: 'user', content: 'Text' }]\n}\n\n// or\n\n// Array\n[{ role: 'assistant', content: 'Text' }]\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\npath : 'path-to-file'\n}\n\n// or\n\n// String\n'path-to-file'\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// Object\n{\ntext : 'your question'\n}\n\n// or\n\n// String\n'your question'\n```\n\n**Output**\n\nOutput also depends on selected model\n- __CPT 3.5 Turbo__ and __CPT 4__\n\n```js\n'Response from assistant'\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\ntext : 'transcipted text'\n}\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// String\n'Response from assistant'\n```\n\n### aicontext.html · version 1\n\nType: `component`\n\nLoads Markdown contexts for a language model.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `content` | Content property. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nThis component can load multiple Markdown contexts for the LLM. It replaces text phrases defined in the header, such as `[filename_defined_in_the_header]` with the content defined in the context.\n\n__Context example__:\n\n```md\n----------------------------------------------------------------\nName: document1.md\n----------------------------------------------------------------\n\nMARKDOWN 1\n\n----------------------------------------------------------------\nName: document2.md\n----------------------------------------------------------------\n\nMARKDOWN 2\n```\n\n**Usage**\n\n```\n[document1.md]\n```\n\n__Output__:\n\n```\nMARKDOWN 1\n```\n\n### googlesearch.html · version 1\n\nType: `component`\n\nSearches Google for a keyword.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `lang` | `String` | no | `en` | Language. |\n| `limit` | `Number` | no | `5` | Results limit. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output).\n\nFlow installs the npm package `google-it` when you add the component.\n\nThis component can google any keyword you want.\n\n__Configuration__\n\n- `Language (optional)` : Search language;\n- `Limit (optional)` : Limit number of results.\n\n__Input__\n\n- `Object` | String : input expects `data: String` or `data.text: String` as search keywords.\n\n__Output__\n\n- `Array` of found results:\n\n### ollamals.html · version 1\n\nType: `component`\n\nLists the models of an Ollama server.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `http://localhost:11434` | OLLAMA endpoint. |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nA FlowStream can hold only one node of this component.\n\nThis component list all OLLAMA models.\n\n### ollamaprompt.html · version 1\n\nType: `component`\n\nSends a prompt to an Ollama model.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `think` | `Boolean` | no | `false` | Thinking. |\n| `url` | `String` | no |  | OLLAMA endpoint. |\n| `model` | `String` | no |  | Model. |\n| `parse` | `Boolean` | no | `false` | Parse response as JSON object. |\n| `system` | `String` | no |  | System prompt. |\n| `temperature` | `Number` | no | `-1` | Temperature. |\n\n**Inputs:** `input` (Prompt).  \n**Outputs:** `output` (Response), `error` (Error).\n\nThis component makes a prompt into the OLLAMA engine.\n\n```js\n{\n\tmodel: 'qwen3.5:9b', // optional\n\tthink: true, // optional\n\tcontent: 'User message',\n\timages: ['base64'] // optional\n}\n```\n\nThe component saves the __response__ to the `response` property and the __error__ to the `error` property. The output is text.\n\n### ollamawebsearch.html · version 1\n\nType: `component`\n\nSearches the web with the Ollama Web Search API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Ollama API Token. |\n| `path` | `String` | no | `response` | Path to response. |\n| `prop` | `String` | no | `search` | Read search query. |\n| `merge` | `Boolean` | no | `false` | Merge content together. |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThis component uses the Ollama Web Search API to perform web searches. A valid Ollama API token is required for authentication and access to the service.\n\n__Payload__:\n\n```js\n{\n\tsearch: 'Total.js Platform'\n}\n```\n\n__Response__:\n\n```json\n[\n\t{\n\t\t\"title\": \"...\",\n\t\t\"url\": \"https://www.totaljs.com\",\n\t\t\"content\": \"...\"\n\t}\n]\n```\n\n### opensync.html · version 2\n\nType: `component`\n\nReceives data from the OpenSync app.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL address + token. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Output).\n\nThis component receives a data from the [OpenSync](https://docs.totaljs.com/opensync/) app. Data example:\n\n```js\n{\n\tid: String,              // Internal ID\n\ttype: String,            // Parsed content-type (can be empty with the \"GET\" method)\n\tchannel: String,         // Channel\n\tip: String,              // Host IP address\n\tmethod: String,          // HTTP method (upper-case)\n\theaders: Object,         // Key:value\n\tquery: Object,           // Key:value\n\tbody: Object,            // JSON/key:value/String\n\tua: String,              // Parsed user-agent\n\tfiles: [Object Array]    // Uploaded files { filename: String, extension: String, type: String, size: Number, url: String, width: Number, height: Number }\n}\n```\n\n### openweather.html · version 1\n\nType: `component`\n\nReads weather data from OpenWeatherMap.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `current` | Request Type. One of: `current` (Current Weather), `forecast` (Forecast). |\n| `apikey` | `String` | no |  | Api key. |\n| `mode` | `String` | no | `json` | Output Type. One of: `json` (JSON), `xml` (XML), `html` (HTML). |\n| `time` | `String` | no | `hourly` | Time. One of: `hourly` (Hourly (4 days data)), `daily` (Daily (16 days data)), `climate` (Climate Forecast (30 Days)). |\n\n**Inputs:** `input` (Input).  \n**Outputs:** `output` (Output), `error` (Error).\n\nThis component can retieve weather data from [OpenWheatherMap](https://openweathermap.org/api/);\n\n__Input__:\n\n```js\n\t{\n\t\tquery: String,         // Optional, City name, Country code, State code e.g: London, Ouagadougou, sk\n\t\tlon: String,           // Optional, Longitude\n\t\tlat: String,           // Optional, Latitude\n\t\tlang: String,          // Optional, Output language e.g: `en`, `de`, `sk`, `fr` etc...\n\t\tunits: String,         // Optional, standard, metric, imperial\n\t\tdate: String           // Optional,  Timestamp (Unix time, UTC time zone), e.g. date=1586468027\n\t}\n```\n","entries":[{"type":"component","name":"ChatGPT","signature":"chatgpt.html · version 3","since":"","deprecated":false},{"type":"component","name":"Context","signature":"aicontext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Google Search","signature":"googlesearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama models","signature":"ollamals.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama prompt","signature":"ollamaprompt.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama Web Search","signature":"ollamawebsearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"OpenSync","signature":"opensync.html · version 2","since":"","deprecated":false},{"type":"component","name":"OpenWeather","signature":"openweather.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQc1xA60f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/ai-and-online-services/","project":"flow","version":"11-1","section":"components","language":"de","title":"KI und Online-Dienste","summary":"Komponenten, die mit Sprachmodellen und anderen Online-Diensten sprechen.","markdown":"---\ntitle: KI und Online-Dienste\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/ai-and-online-services/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# KI und Online-Dienste\n\n> Komponenten, die mit Sprachmodellen und anderen Online-Diensten sprechen.\n\nKomponenten, die mit Sprachmodellen und anderen Online-Diensten sprechen. Diese Seite enthält die Katalog-Gruppen **AI**, **Ollama**, **Services**, **External**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### chatgpt.html · version 3\n\nType: `component`\n\nSendet den eingehenden Text an ChatGPT und gibt die Antwort zurück.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `model` | `String` | no | `gpt-3.5-turbo-instruct` | Modell. Eines von: `gpt-4` (GPT 4), `gpt-3.5-turbo` (GPT 3.5 Turbo), `gpt-3.5-turbo-instruct` (GPT 3.5 Turbo instruct), `Whisper` (whisper-1). |\n| `apikey` | `String` | no |  | API-Schlüssel. |\n| `question` | `String` | no |  | Frage. |\n\n**Eingänge:** `input` (Question).\n**Ausgänge:** `output` (Answer), `error` (Error).\n\nDiese Komponente kann mit ChatGPT sprechen.\n\n**Eingabe**\n\nDie Eingabe hängt vom gewählten Modell ab\n\n- __CPT 3.5 Turbo__ und __CPT 4__\n\n```js\n\n// Object\n{\nmessages : [{ role: 'user', content: 'Text' }]\n}\n\n// or\n\n// Array\n[{ role: 'assistant', content: 'Text' }]\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\npath : 'path-to-file'\n}\n\n// or\n\n// String\n'path-to-file'\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// Object\n{\ntext : 'your question'\n}\n\n// or\n\n// String\n'your question'\n```\n\n**Ausgabe**\n\nAuch die Ausgabe hängt vom gewählten Modell ab\n- __CPT 3.5 Turbo__ und __CPT 4__\n\n```js\n'Response from assistant'\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\ntext : 'transcipted text'\n}\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// String\n'Response from assistant'\n```\n\n### aicontext.html · version 1\n\nType: `component`\n\nLädt Markdown-Kontexte für ein Sprachmodell.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `content` | Eigenschaft für den Inhalt. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente kann mehrere Markdown-Kontexte für das LLM laden. Sie ersetzt im Header definierte Textstellen wie `[filename_defined_in_the_header]` durch den Inhalt, der im Kontext definiert ist.\n\n__Kontext-Beispiel__:\n\n```md\n----------------------------------------------------------------\nName: document1.md\n----------------------------------------------------------------\n\nMARKDOWN 1\n\n----------------------------------------------------------------\nName: document2.md\n----------------------------------------------------------------\n\nMARKDOWN 2\n```\n\n**Verwendung**\n\n```\n[document1.md]\n```\n\n__Ausgabe__:\n\n```\nMARKDOWN 1\n```\n\n### googlesearch.html · version 1\n\nType: `component`\n\nSucht bei Google nach einem Stichwort.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `lang` | `String` | no | `en` | Sprache. |\n| `limit` | `Number` | no | `5` | Begrenzung der Ergebnisse. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output).\n\nFlow installiert das npm-Paket `google-it`, wenn du die Komponente hinzufügst.\n\nMit dieser Komponente kannst du jedes beliebige Stichwort googeln.\n\n__Konfiguration__\n\n- `Language (optional)` : Suchsprache;\n- `Limit (optional)` : begrenzt die Anzahl der Ergebnisse.\n\n__Eingabe__\n\n- `Object` | String : Die Eingabe erwartet `data: String` oder `data.text: String` als Suchbegriffe.\n\n__Ausgabe__\n\n- `Array` der gefundenen Ergebnisse:\n\n### ollamals.html · version 1\n\nType: `component`\n\nListet die Modelle eines Ollama-Servers auf.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `http://localhost:11434` | OLLAMA-Endpunkt. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nEin FlowStream kann nur einen Knoten dieser Komponente enthalten.\n\nDiese Komponente listet alle OLLAMA-Modelle auf.\n\n### ollamaprompt.html · version 1\n\nType: `component`\n\nSendet einen Prompt an ein Ollama-Modell.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `think` | `Boolean` | no | `false` | Denken. |\n| `url` | `String` | no |  | OLLAMA-Endpunkt. |\n| `model` | `String` | no |  | Modell. |\n| `parse` | `Boolean` | no | `false` | Antwort als JSON-Objekt parsen. |\n| `system` | `String` | no |  | System-Prompt. |\n| `temperature` | `Number` | no | `-1` | Temperatur. |\n\n**Eingänge:** `input` (Prompt).\n**Ausgänge:** `output` (Response), `error` (Error).\n\nDiese Komponente sendet einen Prompt an die OLLAMA-Engine.\n\n```js\n{\n\tmodel: 'qwen3.5:9b', // optional\n\tthink: true, // optional\n\tcontent: 'User message',\n\timages: ['base64'] // optional\n}\n```\n\nDie Komponente speichert die __Antwort__ in der Eigenschaft `response` und den __Fehler__ in der Eigenschaft `error`. Die Ausgabe ist Text.\n\n### ollamawebsearch.html · version 1\n\nType: `component`\n\nDurchsucht das Web mit der Ollama Web Search API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Ollama-API-Token. |\n| `path` | `String` | no | `response` | Pfad zur Antwort. |\n| `prop` | `String` | no | `search` | Suchanfrage lesen. |\n| `merge` | `Boolean` | no | `false` | Inhalte zusammenführen. |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDiese Komponente nutzt die Ollama Web Search API für Websuchen. Für die Authentifizierung und den Zugriff auf den Dienst brauchst du ein gültiges Ollama-API-Token.\n\n__Payload__:\n\n```js\n{\n\tsearch: 'Total.js Platform'\n}\n```\n\n__Antwort__:\n\n```json\n[\n\t{\n\t\t\"title\": \"...\",\n\t\t\"url\": \"https://www.totaljs.com\",\n\t\t\"content\": \"...\"\n\t}\n]\n```\n\n### opensync.html · version 2\n\nType: `component`\n\nEmpfängt Daten aus der App OpenSync.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL-Adresse + Token. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Output).\n\nDiese Komponente empfängt Daten aus der App [OpenSync](https://docs.totaljs.com/opensync/). Datenbeispiel:\n\n```js\n{\n\tid: String,              // Internal ID\n\ttype: String,            // Parsed content-type (can be empty with the \"GET\" method)\n\tchannel: String,         // Channel\n\tip: String,              // Host IP address\n\tmethod: String,          // HTTP method (upper-case)\n\theaders: Object,         // Key:value\n\tquery: Object,           // Key:value\n\tbody: Object,            // JSON/key:value/String\n\tua: String,              // Parsed user-agent\n\tfiles: [Object Array]    // Uploaded files { filename: String, extension: String, type: String, size: Number, url: String, width: Number, height: Number }\n}\n```\n\n### openweather.html · version 1\n\nType: `component`\n\nLiest Wetterdaten von OpenWeatherMap.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `current` | Art der Anfrage. Eine von: `current` (Current Weather), `forecast` (Forecast). |\n| `apikey` | `String` | no |  | API-Schlüssel. |\n| `mode` | `String` | no | `json` | Ausgabetyp. Einer von: `json` (JSON), `xml` (XML), `html` (HTML). |\n| `time` | `String` | no | `hourly` | Zeit. Eine von: `hourly` (Hourly (4 days data)), `daily` (Daily (16 days data)), `climate` (Climate Forecast (30 Days)). |\n\n**Eingänge:** `input` (Input).\n**Ausgänge:** `output` (Output), `error` (Error).\n\nDiese Komponente kann Wetterdaten von [OpenWheatherMap](https://openweathermap.org/api/) abrufen;\n\n__Eingabe__:\n\n```js\n\t{\n\t\tquery: String,         // Optional, City name, Country code, State code e.g: London, Ouagadougou, sk\n\t\tlon: String,           // Optional, Longitude\n\t\tlat: String,           // Optional, Latitude\n\t\tlang: String,          // Optional, Output language e.g: `en`, `de`, `sk`, `fr` etc...\n\t\tunits: String,         // Optional, standard, metric, imperial\n\t\tdate: String           // Optional,  Timestamp (Unix time, UTC time zone), e.g. date=1586468027\n\t}\n```\n","entries":[{"type":"component","name":"ChatGPT","signature":"chatgpt.html · version 3","since":"","deprecated":false},{"type":"component","name":"Context","signature":"aicontext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Google Search","signature":"googlesearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama models","signature":"ollamals.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama prompt","signature":"ollamaprompt.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama Web Search","signature":"ollamawebsearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"OpenSync","signature":"opensync.html · version 2","since":"","deprecated":false},{"type":"component","name":"OpenWeather","signature":"openweather.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQc1xA60f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/ai-and-online-services/","project":"flow","version":"11-1","section":"components","language":"es","title":"IA y servicios en línea","summary":"Componentes que hablan con modelos de lenguaje y otros servicios en línea.","markdown":"---\ntitle: \"IA y servicios en línea\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/ai-and-online-services/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# IA y servicios en línea\n\n> Componentes que hablan con modelos de lenguaje y otros servicios en línea.\n\nComponentes que hablan con modelos de lenguaje y otros servicios en línea. Esta página contiene los grupos **AI**, **Ollama**, **Services** y **External** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### chatgpt.html · version 3\n\nType: `component`\n\nEnvía el texto entrante a ChatGPT y devuelve la respuesta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `model` | `String` | no | `gpt-3.5-turbo-instruct` | Modelo. Uno de: `gpt-4` (GPT 4), `gpt-3.5-turbo` (GPT 3.5 Turbo), `gpt-3.5-turbo-instruct` (GPT 3.5 Turbo instruct), `Whisper` (whisper-1). |\n| `apikey` | `String` | no |  | Clave de API. |\n| `question` | `String` | no |  | Pregunta. |\n\n**Entradas:** `input` (Question).\n**Salidas:** `output` (Answer), `error` (Error).\n\nEste componente puede hablar con ChatGPT.\n\n**Entrada**\n\nLa entrada depende del modelo seleccionado\n\n- __CPT 3.5 Turbo__ y __CPT 4__\n\n```js\n\n// Object\n{\nmessages : [{ role: 'user', content: 'Text' }]\n}\n\n// or\n\n// Array\n[{ role: 'assistant', content: 'Text' }]\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\npath : 'path-to-file'\n}\n\n// or\n\n// String\n'path-to-file'\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// Object\n{\ntext : 'your question'\n}\n\n// or\n\n// String\n'your question'\n```\n\n**Salida**\n\nLa salida también depende del modelo seleccionado\n- __CPT 3.5 Turbo__ y __CPT 4__\n\n```js\n'Response from assistant'\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\ntext : 'transcipted text'\n}\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// String\n'Response from assistant'\n```\n\n### aicontext.html · version 1\n\nType: `component`\n\nCarga contextos en Markdown para un modelo de lenguaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `content` | Propiedad del contenido. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nEste componente puede cargar varios contextos en Markdown para el LLM. Sustituye las frases de texto definidas en la cabecera, como `[filename_defined_in_the_header]`, por el contenido definido en el contexto.\n\n__Ejemplo de contexto__:\n\n```md\n----------------------------------------------------------------\nName: document1.md\n----------------------------------------------------------------\n\nMARKDOWN 1\n\n----------------------------------------------------------------\nName: document2.md\n----------------------------------------------------------------\n\nMARKDOWN 2\n```\n\n**Uso**\n\n```\n[document1.md]\n```\n\n__Salida__:\n\n```\nMARKDOWN 1\n```\n\n### googlesearch.html · version 1\n\nType: `component`\n\nBusca una palabra clave en Google.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `lang` | `String` | no | `en` | Idioma. |\n| `limit` | `Number` | no | `5` | Límite de resultados. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output).\n\nFlow instala el paquete npm `google-it` cuando añades el componente.\n\nEste componente puede buscar en Google cualquier palabra clave que quieras.\n\n__Configuración__\n\n- `Language (optional)` : idioma de la búsqueda;\n- `Limit (optional)` : límite del número de resultados.\n\n__Entrada__\n\n- `Object` | String : la entrada espera `data: String` o `data.text: String` como palabras clave de búsqueda.\n\n__Salida__\n\n- `Array` de los resultados encontrados:\n\n### ollamals.html · version 1\n\nType: `component`\n\nLista los modelos de un servidor Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `http://localhost:11434` | Endpoint de OLLAMA. |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nUn FlowStream solo puede tener un nodo de este componente.\n\nEste componente lista todos los modelos de OLLAMA.\n\n### ollamaprompt.html · version 1\n\nType: `component`\n\nEnvía un prompt a un modelo de Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `think` | `Boolean` | no | `false` | Razonamiento. |\n| `url` | `String` | no |  | Endpoint de OLLAMA. |\n| `model` | `String` | no |  | Modelo. |\n| `parse` | `Boolean` | no | `false` | Interpretar la respuesta como objeto JSON. |\n| `system` | `String` | no |  | Prompt del sistema. |\n| `temperature` | `Number` | no | `-1` | Temperatura. |\n\n**Entradas:** `input` (Prompt).\n**Salidas:** `output` (Response), `error` (Error).\n\nEste componente envía un prompt al motor de OLLAMA.\n\n```js\n{\n\tmodel: 'qwen3.5:9b', // optional\n\tthink: true, // optional\n\tcontent: 'User message',\n\timages: ['base64'] // optional\n}\n```\n\nEl componente guarda la __respuesta__ en la propiedad `response` y el __error__ en la propiedad `error`. La salida es texto.\n\n### ollamawebsearch.html · version 1\n\nType: `component`\n\nBusca en la web con la API Ollama Web Search.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token de la API de Ollama. |\n| `path` | `String` | no | `response` | Ruta a la respuesta. |\n| `prop` | `String` | no | `search` | Leer la consulta de búsqueda. |\n| `merge` | `Boolean` | no | `false` | Unir el contenido. |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nEste componente usa la API Ollama Web Search para hacer búsquedas en la web. Necesitas un token válido de la API de Ollama para autenticarte y acceder al servicio.\n\n__Payload__:\n\n```js\n{\n\tsearch: 'Total.js Platform'\n}\n```\n\n__Respuesta__:\n\n```json\n[\n\t{\n\t\t\"title\": \"...\",\n\t\t\"url\": \"https://www.totaljs.com\",\n\t\t\"content\": \"...\"\n\t}\n]\n```\n\n### opensync.html · version 2\n\nType: `component`\n\nRecibe datos de la app OpenSync.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Dirección URL + token. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Output).\n\nEste componente recibe datos de la app [OpenSync](https://docs.totaljs.com/opensync/). Ejemplo de datos:\n\n```js\n{\n\tid: String,              // Internal ID\n\ttype: String,            // Parsed content-type (can be empty with the \"GET\" method)\n\tchannel: String,         // Channel\n\tip: String,              // Host IP address\n\tmethod: String,          // HTTP method (upper-case)\n\theaders: Object,         // Key:value\n\tquery: Object,           // Key:value\n\tbody: Object,            // JSON/key:value/String\n\tua: String,              // Parsed user-agent\n\tfiles: [Object Array]    // Uploaded files { filename: String, extension: String, type: String, size: Number, url: String, width: Number, height: Number }\n}\n```\n\n### openweather.html · version 1\n\nType: `component`\n\nLee datos meteorológicos de OpenWeatherMap.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `current` | Tipo de petición. Uno de: `current` (Current Weather), `forecast` (Forecast). |\n| `apikey` | `String` | no |  | Clave de API. |\n| `mode` | `String` | no | `json` | Tipo de salida. Uno de: `json` (JSON), `xml` (XML), `html` (HTML). |\n| `time` | `String` | no | `hourly` | Tiempo. Uno de: `hourly` (Hourly (4 days data)), `daily` (Daily (16 days data)), `climate` (Climate Forecast (30 Days)). |\n\n**Entradas:** `input` (Input).\n**Salidas:** `output` (Output), `error` (Error).\n\nEste componente puede obtener datos meteorológicos de [OpenWheatherMap](https://openweathermap.org/api/);\n\n__Entrada__:\n\n```js\n\t{\n\t\tquery: String,         // Optional, City name, Country code, State code e.g: London, Ouagadougou, sk\n\t\tlon: String,           // Optional, Longitude\n\t\tlat: String,           // Optional, Latitude\n\t\tlang: String,          // Optional, Output language e.g: `en`, `de`, `sk`, `fr` etc...\n\t\tunits: String,         // Optional, standard, metric, imperial\n\t\tdate: String           // Optional,  Timestamp (Unix time, UTC time zone), e.g. date=1586468027\n\t}\n```\n","entries":[{"type":"component","name":"ChatGPT","signature":"chatgpt.html · version 3","since":"","deprecated":false},{"type":"component","name":"Context","signature":"aicontext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Google Search","signature":"googlesearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama models","signature":"ollamals.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama prompt","signature":"ollamaprompt.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama Web Search","signature":"ollamawebsearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"OpenSync","signature":"opensync.html · version 2","since":"","deprecated":false},{"type":"component","name":"OpenWeather","signature":"openweather.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQc1xA60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/ai-and-online-services/","project":"flow","version":"11-1","section":"components","language":"fr","title":"IA et services en ligne","summary":"Composants qui dialoguent avec des modèles de langage et d’autres services en ligne.","markdown":"---\ntitle: IA et services en ligne\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/ai-and-online-services/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# IA et services en ligne\n\n> Composants qui dialoguent avec des modèles de langage et d’autres services en ligne.\n\nComposants qui dialoguent avec des modèles de langage et d’autres services en ligne. Cette page contient les groupes du catalogue **AI**, **Ollama**, **Services**, **External**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### chatgpt.html · version 3\n\nType: `component`\n\nEnvoie le texte entrant à ChatGPT et renvoie la réponse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `model` | `String` | no | `gpt-3.5-turbo-instruct` | Modèle. Valeurs possibles : `gpt-4` (GPT 4), `gpt-3.5-turbo` (GPT 3.5 Turbo), `gpt-3.5-turbo-instruct` (GPT 3.5 Turbo instruct), `Whisper` (whisper-1). |\n| `apikey` | `String` | no |  | Clé d’API. |\n| `question` | `String` | no |  | Question. |\n\n**Entrées :** `input` (Question).  \n**Sorties :** `output` (Answer), `error` (Error).\n\nCe composant peut dialoguer avec ChatGPT.\n\n**Entrée**\n\nL’entrée dépend du modèle choisi\n\n- __CPT 3.5 Turbo__ et __CPT 4__\n\n```js\n\n// Object\n{\nmessages : [{ role: 'user', content: 'Text' }]\n}\n\n// or\n\n// Array\n[{ role: 'assistant', content: 'Text' }]\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\npath : 'path-to-file'\n}\n\n// or\n\n// String\n'path-to-file'\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// Object\n{\ntext : 'your question'\n}\n\n// or\n\n// String\n'your question'\n```\n\n**Sortie**\n\nLa sortie dépend aussi du modèle choisi\n- __CPT 3.5 Turbo__ et __CPT 4__\n\n```js\n'Response from assistant'\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\ntext : 'transcipted text'\n}\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// String\n'Response from assistant'\n```\n\n### aicontext.html · version 1\n\nType: `component`\n\nCharge des contextes Markdown pour un modèle de langage.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `content` | Propriété du contenu. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nCe composant peut charger plusieurs contextes Markdown pour le LLM. Il remplace les expressions définies dans l’en-tête, comme `[filename_defined_in_the_header]`, par le contenu défini dans le contexte.\n\n__Exemple de contexte__ :\n\n```md\n----------------------------------------------------------------\nName: document1.md\n----------------------------------------------------------------\n\nMARKDOWN 1\n\n----------------------------------------------------------------\nName: document2.md\n----------------------------------------------------------------\n\nMARKDOWN 2\n```\n\n**Utilisation**\n\n```\n[document1.md]\n```\n\n__Sortie__ :\n\n```\nMARKDOWN 1\n```\n\n### googlesearch.html · version 1\n\nType: `component`\n\nCherche un mot-clé sur Google.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `lang` | `String` | no | `en` | Langue. |\n| `limit` | `Number` | no | `5` | Nombre maximal de résultats. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output).\n\nFlow installe le paquet npm `google-it` quand tu ajoutes le composant.\n\nCe composant peut chercher sur Google n’importe quel mot-clé.\n\n__Configuration__\n\n- `Language (optional)` : langue de recherche ;\n- `Limit (optional)` : nombre maximal de résultats.\n\n__Entrée__\n\n- `Object` | String : l’entrée attend `data: String` ou `data.text: String` comme mots-clés de recherche.\n\n__Sortie__\n\n- `Array` des résultats trouvés :\n\n### ollamals.html · version 1\n\nType: `component`\n\nListe les modèles d’un serveur Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `http://localhost:11434` | Endpoint OLLAMA. |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nUn FlowStream ne peut contenir qu’un seul nœud de ce composant.\n\nCe composant liste tous les modèles OLLAMA.\n\n### ollamaprompt.html · version 1\n\nType: `component`\n\nEnvoie un prompt à un modèle Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `think` | `Boolean` | no | `false` | Réflexion. |\n| `url` | `String` | no |  | Endpoint OLLAMA. |\n| `model` | `String` | no |  | Modèle. |\n| `parse` | `Boolean` | no | `false` | Analyser la réponse comme un objet JSON. |\n| `system` | `String` | no |  | Prompt système. |\n| `temperature` | `Number` | no | `-1` | Température. |\n\n**Entrées :** `input` (Prompt).  \n**Sorties :** `output` (Response), `error` (Error).\n\nCe composant envoie un prompt au moteur OLLAMA.\n\n```js\n{\n\tmodel: 'qwen3.5:9b', // optional\n\tthink: true, // optional\n\tcontent: 'User message',\n\timages: ['base64'] // optional\n}\n```\n\nLe composant enregistre la __réponse__ dans la propriété `response` et l’__erreur__ dans la propriété `error`. La sortie est du texte.\n\n### ollamawebsearch.html · version 1\n\nType: `component`\n\nCherche sur le web avec l’API Ollama Web Search.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Jeton d’API Ollama. |\n| `path` | `String` | no | `response` | Chemin vers la réponse. |\n| `prop` | `String` | no | `search` | Lire la requête de recherche. |\n| `merge` | `Boolean` | no | `false` | Fusionner les contenus. |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nCe composant utilise l’API Ollama Web Search pour faire des recherches sur le web. Un jeton d’API Ollama valide est nécessaire pour s’authentifier et accéder au service.\n\n__Payload__ :\n\n```js\n{\n\tsearch: 'Total.js Platform'\n}\n```\n\n__Réponse__ :\n\n```json\n[\n\t{\n\t\t\"title\": \"...\",\n\t\t\"url\": \"https://www.totaljs.com\",\n\t\t\"content\": \"...\"\n\t}\n]\n```\n\n### opensync.html · version 2\n\nType: `component`\n\nReçoit des données de l’app OpenSync.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Adresse URL + jeton. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Output).\n\nCe composant reçoit des données de l’app [OpenSync](https://docs.totaljs.com/opensync/). Exemple de données :\n\n```js\n{\n\tid: String,              // Internal ID\n\ttype: String,            // Parsed content-type (can be empty with the \"GET\" method)\n\tchannel: String,         // Channel\n\tip: String,              // Host IP address\n\tmethod: String,          // HTTP method (upper-case)\n\theaders: Object,         // Key:value\n\tquery: Object,           // Key:value\n\tbody: Object,            // JSON/key:value/String\n\tua: String,              // Parsed user-agent\n\tfiles: [Object Array]    // Uploaded files { filename: String, extension: String, type: String, size: Number, url: String, width: Number, height: Number }\n}\n```\n\n### openweather.html · version 1\n\nType: `component`\n\nLit les données météo d’OpenWeatherMap.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `current` | Type de requête. Valeurs possibles : `current` (Current Weather), `forecast` (Forecast). |\n| `apikey` | `String` | no |  | Clé d’API. |\n| `mode` | `String` | no | `json` | Type de sortie. Valeurs possibles : `json` (JSON), `xml` (XML), `html` (HTML). |\n| `time` | `String` | no | `hourly` | Période. Valeurs possibles : `hourly` (Hourly (4 days data)), `daily` (Daily (16 days data)), `climate` (Climate Forecast (30 Days)). |\n\n**Entrées :** `input` (Input).  \n**Sorties :** `output` (Output), `error` (Error).\n\nCe composant peut récupérer des données météo depuis [OpenWheatherMap](https://openweathermap.org/api/) ;\n\n__Entrée__ :\n\n```js\n\t{\n\t\tquery: String,         // Optional, City name, Country code, State code e.g: London, Ouagadougou, sk\n\t\tlon: String,           // Optional, Longitude\n\t\tlat: String,           // Optional, Latitude\n\t\tlang: String,          // Optional, Output language e.g: `en`, `de`, `sk`, `fr` etc...\n\t\tunits: String,         // Optional, standard, metric, imperial\n\t\tdate: String           // Optional,  Timestamp (Unix time, UTC time zone), e.g. date=1586468027\n\t}\n```\n","entries":[{"type":"component","name":"ChatGPT","signature":"chatgpt.html · version 3","since":"","deprecated":false},{"type":"component","name":"Context","signature":"aicontext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Google Search","signature":"googlesearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama models","signature":"ollamals.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama prompt","signature":"ollamaprompt.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama Web Search","signature":"ollamawebsearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"OpenSync","signature":"opensync.html · version 2","since":"","deprecated":false},{"type":"component","name":"OpenWeather","signature":"openweather.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQc1xA60f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/ai-and-online-services/","project":"flow","version":"11-1","section":"components","language":"it","title":"AI e servizi online","summary":"Componenti che parlano con i modelli linguistici e con altri servizi online.","markdown":"---\ntitle: AI e servizi online\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/ai-and-online-services/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# AI e servizi online\n\n> Componenti che parlano con i modelli linguistici e con altri servizi online.\n\nComponenti che parlano con i modelli linguistici e con altri servizi online. Questa pagina contiene i gruppi del catalogo **AI**, **Ollama**, **Services**, **External**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### chatgpt.html · version 3\n\nType: `component`\n\nInvia il testo in arrivo a ChatGPT e restituisce la risposta.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `model` | `String` | no | `gpt-3.5-turbo-instruct` | Modello. Uno tra: `gpt-4` (GPT 4), `gpt-3.5-turbo` (GPT 3.5 Turbo), `gpt-3.5-turbo-instruct` (GPT 3.5 Turbo instruct), `Whisper` (whisper-1). |\n| `apikey` | `String` | no |  | Chiave API. |\n| `question` | `String` | no |  | Domanda. |\n\n**Ingressi:** `input` (Question).  \n**Uscite:** `output` (Answer), `error` (Error).\n\nQuesto componente può parlare con ChatGPT.\n\n**Ingresso**\n\nL'ingresso dipende dal modello selezionato\n\n- __CPT 3.5 Turbo__ e __CPT 4__\n\n```js\n\n// Object\n{\nmessages : [{ role: 'user', content: 'Text' }]\n}\n\n// or\n\n// Array\n[{ role: 'assistant', content: 'Text' }]\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\npath : 'path-to-file'\n}\n\n// or\n\n// String\n'path-to-file'\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// Object\n{\ntext : 'your question'\n}\n\n// or\n\n// String\n'your question'\n```\n\n**Uscita**\n\nAnche l'uscita dipende dal modello selezionato\n- __CPT 3.5 Turbo__ e __CPT 4__\n\n```js\n'Response from assistant'\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\ntext : 'transcipted text'\n}\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// String\n'Response from assistant'\n```\n\n### aicontext.html · version 1\n\nType: `component`\n\nCarica contesti Markdown per un modello linguistico.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `content` | Proprietà del contenuto. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nQuesto componente può caricare più contesti Markdown per l'LLM. Sostituisce le frasi di testo definite nell'intestazione, come `[filename_defined_in_the_header]`, con il contenuto definito nel contesto.\n\n__Esempio di contesto__:\n\n```md\n----------------------------------------------------------------\nName: document1.md\n----------------------------------------------------------------\n\nMARKDOWN 1\n\n----------------------------------------------------------------\nName: document2.md\n----------------------------------------------------------------\n\nMARKDOWN 2\n```\n\n**Utilizzo**\n\n```\n[document1.md]\n```\n\n__Uscita__:\n\n```\nMARKDOWN 1\n```\n\n### googlesearch.html · version 1\n\nType: `component`\n\nCerca una parola chiave su Google.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `lang` | `String` | no | `en` | Lingua. |\n| `limit` | `Number` | no | `5` | Limite dei risultati. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output).\n\nFlow installa il pacchetto npm `google-it` quando aggiungi il componente.\n\nQuesto componente può cercare su Google qualsiasi parola chiave tu voglia.\n\n__Configurazione__\n\n- `Language (optional)` : lingua della ricerca;\n- `Limit (optional)` : numero massimo di risultati.\n\n__Ingresso__\n\n- `Object` | String : l'ingresso si aspetta `data: String` o `data.text: String` come parole chiave della ricerca.\n\n__Uscita__\n\n- `Array` dei risultati trovati:\n\n### ollamals.html · version 1\n\nType: `component`\n\nElenca i modelli di un server Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `http://localhost:11434` | Endpoint di OLLAMA. |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nUn FlowStream può contenere un solo nodo di questo componente.\n\nQuesto componente elenca tutti i modelli di OLLAMA.\n\n### ollamaprompt.html · version 1\n\nType: `component`\n\nInvia un prompt a un modello Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `think` | `Boolean` | no | `false` | Ragionamento (thinking). |\n| `url` | `String` | no |  | Endpoint di OLLAMA. |\n| `model` | `String` | no |  | Modello. |\n| `parse` | `Boolean` | no | `false` | Interpreta la risposta come oggetto JSON. |\n| `system` | `String` | no |  | Prompt di sistema. |\n| `temperature` | `Number` | no | `-1` | Temperatura. |\n\n**Ingressi:** `input` (Prompt).  \n**Uscite:** `output` (Response), `error` (Error).\n\nQuesto componente invia un prompt al motore OLLAMA.\n\n```js\n{\n\tmodel: 'qwen3.5:9b', // optional\n\tthink: true, // optional\n\tcontent: 'User message',\n\timages: ['base64'] // optional\n}\n```\n\nIl componente salva la __risposta__ nella proprietà `response` e l'__errore__ nella proprietà `error`. L'uscita è testo.\n\n### ollamawebsearch.html · version 1\n\nType: `component`\n\nCerca sul web con la Ollama Web Search API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | Token API di Ollama. |\n| `path` | `String` | no | `response` | Percorso della risposta. |\n| `prop` | `String` | no | `search` | Leggi la query di ricerca. |\n| `merge` | `Boolean` | no | `false` | Unisci i contenuti. |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nQuesto componente usa la Ollama Web Search API per fare ricerche sul web. Per l'autenticazione e l'accesso al servizio serve un token API di Ollama valido.\n\n__Payload__:\n\n```js\n{\n\tsearch: 'Total.js Platform'\n}\n```\n\n__Risposta__:\n\n```json\n[\n\t{\n\t\t\"title\": \"...\",\n\t\t\"url\": \"https://www.totaljs.com\",\n\t\t\"content\": \"...\"\n\t}\n]\n```\n\n### opensync.html · version 2\n\nType: `component`\n\nRiceve dati dall'app OpenSync.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | Indirizzo URL + token. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Output).\n\nQuesto componente riceve dati dall'app [OpenSync](https://docs.totaljs.com/opensync/). Esempio di dati:\n\n```js\n{\n\tid: String,              // Internal ID\n\ttype: String,            // Parsed content-type (can be empty with the \"GET\" method)\n\tchannel: String,         // Channel\n\tip: String,              // Host IP address\n\tmethod: String,          // HTTP method (upper-case)\n\theaders: Object,         // Key:value\n\tquery: Object,           // Key:value\n\tbody: Object,            // JSON/key:value/String\n\tua: String,              // Parsed user-agent\n\tfiles: [Object Array]    // Uploaded files { filename: String, extension: String, type: String, size: Number, url: String, width: Number, height: Number }\n}\n```\n\n### openweather.html · version 1\n\nType: `component`\n\nLegge i dati meteo da OpenWeatherMap.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `current` | Tipo di richiesta. Uno tra: `current` (Current Weather), `forecast` (Forecast). |\n| `apikey` | `String` | no |  | Chiave API. |\n| `mode` | `String` | no | `json` | Tipo di uscita. Uno tra: `json` (JSON), `xml` (XML), `html` (HTML). |\n| `time` | `String` | no | `hourly` | Tempo. Uno tra: `hourly` (Hourly (4 days data)), `daily` (Daily (16 days data)), `climate` (Climate Forecast (30 Days)). |\n\n**Ingressi:** `input` (Input).  \n**Uscite:** `output` (Output), `error` (Error).\n\nQuesto componente può recuperare i dati meteo da [OpenWheatherMap](https://openweathermap.org/api/);\n\n__Ingresso__:\n\n```js\n\t{\n\t\tquery: String,         // Optional, City name, Country code, State code e.g: London, Ouagadougou, sk\n\t\tlon: String,           // Optional, Longitude\n\t\tlat: String,           // Optional, Latitude\n\t\tlang: String,          // Optional, Output language e.g: `en`, `de`, `sk`, `fr` etc...\n\t\tunits: String,         // Optional, standard, metric, imperial\n\t\tdate: String           // Optional,  Timestamp (Unix time, UTC time zone), e.g. date=1586468027\n\t}\n```\n","entries":[{"type":"component","name":"ChatGPT","signature":"chatgpt.html · version 3","since":"","deprecated":false},{"type":"component","name":"Context","signature":"aicontext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Google Search","signature":"googlesearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama models","signature":"ollamals.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama prompt","signature":"ollamaprompt.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama Web Search","signature":"ollamawebsearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"OpenSync","signature":"opensync.html · version 2","since":"","deprecated":false},{"type":"component","name":"OpenWeather","signature":"openweather.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyQc1xA60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/ai-and-online-services/","project":"flow","version":"11-1","section":"components","language":"sk","title":"AI a online služby","summary":"Komponenty, ktoré komunikujú s jazykovými modelmi a inými online službami.","markdown":"---\ntitle: \"AI a online služby\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/ai-and-online-services/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# AI a online služby\n\n> Komponenty, ktoré komunikujú s jazykovými modelmi a inými online službami.\n\nKomponenty, ktoré komunikujú s jazykovými modelmi a inými online službami. Táto stránka obsahuje skupiny katalógu **AI**, **Ollama**, **Services**, **External**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### chatgpt.html · version 3\n\nType: `component`\n\nPošle prichádzajúci text do ChatGPT a vráti odpoveď.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `model` | `String` | no | `gpt-3.5-turbo-instruct` | Model. Jedna z hodnôt: `gpt-4` (GPT 4), `gpt-3.5-turbo` (GPT 3.5 Turbo), `gpt-3.5-turbo-instruct` (GPT 3.5 Turbo instruct), `Whisper` (whisper-1). |\n| `apikey` | `String` | no |  | API kľúč. |\n| `question` | `String` | no |  | Otázka. |\n\n**Vstupy:** `input` (Question).  \n**Výstupy:** `output` (Answer), `error` (Error).\n\nTento komponent dokáže komunikovať s ChatGPT.\n\n**Vstup**\n\nVstup závisí od zvoleného modelu\n\n- __CPT 3.5 Turbo__ a __CPT 4__\n\n```js\n\n// Object\n{\nmessages : [{ role: 'user', content: 'Text' }]\n}\n\n// or\n\n// Array\n[{ role: 'assistant', content: 'Text' }]\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\npath : 'path-to-file'\n}\n\n// or\n\n// String\n'path-to-file'\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// Object\n{\ntext : 'your question'\n}\n\n// or\n\n// String\n'your question'\n```\n\n**Výstup**\n\nAj výstup závisí od zvoleného modelu\n- __CPT 3.5 Turbo__ a __CPT 4__\n\n```js\n'Response from assistant'\n```\n\n- __Whisper__\n\n```js\n\n// Object\n{\ntext : 'transcipted text'\n}\n```\n\n- __CPT 3.5 Turbo instruct__\n\n```js\n\n// String\n'Response from assistant'\n```\n\n### aicontext.html · version 1\n\nType: `component`\n\nNačíta Markdown kontexty pre jazykový model.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `path` | `String` | no | `content` | Vlastnosť s obsahom. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nTento komponent dokáže načítať viacero Markdown kontextov pre LLM. Nahrádza textové frázy definované v hlavičke, napríklad `[filename_defined_in_the_header]`, obsahom definovaným v kontexte.\n\n__Príklad kontextu__:\n\n```md\n----------------------------------------------------------------\nName: document1.md\n----------------------------------------------------------------\n\nMARKDOWN 1\n\n----------------------------------------------------------------\nName: document2.md\n----------------------------------------------------------------\n\nMARKDOWN 2\n```\n\n**Použitie**\n\n```\n[document1.md]\n```\n\n__Výstup__:\n\n```\nMARKDOWN 1\n```\n\n### googlesearch.html · version 1\n\nType: `component`\n\nVyhľadá kľúčové slovo v Google.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `lang` | `String` | no | `en` | Jazyk. |\n| `limit` | `Number` | no | `5` | Limit výsledkov. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `google-it`.\n\nTento komponent dokáže vygoogliť akékoľvek kľúčové slovo.\n\n__Konfigurácia__\n\n- `Language (optional)` : jazyk vyhľadávania;\n- `Limit (optional)` : obmedzí počet výsledkov.\n\n__Vstup__\n\n- `Object` | String : vstup očakáva `data: String` alebo `data.text: String` ako kľúčové slová na vyhľadanie.\n\n__Výstup__\n\n- `Array` nájdených výsledkov:\n\n### ollamals.html · version 1\n\nType: `component`\n\nVypíše modely servera Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no | `http://localhost:11434` | Endpoint OLLAMA. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nFlowStream môže obsahovať iba jeden uzol tohto komponentu.\n\nTento komponent vypíše všetky modely OLLAMA.\n\n### ollamaprompt.html · version 1\n\nType: `component`\n\nPošle prompt modelu Ollama.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `think` | `Boolean` | no | `false` | Premýšľanie. |\n| `url` | `String` | no |  | Endpoint OLLAMA. |\n| `model` | `String` | no |  | Model. |\n| `parse` | `Boolean` | no | `false` | Spracovať odpoveď ako JSON objekt. |\n| `system` | `String` | no |  | Systémový prompt. |\n| `temperature` | `Number` | no | `-1` | Teplota. |\n\n**Vstupy:** `input` (Prompt).  \n**Výstupy:** `output` (Response), `error` (Error).\n\nTento komponent pošle prompt do enginu OLLAMA.\n\n```js\n{\n\tmodel: 'qwen3.5:9b', // optional\n\tthink: true, // optional\n\tcontent: 'User message',\n\timages: ['base64'] // optional\n}\n```\n\nKomponent uloží __odpoveď__ do vlastnosti `response` a __chybu__ do vlastnosti `error`. Výstupom je text.\n\n### ollamawebsearch.html · version 1\n\nType: `component`\n\nVyhľadáva na webe pomocou Ollama Web Search API.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `token` | `String` | no |  | API token Ollama. |\n| `path` | `String` | no | `response` | Cesta k odpovedi. |\n| `prop` | `String` | no | `search` | Načítať vyhľadávací dopyt. |\n| `merge` | `Boolean` | no | `false` | Zlúčiť obsah dokopy. |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nTento komponent používa Ollama Web Search API na vyhľadávanie na webe. Na overenie a prístup k službe potrebuješ platný API token Ollama.\n\n__Payload__:\n\n```js\n{\n\tsearch: 'Total.js Platform'\n}\n```\n\n__Odpoveď__:\n\n```json\n[\n\t{\n\t\t\"title\": \"...\",\n\t\t\"url\": \"https://www.totaljs.com\",\n\t\t\"content\": \"...\"\n\t}\n]\n```\n\n### opensync.html · version 2\n\nType: `component`\n\nPrijíma údaje z aplikácie OpenSync.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `url` | `String` | no |  | URL adresa + token. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Output).\n\nTento komponent prijíma údaje z aplikácie [OpenSync](https://docs.totaljs.com/opensync/). Príklad údajov:\n\n```js\n{\n\tid: String,              // Internal ID\n\ttype: String,            // Parsed content-type (can be empty with the \"GET\" method)\n\tchannel: String,         // Channel\n\tip: String,              // Host IP address\n\tmethod: String,          // HTTP method (upper-case)\n\theaders: Object,         // Key:value\n\tquery: Object,           // Key:value\n\tbody: Object,            // JSON/key:value/String\n\tua: String,              // Parsed user-agent\n\tfiles: [Object Array]    // Uploaded files { filename: String, extension: String, type: String, size: Number, url: String, width: Number, height: Number }\n}\n```\n\n### openweather.html · version 1\n\nType: `component`\n\nNačíta údaje o počasí z OpenWeatherMap.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `type` | `String` | no | `current` | Typ požiadavky. Jedna z hodnôt: `current` (Current Weather), `forecast` (Forecast). |\n| `apikey` | `String` | no |  | API kľúč. |\n| `mode` | `String` | no | `json` | Typ výstupu. Jedna z hodnôt: `json` (JSON), `xml` (XML), `html` (HTML). |\n| `time` | `String` | no | `hourly` | Čas. Jedna z hodnôt: `hourly` (Hourly (4 days data)), `daily` (Daily (16 days data)), `climate` (Climate Forecast (30 Days)). |\n\n**Vstupy:** `input` (Input).  \n**Výstupy:** `output` (Output), `error` (Error).\n\nTento komponent dokáže získať údaje o počasí z [OpenWheatherMap](https://openweathermap.org/api/);\n\n__Vstup__:\n\n```js\n\t{\n\t\tquery: String,         // Optional, City name, Country code, State code e.g: London, Ouagadougou, sk\n\t\tlon: String,           // Optional, Longitude\n\t\tlat: String,           // Optional, Latitude\n\t\tlang: String,          // Optional, Output language e.g: `en`, `de`, `sk`, `fr` etc...\n\t\tunits: String,         // Optional, standard, metric, imperial\n\t\tdate: String           // Optional,  Timestamp (Unix time, UTC time zone), e.g. date=1586468027\n\t}\n```\n","entries":[{"type":"component","name":"ChatGPT","signature":"chatgpt.html · version 3","since":"","deprecated":false},{"type":"component","name":"Context","signature":"aicontext.html · version 1","since":"","deprecated":false},{"type":"component","name":"Google Search","signature":"googlesearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama models","signature":"ollamals.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama prompt","signature":"ollamaprompt.html · version 1","since":"","deprecated":false},{"type":"component","name":"Ollama Web Search","signature":"ollamawebsearch.html · version 1","since":"","deprecated":false},{"type":"component","name":"OpenSync","signature":"opensync.html · version 2","since":"","deprecated":false},{"type":"component","name":"OpenWeather","signature":"openweather.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTm34E61f","url":"https://totaljs.es/docs/flow/11-1/components/security/","project":"flow","version":"11-1","section":"components","language":"en","title":"Security and authentication","summary":"Components for confirmation codes, one-time passwords, request limits and OAuth 2.0.","markdown":"---\ntitle: Security and authentication\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/security/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Security and authentication\n\n> Components for confirmation codes, one-time passwords, request limits and OAuth 2.0.\n\nComponents for confirmation codes, one-time passwords, request limits and OAuth 2.0. This page holds the catalogue groups **Security**, **API**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### confirmation-code.html · version 1\n\nType: `component`\n\nGenerates confirmation codes and verifies them.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `3` | Count of attempts. |\n| `type` | `String` | no | `pin` | Type. |\n| `length` | `Number` | no | `4` | Length. |\n| `expire` | `String` | no | `5 minutes` | Expiration. |\n| `lock` | `String` | no |  | Lock. |\n| `limit` | `Number` | no | `1` | Max. calls per lock. |\n\n**Inputs:** `create` (Create), `verify` (Verify).  \n**Outputs:** `output` (Output).\n\nThis component can help you with generating confirmation codes. Keep data structure for inputs according to the documentation below.\n\n**`create` input/output**\n\n__Create input__:\n\n- `id {String}` identifier (email, phone number, identifier, etc.)\n- `param {String}` a custom parameter\n\n__Create output__:\n\n- `success {Boolean}` determines if the code is verified or not accroding to its identifier\n- `value {String}` a pin/code/token\n- `param {String}` a custom parameter (it sends only if the value is true)\n- `error {String}` (optional) a simple error identifier, it can contain:\n\t- `locked` the identifier is locked by the previous call\n\n**`verify` input/output**\n\n__Verify input__:\n\n- `id {String}` identifier (email, phone number, identifier, etc.)\n- `value {String}` a pin/code/token\n\n__Verify output__:\n\n- `success {Boolean}` determines if the code is verified or not accroding to its identifier\n- `slots {Number}` free slots/attempts\n- `error {String}` (optional) a simple error identifier, it can contain:\n\t- `invalid` the code is invalid\n\t- `404` identifier not found\n\n---\n\n**Settings**\n\n- __Lock__ prevents overwriting of the code according to the identifier\n\n### iplimiter.html · version 1\n\nType: `component`\n\nLimits the number of requests per IP address.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Max. limit. |\n| `timeout` | `Number` | no | `5` | Timeout in seconds. |\n| `path` | `String` | no | `ip` | Path to the IP address. |\n\n**Inputs:** `input` (Request).  \n**Outputs:** `output` (Allowed), `error` (Blocked).\n\nThis component limits the number of requests per IP address. The component first tries to obtain the IP address from the `$.controller`. If that doesn't work, it tries to load the IP address from the payload.\n\n### oauth2.html · version 1\n\nType: `component`\n\nObtains an OAuth 2.0 access token from another service.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `urltoken` | `String` | no |  | Token URL. |\n| `urlauthorize` | `String` | no |  | Authorize URL. |\n| `variable` | `String` | no |  | Assign token to the global variable. |\n| `clientid` | `String` | no |  | Client ID. |\n| `clientsecret` | `String` | no |  | Client secret. |\n| `scope` | `String` | no |  | Scope. |\n| `accesstoken` | `String` | no |  | Access token. |\n\n**Inputs:** none.  \n**Outputs:** none.\n\nThis component can obtain OAuth 2.0 access token from 3rd party service.\n\n### totp.html · version 1\n\nType: `component`\n\nGenerates TOTP secrets and verifies one-time passwords for two-factor authorization.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `issuer` | `String` | no | `Total.js` | Issuer. |\n| `time` | `Number` | no | `30` | Time. |\n\n**Inputs:** `generate` (Generate), `verify` (Verify).  \n**Outputs:** `output` (Output).\n\n**Time-Based One-Time Password Algorithm**\n\nThis component can generate a secret and verifies the code (generated via Authenticator app) as a one-time password for 2FA authorization.\n\n- recommended mobile apps: __Google Authenticator__ or __Microsoft Authenticator__\n\n---\n\n__How does it work?__\n\nFirst, a user must generate a secret via`generate` input in the authenticator app. Then, for verification of the one-time generated password, you need to use the second input `verify,` which needs user secrets.\n\n**`generate` input/output**\n\n__Input data__:\n\n- `user {String}` email or user/account name without special characters\n\n__Output data `object` with__:\n\n- `secret {String}` a generated secret which you must store for the specific user\n- `url {String}` an optimized url address for tokenization\n- `qrcode {String}` a link to the picture with QR code\n\n**`verify` input/outputs**\n\n__Input data `object` with__:\n\n- `secret {String}`\n\n__Output data `object` with__:\n\n- `success {Boolean}` determines if the password is valid or not\n","entries":[{"type":"component","name":"Confirmation code","signature":"confirmation-code.html · version 1","since":"","deprecated":false},{"type":"component","name":"IP limiter","signature":"iplimiter.html · version 1","since":"","deprecated":false},{"type":"component","name":"OAuth 2.0","signature":"oauth2.html · version 1","since":"","deprecated":false},{"type":"component","name":"TOTP","signature":"totp.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTm34E61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/security/","project":"flow","version":"11-1","section":"components","language":"de","title":"Sicherheit und Authentifizierung","summary":"Komponenten für Bestätigungscodes, Einmalpasswörter, Anfragelimits und OAuth 2.0.","markdown":"---\ntitle: Sicherheit und Authentifizierung\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/security/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Sicherheit und Authentifizierung\n\n> Komponenten für Bestätigungscodes, Einmalpasswörter, Anfragelimits und OAuth 2.0.\n\nKomponenten für Bestätigungscodes, Einmalpasswörter, Anfragelimits und OAuth 2.0. Diese Seite enthält die Katalog-Gruppen **Security**, **API**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### confirmation-code.html · version 1\n\nType: `component`\n\nErzeugt Bestätigungscodes und prüft sie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `3` | Anzahl der Versuche. |\n| `type` | `String` | no | `pin` | Typ. |\n| `length` | `Number` | no | `4` | Länge. |\n| `expire` | `String` | no | `5 minutes` | Ablauf. |\n| `lock` | `String` | no |  | Sperre. |\n| `limit` | `Number` | no | `1` | Max. Aufrufe pro Sperre. |\n\n**Eingänge:** `create` (Create), `verify` (Verify).\n**Ausgänge:** `output` (Output).\n\nDiese Komponente hilft dir beim Erzeugen von Bestätigungscodes. Halte für die Eingänge die Datenstruktur aus der Dokumentation unten ein.\n\n**`create` Eingang/Ausgang**\n\n__Create-Eingang__:\n\n- `id {String}` Kennung (E-Mail, Telefonnummer, Kennung usw.)\n- `param {String}` ein eigener Parameter\n\n__Create-Ausgang__:\n\n- `success {Boolean}` gibt an, ob der Code anhand seiner Kennung bestätigt ist oder nicht\n- `value {String}` ein PIN/Code/Token\n- `param {String}` ein eigener Parameter (wird nur gesendet, wenn der Wert true ist)\n- `error {String}` (optional) eine einfache Fehlerkennung, sie kann Folgendes enthalten:\n\t- `locked` die Kennung ist durch den vorherigen Aufruf gesperrt\n\n**`verify` Eingang/Ausgang**\n\n__Verify-Eingang__:\n\n- `id {String}` Kennung (E-Mail, Telefonnummer, Kennung usw.)\n- `value {String}` ein PIN/Code/Token\n\n__Verify-Ausgang__:\n\n- `success {Boolean}` gibt an, ob der Code anhand seiner Kennung bestätigt ist oder nicht\n- `slots {Number}` freie Slots/Versuche\n- `error {String}` (optional) eine einfache Fehlerkennung, sie kann Folgendes enthalten:\n\t- `invalid` der Code ist ungültig\n\t- `404` Kennung nicht gefunden\n\n---\n\n**Einstellungen**\n\n- __Lock__ verhindert, dass der Code zu einer Kennung überschrieben wird\n\n### iplimiter.html · version 1\n\nType: `component`\n\nBegrenzt die Anzahl der Anfragen pro IP-Adresse.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Max. Limit. |\n| `timeout` | `Number` | no | `5` | Timeout in Sekunden. |\n| `path` | `String` | no | `ip` | Pfad zur IP-Adresse. |\n\n**Eingänge:** `input` (Request).\n**Ausgänge:** `output` (Allowed), `error` (Blocked).\n\nDiese Komponente begrenzt die Anzahl der Anfragen pro IP-Adresse. Sie versucht zuerst, die IP-Adresse aus `$.controller` zu holen. Klappt das nicht, versucht sie, die IP-Adresse aus dem Payload zu lesen.\n\n### oauth2.html · version 1\n\nType: `component`\n\nHolt ein OAuth-2.0-Zugriffstoken von einem anderen Dienst.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `urltoken` | `String` | no |  | Token-URL. |\n| `urlauthorize` | `String` | no |  | Autorisierungs-URL. |\n| `variable` | `String` | no |  | Token einer globalen Variable zuweisen. |\n| `clientid` | `String` | no |  | Client-ID. |\n| `clientsecret` | `String` | no |  | Client-Secret. |\n| `scope` | `String` | no |  | Scope. |\n| `accesstoken` | `String` | no |  | Zugriffstoken. |\n\n**Eingänge:** keine.\n**Ausgänge:** keine.\n\nDiese Komponente kann ein OAuth-2.0-Zugriffstoken von einem Drittanbieterdienst holen.\n\n### totp.html · version 1\n\nType: `component`\n\nErzeugt TOTP-Secrets und prüft Einmalpasswörter für die Zwei-Faktor-Autorisierung.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `issuer` | `String` | no | `Total.js` | Aussteller. |\n| `time` | `Number` | no | `30` | Zeit. |\n\n**Eingänge:** `generate` (Generate), `verify` (Verify).\n**Ausgänge:** `output` (Output).\n\n**Zeitbasierter Einmalpasswort-Algorithmus**\n\nDiese Komponente kann ein Secret erzeugen und den Code (aus einer Authenticator-App) als Einmalpasswort für die 2FA-Autorisierung prüfen.\n\n- empfohlene Mobil-Apps: __Google Authenticator__ oder __Microsoft Authenticator__\n\n---\n\n__Wie funktioniert das?__\n\nZuerst muss für einen Benutzer über den Eingang `generate` ein Secret für die Authenticator-App erzeugt werden. Um danach das einmalig erzeugte Passwort zu prüfen, nutzt du den zweiten Eingang `verify,`, der das Secret des Benutzers braucht.\n\n**`generate` Eingang/Ausgang**\n\n__Eingabedaten__:\n\n- `user {String}` E-Mail oder Benutzer-/Kontoname ohne Sonderzeichen\n\n__Ausgabedaten `object` mit__:\n\n- `secret {String}` ein erzeugtes Secret, das du für den jeweiligen Benutzer speichern musst\n- `url {String}` eine optimierte URL-Adresse für die Tokenisierung\n- `qrcode {String}` ein Link zum Bild mit dem QR-Code\n\n**`verify` Eingang/Ausgänge**\n\n__Eingabedaten `object` mit__:\n\n- `secret {String}`\n\n__Ausgabedaten `object` mit__:\n\n- `success {Boolean}` gibt an, ob das Passwort gültig ist oder nicht\n","entries":[{"type":"component","name":"Confirmation code","signature":"confirmation-code.html · version 1","since":"","deprecated":false},{"type":"component","name":"IP limiter","signature":"iplimiter.html · version 1","since":"","deprecated":false},{"type":"component","name":"OAuth 2.0","signature":"oauth2.html · version 1","since":"","deprecated":false},{"type":"component","name":"TOTP","signature":"totp.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTm34E61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/security/","project":"flow","version":"11-1","section":"components","language":"es","title":"Seguridad y autenticación","summary":"Componentes para códigos de confirmación, contraseñas de un solo uso, límites de peticiones y OAuth 2.0.","markdown":"---\ntitle: \"Seguridad y autenticación\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/security/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Seguridad y autenticación\n\n> Componentes para códigos de confirmación, contraseñas de un solo uso, límites de peticiones y OAuth 2.0.\n\nComponentes para códigos de confirmación, contraseñas de un solo uso, límites de peticiones y OAuth 2.0. Esta página contiene los grupos **Security** y **API** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### confirmation-code.html · version 1\n\nType: `component`\n\nGenera códigos de confirmación y los verifica.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `3` | Número de intentos. |\n| `type` | `String` | no | `pin` | Tipo. |\n| `length` | `Number` | no | `4` | Longitud. |\n| `expire` | `String` | no | `5 minutes` | Caducidad. |\n| `lock` | `String` | no |  | Bloqueo. |\n| `limit` | `Number` | no | `1` | Máx. de llamadas por bloqueo. |\n\n**Entradas:** `create` (Create), `verify` (Verify).\n**Salidas:** `output` (Output).\n\nEste componente te ayuda a generar códigos de confirmación. Mantén la estructura de datos de las entradas según la documentación de abajo.\n\n**Entrada/salida `create`**\n\n__Entrada de create__:\n\n- `id {String}` identificador (email, número de teléfono, identificador, etc.)\n- `param {String}` un parámetro personalizado\n\n__Salida de create__:\n\n- `success {Boolean}` indica si el código está verificado o no según su identificador\n- `value {String}` un pin/código/token\n- `param {String}` un parámetro personalizado (solo se envía si el valor es true)\n- `error {String}` (opcional) un identificador de error sencillo, puede contener:\n\t- `locked` el identificador está bloqueado por la llamada anterior\n\n**Entrada/salida `verify`**\n\n__Entrada de verify__:\n\n- `id {String}` identificador (email, número de teléfono, identificador, etc.)\n- `value {String}` un pin/código/token\n\n__Salida de verify__:\n\n- `success {Boolean}` indica si el código está verificado o no según su identificador\n- `slots {Number}` huecos/intentos libres\n- `error {String}` (opcional) un identificador de error sencillo, puede contener:\n\t- `invalid` el código no es válido\n\t- `404` identificador no encontrado\n\n---\n\n**Ajustes**\n\n- __Lock__ (bloqueo) impide que se sobrescriba el código según el identificador\n\n### iplimiter.html · version 1\n\nType: `component`\n\nLimita el número de peticiones por dirección IP.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Límite máximo. |\n| `timeout` | `Number` | no | `5` | Tiempo de espera en segundos. |\n| `path` | `String` | no | `ip` | Ruta a la dirección IP. |\n\n**Entradas:** `input` (Request).\n**Salidas:** `output` (Allowed), `error` (Blocked).\n\nEste componente limita el número de peticiones por dirección IP. Primero intenta obtener la dirección IP del `$.controller`. Si no lo consigue, intenta leer la dirección IP del payload.\n\n### oauth2.html · version 1\n\nType: `component`\n\nObtiene un token de acceso OAuth 2.0 de otro servicio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `urltoken` | `String` | no |  | URL del token. |\n| `urlauthorize` | `String` | no |  | URL de autorización. |\n| `variable` | `String` | no |  | Asignar el token a la variable global. |\n| `clientid` | `String` | no |  | ID de cliente. |\n| `clientsecret` | `String` | no |  | Secreto de cliente. |\n| `scope` | `String` | no |  | Ámbito. |\n| `accesstoken` | `String` | no |  | Token de acceso. |\n\n**Entradas:** ninguna.\n**Salidas:** ninguna.\n\nEste componente puede obtener un token de acceso OAuth 2.0 de un servicio de terceros.\n\n### totp.html · version 1\n\nType: `component`\n\nGenera secretos TOTP y verifica contraseñas de un solo uso para la autorización en dos pasos.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `issuer` | `String` | no | `Total.js` | Emisor. |\n| `time` | `Number` | no | `30` | Tiempo. |\n\n**Entradas:** `generate` (Generate), `verify` (Verify).\n**Salidas:** `output` (Output).\n\n**Algoritmo de contraseña de un solo uso basada en el tiempo**\n\nEste componente puede generar un secreto y verificar el código (generado con una app de autenticación) como contraseña de un solo uso para la autorización 2FA.\n\n- apps móviles recomendadas: __Google Authenticator__ o __Microsoft Authenticator__\n\n---\n\n__¿Cómo funciona?__\n\nPrimero, un usuario debe generar un secreto con la entrada`generate` en la app de autenticación. Después, para verificar la contraseña de un solo uso generada, necesitas usar la segunda entrada `verify,` que necesita los secretos del usuario.\n\n**Entrada/salida `generate`**\n\n__Datos de entrada__:\n\n- `user {String}` email o nombre de usuario/cuenta sin caracteres especiales\n\n__Datos de salida, un `object` con__:\n\n- `secret {String}` un secreto generado que debes guardar para ese usuario\n- `url {String}` una dirección URL optimizada para la tokenización\n- `qrcode {String}` un enlace a la imagen con el código QR\n\n**Entrada/salidas `verify`**\n\n__Datos de entrada, un `object` con__:\n\n- `secret {String}`\n\n__Datos de salida, un `object` con__:\n\n- `success {Boolean}` indica si la contraseña es válida o no\n","entries":[{"type":"component","name":"Confirmation code","signature":"confirmation-code.html · version 1","since":"","deprecated":false},{"type":"component","name":"IP limiter","signature":"iplimiter.html · version 1","since":"","deprecated":false},{"type":"component","name":"OAuth 2.0","signature":"oauth2.html · version 1","since":"","deprecated":false},{"type":"component","name":"TOTP","signature":"totp.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTm34E61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/security/","project":"flow","version":"11-1","section":"components","language":"fr","title":"Sécurité et authentification","summary":"Composants pour les codes de confirmation, les mots de passe à usage unique, les limites de requêtes et OAuth 2.0.","markdown":"---\ntitle: \"Sécurité et authentification\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/security/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Sécurité et authentification\n\n> Composants pour les codes de confirmation, les mots de passe à usage unique, les limites de requêtes et OAuth 2.0.\n\nComposants pour les codes de confirmation, les mots de passe à usage unique, les limites de requêtes et OAuth 2.0. Cette page contient les groupes du catalogue **Security**, **API**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### confirmation-code.html · version 1\n\nType: `component`\n\nGénère des codes de confirmation et les vérifie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `3` | Nombre de tentatives. |\n| `type` | `String` | no | `pin` | Type. |\n| `length` | `Number` | no | `4` | Longueur. |\n| `expire` | `String` | no | `5 minutes` | Expiration. |\n| `lock` | `String` | no |  | Verrouillage. |\n| `limit` | `Number` | no | `1` | Nombre max. d’appels par verrouillage. |\n\n**Entrées :** `create` (Create), `verify` (Verify).  \n**Sorties :** `output` (Output).\n\nCe composant t’aide à générer des codes de confirmation. Respecte la structure des données des entrées décrite ci-dessous.\n\n**Entrée/sortie `create`**\n\n__Entrée create__ :\n\n- `id {String}` identifiant (e-mail, numéro de téléphone, identifiant, etc.)\n- `param {String}` un paramètre personnalisé\n\n__Sortie create__ :\n\n- `success {Boolean}` indique si le code est vérifié ou non selon son identifiant\n- `value {String}` un pin/code/jeton\n- `param {String}` un paramètre personnalisé (envoyé seulement si la valeur est true)\n- `error {String}` (facultatif) un identifiant d’erreur simple, il peut contenir :\n\t- `locked` l’identifiant est verrouillé par l’appel précédent\n\n**Entrée/sortie `verify`**\n\n__Entrée verify__ :\n\n- `id {String}` identifiant (e-mail, numéro de téléphone, identifiant, etc.)\n- `value {String}` un pin/code/jeton\n\n__Sortie verify__ :\n\n- `success {Boolean}` indique si le code est vérifié ou non selon son identifiant\n- `slots {Number}` emplacements/tentatives libres\n- `error {String}` (facultatif) un identifiant d’erreur simple, il peut contenir :\n\t- `invalid` le code n’est pas valide\n\t- `404` identifiant introuvable\n\n---\n\n**Paramètres**\n\n- __Lock__ empêche d’écraser le code selon l’identifiant\n\n### iplimiter.html · version 1\n\nType: `component`\n\nLimite le nombre de requêtes par adresse IP.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Limite max. |\n| `timeout` | `Number` | no | `5` | Délai en secondes. |\n| `path` | `String` | no | `ip` | Chemin vers l’adresse IP. |\n\n**Entrées :** `input` (Request).  \n**Sorties :** `output` (Allowed), `error` (Blocked).\n\nCe composant limite le nombre de requêtes par adresse IP. Il essaie d’abord d’obtenir l’adresse IP depuis `$.controller`. Si ça ne marche pas, il essaie de lire l’adresse IP dans le payload.\n\n### oauth2.html · version 1\n\nType: `component`\n\nObtient un jeton d’accès OAuth 2.0 auprès d’un autre service.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `urltoken` | `String` | no |  | URL du jeton. |\n| `urlauthorize` | `String` | no |  | URL d’autorisation. |\n| `variable` | `String` | no |  | Assigner le jeton à la variable globale. |\n| `clientid` | `String` | no |  | ID client. |\n| `clientsecret` | `String` | no |  | Secret client. |\n| `scope` | `String` | no |  | Portée (scope). |\n| `accesstoken` | `String` | no |  | Jeton d’accès. |\n\n**Entrées :** aucune.  \n**Sorties :** aucune.\n\nCe composant peut obtenir un jeton d’accès OAuth 2.0 auprès d’un service tiers.\n\n### totp.html · version 1\n\nType: `component`\n\nGénère des secrets TOTP et vérifie les mots de passe à usage unique pour l’authentification à deux facteurs.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `issuer` | `String` | no | `Total.js` | Émetteur. |\n| `time` | `Number` | no | `30` | Durée. |\n\n**Entrées :** `generate` (Generate), `verify` (Verify).  \n**Sorties :** `output` (Output).\n\n**Algorithme de mot de passe à usage unique basé sur le temps (TOTP)**\n\nCe composant peut générer un secret et vérifier le code (généré par une app d’authentification) comme mot de passe à usage unique pour l’authentification 2FA.\n\n- applications mobiles recommandées : __Google Authenticator__ ou __Microsoft Authenticator__\n\n---\n\n__Comment ça marche ?__\n\nD’abord, l’utilisateur doit générer un secret via l’entrée `generate` dans l’app d’authentification. Ensuite, pour vérifier le mot de passe à usage unique généré, tu dois utiliser la seconde entrée `verify,` qui a besoin des secrets de l’utilisateur.\n\n**Entrée/sortie `generate`**\n\n__Données d’entrée__ :\n\n- `user {String}` e-mail ou nom d’utilisateur/de compte sans caractères spéciaux\n\n__Données de sortie : `object` avec__ :\n\n- `secret {String}` un secret généré que tu dois stocker pour cet utilisateur\n- `url {String}` une adresse URL optimisée pour la tokenisation\n- `qrcode {String}` un lien vers l’image du QR code\n\n**Entrées/sorties `verify`**\n\n__Données d’entrée : `object` avec__ :\n\n- `secret {String}`\n\n__Données de sortie : `object` avec__ :\n\n- `success {Boolean}` indique si le mot de passe est valide ou non\n","entries":[{"type":"component","name":"Confirmation code","signature":"confirmation-code.html · version 1","since":"","deprecated":false},{"type":"component","name":"IP limiter","signature":"iplimiter.html · version 1","since":"","deprecated":false},{"type":"component","name":"OAuth 2.0","signature":"oauth2.html · version 1","since":"","deprecated":false},{"type":"component","name":"TOTP","signature":"totp.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTm34E61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/security/","project":"flow","version":"11-1","section":"components","language":"it","title":"Sicurezza e autenticazione","summary":"Componenti per codici di conferma, password monouso, limiti di richieste e OAuth 2.0.","markdown":"---\ntitle: Sicurezza e autenticazione\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/security/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Sicurezza e autenticazione\n\n> Componenti per codici di conferma, password monouso, limiti di richieste e OAuth 2.0.\n\nComponenti per codici di conferma, password monouso, limiti di richieste e OAuth 2.0. Questa pagina contiene i gruppi del catalogo **Security**, **API**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### confirmation-code.html · version 1\n\nType: `component`\n\nGenera codici di conferma e li verifica.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `3` | Numero di tentativi. |\n| `type` | `String` | no | `pin` | Tipo. |\n| `length` | `Number` | no | `4` | Lunghezza. |\n| `expire` | `String` | no | `5 minutes` | Scadenza. |\n| `lock` | `String` | no |  | Blocco. |\n| `limit` | `Number` | no | `1` | Numero massimo di chiamate per blocco. |\n\n**Ingressi:** `create` (Create), `verify` (Verify).  \n**Uscite:** `output` (Output).\n\nQuesto componente ti aiuta a generare codici di conferma. Mantieni la struttura dei dati degli ingressi come descritto nella documentazione qui sotto.\n\n**Ingresso/uscita `create`**\n\n__Ingresso Create__:\n\n- `id {String}` identificativo (email, numero di telefono, identificativo, ecc.)\n- `param {String}` un parametro personalizzato\n\n__Uscita Create__:\n\n- `success {Boolean}` indica se il codice è verificato o no in base al suo identificativo\n- `value {String}` un pin/codice/token\n- `param {String}` un parametro personalizzato (viene inviato solo se il valore è true)\n- `error {String}` (facoltativo) un semplice identificativo di errore, può contenere:\n\t- `locked` l'identificativo è bloccato dalla chiamata precedente\n\n**Ingresso/uscita `verify`**\n\n__Ingresso Verify__:\n\n- `id {String}` identificativo (email, numero di telefono, identificativo, ecc.)\n- `value {String}` un pin/codice/token\n\n__Uscita Verify__:\n\n- `success {Boolean}` indica se il codice è verificato o no in base al suo identificativo\n- `slots {Number}` slot/tentativi liberi\n- `error {String}` (facoltativo) un semplice identificativo di errore, può contenere:\n\t- `invalid` il codice non è valido\n\t- `404` identificativo non trovato\n\n---\n\n**Impostazioni**\n\n- __Lock__ impedisce di sovrascrivere il codice in base all'identificativo\n\n### iplimiter.html · version 1\n\nType: `component`\n\nLimita il numero di richieste per indirizzo IP.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Limite massimo. |\n| `timeout` | `Number` | no | `5` | Timeout in secondi. |\n| `path` | `String` | no | `ip` | Percorso dell'indirizzo IP. |\n\n**Ingressi:** `input` (Request).  \n**Uscite:** `output` (Allowed), `error` (Blocked).\n\nQuesto componente limita il numero di richieste per indirizzo IP. Prima prova a ottenere l'indirizzo IP da `$.controller`. Se non ci riesce, prova a leggere l'indirizzo IP dal payload.\n\n### oauth2.html · version 1\n\nType: `component`\n\nOttiene un token di accesso OAuth 2.0 da un altro servizio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `urltoken` | `String` | no |  | URL del token. |\n| `urlauthorize` | `String` | no |  | URL di autorizzazione. |\n| `variable` | `String` | no |  | Assegna il token alla variabile globale. |\n| `clientid` | `String` | no |  | ID client. |\n| `clientsecret` | `String` | no |  | Segreto client. |\n| `scope` | `String` | no |  | Ambito (scope). |\n| `accesstoken` | `String` | no |  | Token di accesso. |\n\n**Ingressi:** nessuno.  \n**Uscite:** nessuna.\n\nQuesto componente può ottenere un token di accesso OAuth 2.0 da un servizio di terze parti.\n\n### totp.html · version 1\n\nType: `component`\n\nGenera segreti TOTP e verifica password monouso per l'autenticazione a due fattori.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `issuer` | `String` | no | `Total.js` | Emittente. |\n| `time` | `Number` | no | `30` | Tempo. |\n\n**Ingressi:** `generate` (Generate), `verify` (Verify).  \n**Uscite:** `output` (Output).\n\n**Algoritmo di password monouso basata sul tempo (TOTP)**\n\nQuesto componente può generare un segreto e verificare il codice (generato con un'app Authenticator) come password monouso per l'autenticazione 2FA.\n\n- app mobili consigliate: __Google Authenticator__ o __Microsoft Authenticator__\n\n---\n\n__Come funziona?__\n\nPer prima cosa, l'utente deve generare un segreto per l'app Authenticator tramite l'ingresso`generate`. Poi, per verificare la password monouso generata, devi usare il secondo ingresso `verify,` che ha bisogno dei segreti dell'utente.\n\n**Ingresso/uscita `generate`**\n\n__Dati in ingresso__:\n\n- `user {String}` email o nome utente/account senza caratteri speciali\n\n__Dati in uscita: `object` con__:\n\n- `secret {String}` un segreto generato che devi salvare per quell'utente\n- `url {String}` un indirizzo URL ottimizzato per la tokenizzazione\n- `qrcode {String}` un link all'immagine con il codice QR\n\n**Ingresso/uscite `verify`**\n\n__Dati in ingresso: `object` con__:\n\n- `secret {String}`\n\n__Dati in uscita: `object` con__:\n\n- `success {Boolean}` indica se la password è valida o no\n","entries":[{"type":"component","name":"Confirmation code","signature":"confirmation-code.html · version 1","since":"","deprecated":false},{"type":"component","name":"IP limiter","signature":"iplimiter.html · version 1","since":"","deprecated":false},{"type":"component","name":"OAuth 2.0","signature":"oauth2.html · version 1","since":"","deprecated":false},{"type":"component","name":"TOTP","signature":"totp.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTm34E61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/security/","project":"flow","version":"11-1","section":"components","language":"sk","title":"Bezpečnosť a overovanie","summary":"Komponenty pre potvrdzovacie kódy, jednorazové heslá, limity požiadaviek a OAuth 2.0.","markdown":"---\ntitle: \"Bezpečnosť a overovanie\"\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/security/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Bezpečnosť a overovanie\n\n> Komponenty pre potvrdzovacie kódy, jednorazové heslá, limity požiadaviek a OAuth 2.0.\n\nKomponenty pre potvrdzovacie kódy, jednorazové heslá, limity požiadaviek a OAuth 2.0. Táto stránka obsahuje skupiny katalógu **Security**, **API**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### confirmation-code.html · version 1\n\nType: `component`\n\nGeneruje potvrdzovacie kódy a overuje ich.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `3` | Počet pokusov. |\n| `type` | `String` | no | `pin` | Typ. |\n| `length` | `Number` | no | `4` | Dĺžka. |\n| `expire` | `String` | no | `5 minutes` | Platnosť. |\n| `lock` | `String` | no |  | Zámok. |\n| `limit` | `Number` | no | `1` | Max. počet volaní na jeden zámok. |\n\n**Vstupy:** `create` (Create), `verify` (Verify).  \n**Výstupy:** `output` (Output).\n\nTento komponent ti pomôže generovať potvrdzovacie kódy. Dodrž štruktúru údajov pre vstupy podľa dokumentácie nižšie.\n\n**Vstup/výstup `create`**\n\n__Vstup Create__:\n\n- `id {String}` identifikátor (e-mail, telefónne číslo, identifikátor atď.)\n- `param {String}` vlastný parameter\n\n__Výstup Create__:\n\n- `success {Boolean}` určuje, či je kód podľa svojho identifikátora overený, alebo nie\n- `value {String}` PIN/kód/token\n- `param {String}` vlastný parameter (posiela sa iba vtedy, keď je hodnota true)\n- `error {String}` (voliteľné) jednoduchý identifikátor chyby, môže obsahovať:\n\t- `locked` identifikátor je zamknutý predchádzajúcim volaním\n\n**Vstup/výstup `verify`**\n\n__Vstup Verify__:\n\n- `id {String}` identifikátor (e-mail, telefónne číslo, identifikátor atď.)\n- `value {String}` PIN/kód/token\n\n__Výstup Verify__:\n\n- `success {Boolean}` určuje, či je kód podľa svojho identifikátora overený, alebo nie\n- `slots {Number}` voľné sloty/pokusy\n- `error {String}` (voliteľné) jednoduchý identifikátor chyby, môže obsahovať:\n\t- `invalid` kód je neplatný\n\t- `404` identifikátor sa nenašiel\n\n---\n\n**Nastavenia**\n\n- __Lock__ zabráni prepísaniu kódu podľa identifikátora\n\n### iplimiter.html · version 1\n\nType: `component`\n\nObmedzuje počet požiadaviek z jednej IP adresy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `count` | `Number` | no | `1` | Max. limit. |\n| `timeout` | `Number` | no | `5` | Časový limit v sekundách. |\n| `path` | `String` | no | `ip` | Cesta k IP adrese. |\n\n**Vstupy:** `input` (Request).  \n**Výstupy:** `output` (Allowed), `error` (Blocked).\n\nTento komponent obmedzuje počet požiadaviek z jednej IP adresy. Komponent sa najprv pokúsi získať IP adresu z `$.controller`. Ak to nefunguje, pokúsi sa načítať IP adresu z payloadu.\n\n### oauth2.html · version 1\n\nType: `component`\n\nZíska prístupový token OAuth 2.0 z inej služby.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `urltoken` | `String` | no |  | URL tokenu. |\n| `urlauthorize` | `String` | no |  | URL autorizácie. |\n| `variable` | `String` | no |  | Priradiť token do globálnej premennej. |\n| `clientid` | `String` | no |  | ID klienta. |\n| `clientsecret` | `String` | no |  | Tajomstvo klienta. |\n| `scope` | `String` | no |  | Rozsah (scope). |\n| `accesstoken` | `String` | no |  | Prístupový token. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** žiadne.\n\nTento komponent dokáže získať prístupový token OAuth 2.0 zo služby tretej strany.\n\n### totp.html · version 1\n\nType: `component`\n\nGeneruje TOTP tajomstvá a overuje jednorazové heslá pre dvojfaktorovú autorizáciu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `issuer` | `String` | no | `Total.js` | Vydavateľ. |\n| `time` | `Number` | no | `30` | Čas. |\n\n**Vstupy:** `generate` (Generate), `verify` (Verify).  \n**Výstupy:** `output` (Output).\n\n**Algoritmus jednorazového hesla založený na čase (TOTP)**\n\nTento komponent dokáže vygenerovať tajomstvo a overiť kód (vygenerovaný v aplikácii Authenticator) ako jednorazové heslo pre 2FA autorizáciu.\n\n- odporúčané mobilné aplikácie: __Google Authenticator__ alebo __Microsoft Authenticator__\n\n---\n\n__Ako to funguje?__\n\nNajprv musí používateľ vygenerovať tajomstvo cez vstup `generate` pre aplikáciu Authenticator. Potom na overenie jednorazovo vygenerovaného hesla použiješ druhý vstup `verify,` ktorý potrebuje tajomstvo používateľa.\n\n**Vstup/výstup `generate`**\n\n__Vstupné údaje__:\n\n- `user {String}` e-mail alebo meno používateľa/účtu bez špeciálnych znakov\n\n__Výstupné údaje: `object` s__:\n\n- `secret {String}` vygenerované tajomstvo, ktoré musíš uložiť pre daného používateľa\n- `url {String}` optimalizovaná URL adresa na tokenizáciu\n- `qrcode {String}` odkaz na obrázok s QR kódom\n\n**Vstup/výstupy `verify`**\n\n__Vstupné údaje: `object` s__:\n\n- `secret {String}`\n\n__Výstupné údaje: `object` s__:\n\n- `success {Boolean}` určuje, či je heslo platné, alebo nie\n","entries":[{"type":"component","name":"Confirmation code","signature":"confirmation-code.html · version 1","since":"","deprecated":false},{"type":"component","name":"IP limiter","signature":"iplimiter.html · version 1","since":"","deprecated":false},{"type":"component","name":"OAuth 2.0","signature":"oauth2.html · version 1","since":"","deprecated":false},{"type":"component","name":"TOTP","signature":"totp.html · version 1","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTe2wE61f","url":"https://totaljs.es/docs/flow/11-1/components/mqtt/","project":"flow","version":"11-1","section":"components","language":"en","title":"MQTT","summary":"Components that connect to an MQTT broker, publish and subscribe.","markdown":"---\ntitle: MQTT\nproject: Flow\nversion: 11.1\nsection: components\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/components/mqtt/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# MQTT\n\n> Components that connect to an MQTT broker, publish and subscribe.\n\nComponents that connect to an MQTT broker, publish and subscribe. This page holds the catalogue group **MQTT**.\n\nEach entry lists the inputs and outputs of the component, its main settings and the text of its readme. To add a component to a FlowStream, see [Download components](/flow/11-1/guides/download-components/).\n\n## API\n\n### mqtt-broker.html · version 4\n\nType: `component`\n\nConnects to an MQTT broker and sends the messages it receives.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `host` | `String` | no | `localhost` | Hostname or IP address. |\n| `port` | `Number` | no | `1883` | Port. |\n| `secure` | `Boolean` | no | `false` | Secure (SSL). |\n| `clientid` | `String` | no |  | Client ID. |\n| `auth` | `String` | no |  | Require Authorization. |\n| `username` | `String` | no |  | Username. |\n| `password` | `String` | no |  | Password. |\n| `lwt` | `String` | no |  | Last will topic (LWT). |\n| `lwttopic` | `String` | no |  | Last will topic. |\n| `lwtmessage` | `String` | no |  | Last will message. |\n\n**Inputs:** none.  \n**Outputs:** `output` (Messages).\n\nFlow installs the npm package `mqtt` when you add the component.\n\n### mqtt-publish.html · version 3\n\nType: `component`\n\nPublishes messages to an MQTT topic.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n\n**Inputs:** `message` (Message).  \n**Outputs:** none.\n\nMQTT Publish\n\nInput:\n\n```javascript\n{\n\ttopic: 'some/topic',\n\tmessage: { some: 'data' },\n\t// optional\n\toptions: {\n\t\tqos: 0|1|2,\n\t\tretain: true|false\n\t}\n}\n```\n\n### mqtt-subscribe.html · version 3\n\nType: `component`\n\nSubscribes to an MQTT topic.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n| `topic` | `String` | no |  | Topic. |\n\n**Inputs:** none.  \n**Outputs:** `message` (Message).\n\nMQTT Subscribe\n","entries":[{"type":"component","name":"MQTT Broker","signature":"mqtt-broker.html · version 4","since":"","deprecated":false},{"type":"component","name":"MQTT Publish","signature":"mqtt-publish.html · version 3","since":"","deprecated":false},{"type":"component","name":"MQTT Subscribe","signature":"mqtt-subscribe.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTe2wE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/components/mqtt/","project":"flow","version":"11-1","section":"components","language":"de","title":"MQTT","summary":"Komponenten, die sich mit einem MQTT-Broker verbinden, veröffentlichen und abonnieren.","markdown":"---\ntitle: MQTT\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/components/mqtt/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# MQTT\n\n> Komponenten, die sich mit einem MQTT-Broker verbinden, veröffentlichen und abonnieren.\n\nKomponenten, die sich mit einem MQTT-Broker verbinden, veröffentlichen und abonnieren. Diese Seite enthält die Katalog-Gruppe **MQTT**.\n\nJeder Eintrag listet die Eingänge und Ausgänge der Komponente, ihre wichtigsten Einstellungen und den Text ihrer Readme auf. Wie du eine Komponente zu einem FlowStream hinzufügst, steht unter [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n\n## API\n\n### mqtt-broker.html · version 4\n\nType: `component`\n\nVerbindet sich mit einem MQTT-Broker und sendet die Nachrichten weiter, die er empfängt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `host` | `String` | no | `localhost` | Hostname oder IP-Adresse. |\n| `port` | `Number` | no | `1883` | Port. |\n| `secure` | `Boolean` | no | `false` | Sicher (SSL). |\n| `clientid` | `String` | no |  | Client-ID. |\n| `auth` | `String` | no |  | Autorisierung verlangen. |\n| `username` | `String` | no |  | Benutzername. |\n| `password` | `String` | no |  | Passwort. |\n| `lwt` | `String` | no |  | Last-Will-Topic (LWT). |\n| `lwttopic` | `String` | no |  | Last-Will-Topic. |\n| `lwtmessage` | `String` | no |  | Last-Will-Nachricht. |\n\n**Eingänge:** keine.\n**Ausgänge:** `output` (Messages).\n\nFlow installiert das npm-Paket `mqtt`, wenn du die Komponente hinzufügst.\n\n### mqtt-publish.html · version 3\n\nType: `component`\n\nVeröffentlicht Nachrichten in einem MQTT-Topic.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n\n**Eingänge:** `message` (Message).\n**Ausgänge:** keine.\n\nMQTT Publish\n\nEingabe:\n\n```javascript\n{\n\ttopic: 'some/topic',\n\tmessage: { some: 'data' },\n\t// optional\n\toptions: {\n\t\tqos: 0|1|2,\n\t\tretain: true|false\n\t}\n}\n```\n\n### mqtt-subscribe.html · version 3\n\nType: `component`\n\nAbonniert ein MQTT-Topic.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n| `topic` | `String` | no |  | Topic. |\n\n**Eingänge:** keine.\n**Ausgänge:** `message` (Message).\n\nMQTT Subscribe\n","entries":[{"type":"component","name":"MQTT Broker","signature":"mqtt-broker.html · version 4","since":"","deprecated":false},{"type":"component","name":"MQTT Publish","signature":"mqtt-publish.html · version 3","since":"","deprecated":false},{"type":"component","name":"MQTT Subscribe","signature":"mqtt-subscribe.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTe2wE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/components/mqtt/","project":"flow","version":"11-1","section":"components","language":"es","title":"MQTT","summary":"Componentes que se conectan a un broker MQTT, publican y se suscriben.","markdown":"---\ntitle: MQTT\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/components/mqtt/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# MQTT\n\n> Componentes que se conectan a un broker MQTT, publican y se suscriben.\n\nComponentes que se conectan a un broker MQTT, publican y se suscriben. Esta página contiene el grupo **MQTT** del catálogo.\n\nCada entrada lista las entradas y salidas del componente, sus ajustes principales y el texto de su readme. Para añadir un componente a un FlowStream, consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n\n## API\n\n### mqtt-broker.html · version 4\n\nType: `component`\n\nSe conecta a un broker MQTT y envía los mensajes que recibe.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `host` | `String` | no | `localhost` | Nombre de host o dirección IP. |\n| `port` | `Number` | no | `1883` | Puerto. |\n| `secure` | `Boolean` | no | `false` | Seguro (SSL). |\n| `clientid` | `String` | no |  | ID de cliente. |\n| `auth` | `String` | no |  | Requerir autorización. |\n| `username` | `String` | no |  | Nombre de usuario. |\n| `password` | `String` | no |  | Contraseña. |\n| `lwt` | `String` | no |  | Tema de última voluntad (LWT). |\n| `lwttopic` | `String` | no |  | Tema de última voluntad. |\n| `lwtmessage` | `String` | no |  | Mensaje de última voluntad. |\n\n**Entradas:** ninguna.\n**Salidas:** `output` (Messages).\n\nFlow instala el paquete npm `mqtt` cuando añades el componente.\n\n### mqtt-publish.html · version 3\n\nType: `component`\n\nPublica mensajes en un tema MQTT.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n\n**Entradas:** `message` (Message).\n**Salidas:** ninguna.\n\nMQTT Publish\n\nEntrada:\n\n```javascript\n{\n\ttopic: 'some/topic',\n\tmessage: { some: 'data' },\n\t// optional\n\toptions: {\n\t\tqos: 0|1|2,\n\t\tretain: true|false\n\t}\n}\n```\n\n### mqtt-subscribe.html · version 3\n\nType: `component`\n\nSe suscribe a un tema MQTT.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n| `topic` | `String` | no |  | Tema. |\n\n**Entradas:** ninguna.\n**Salidas:** `message` (Message).\n\nMQTT Subscribe\n","entries":[{"type":"component","name":"MQTT Broker","signature":"mqtt-broker.html · version 4","since":"","deprecated":false},{"type":"component","name":"MQTT Publish","signature":"mqtt-publish.html · version 3","since":"","deprecated":false},{"type":"component","name":"MQTT Subscribe","signature":"mqtt-subscribe.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTe2wE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/components/mqtt/","project":"flow","version":"11-1","section":"components","language":"fr","title":"MQTT","summary":"Composants qui se connectent à un broker MQTT, publient et s’abonnent.","markdown":"---\ntitle: MQTT\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/components/mqtt/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# MQTT\n\n> Composants qui se connectent à un broker MQTT, publient et s’abonnent.\n\nComposants qui se connectent à un broker MQTT, publient et s’abonnent. Cette page contient le groupe du catalogue **MQTT**.\n\nChaque entrée liste les entrées et les sorties du composant, ses principaux paramètres et le texte de son readme. Pour ajouter un composant à un FlowStream, consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n\n## API\n\n### mqtt-broker.html · version 4\n\nType: `component`\n\nSe connecte à un broker MQTT et envoie les messages qu’il reçoit.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `host` | `String` | no | `localhost` | Nom d’hôte ou adresse IP. |\n| `port` | `Number` | no | `1883` | Port. |\n| `secure` | `Boolean` | no | `false` | Sécurisé (SSL). |\n| `clientid` | `String` | no |  | ID client. |\n| `auth` | `String` | no |  | Exiger une autorisation. |\n| `username` | `String` | no |  | Nom d’utilisateur. |\n| `password` | `String` | no |  | Mot de passe. |\n| `lwt` | `String` | no |  | Topic de dernière volonté (LWT). |\n| `lwttopic` | `String` | no |  | Topic de dernière volonté. |\n| `lwtmessage` | `String` | no |  | Message de dernière volonté. |\n\n**Entrées :** aucune.  \n**Sorties :** `output` (Messages).\n\nFlow installe le paquet npm `mqtt` quand tu ajoutes le composant.\n\n### mqtt-publish.html · version 3\n\nType: `component`\n\nPublie des messages sur un topic MQTT.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n\n**Entrées :** `message` (Message).  \n**Sorties :** aucune.\n\nMQTT Publish\n\nEntrée :\n\n```javascript\n{\n\ttopic: 'some/topic',\n\tmessage: { some: 'data' },\n\t// optional\n\toptions: {\n\t\tqos: 0|1|2,\n\t\tretain: true|false\n\t}\n}\n```\n\n### mqtt-subscribe.html · version 3\n\nType: `component`\n\nS’abonne à un topic MQTT.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n| `topic` | `String` | no |  | Topic. |\n\n**Entrées :** aucune.  \n**Sorties :** `message` (Message).\n\nMQTT Subscribe\n","entries":[{"type":"component","name":"MQTT Broker","signature":"mqtt-broker.html · version 4","since":"","deprecated":false},{"type":"component","name":"MQTT Publish","signature":"mqtt-publish.html · version 3","since":"","deprecated":false},{"type":"component","name":"MQTT Subscribe","signature":"mqtt-subscribe.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTe2wE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/components/mqtt/","project":"flow","version":"11-1","section":"components","language":"it","title":"MQTT","summary":"Componenti che si collegano a un broker MQTT, pubblicano e si iscrivono.","markdown":"---\ntitle: MQTT\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/components/mqtt/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# MQTT\n\n> Componenti che si collegano a un broker MQTT, pubblicano e si iscrivono.\n\nComponenti che si collegano a un broker MQTT, pubblicano e si iscrivono. Questa pagina contiene il gruppo del catalogo **MQTT**.\n\nOgni voce elenca gli ingressi e le uscite del componente, le sue impostazioni principali e il testo del suo readme. Per aggiungere un componente a un FlowStream, consulta [Scaricare i componenti](/flow/11-1/guides/download-components/).\n\n## API\n\n### mqtt-broker.html · version 4\n\nType: `component`\n\nSi collega a un broker MQTT e invia i messaggi che riceve.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `host` | `String` | no | `localhost` | Nome host o indirizzo IP. |\n| `port` | `Number` | no | `1883` | Porta. |\n| `secure` | `Boolean` | no | `false` | Sicuro (SSL). |\n| `clientid` | `String` | no |  | ID client. |\n| `auth` | `String` | no |  | Richiedi l'autorizzazione. |\n| `username` | `String` | no |  | Nome utente. |\n| `password` | `String` | no |  | Password. |\n| `lwt` | `String` | no |  | Topic di ultima volontà (LWT). |\n| `lwttopic` | `String` | no |  | Topic di ultima volontà. |\n| `lwtmessage` | `String` | no |  | Messaggio di ultima volontà. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `output` (Messages).\n\nFlow installa il pacchetto npm `mqtt` quando aggiungi il componente.\n\n### mqtt-publish.html · version 3\n\nType: `component`\n\nPubblica messaggi su un topic MQTT.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n\n**Ingressi:** `message` (Message).  \n**Uscite:** nessuna.\n\nMQTT Publish\n\nIngresso:\n\n```javascript\n{\n\ttopic: 'some/topic',\n\tmessage: { some: 'data' },\n\t// optional\n\toptions: {\n\t\tqos: 0|1|2,\n\t\tretain: true|false\n\t}\n}\n```\n\n### mqtt-subscribe.html · version 3\n\nType: `component`\n\nSi iscrive a un topic MQTT.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n| `topic` | `String` | no |  | Topic. |\n\n**Ingressi:** nessuno.  \n**Uscite:** `message` (Message).\n\nMQTT Subscribe\n","entries":[{"type":"component","name":"MQTT Broker","signature":"mqtt-broker.html · version 4","since":"","deprecated":false},{"type":"component","name":"MQTT Publish","signature":"mqtt-publish.html · version 3","since":"","deprecated":false},{"type":"component","name":"MQTT Subscribe","signature":"mqtt-subscribe.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyTe2wE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/components/mqtt/","project":"flow","version":"11-1","section":"components","language":"sk","title":"MQTT","summary":"Komponenty, ktoré sa pripájajú k MQTT brokeru, publikujú a odoberajú správy.","markdown":"---\ntitle: MQTT\nproject: Total.js Flow\nversion: 11.1\nsection: components\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/components/mqtt/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# MQTT\n\n> Komponenty, ktoré sa pripájajú k MQTT brokeru, publikujú a odoberajú správy.\n\nKomponenty, ktoré sa pripájajú k MQTT brokeru, publikujú a odoberajú správy. Táto stránka obsahuje skupinu katalógu **MQTT**.\n\nKaždá položka uvádza vstupy a výstupy komponentu, jeho hlavné nastavenia a text jeho readme. Ako pridať komponent do FlowStreamu, nájdeš v návode [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n\n## API\n\n### mqtt-broker.html · version 4\n\nType: `component`\n\nPripojí sa k MQTT brokeru a posiela ďalej správy, ktoré prijme.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `host` | `String` | no | `localhost` | Názov hostiteľa alebo IP adresa. |\n| `port` | `Number` | no | `1883` | Port. |\n| `secure` | `Boolean` | no | `false` | Zabezpečené spojenie (SSL). |\n| `clientid` | `String` | no |  | ID klienta. |\n| `auth` | `String` | no |  | Vyžadovať autorizáciu. |\n| `username` | `String` | no |  | Používateľské meno. |\n| `password` | `String` | no |  | Heslo. |\n| `lwt` | `String` | no |  | Téma poslednej vôle (LWT). |\n| `lwttopic` | `String` | no |  | Téma poslednej vôle. |\n| `lwtmessage` | `String` | no |  | Správa poslednej vôle. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `output` (Messages).\n\nKeď pridáš komponent, Flow nainštaluje npm balík `mqtt`.\n\n### mqtt-publish.html · version 3\n\nType: `component`\n\nPublikuje správy do MQTT témy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n\n**Vstupy:** `message` (Message).  \n**Výstupy:** žiadne.\n\nMQTT Publish\n\nVstup:\n\n```javascript\n{\n\ttopic: 'some/topic',\n\tmessage: { some: 'data' },\n\t// optional\n\toptions: {\n\t\tqos: 0|1|2,\n\t\tretain: true|false\n\t}\n}\n```\n\n### mqtt-subscribe.html · version 3\n\nType: `component`\n\nOdoberá správy z MQTT témy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `broker` | `String` | no |  | Broker. |\n| `topic` | `String` | no |  | Téma. |\n\n**Vstupy:** žiadne.  \n**Výstupy:** `message` (Message).\n\nMQTT Subscribe\n","entries":[{"type":"component","name":"MQTT Broker","signature":"mqtt-broker.html · version 4","since":"","deprecated":false},{"type":"component","name":"MQTT Publish","signature":"mqtt-publish.html · version 3","since":"","deprecated":false},{"type":"component","name":"MQTT Subscribe","signature":"mqtt-subscribe.html · version 3","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWi6GE61f","url":"https://totaljs.es/docs/flow/11-1/development/introduction/","project":"flow","version":"11-1","section":"development","language":"en","title":"Develop components","summary":"What a Flow component is, what you need to write one and what to read next.","markdown":"---\ntitle: Develop components\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/introduction/\nupdated: 2026-11-19T10:58:48.323Z\n---\n\n# Develop components\n\n> What a Flow component is, what you need to write one and what to read next.\n\nA component is a building block of a FlowStream, such as **Trigger**, **Code** or **Print**. When the official catalogue has no component for your task, you can write your own. A component is one HTML file with a little JavaScript, and you can create it in the designer of Flow without other tools.\n\nThis section covers release 11.1 of Total.js Flow. To use Flow itself, see the [Flow guides](/flow/11-1/guides/introduction/). The official components are listed in [Official components](../../components/introduction/).\n\n## How a component works\n\n| Word | What it means |\n|---|---|\n| **Component** | The file: its code, its settings form, the look of its node and its readme. |\n| **Instance** | One node of the component on the canvas. Flow runs your code once for each node, with the configuration of that node. |\n| **Message** | The data that travels from an output of one node to an input of another. Your code receives it and sends it on, or ends it. |\n| **Configuration** | The settings of one node, which the user edits in the settings form. |\n\nThe code of a component runs on the server, in the process of its FlowStream. Each FlowStream runs in its own process, so a component in one FlowStream does not share memory with another FlowStream.\n\n## What you need\n\n- A running Flow and a FlowStream to try your component in.\n- Basic JavaScript. The server code uses Node.js and the Total.js 5 framework, so its helpers such as `U` and `F` are available.\n- A text editor if you want to keep your component in a file. The designer has its own editor too.\n\n## What to read next\n\n1. [The component file](../component-file/): the parts of the file.\n2. [Your first component](../first-component/): create it, use it and change it.\n3. [Inputs, outputs and messages](../inputs-outputs/), then the other topics in the menu.\n4. The reference: [Component file](../component-api/), [Instance](../instance-api/) and [Message](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:48.323Z"}
{"id":"JapyWi6GE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/introduction/","project":"flow","version":"11-1","section":"development","language":"de","title":"Komponenten entwickeln","summary":"Was eine Flow-Komponente ist, was du zum Schreiben brauchst und was du als Nächstes lesen solltest.","markdown":"---\ntitle: Komponenten entwickeln\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/introduction/\nupdated: 2026-11-19T10:58:48.323Z\n---\n\n# Komponenten entwickeln\n\n> Was eine Flow-Komponente ist, was du zum Schreiben brauchst und was du als Nächstes lesen solltest.\n\nEine Komponente ist ein Baustein eines FlowStreams, etwa **Trigger**, **Code** oder **Print**. Wenn der offizielle Katalog keine Komponente für deine Aufgabe hat, kannst du deine eigene schreiben. Eine Komponente ist eine einzige HTML-Datei mit ein wenig JavaScript, und du kannst sie ohne weitere Werkzeuge im Designer von Flow erstellen.\n\nDieser Bereich beschreibt die Version 11.1 von Total.js Flow. Wie du Flow selbst benutzt, steht in den [Anleitungen zu Flow](/flow/11-1/guides/introduction/). Die offiziellen Komponenten sind unter [Offizielle Komponenten](../../components/introduction/) aufgelistet.\n\n## Wie eine Komponente funktioniert\n\n| Begriff | Bedeutung |\n|---|---|\n| **Component** (Komponente) | Die Datei: ihr Code, ihr Einstellungsformular, das Aussehen ihres Nodes und ihr Readme. |\n| **Instance** (Instanz) | Ein Node der Komponente auf der Arbeitsfläche. Flow führt deinen Code für jeden Node einmal aus, mit der Konfiguration dieses Nodes. |\n| **Message** (Nachricht) | Die Daten, die vom Ausgang eines Nodes zum Eingang eines anderen wandern. Dein Code empfängt sie und schickt sie weiter oder beendet sie. |\n| **Configuration** (Konfiguration) | Die Einstellungen eines Nodes, die der Nutzer im Einstellungsformular bearbeitet. |\n\nDer Code einer Komponente läuft auf dem Server, im Prozess ihres FlowStreams. Jeder FlowStream läuft in seinem eigenen Prozess, daher teilt eine Komponente in einem FlowStream keinen Speicher mit einem anderen FlowStream.\n\n## Was du brauchst\n\n- Ein laufendes Flow und einen FlowStream, in dem du deine Komponente ausprobierst.\n- Grundkenntnisse in JavaScript. Der Server-Code verwendet Node.js und das Framework Total.js 5, daher stehen dessen Helfer wie `U` und `F` zur Verfügung.\n- Einen Texteditor, wenn du deine Komponente in einer Datei aufbewahren willst. Der Designer hat auch einen eigenen Editor.\n\n## Was du als Nächstes liest\n\n1. [Die Komponentendatei](../component-file/): die Teile der Datei.\n2. [Deine erste Komponente](../first-component/): erstellen, verwenden und ändern.\n3. [Eingänge, Ausgänge und Nachrichten](../inputs-outputs/), dann die anderen Themen im Menü.\n4. Die Referenz: [Komponentendatei](../component-api/), [Instanz](../instance-api/) und [Nachricht](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:48.323Z"}
{"id":"JapyWi6GE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/introduction/","project":"flow","version":"11-1","section":"development","language":"es","title":"Desarrollar componentes","summary":"Qué es un componente de Flow, qué necesitas para escribir uno y qué leer después.","markdown":"---\ntitle: Desarrollar componentes\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/introduction/\nupdated: 2026-11-19T10:58:48.323Z\n---\n\n# Desarrollar componentes\n\n> Qué es un componente de Flow, qué necesitas para escribir uno y qué leer después.\n\nUn componente es una pieza de un FlowStream, como **Trigger**, **Code** o **Print**. Cuando el catálogo oficial no tiene un componente para tu tarea, puedes escribir el tuyo. Un componente es un único archivo HTML con un poco de JavaScript, y puedes crearlo en el diseñador de Flow sin otras herramientas.\n\nEsta sección trata la versión 11.1 de Total.js Flow. Para usar Flow en sí, consulta las [guías de Flow](/flow/11-1/guides/introduction/). Los componentes oficiales aparecen en [Componentes oficiales](../../components/introduction/).\n\n## Cómo funciona un componente\n\n| Palabra | Qué significa |\n|---|---|\n| **Componente** | El archivo: su código, su formulario de ajustes, el aspecto de su nodo y su readme. |\n| **Instancia** | Un nodo del componente en el lienzo. Flow ejecuta tu código una vez por cada nodo, con la configuración de ese nodo. |\n| **Mensaje** | Los datos que viajan desde una salida de un nodo hasta una entrada de otro. Tu código los recibe y los envía o los termina. |\n| **Configuración** | Los ajustes de un nodo, que el usuario edita en el formulario de ajustes. |\n\nEl código de un componente se ejecuta en el servidor, en el proceso de su FlowStream. Cada FlowStream se ejecuta en su propio proceso, así que un componente de un FlowStream no comparte memoria con otro FlowStream.\n\n## Qué necesitas\n\n- Un Flow en marcha y un FlowStream donde probar tu componente.\n- JavaScript básico. El código del servidor usa Node.js y el framework Total.js 5, así que tienes disponibles sus utilidades, como `U` y `F`.\n- Un editor de texto si quieres guardar tu componente en un archivo. El diseñador también tiene su propio editor.\n\n## Qué leer después\n\n1. [El archivo del componente](../component-file/): las partes del archivo.\n2. [Tu primer componente](../first-component/): créalo, úsalo y cámbialo.\n3. [Entradas, salidas y mensajes](../inputs-outputs/), y después los demás temas del menú.\n4. La referencia: [Archivo del componente](../component-api/), [Instancia](../instance-api/) y [Mensaje](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:48.323Z"}
{"id":"JapyWi6GE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/introduction/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Développer des composants","summary":"Ce qu'est un composant Flow, ce dont tu as besoin pour en écrire un et quoi lire ensuite.","markdown":"---\ntitle: \"Développer des composants\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/introduction/\nupdated: 2026-11-19T10:58:48.323Z\n---\n\n# Développer des composants\n\n> Ce qu'est un composant Flow, ce dont tu as besoin pour en écrire un et quoi lire ensuite.\n\nUn composant est une brique d'un FlowStream, comme **Trigger**, **Code** ou **Print**. Quand le catalogue officiel n'a aucun composant pour ta tâche, tu peux écrire le tien. Un composant est un seul fichier HTML avec un peu de JavaScript, et tu peux le créer dans le designer de Flow sans autre outil.\n\nCette section couvre la version 11.1 de Total.js Flow. Pour utiliser Flow lui-même, consulte les [guides de Flow](/flow/11-1/guides/introduction/). Les composants officiels sont listés dans [Composants officiels](../../components/introduction/).\n\n## Comment fonctionne un composant\n\n| Mot | Ce qu'il signifie |\n|---|---|\n| **Composant** | Le fichier : son code, son formulaire de réglages, l'apparence de son nœud et son readme. |\n| **Instance** | Un nœud du composant sur le canevas. Flow exécute ton code une fois pour chaque nœud, avec la configuration de ce nœud. |\n| **Message** | Les données qui voyagent d'une sortie d'un nœud vers une entrée d'un autre. Ton code les reçoit et les transmet, ou les termine. |\n| **Configuration** | Les réglages d'un nœud, que l'utilisateur modifie dans le formulaire de réglages. |\n\nLe code d'un composant s'exécute sur le serveur, dans le processus de son FlowStream. Chaque FlowStream tourne dans son propre processus, donc un composant d'un FlowStream ne partage pas la mémoire avec un autre FlowStream.\n\n## Ce dont tu as besoin\n\n- Un Flow qui tourne et un FlowStream pour essayer ton composant.\n- Des bases de JavaScript. Le code serveur utilise Node.js et le framework Total.js 5, donc ses outils comme `U` et `F` sont disponibles.\n- Un éditeur de texte si tu veux garder ton composant dans un fichier. Le designer a aussi son propre éditeur.\n\n## Quoi lire ensuite\n\n1. [Le fichier du composant](../component-file/) : les parties du fichier.\n2. [Ton premier composant](../first-component/) : le créer, l'utiliser et le modifier.\n3. [Entrées, sorties et messages](../inputs-outputs/), puis les autres sujets du menu.\n4. La référence : [Fichier du composant](../component-api/), [Instance](../instance-api/) et [Message](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:48.323Z"}
{"id":"JapyWi6GE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/introduction/","project":"flow","version":"11-1","section":"development","language":"it","title":"Sviluppare componenti","summary":"Cos'è un componente di Flow, cosa ti serve per scriverne uno e cosa leggere dopo.","markdown":"---\ntitle: Sviluppare componenti\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/introduction/\nupdated: 2026-11-19T10:58:48.323Z\n---\n\n# Sviluppare componenti\n\n> Cos'è un componente di Flow, cosa ti serve per scriverne uno e cosa leggere dopo.\n\nUn componente è un elemento costitutivo di un FlowStream, come **Trigger**, **Code** o **Print**. Quando il catalogo ufficiale non ha un componente adatto al tuo compito, puoi scriverne uno tu. Un componente è un unico file HTML con un po' di JavaScript, e puoi crearlo nel designer di Flow senza altri strumenti.\n\nQuesta sezione riguarda la release 11.1 di Total.js Flow. Per usare Flow in sé, consulta le [guide di Flow](/flow/11-1/guides/introduction/). I componenti ufficiali sono elencati in [Componenti ufficiali](../../components/introduction/).\n\n## Come funziona un componente\n\n| Parola | Cosa significa |\n|---|---|\n| **Componente** | Il file: il suo codice, il modulo delle impostazioni, l'aspetto del suo nodo e il suo readme. |\n| **Istanza** | Un nodo del componente sul canvas. Flow esegue il tuo codice una volta per ogni nodo, con la configurazione di quel nodo. |\n| **Messaggio** | I dati che viaggiano da un'uscita di un nodo a un ingresso di un altro. Il tuo codice li riceve e li inoltra, oppure li termina. |\n| **Configurazione** | Le impostazioni di un nodo, che l'utente modifica nel modulo delle impostazioni. |\n\nIl codice di un componente gira sul server, nel processo del suo FlowStream. Ogni FlowStream gira nel proprio processo, quindi un componente in un FlowStream non condivide la memoria con un altro FlowStream.\n\n## Cosa ti serve\n\n- Un Flow in esecuzione e un FlowStream in cui provare il tuo componente.\n- Conoscenze di base di JavaScript. Il codice del server usa Node.js e il framework Total.js 5, quindi i suoi helper come `U` e `F` sono disponibili.\n- Un editor di testo, se vuoi tenere il tuo componente in un file. Anche il designer ha un suo editor.\n\n## Cosa leggere dopo\n\n1. [Il file del componente](../component-file/): le parti del file.\n2. [Il tuo primo componente](../first-component/): crealo, usalo e modificalo.\n3. [Ingressi, uscite e messaggi](../inputs-outputs/), poi gli altri argomenti del menu.\n4. Il riferimento: [File del componente](../component-api/), [Istanza](../instance-api/) e [Messaggio](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:48.323Z"}
{"id":"JapyWi6GE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/introduction/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Vývoj komponentov","summary":"Čo je komponent Flow, čo potrebuješ na jeho napísanie a čo si prečítať ďalej.","markdown":"---\ntitle: \"Vývoj komponentov\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/introduction/\nupdated: 2026-11-19T10:58:48.323Z\n---\n\n# Vývoj komponentov\n\n> Čo je komponent Flow, čo potrebuješ na jeho napísanie a čo si prečítať ďalej.\n\nKomponent je stavebný blok FlowStreamu, napríklad **Trigger**, **Code** alebo **Print**. Keď oficiálny katalóg nemá komponent pre tvoju úlohu, môžeš si napísať vlastný. Komponent je jeden súbor HTML s trochou JavaScriptu a vytvoríš ho priamo v dizajnéri Flow, bez ďalších nástrojov.\n\nTáto sekcia popisuje verziu 11.1 Total.js Flow. Ako používať samotný Flow, nájdeš v [návodoch k Flow](/flow/11-1/guides/introduction/). Oficiálne komponenty sú uvedené v časti [Oficiálne komponenty](../../components/introduction/).\n\n## Ako komponent funguje\n\n| Pojem | Čo znamená |\n|---|---|\n| **Komponent** | Súbor: jeho kód, formulár nastavení, vzhľad jeho uzla a jeho readme. |\n| **Inštancia** | Jeden uzol komponentu na plátne. Flow spustí tvoj kód raz pre každý uzol, s konfiguráciou daného uzla. |\n| **Správa** | Dáta, ktoré putujú z výstupu jedného uzla na vstup iného. Tvoj kód ich prijme a pošle ďalej, alebo ich ukončí. |\n| **Konfigurácia** | Nastavenia jedného uzla, ktoré používateľ upravuje vo formulári nastavení. |\n\nKód komponentu beží na serveri, v procese jeho FlowStreamu. Každý FlowStream beží vo vlastnom procese, takže komponent v jednom FlowStreame nezdieľa pamäť s iným FlowStreamom.\n\n## Čo potrebuješ\n\n- Spustený Flow a FlowStream, v ktorom si komponent vyskúšaš.\n- Základy JavaScriptu. Serverový kód používa Node.js a framework Total.js 5, takže máš k dispozícii jeho pomocníkov, napríklad `U` a `F`.\n- Textový editor, ak chceš komponent uchovávať v súbore. Dizajnér má aj vlastný editor.\n\n## Čo si prečítať ďalej\n\n1. [Súbor komponentu](../component-file/): časti súboru.\n2. [Tvoj prvý komponent](../first-component/): vytvor ho, použi ho a zmeň ho.\n3. [Vstupy, výstupy a správy](../inputs-outputs/), potom ďalšie témy v menu.\n4. Referencia: [Súbor komponentu](../component-api/), [Inštancia](../instance-api/) a [Správa](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:48.323Z"}
{"id":"JapyVj5EE61f","url":"https://totaljs.es/docs/flow/11-1/development/component-file/","project":"flow","version":"11-1","section":"development","language":"en","title":"The component file","summary":"The parts of a component file: server code, readme, settings form, styles, the look of the node and the browser script.","markdown":"---\ntitle: The component file\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/component-file/\nupdated: 2026-11-19T10:58:43.323Z\n---\n\n# The component file\n\n> The parts of a component file: server code, readme, settings form, styles, the look of the node and the browser script.\n\nA component is one HTML file. Flow reads the parts of the file by their tags. Only `<script total>` is required; the other parts are optional.\n\n```html\n<script total>\n\t// Code that runs on the server\n</script>\n\n<readme>\nMarkdown that describes the component.\n</readme>\n\n<settings>\n\t<!-- The settings form of a node -->\n</settings>\n\n<style>\n\t/* Styles for the node and the settings form */\n</style>\n\n<body>\n\t<!-- The look of the node on the canvas -->\n</body>\n\n<script>\n\t// Code that runs in the designer, in the browser\n</script>\n```\n\n## The parts\n\n| Tag | What it holds |\n|---|---|\n| `<script total>` | The server code. It sets the `exports` properties, such as the name and the inputs, and `exports.make`, which Flow runs for each node. See [Component file reference](../component-api/). |\n| `<readme>` | The description in Markdown. The designer shows it under **Read me**, and the catalogue copies it. |\n| `<settings>` | The HTML of the settings form. A field with `path=\"?.key\"` edits `config.key` of the node. See [Configuration and the settings form](../configuration/). |\n| `<style>` | CSS for the node and the settings form. |\n| `<body>` | The HTML of the node on the canvas. Without it, the node shows its icon and name. |\n| `<script>` | JavaScript that runs in the designer for each node. See [Status and the look of the node](../status-and-look/). |\n\nA file without `<script total>` is not a component: Flow refuses it with the error `Invalid component content`.\n\n## Keywords\n\nFlow replaces these keywords in `<body>` before it shows the node. `CLASS` is also replaced in `<style>` and in the browser script.\n\n| Keyword | Replaced with |\n|---|---|\n| `$NAME` | The name of the component. |\n| `$ICON` | The icon of the component, for example `ti ti-print`. |\n| `$ID` | The id of the component. |\n| `$CONFIG` | The path to the configuration of the node, to bind it in `<body>`. |\n| `$STATUS` | The path to the last status of the node, to bind it in `<body>`. |\n| `CLASS` | A class name that belongs to this component. Write `.CLASS` in your styles so they apply only to its nodes. |\n\n## The required properties\n\nTo install a component from a URL address or from a catalogue, Flow reads `exports.name`, `exports.version` and `exports.icon` from the file, and it refuses the file without them. Write each of these on one line that ends with a semicolon:\n\n```js\nexports.id = 'uppercase';\nexports.name = 'Uppercase';\nexports.icon = 'ti ti-font';\nexports.version = '1';\n```\n\nThe `id` identifies the component inside a FlowStream. When you install a file whose `id` is already installed, the new file replaces the old one.\n\n## Where Flow keeps the file\n\nFlow stores the whole file inside the FlowStream that uses it. A component that you install in one FlowStream is not available in another one until you install it there too. When you [export a FlowStream](/flow/11-1/guides/export-flowstream/), its components go with it.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:43.323Z"}
{"id":"JapyVj5EE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/component-file/","project":"flow","version":"11-1","section":"development","language":"de","title":"Die Komponentendatei","summary":"Die Teile einer Komponentendatei: Server-Code, Readme, Einstellungsformular, Styles, das Aussehen des Nodes und das Browser-Skript.","markdown":"---\ntitle: Die Komponentendatei\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/component-file/\nupdated: 2026-11-19T10:58:43.323Z\n---\n\n# Die Komponentendatei\n\n> Die Teile einer Komponentendatei: Server-Code, Readme, Einstellungsformular, Styles, das Aussehen des Nodes und das Browser-Skript.\n\nEine Komponente ist eine einzige HTML-Datei. Flow liest die Teile der Datei anhand ihrer Tags. Nur `<script total>` ist Pflicht, die anderen Teile sind optional.\n\n```html\n<script total>\n\t// Code that runs on the server\n</script>\n\n<readme>\nMarkdown that describes the component.\n</readme>\n\n<settings>\n\t<!-- The settings form of a node -->\n</settings>\n\n<style>\n\t/* Styles for the node and the settings form */\n</style>\n\n<body>\n\t<!-- The look of the node on the canvas -->\n</body>\n\n<script>\n\t// Code that runs in the designer, in the browser\n</script>\n```\n\n## Die Teile\n\n| Tag | Was er enthält |\n|---|---|\n| `<script total>` | Den Server-Code. Er setzt die `exports`-Eigenschaften, etwa den Namen und die Eingänge, und `exports.make`, das Flow für jeden Node ausführt. Siehe [Referenz der Komponentendatei](../component-api/). |\n| `<readme>` | Die Beschreibung in Markdown. Der Designer zeigt sie unter **Read me** an, und der Katalog übernimmt sie. |\n| `<settings>` | Das HTML des Einstellungsformulars. Ein Feld mit `path=\"?.key\"` bearbeitet `config.key` des Nodes. Siehe [Konfiguration und das Einstellungsformular](../configuration/). |\n| `<style>` | CSS für den Node und das Einstellungsformular. |\n| `<body>` | Das HTML des Nodes auf der Arbeitsfläche. Ohne diesen Teil zeigt der Node sein Icon und seinen Namen. |\n| `<script>` | JavaScript, das im Designer für jeden Node läuft. Siehe [Status und das Aussehen des Nodes](../status-and-look/). |\n\nEine Datei ohne `<script total>` ist keine Komponente: Flow lehnt sie mit dem Fehler `Invalid component content` ab.\n\n## Schlüsselwörter\n\nFlow ersetzt diese Schlüsselwörter in `<body>`, bevor es den Node anzeigt. `CLASS` wird außerdem in `<style>` und im Browser-Skript ersetzt.\n\n| Schlüsselwort | Ersetzt durch |\n|---|---|\n| `$NAME` | Den Namen der Komponente. |\n| `$ICON` | Das Icon der Komponente, zum Beispiel `ti ti-print`. |\n| `$ID` | Die ID der Komponente. |\n| `$CONFIG` | Den Pfad zur Konfiguration des Nodes, um sie in `<body>` zu binden. |\n| `$STATUS` | Den Pfad zum letzten Status des Nodes, um ihn in `<body>` zu binden. |\n| `CLASS` | Einen Klassennamen, der zu dieser Komponente gehört. Schreib `.CLASS` in deine Styles, damit sie nur für ihre Nodes gelten. |\n\n## Die Pflichteigenschaften\n\nUm eine Komponente von einer URL-Adresse oder aus einem Katalog zu installieren, liest Flow `exports.name`, `exports.version` und `exports.icon` aus der Datei und lehnt die Datei ohne sie ab. Schreib jede davon in eine Zeile, die mit einem Semikolon endet:\n\n```js\nexports.id = 'uppercase';\nexports.name = 'Uppercase';\nexports.icon = 'ti ti-font';\nexports.version = '1';\n```\n\nDie `id` kennzeichnet die Komponente innerhalb eines FlowStreams. Wenn du eine Datei installierst, deren `id` schon installiert ist, ersetzt die neue Datei die alte.\n\n## Wo Flow die Datei aufbewahrt\n\nFlow speichert die ganze Datei im FlowStream, der sie verwendet. Eine Komponente, die du in einem FlowStream installierst, steht in einem anderen erst zur Verfügung, wenn du sie dort auch installierst. Wenn du [einen FlowStream exportierst](/flow/11-1/guides/export-flowstream/), gehen seine Komponenten mit.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:43.323Z"}
{"id":"JapyVj5EE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/component-file/","project":"flow","version":"11-1","section":"development","language":"es","title":"El archivo del componente","summary":"Las partes de un archivo de componente: código del servidor, readme, formulario de ajustes, estilos, aspecto del nodo y script del navegador.","markdown":"---\ntitle: El archivo del componente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/component-file/\nupdated: 2026-11-19T10:58:43.323Z\n---\n\n# El archivo del componente\n\n> Las partes de un archivo de componente: código del servidor, readme, formulario de ajustes, estilos, aspecto del nodo y script del navegador.\n\nUn componente es un único archivo HTML. Flow lee las partes del archivo por sus etiquetas. Solo `<script total>` es obligatoria; las demás partes son opcionales.\n\n```html\n<script total>\n\t// Code that runs on the server\n</script>\n\n<readme>\nMarkdown that describes the component.\n</readme>\n\n<settings>\n\t<!-- The settings form of a node -->\n</settings>\n\n<style>\n\t/* Styles for the node and the settings form */\n</style>\n\n<body>\n\t<!-- The look of the node on the canvas -->\n</body>\n\n<script>\n\t// Code that runs in the designer, in the browser\n</script>\n```\n\n## Las partes\n\n| Etiqueta | Qué contiene |\n|---|---|\n| `<script total>` | El código del servidor. Define las propiedades de `exports`, como el nombre y las entradas, y `exports.make`, que Flow ejecuta para cada nodo. Consulta la [referencia del archivo del componente](../component-api/). |\n| `<readme>` | La descripción en Markdown. El diseñador la muestra en **Read me**, y el catálogo la copia. |\n| `<settings>` | El HTML del formulario de ajustes. Un campo con `path=\"?.key\"` edita `config.key` del nodo. Consulta [Configuración y formulario de ajustes](../configuration/). |\n| `<style>` | CSS para el nodo y el formulario de ajustes. |\n| `<body>` | El HTML del nodo en el lienzo. Sin esta parte, el nodo muestra su icono y su nombre. |\n| `<script>` | JavaScript que se ejecuta en el diseñador para cada nodo. Consulta [Estado y aspecto del nodo](../status-and-look/). |\n\nUn archivo sin `<script total>` no es un componente: Flow lo rechaza con el error `Invalid component content`.\n\n## Palabras clave\n\nFlow sustituye estas palabras clave en `<body>` antes de mostrar el nodo. `CLASS` también se sustituye en `<style>` y en el script del navegador.\n\n| Palabra clave | Se sustituye por |\n|---|---|\n| `$NAME` | El nombre del componente. |\n| `$ICON` | El icono del componente, por ejemplo `ti ti-print`. |\n| `$ID` | El id del componente. |\n| `$CONFIG` | La ruta a la configuración del nodo, para enlazarla en `<body>`. |\n| `$STATUS` | La ruta al último estado del nodo, para enlazarlo en `<body>`. |\n| `CLASS` | Un nombre de clase propio de este componente. Escribe `.CLASS` en tus estilos para que se apliquen solo a sus nodos. |\n\n## Las propiedades obligatorias\n\nPara instalar un componente desde una dirección URL o desde un catálogo, Flow lee `exports.name`, `exports.version` y `exports.icon` del archivo, y lo rechaza si faltan. Escribe cada una en una sola línea que termine en punto y coma:\n\n```js\nexports.id = 'uppercase';\nexports.name = 'Uppercase';\nexports.icon = 'ti ti-font';\nexports.version = '1';\n```\n\nEl `id` identifica el componente dentro de un FlowStream. Cuando instalas un archivo cuyo `id` ya está instalado, el archivo nuevo sustituye al antiguo.\n\n## Dónde guarda Flow el archivo\n\nFlow guarda el archivo completo dentro del FlowStream que lo usa. Un componente que instalas en un FlowStream no está disponible en otro hasta que lo instales también allí. Cuando [exportas un FlowStream](/flow/11-1/guides/export-flowstream/), sus componentes van con él.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:43.323Z"}
{"id":"JapyVj5EE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/component-file/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Le fichier du composant","summary":"Les parties d'un fichier de composant : code serveur, readme, formulaire de réglages, styles, apparence du nœud et script du navigateur.","markdown":"---\ntitle: Le fichier du composant\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/component-file/\nupdated: 2026-11-19T10:58:43.323Z\n---\n\n# Le fichier du composant\n\n> Les parties d'un fichier de composant : code serveur, readme, formulaire de réglages, styles, apparence du nœud et script du navigateur.\n\nUn composant est un seul fichier HTML. Flow lit les parties du fichier grâce à leurs balises. Seule `<script total>` est obligatoire ; les autres parties sont facultatives.\n\n```html\n<script total>\n\t// Code that runs on the server\n</script>\n\n<readme>\nMarkdown that describes the component.\n</readme>\n\n<settings>\n\t<!-- The settings form of a node -->\n</settings>\n\n<style>\n\t/* Styles for the node and the settings form */\n</style>\n\n<body>\n\t<!-- The look of the node on the canvas -->\n</body>\n\n<script>\n\t// Code that runs in the designer, in the browser\n</script>\n```\n\n## Les parties\n\n| Balise | Ce qu'elle contient |\n|---|---|\n| `<script total>` | Le code serveur. Il définit les propriétés `exports`, comme le nom et les entrées, et `exports.make`, que Flow exécute pour chaque nœud. Consulte [Référence du fichier du composant](../component-api/). |\n| `<readme>` | La description en Markdown. Le designer l'affiche sous **Read me**, et le catalogue la copie. |\n| `<settings>` | Le HTML du formulaire de réglages. Un champ avec `path=\"?.key\"` modifie `config.key` du nœud. Consulte [La configuration et le formulaire de réglages](../configuration/). |\n| `<style>` | Le CSS du nœud et du formulaire de réglages. |\n| `<body>` | Le HTML du nœud sur le canevas. Sans lui, le nœud affiche son icône et son nom. |\n| `<script>` | Du JavaScript qui s'exécute dans le designer pour chaque nœud. Consulte [Le statut et l'apparence du nœud](../status-and-look/). |\n\nUn fichier sans `<script total>` n'est pas un composant : Flow le refuse avec l'erreur `Invalid component content`.\n\n## Mots-clés\n\nFlow remplace ces mots-clés dans `<body>` avant d'afficher le nœud. `CLASS` est aussi remplacé dans `<style>` et dans le script du navigateur.\n\n| Mot-clé | Remplacé par |\n|---|---|\n| `$NAME` | Le nom du composant. |\n| `$ICON` | L'icône du composant, par exemple `ti ti-print`. |\n| `$ID` | L'id du composant. |\n| `$CONFIG` | Le chemin vers la configuration du nœud, pour la lier dans `<body>`. |\n| `$STATUS` | Le chemin vers le dernier statut du nœud, pour le lier dans `<body>`. |\n| `CLASS` | Un nom de classe propre à ce composant. Écris `.CLASS` dans tes styles pour qu'ils ne s'appliquent qu'à ses nœuds. |\n\n## Les propriétés obligatoires\n\nPour installer un composant depuis une adresse URL ou depuis un catalogue, Flow lit `exports.name`, `exports.version` et `exports.icon` dans le fichier, et refuse le fichier s'il ne les a pas. Écris chacune d'elles sur une ligne qui se termine par un point-virgule :\n\n```js\nexports.id = 'uppercase';\nexports.name = 'Uppercase';\nexports.icon = 'ti ti-font';\nexports.version = '1';\n```\n\nL'`id` identifie le composant dans un FlowStream. Quand tu installes un fichier dont l'`id` est déjà installé, le nouveau fichier remplace l'ancien.\n\n## Où Flow garde le fichier\n\nFlow enregistre le fichier entier dans le FlowStream qui l'utilise. Un composant que tu installes dans un FlowStream n'est pas disponible dans un autre tant que tu ne l'y installes pas aussi. Quand tu [exportes un FlowStream](/flow/11-1/guides/export-flowstream/), ses composants partent avec lui.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:43.323Z"}
{"id":"JapyVj5EE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/component-file/","project":"flow","version":"11-1","section":"development","language":"it","title":"Il file del componente","summary":"Le parti di un file di componente: codice del server, readme, modulo delle impostazioni, stili, aspetto del nodo e script del browser.","markdown":"---\ntitle: Il file del componente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/component-file/\nupdated: 2026-11-19T10:58:43.323Z\n---\n\n# Il file del componente\n\n> Le parti di un file di componente: codice del server, readme, modulo delle impostazioni, stili, aspetto del nodo e script del browser.\n\nUn componente è un unico file HTML. Flow legge le parti del file in base ai loro tag. Solo `<script total>` è obbligatorio; le altre parti sono facoltative.\n\n```html\n<script total>\n\t// Code that runs on the server\n</script>\n\n<readme>\nMarkdown that describes the component.\n</readme>\n\n<settings>\n\t<!-- The settings form of a node -->\n</settings>\n\n<style>\n\t/* Styles for the node and the settings form */\n</style>\n\n<body>\n\t<!-- The look of the node on the canvas -->\n</body>\n\n<script>\n\t// Code that runs in the designer, in the browser\n</script>\n```\n\n## Le parti\n\n| Tag | Cosa contiene |\n|---|---|\n| `<script total>` | Il codice del server. Imposta le proprietà di `exports`, come il nome e gli ingressi, e `exports.make`, che Flow esegue per ogni nodo. Vedi [Riferimento del file del componente](../component-api/). |\n| `<readme>` | La descrizione in Markdown. Il designer la mostra sotto **Read me** (Leggimi) e il catalogo la copia. |\n| `<settings>` | L'HTML del modulo delle impostazioni. Un campo con `path=\"?.key\"` modifica `config.key` del nodo. Vedi [Configurazione e modulo delle impostazioni](../configuration/). |\n| `<style>` | Il CSS per il nodo e il modulo delle impostazioni. |\n| `<body>` | L'HTML del nodo sul canvas. Senza di esso, il nodo mostra la sua icona e il suo nome. |\n| `<script>` | JavaScript che gira nel designer per ogni nodo. Vedi [Stato e aspetto del nodo](../status-and-look/). |\n\nUn file senza `<script total>` non è un componente: Flow lo rifiuta con l'errore `Invalid component content`.\n\n## Parole chiave\n\nFlow sostituisce queste parole chiave in `<body>` prima di mostrare il nodo. `CLASS` viene sostituita anche in `<style>` e nello script del browser.\n\n| Parola chiave | Sostituita con |\n|---|---|\n| `$NAME` | Il nome del componente. |\n| `$ICON` | L'icona del componente, per esempio `ti ti-print`. |\n| `$ID` | L'id del componente. |\n| `$CONFIG` | Il percorso della configurazione del nodo, per collegarla in `<body>`. |\n| `$STATUS` | Il percorso dell'ultimo stato del nodo, per collegarlo in `<body>`. |\n| `CLASS` | Un nome di classe che appartiene a questo componente. Scrivi `.CLASS` nei tuoi stili, così valgono solo per i suoi nodi. |\n\n## Le proprietà obbligatorie\n\nPer installare un componente da un indirizzo URL o da un catalogo, Flow legge `exports.name`, `exports.version` e `exports.icon` dal file, e rifiuta il file se mancano. Scrivi ciascuna di esse su una riga che termina con un punto e virgola:\n\n```js\nexports.id = 'uppercase';\nexports.name = 'Uppercase';\nexports.icon = 'ti ti-font';\nexports.version = '1';\n```\n\nL'`id` identifica il componente all'interno di un FlowStream. Quando installi un file il cui `id` è già installato, il nuovo file sostituisce quello vecchio.\n\n## Dove Flow conserva il file\n\nFlow salva l'intero file all'interno del FlowStream che lo usa. Un componente che installi in un FlowStream non è disponibile in un altro finché non lo installi anche lì. Quando [esporti un FlowStream](/flow/11-1/guides/export-flowstream/), i suoi componenti vanno con lui.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:43.323Z"}
{"id":"JapyVj5EE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/component-file/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Súbor komponentu","summary":"Časti súboru komponentu: serverový kód, readme, formulár nastavení, štýly, vzhľad uzla a skript v prehliadači.","markdown":"---\ntitle: \"Súbor komponentu\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/component-file/\nupdated: 2026-11-19T10:58:43.323Z\n---\n\n# Súbor komponentu\n\n> Časti súboru komponentu: serverový kód, readme, formulár nastavení, štýly, vzhľad uzla a skript v prehliadači.\n\nKomponent je jeden súbor HTML. Flow číta časti súboru podľa ich značiek. Povinná je iba `<script total>`, ostatné časti sú voliteľné.\n\n```html\n<script total>\n\t// Code that runs on the server\n</script>\n\n<readme>\nMarkdown that describes the component.\n</readme>\n\n<settings>\n\t<!-- The settings form of a node -->\n</settings>\n\n<style>\n\t/* Styles for the node and the settings form */\n</style>\n\n<body>\n\t<!-- The look of the node on the canvas -->\n</body>\n\n<script>\n\t// Code that runs in the designer, in the browser\n</script>\n```\n\n## Časti\n\n| Značka | Čo obsahuje |\n|---|---|\n| `<script total>` | Serverový kód. Nastavuje vlastnosti `exports`, napríklad názov a vstupy, a `exports.make`, ktorú Flow spustí pre každý uzol. Pozri [Referencia súboru komponentu](../component-api/). |\n| `<readme>` | Popis v Markdowne. Dizajnér ho zobrazuje v časti **Read me** a katalóg ho preberá. |\n| `<settings>` | HTML formulára nastavení. Pole s `path=\"?.key\"` upravuje `config.key` uzla. Pozri [Konfigurácia a formulár nastavení](../configuration/). |\n| `<style>` | CSS pre uzol a formulár nastavení. |\n| `<body>` | HTML uzla na plátne. Bez neho uzol zobrazuje svoju ikonu a názov. |\n| `<script>` | JavaScript, ktorý beží v dizajnéri pre každý uzol. Pozri [Stav a vzhľad uzla](../status-and-look/). |\n\nSúbor bez `<script total>` nie je komponent: Flow ho odmietne s chybou `Invalid component content`.\n\n## Kľúčové slová\n\nFlow nahradí tieto kľúčové slová v `<body>` skôr, ako uzol zobrazí. `CLASS` sa nahrádza aj v `<style>` a v skripte prehliadača.\n\n| Kľúčové slovo | Nahradí sa |\n|---|---|\n| `$NAME` | Názvom komponentu. |\n| `$ICON` | Ikonou komponentu, napríklad `ti ti-print`. |\n| `$ID` | Id komponentu. |\n| `$CONFIG` | Cestou ku konfigurácii uzla, aby si ju mohol naviazať v `<body>`. |\n| `$STATUS` | Cestou k poslednému stavu uzla, aby si ho mohol naviazať v `<body>`. |\n| `CLASS` | Názvom triedy, ktorá patrí tomuto komponentu. Vo svojich štýloch píš `.CLASS`, aby platili iba pre jeho uzly. |\n\n## Povinné vlastnosti\n\nAby Flow nainštaloval komponent z URL adresy alebo z katalógu, prečíta zo súboru `exports.name`, `exports.version` a `exports.icon` a bez nich súbor odmietne. Každú z nich napíš na jeden riadok, ktorý končí bodkočiarkou:\n\n```js\nexports.id = 'uppercase';\nexports.name = 'Uppercase';\nexports.icon = 'ti ti-font';\nexports.version = '1';\n```\n\n`id` identifikuje komponent vo FlowStreame. Keď nainštaluješ súbor, ktorého `id` je už nainštalované, nový súbor nahradí starý.\n\n## Kde Flow uchováva súbor\n\nFlow ukladá celý súbor do FlowStreamu, ktorý ho používa. Komponent, ktorý nainštaluješ v jednom FlowStreame, nie je dostupný v inom, kým ho nenainštaluješ aj tam. Keď [exportuješ FlowStream](/flow/11-1/guides/export-flowstream/), jeho komponenty idú s ním.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:43.323Z"}
{"id":"JapyVx5OE61f","url":"https://totaljs.es/docs/flow/11-1/development/first-component/","project":"flow","version":"11-1","section":"development","language":"en","title":"Your first component","summary":"Create a component in the designer, use it in a FlowStream and install it from a file.","markdown":"---\ntitle: Your first component\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/first-component/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Your first component\n\n> Create a component in the designer, use it in a FlowStream and install it from a file.\n\nThis page builds **Uppercase**, a component that turns the text it receives into capital letters, and runs it between a **Trigger** and a **Print** node.\n\n## Create the component\n\n1. Open a FlowStream in the designer.\n2. Select **Add** (plus), then **Create new component**.\n3. The **Source code** window opens with a template of a component.\n\n![The Source code window with the template of a new component](/files/JapyVt5ME61f.webp)\n\n4. Replace the whole template with this code:\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\t$.send('output', String($.data).toUpperCase());\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nConverts the incoming data to uppercase text.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n\n5. Select **APPLY**.\n\n**Uppercase** appears in the list of components on the left, in the **Demo** group.\n\n## Use it\n\n1. Download **Trigger** and **Print** if the FlowStream does not have them. See [Download components](/flow/11-1/guides/download-components/).\n2. Drag **Trigger**, **Uppercase** and **Print** onto the canvas and connect them in this order. See [Add and connect nodes](/flow/11-1/guides/connect-nodes/).\n3. Configure the **Trigger** node: clear **Random data** and type `hello flow` in **Data**.\n4. Select **APPLY** in the toolbar to start the design.\n5. Select **Run** on the **Trigger** node.\n\n**Print** shows `HELLO FLOW`.\n\n![Trigger, Uppercase and Print connected, with HELLO FLOW in the Print node](/files/JapyVv5NE60f.webp)\n\n## What the code does\n\n- `exports.id`, `exports.name`, `exports.icon` and the other properties describe the component.\n- `exports.inputs` and `exports.outputs` create the connection points of the node.\n- Flow calls `exports.make` once for each node. It receives the `instance` of the node and its `config`.\n- Flow calls `instance.message` for every message that arrives. `$` is the message, `$.data` its data.\n- `$.send('output', ...)` sends new data to the output with the id `output`.\n\n## Change the component\n\n1. Right-click the **Uppercase** node and select **Edit source code**.\n2. Change the code and select **APPLY**.\n\nFlow replaces the component in this FlowStream and restarts its nodes with the new code.\n\n## Install it from a file\n\nSave the code as `uppercase.html` on a web server. In another FlowStream, select **Add**, then **Link component**, and enter the address of the file. See [Install a component from a URL](/flow/11-1/guides/link-component/).\n\nTo offer many components to your team, publish them in [your own catalogue](../own-catalogue/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVx5OE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/first-component/","project":"flow","version":"11-1","section":"development","language":"de","title":"Deine erste Komponente","summary":"Erstelle eine Komponente im Designer, verwende sie in einem FlowStream und installiere sie aus einer Datei.","markdown":"---\ntitle: Deine erste Komponente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/first-component/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Deine erste Komponente\n\n> Erstelle eine Komponente im Designer, verwende sie in einem FlowStream und installiere sie aus einer Datei.\n\nAuf dieser Seite baust du **Uppercase**, eine Komponente, die den empfangenen Text in Großbuchstaben umwandelt, und lässt sie zwischen einem **Trigger**- und einem **Print**-Node laufen.\n\n## Die Komponente erstellen\n\n1. Öffne einen FlowStream im Designer.\n2. Wähle **Add** (Hinzufügen, das Plus) und dann **Create new component** (Neue Komponente erstellen).\n3. Das Fenster **Source code** (Quellcode) öffnet sich mit einer Vorlage für eine Komponente.\n\n![Das Fenster Source code mit der Vorlage einer neuen Komponente](/files/JapyVt5ME61f.webp)\n\n4. Ersetze die ganze Vorlage durch diesen Code:\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\t$.send('output', String($.data).toUpperCase());\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nConverts the incoming data to uppercase text.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n\n5. Wähle **APPLY** (Anwenden).\n\n**Uppercase** erscheint links in der Liste der Komponenten, in der Gruppe **Demo**.\n\n## Sie verwenden\n\n1. Lade **Trigger** und **Print** herunter, wenn der FlowStream sie noch nicht hat. Siehe [Komponenten herunterladen](/flow/11-1/guides/download-components/).\n2. Zieh **Trigger**, **Uppercase** und **Print** auf die Arbeitsfläche und verbinde sie in dieser Reihenfolge. Siehe [Nodes hinzufügen und verbinden](/flow/11-1/guides/connect-nodes/).\n3. Konfiguriere den **Trigger**-Node: Deaktiviere **Random data** (Zufallsdaten) und gib `hello flow` in **Data** (Daten) ein.\n4. Wähle **APPLY** in der Werkzeugleiste, um das Design zu starten.\n5. Wähle **Run** (Ausführen) auf dem **Trigger**-Node.\n\n**Print** zeigt `HELLO FLOW`.\n\n![Trigger, Uppercase und Print verbunden, mit HELLO FLOW im Print-Node](/files/JapyVv5NE60f.webp)\n\n## Was der Code macht\n\n- `exports.id`, `exports.name`, `exports.icon` und die anderen Eigenschaften beschreiben die Komponente.\n- `exports.inputs` und `exports.outputs` erzeugen die Anschlusspunkte des Nodes.\n- Flow ruft `exports.make` für jeden Node einmal auf. Es erhält die `instance` des Nodes und seine `config`.\n- Flow ruft `instance.message` für jede eintreffende Nachricht auf. `$` ist die Nachricht, `$.data` ihre Daten.\n- `$.send('output', ...)` sendet neue Daten an den Ausgang mit der ID `output`.\n\n## Die Komponente ändern\n\n1. Klick mit der rechten Maustaste auf den **Uppercase**-Node und wähle **Edit source code** (Quellcode bearbeiten).\n2. Ändere den Code und wähle **APPLY**.\n\nFlow ersetzt die Komponente in diesem FlowStream und startet ihre Nodes mit dem neuen Code neu.\n\n## Aus einer Datei installieren\n\nSpeichere den Code als `uppercase.html` auf einem Webserver. Wähle in einem anderen FlowStream **Add**, dann **Link component** (Komponente verlinken), und gib die Adresse der Datei ein. Siehe [Eine Komponente von einer URL installieren](/flow/11-1/guides/link-component/).\n\nUm deinem Team viele Komponenten anzubieten, veröffentliche sie in [deinem eigenen Katalog](../own-catalogue/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVx5OE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/first-component/","project":"flow","version":"11-1","section":"development","language":"es","title":"Tu primer componente","summary":"Crea un componente en el diseñador, úsalo en un FlowStream e instálalo desde un archivo.","markdown":"---\ntitle: Tu primer componente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/first-component/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Tu primer componente\n\n> Crea un componente en el diseñador, úsalo en un FlowStream e instálalo desde un archivo.\n\nEn esta página construyes **Uppercase**, un componente que convierte a mayúsculas el texto que recibe, y lo ejecutas entre un nodo **Trigger** y un nodo **Print**.\n\n## Crea el componente\n\n1. Abre un FlowStream en el diseñador.\n2. Selecciona **Add** (añadir, el signo más) y después **Create new component** (crear un componente nuevo).\n3. Se abre la ventana **Source code** (código fuente) con una plantilla de componente.\n\n![La ventana Source code con la plantilla de un componente nuevo](/files/JapyVt5ME61f.webp)\n\n4. Sustituye toda la plantilla por este código:\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\t$.send('output', String($.data).toUpperCase());\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nConverts the incoming data to uppercase text.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n\n5. Selecciona **APPLY** (aplicar).\n\n**Uppercase** aparece en la lista de componentes de la izquierda, en el grupo **Demo**.\n\n## Úsalo\n\n1. Descarga **Trigger** y **Print** si el FlowStream no los tiene. Consulta [Descargar componentes](/flow/11-1/guides/download-components/).\n2. Arrastra **Trigger**, **Uppercase** y **Print** al lienzo y conéctalos en este orden. Consulta [Añadir y conectar nodos](/flow/11-1/guides/connect-nodes/).\n3. Configura el nodo **Trigger**: desmarca **Random data** (datos aleatorios) y escribe `hello flow` en **Data** (datos).\n4. Selecciona **APPLY** en la barra de herramientas para iniciar el diseño.\n5. Selecciona **Run** (ejecutar) en el nodo **Trigger**.\n\n**Print** muestra `HELLO FLOW`.\n\n![Trigger, Uppercase y Print conectados, con HELLO FLOW en el nodo Print](/files/JapyVv5NE60f.webp)\n\n## Qué hace el código\n\n- `exports.id`, `exports.name`, `exports.icon` y las demás propiedades describen el componente.\n- `exports.inputs` y `exports.outputs` crean los puntos de conexión del nodo.\n- Flow llama a `exports.make` una vez por cada nodo. Recibe la `instance` del nodo y su `config`.\n- Flow llama a `instance.message` por cada mensaje que llega. `$` es el mensaje y `$.data`, sus datos.\n- `$.send('output', ...)` envía datos nuevos a la salida con el id `output`.\n\n## Cambia el componente\n\n1. Haz clic derecho en el nodo **Uppercase** y selecciona **Edit source code** (editar el código fuente).\n2. Cambia el código y selecciona **APPLY**.\n\nFlow sustituye el componente en este FlowStream y reinicia sus nodos con el código nuevo.\n\n## Instálalo desde un archivo\n\nGuarda el código como `uppercase.html` en un servidor web. En otro FlowStream, selecciona **Add**, después **Link component** (enlazar un componente), e introduce la dirección del archivo. Consulta [Instalar un componente desde una URL](/flow/11-1/guides/link-component/).\n\nPara ofrecer muchos componentes a tu equipo, publícalos en [tu propio catálogo](../own-catalogue/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVx5OE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/first-component/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Ton premier composant","summary":"Crée un composant dans le designer, utilise-le dans un FlowStream et installe-le depuis un fichier.","markdown":"---\ntitle: Ton premier composant\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/first-component/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Ton premier composant\n\n> Crée un composant dans le designer, utilise-le dans un FlowStream et installe-le depuis un fichier.\n\nCette page construit **Uppercase**, un composant qui met en majuscules le texte qu'il reçoit, et l'exécute entre un nœud **Trigger** et un nœud **Print**.\n\n## Créer le composant\n\n1. Ouvre un FlowStream dans le designer.\n2. Sélectionne **Add** (le plus), puis **Create new component**.\n3. La fenêtre **Source code** s'ouvre avec un modèle de composant.\n\n![La fenêtre Source code avec le modèle d'un nouveau composant](/files/JapyVt5ME61f.webp)\n\n4. Remplace tout le modèle par ce code :\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\t$.send('output', String($.data).toUpperCase());\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nConverts the incoming data to uppercase text.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n\n5. Sélectionne **APPLY**.\n\n**Uppercase** apparaît dans la liste des composants à gauche, dans le groupe **Demo**.\n\n## L'utiliser\n\n1. Télécharge **Trigger** et **Print** si le FlowStream ne les a pas. Consulte [Télécharger des composants](/flow/11-1/guides/download-components/).\n2. Fais glisser **Trigger**, **Uppercase** et **Print** sur le canevas et connecte-les dans cet ordre. Consulte [Ajouter et connecter des nœuds](/flow/11-1/guides/connect-nodes/).\n3. Configure le nœud **Trigger** : décoche **Random data** et tape `hello flow` dans **Data**.\n4. Sélectionne **APPLY** dans la barre d'outils pour démarrer le design.\n5. Sélectionne **Run** sur le nœud **Trigger**.\n\n**Print** affiche `HELLO FLOW`.\n\n![Trigger, Uppercase et Print connectés, avec HELLO FLOW dans le nœud Print](/files/JapyVv5NE60f.webp)\n\n## Ce que fait le code\n\n- `exports.id`, `exports.name`, `exports.icon` et les autres propriétés décrivent le composant.\n- `exports.inputs` et `exports.outputs` créent les points de connexion du nœud.\n- Flow appelle `exports.make` une fois pour chaque nœud. Elle reçoit l'`instance` du nœud et sa `config`.\n- Flow appelle `instance.message` pour chaque message qui arrive. `$` est le message, `$.data` ses données.\n- `$.send('output', ...)` envoie de nouvelles données à la sortie dont l'id est `output`.\n\n## Modifier le composant\n\n1. Fais un clic droit sur le nœud **Uppercase** et sélectionne **Edit source code**.\n2. Modifie le code et sélectionne **APPLY**.\n\nFlow remplace le composant dans ce FlowStream et redémarre ses nœuds avec le nouveau code.\n\n## L'installer depuis un fichier\n\nEnregistre le code sous `uppercase.html` sur un serveur web. Dans un autre FlowStream, sélectionne **Add**, puis **Link component**, et saisis l'adresse du fichier. Consulte [Installer un composant depuis une URL](/flow/11-1/guides/link-component/).\n\nPour proposer de nombreux composants à ton équipe, publie-les dans [ton propre catalogue](../own-catalogue/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVx5OE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/first-component/","project":"flow","version":"11-1","section":"development","language":"it","title":"Il tuo primo componente","summary":"Crea un componente nel designer, usalo in un FlowStream e installalo da un file.","markdown":"---\ntitle: Il tuo primo componente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/first-component/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Il tuo primo componente\n\n> Crea un componente nel designer, usalo in un FlowStream e installalo da un file.\n\nQuesta pagina costruisce **Uppercase**, un componente che trasforma in lettere maiuscole il testo che riceve, e lo esegue tra un nodo **Trigger** e un nodo **Print**.\n\n## Crea il componente\n\n1. Apri un FlowStream nel designer.\n2. Seleziona **Add** (Aggiungi, il simbolo più), poi **Create new component** (Crea nuovo componente).\n3. Si apre la finestra **Source code** (Codice sorgente) con un modello di componente.\n\n![La finestra Source code con il modello di un nuovo componente](/files/JapyVt5ME61f.webp)\n\n4. Sostituisci l'intero modello con questo codice:\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\t$.send('output', String($.data).toUpperCase());\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nConverts the incoming data to uppercase text.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n\n5. Seleziona **APPLY** (Applica).\n\n**Uppercase** compare nell'elenco dei componenti a sinistra, nel gruppo **Demo**.\n\n## Usalo\n\n1. Scarica **Trigger** e **Print** se il FlowStream non li ha. Vedi [Scaricare componenti](/flow/11-1/guides/download-components/).\n2. Trascina **Trigger**, **Uppercase** e **Print** sul canvas e collegali in quest'ordine. Vedi [Aggiungere e collegare nodi](/flow/11-1/guides/connect-nodes/).\n3. Configura il nodo **Trigger**: disattiva **Random data** (Dati casuali) e scrivi `hello flow` in **Data** (Dati).\n4. Seleziona **APPLY** nella barra degli strumenti per avviare il design.\n5. Seleziona **Run** (Esegui) sul nodo **Trigger**.\n\n**Print** mostra `HELLO FLOW`.\n\n![Trigger, Uppercase e Print collegati, con HELLO FLOW nel nodo Print](/files/JapyVv5NE60f.webp)\n\n## Cosa fa il codice\n\n- `exports.id`, `exports.name`, `exports.icon` e le altre proprietà descrivono il componente.\n- `exports.inputs` e `exports.outputs` creano i punti di connessione del nodo.\n- Flow chiama `exports.make` una volta per ogni nodo. Riceve l'`instance` del nodo e la sua `config`.\n- Flow chiama `instance.message` per ogni messaggio che arriva. `$` è il messaggio, `$.data` i suoi dati.\n- `$.send('output', ...)` invia nuovi dati all'uscita con l'id `output`.\n\n## Modifica il componente\n\n1. Fai clic con il tasto destro sul nodo **Uppercase** e seleziona **Edit source code** (Modifica codice sorgente).\n2. Modifica il codice e seleziona **APPLY**.\n\nFlow sostituisce il componente in questo FlowStream e riavvia i suoi nodi con il nuovo codice.\n\n## Installalo da un file\n\nSalva il codice come `uppercase.html` su un server web. In un altro FlowStream, seleziona **Add**, poi **Link component** (Collega componente), e inserisci l'indirizzo del file. Vedi [Installare un componente da un URL](/flow/11-1/guides/link-component/).\n\nPer offrire molti componenti al tuo team, pubblicali nel [tuo catalogo](../own-catalogue/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVx5OE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/first-component/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Tvoj prvý komponent","summary":"Vytvor komponent v dizajnéri, použi ho vo FlowStreame a nainštaluj ho zo súboru.","markdown":"---\ntitle: \"Tvoj prvý komponent\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/first-component/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Tvoj prvý komponent\n\n> Vytvor komponent v dizajnéri, použi ho vo FlowStreame a nainštaluj ho zo súboru.\n\nNa tejto stránke vytvoríš **Uppercase**, komponent, ktorý prijatý text prevedie na veľké písmená, a spustíš ho medzi uzlami **Trigger** a **Print**.\n\n## Vytvor komponent\n\n1. Otvor FlowStream v dizajnéri.\n2. Vyber **Add** (pridať, plus) a potom **Create new component** (vytvoriť nový komponent).\n3. Otvorí sa okno **Source code** (zdrojový kód) so šablónou komponentu.\n\n![Okno Source code so šablónou nového komponentu](/files/JapyVt5ME61f.webp)\n\n4. Celú šablónu nahraď týmto kódom:\n\n```html\n<script total>\n\n\texports.id = 'uppercase';\n\texports.name = 'Uppercase';\n\texports.icon = 'ti ti-font';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\t$.send('output', String($.data).toUpperCase());\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nConverts the incoming data to uppercase text.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n\n5. Vyber **APPLY** (použiť).\n\n**Uppercase** sa zobrazí v zozname komponentov vľavo, v skupine **Demo**.\n\n## Použi ho\n\n1. Stiahni **Trigger** a **Print**, ak ich FlowStream ešte nemá. Pozri [Stiahnutie komponentov](/flow/11-1/guides/download-components/).\n2. Presuň **Trigger**, **Uppercase** a **Print** na plátno a prepoj ich v tomto poradí. Pozri [Pridanie a prepojenie uzlov](/flow/11-1/guides/connect-nodes/).\n3. Nakonfiguruj uzol **Trigger**: zruš označenie **Random data** (náhodné dáta) a do **Data** napíš `hello flow`.\n4. Na paneli nástrojov vyber **APPLY**, aby sa návrh spustil.\n5. Na uzle **Trigger** vyber **Run** (spustiť).\n\n**Print** zobrazí `HELLO FLOW`.\n\n![Prepojené uzly Trigger, Uppercase a Print, v uzle Print je HELLO FLOW](/files/JapyVv5NE60f.webp)\n\n## Čo kód robí\n\n- `exports.id`, `exports.name`, `exports.icon` a ďalšie vlastnosti popisujú komponent.\n- `exports.inputs` a `exports.outputs` vytvárajú body pripojenia uzla.\n- Flow zavolá `exports.make` raz pre každý uzol. Dostane `instance` uzla a jeho `config`.\n- Flow zavolá `instance.message` pre každú prichádzajúcu správu. `$` je správa, `$.data` sú jej dáta.\n- `$.send('output', ...)` pošle nové dáta na výstup s id `output`.\n\n## Zmeň komponent\n\n1. Klikni pravým tlačidlom na uzol **Uppercase** a vyber **Edit source code** (upraviť zdrojový kód).\n2. Zmeň kód a vyber **APPLY**.\n\nFlow nahradí komponent v tomto FlowStreame a reštartuje jeho uzly s novým kódom.\n\n## Nainštaluj ho zo súboru\n\nUlož kód ako `uppercase.html` na webový server. V inom FlowStreame vyber **Add**, potom **Link component** (prepojiť komponent) a zadaj adresu súboru. Pozri [Inštalácia komponentu z URL](/flow/11-1/guides/link-component/).\n\nAk chceš svojmu tímu ponúknuť veľa komponentov, zverejni ich vo [vlastnom katalógu](../own-catalogue/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVz5QE61f","url":"https://totaljs.es/docs/flow/11-1/development/inputs-outputs/","project":"flow","version":"11-1","section":"development","language":"en","title":"Inputs, outputs and messages","summary":"Declare inputs and outputs, receive messages, send them on and end them.","markdown":"---\ntitle: Inputs, outputs and messages\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/inputs-outputs/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Inputs, outputs and messages\n\n> Declare inputs and outputs, receive messages, send them on and end them.\n\nInputs and outputs are the connection points of a node. Data travels between nodes as messages: your component receives a message on an input, and sends it on through an output or ends it.\n\n## Declare inputs and outputs\n\nEach input and output has an `id`, which you use in code, and a `name`, which the node shows:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Text' }];\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\nA component without inputs, such as a trigger, starts messages itself. A component without outputs, such as **Print**, ends every message it receives.\n\n## Receive messages\n\nFlow calls `instance.message` for every message that arrives on any input. `$.input` tells you which input it came through:\n\n```js\ninstance.message = function($) {\n\t// $.data is the data, $.input is the id of the input\n\t$.send('output', $.data);\n};\n```\n\nYou can also define a handler for one input. Its name is `message_` followed by the id of the input:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Input' }, { id: 'second', name: 'Second' }];\n\nexports.make = function(instance, config) {\n\n\tinstance.message_second = function($) {\n\t\t// only messages from the \"second\" input\n\t\t$.destroy();\n\t};\n\n};\n```\n\nWhen a component defines both, Flow calls `message_second` first and then `message` for the same message, so let `message` skip that input:\n\n```js\ninstance.message = function($) {\n\tif ($.input === 'second')\n\t\treturn;\n\t$.send('output', $.data);\n};\n```\n\n## Send a message on\n\n`$.send(output, data)` sends the message to every node connected to that output. Without `data`, the message keeps its data:\n\n```js\n$.send('output');                     // the same data\n$.send('output', { name: 'Jane' });   // new data\n$.send(null, 'to every output');      // every output that has a connection\n```\n\nFlow copies object data for each connection, so a node can change its copy without changing the data of the others. To turn this off for a FlowStream, see **Enable cloning of message data** in [FlowStream fields](/flow/11-1/reference/flowstream-fields/).\n\n## End a message\n\nA message that you do not send on must end, or the designer counts it under **Pending** forever. Call `$.destroy()` (or `$.end()`):\n\n```js\ninstance.message = function($) {\n\tconsole.log($.data);\n\t$.destroy();\n};\n```\n\n## Keep data along the way\n\n`$.repo` is an object that travels with the message from node to node. A node can store a value in it, and the nodes after it can read it:\n\n```js\n// first node\n$.repo.orderid = 1001;\n$.send('output');\n\n// a node later in the flow\nvar orderid = $.repo.orderid;\n```\n\n## Start a new message\n\nA node without inputs, such as a trigger or a timer, starts its own messages with `instance.send`:\n\n```js\ninstance.send('output', { ts: new Date() });\n```\n\nSee [Triggers, timers and closing](../triggers-and-timers/).\n\n## Change the outputs from the configuration\n\nA component can build its outputs from its settings. Set `instance.outputs` and save the node, and the designer redraws it. The **Code** component creates its outputs this way:\n\n```js\ninstance.configure = function() {\n\tinstance.outputs = [];\n\tfor (let i = 1; i <= config.outputs; i++)\n\t\tinstance.outputs.push({ id: 'output' + (i === 1 ? '' : i), name: 'Output #' + i });\n\tinstance.save();\n};\n```\n\nThe full list of message properties and methods is in [Message reference](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVz5QE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/inputs-outputs/","project":"flow","version":"11-1","section":"development","language":"de","title":"Eingänge, Ausgänge und Nachrichten","summary":"Deklariere Eingänge und Ausgänge, empfange Nachrichten, schick sie weiter und beende sie.","markdown":"---\ntitle: \"Eingänge, Ausgänge und Nachrichten\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/inputs-outputs/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Eingänge, Ausgänge und Nachrichten\n\n> Deklariere Eingänge und Ausgänge, empfange Nachrichten, schick sie weiter und beende sie.\n\nEingänge und Ausgänge sind die Anschlusspunkte eines Nodes. Daten wandern als Nachrichten zwischen den Nodes: Deine Komponente empfängt eine Nachricht an einem Eingang und schickt sie über einen Ausgang weiter oder beendet sie.\n\n## Eingänge und Ausgänge deklarieren\n\nJeder Eingang und Ausgang hat eine `id`, die du im Code verwendest, und einen `name`, den der Node anzeigt:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Text' }];\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\nEine Komponente ohne Eingänge, etwa ein Trigger, startet Nachrichten selbst. Eine Komponente ohne Ausgänge, etwa **Print**, beendet jede Nachricht, die sie empfängt.\n\n## Nachrichten empfangen\n\nFlow ruft `instance.message` für jede Nachricht auf, die an irgendeinem Eingang eintrifft. `$.input` sagt dir, über welchen Eingang sie kam:\n\n```js\ninstance.message = function($) {\n\t// $.data is the data, $.input is the id of the input\n\t$.send('output', $.data);\n};\n```\n\nDu kannst auch einen Handler für einen einzelnen Eingang definieren. Sein Name ist `message_`, gefolgt von der ID des Eingangs:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Input' }, { id: 'second', name: 'Second' }];\n\nexports.make = function(instance, config) {\n\n\tinstance.message_second = function($) {\n\t\t// only messages from the \"second\" input\n\t\t$.destroy();\n\t};\n\n};\n```\n\nWenn eine Komponente beides definiert, ruft Flow für dieselbe Nachricht zuerst `message_second` und dann `message` auf. Lass `message` diesen Eingang also überspringen:\n\n```js\ninstance.message = function($) {\n\tif ($.input === 'second')\n\t\treturn;\n\t$.send('output', $.data);\n};\n```\n\n## Eine Nachricht weiterschicken\n\n`$.send(output, data)` schickt die Nachricht an jeden Node, der mit diesem Ausgang verbunden ist. Ohne `data` behält die Nachricht ihre Daten:\n\n```js\n$.send('output');                     // the same data\n$.send('output', { name: 'Jane' });   // new data\n$.send(null, 'to every output');      // every output that has a connection\n```\n\nFlow kopiert Objektdaten für jede Verbindung, sodass ein Node seine Kopie ändern kann, ohne die Daten der anderen zu ändern. Um das für einen FlowStream auszuschalten, sieh dir **Enable cloning of message data** in [FlowStream-Felder](/flow/11-1/reference/flowstream-fields/) an.\n\n## Eine Nachricht beenden\n\nEine Nachricht, die du nicht weiterschickst, muss enden, sonst zählt der Designer sie für immer unter **Pending** (Ausstehend). Ruf `$.destroy()` (oder `$.end()`) auf:\n\n```js\ninstance.message = function($) {\n\tconsole.log($.data);\n\t$.destroy();\n};\n```\n\n## Daten unterwegs behalten\n\n`$.repo` ist ein Objekt, das mit der Nachricht von Node zu Node reist. Ein Node kann einen Wert darin speichern, und die Nodes danach können ihn lesen:\n\n```js\n// first node\n$.repo.orderid = 1001;\n$.send('output');\n\n// a node later in the flow\nvar orderid = $.repo.orderid;\n```\n\n## Eine neue Nachricht starten\n\nEin Node ohne Eingänge, etwa ein Trigger oder ein Timer, startet seine eigenen Nachrichten mit `instance.send`:\n\n```js\ninstance.send('output', { ts: new Date() });\n```\n\nSiehe [Trigger, Timer und Schließen](../triggers-and-timers/).\n\n## Die Ausgänge aus der Konfiguration ändern\n\nEine Komponente kann ihre Ausgänge aus ihren Einstellungen aufbauen. Setz `instance.outputs` und speichere den Node, dann zeichnet der Designer ihn neu. Die Komponente **Code** erzeugt ihre Ausgänge auf diese Weise:\n\n```js\ninstance.configure = function() {\n\tinstance.outputs = [];\n\tfor (let i = 1; i <= config.outputs; i++)\n\t\tinstance.outputs.push({ id: 'output' + (i === 1 ? '' : i), name: 'Output #' + i });\n\tinstance.save();\n};\n```\n\nDie vollständige Liste der Eigenschaften und Methoden einer Nachricht findest du in der [Referenz der Nachricht](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVz5QE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/inputs-outputs/","project":"flow","version":"11-1","section":"development","language":"es","title":"Entradas, salidas y mensajes","summary":"Declara entradas y salidas, recibe mensajes, envíalos y termínalos.","markdown":"---\ntitle: Entradas, salidas y mensajes\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/inputs-outputs/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Entradas, salidas y mensajes\n\n> Declara entradas y salidas, recibe mensajes, envíalos y termínalos.\n\nLas entradas y las salidas son los puntos de conexión de un nodo. Los datos viajan entre nodos como mensajes: tu componente recibe un mensaje en una entrada y lo envía por una salida o lo termina.\n\n## Declara entradas y salidas\n\nCada entrada y cada salida tiene un `id`, que usas en el código, y un `name`, que muestra el nodo:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Text' }];\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\nUn componente sin entradas, como un trigger, inicia los mensajes él mismo. Un componente sin salidas, como **Print**, termina todos los mensajes que recibe.\n\n## Recibe mensajes\n\nFlow llama a `instance.message` por cada mensaje que llega a cualquier entrada. `$.input` te dice por qué entrada ha llegado:\n\n```js\ninstance.message = function($) {\n\t// $.data is the data, $.input is the id of the input\n\t$.send('output', $.data);\n};\n```\n\nTambién puedes definir un manejador para una sola entrada. Su nombre es `message_` seguido del id de la entrada:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Input' }, { id: 'second', name: 'Second' }];\n\nexports.make = function(instance, config) {\n\n\tinstance.message_second = function($) {\n\t\t// only messages from the \"second\" input\n\t\t$.destroy();\n\t};\n\n};\n```\n\nCuando un componente define ambos, Flow llama primero a `message_second` y después a `message` para el mismo mensaje, así que haz que `message` se salte esa entrada:\n\n```js\ninstance.message = function($) {\n\tif ($.input === 'second')\n\t\treturn;\n\t$.send('output', $.data);\n};\n```\n\n## Envía un mensaje\n\n`$.send(output, data)` envía el mensaje a todos los nodos conectados a esa salida. Sin `data`, el mensaje conserva sus datos:\n\n```js\n$.send('output');                     // the same data\n$.send('output', { name: 'Jane' });   // new data\n$.send(null, 'to every output');      // every output that has a connection\n```\n\nFlow copia los datos de tipo objeto para cada conexión, así que un nodo puede cambiar su copia sin cambiar los datos de los demás. Para desactivarlo en un FlowStream, consulta **Enable cloning of message data** (activar la clonación de los datos del mensaje) en [Campos del FlowStream](/flow/11-1/reference/flowstream-fields/).\n\n## Termina un mensaje\n\nUn mensaje que no envías debe terminar, o el diseñador lo cuenta para siempre en **Pending** (pendientes). Llama a `$.destroy()` (o a `$.end()`):\n\n```js\ninstance.message = function($) {\n\tconsole.log($.data);\n\t$.destroy();\n};\n```\n\n## Guarda datos por el camino\n\n`$.repo` es un objeto que viaja con el mensaje de nodo en nodo. Un nodo puede guardar un valor en él, y los nodos posteriores pueden leerlo:\n\n```js\n// first node\n$.repo.orderid = 1001;\n$.send('output');\n\n// a node later in the flow\nvar orderid = $.repo.orderid;\n```\n\n## Inicia un mensaje nuevo\n\nUn nodo sin entradas, como un trigger o un temporizador, inicia sus propios mensajes con `instance.send`:\n\n```js\ninstance.send('output', { ts: new Date() });\n```\n\nConsulta [Triggers, temporizadores y cierre](../triggers-and-timers/).\n\n## Cambia las salidas desde la configuración\n\nUn componente puede construir sus salidas a partir de sus ajustes. Define `instance.outputs` y guarda el nodo, y el diseñador lo vuelve a dibujar. El componente **Code** crea sus salidas así:\n\n```js\ninstance.configure = function() {\n\tinstance.outputs = [];\n\tfor (let i = 1; i <= config.outputs; i++)\n\t\tinstance.outputs.push({ id: 'output' + (i === 1 ? '' : i), name: 'Output #' + i });\n\tinstance.save();\n};\n```\n\nLa lista completa de propiedades y métodos del mensaje está en la [referencia del mensaje](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVz5QE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/inputs-outputs/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Entrées, sorties et messages","summary":"Déclare les entrées et les sorties, reçois des messages, transmets-les et termine-les.","markdown":"---\ntitle: \"Entrées, sorties et messages\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/inputs-outputs/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Entrées, sorties et messages\n\n> Déclare les entrées et les sorties, reçois des messages, transmets-les et termine-les.\n\nLes entrées et les sorties sont les points de connexion d'un nœud. Les données voyagent entre les nœuds sous forme de messages : ton composant reçoit un message sur une entrée, puis le transmet par une sortie ou le termine.\n\n## Déclarer les entrées et les sorties\n\nChaque entrée et chaque sortie a un `id`, que tu utilises dans le code, et un `name`, que le nœud affiche :\n\n```js\nexports.inputs = [{ id: 'input', name: 'Text' }];\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\nUn composant sans entrées, comme un trigger, lance lui-même les messages. Un composant sans sorties, comme **Print**, termine chaque message qu'il reçoit.\n\n## Recevoir des messages\n\nFlow appelle `instance.message` pour chaque message qui arrive sur n'importe quelle entrée. `$.input` t'indique par quelle entrée il est arrivé :\n\n```js\ninstance.message = function($) {\n\t// $.data is the data, $.input is the id of the input\n\t$.send('output', $.data);\n};\n```\n\nTu peux aussi définir un gestionnaire pour une seule entrée. Son nom est `message_` suivi de l'id de l'entrée :\n\n```js\nexports.inputs = [{ id: 'input', name: 'Input' }, { id: 'second', name: 'Second' }];\n\nexports.make = function(instance, config) {\n\n\tinstance.message_second = function($) {\n\t\t// only messages from the \"second\" input\n\t\t$.destroy();\n\t};\n\n};\n```\n\nQuand un composant définit les deux, Flow appelle d'abord `message_second` puis `message` pour le même message, donc fais en sorte que `message` ignore cette entrée :\n\n```js\ninstance.message = function($) {\n\tif ($.input === 'second')\n\t\treturn;\n\t$.send('output', $.data);\n};\n```\n\n## Transmettre un message\n\n`$.send(output, data)` envoie le message à chaque nœud connecté à cette sortie. Sans `data`, le message garde ses données :\n\n```js\n$.send('output');                     // the same data\n$.send('output', { name: 'Jane' });   // new data\n$.send(null, 'to every output');      // every output that has a connection\n```\n\nFlow copie les données de type objet pour chaque connexion, donc un nœud peut modifier sa copie sans changer les données des autres. Pour désactiver cela pour un FlowStream, consulte **Enable cloning of message data** dans [Champs du FlowStream](/flow/11-1/reference/flowstream-fields/).\n\n## Terminer un message\n\nUn message que tu ne transmets pas doit se terminer, sinon le designer le compte pour toujours sous **Pending**. Appelle `$.destroy()` (ou `$.end()`) :\n\n```js\ninstance.message = function($) {\n\tconsole.log($.data);\n\t$.destroy();\n};\n```\n\n## Garder des données en chemin\n\n`$.repo` est un objet qui voyage avec le message de nœud en nœud. Un nœud peut y stocker une valeur, et les nœuds qui le suivent peuvent la lire :\n\n```js\n// first node\n$.repo.orderid = 1001;\n$.send('output');\n\n// a node later in the flow\nvar orderid = $.repo.orderid;\n```\n\n## Lancer un nouveau message\n\nUn nœud sans entrées, comme un trigger ou un timer, lance ses propres messages avec `instance.send` :\n\n```js\ninstance.send('output', { ts: new Date() });\n```\n\nConsulte [Triggers, timers et fermeture](../triggers-and-timers/).\n\n## Changer les sorties depuis la configuration\n\nUn composant peut construire ses sorties à partir de ses réglages. Définis `instance.outputs` et enregistre le nœud, et le designer le redessine. Le composant **Code** crée ses sorties de cette façon :\n\n```js\ninstance.configure = function() {\n\tinstance.outputs = [];\n\tfor (let i = 1; i <= config.outputs; i++)\n\t\tinstance.outputs.push({ id: 'output' + (i === 1 ? '' : i), name: 'Output #' + i });\n\tinstance.save();\n};\n```\n\nLa liste complète des propriétés et des méthodes du message se trouve dans [Référence du message](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVz5QE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/inputs-outputs/","project":"flow","version":"11-1","section":"development","language":"it","title":"Ingressi, uscite e messaggi","summary":"Dichiara ingressi e uscite, ricevi i messaggi, inoltrali e terminali.","markdown":"---\ntitle: Ingressi, uscite e messaggi\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/inputs-outputs/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Ingressi, uscite e messaggi\n\n> Dichiara ingressi e uscite, ricevi i messaggi, inoltrali e terminali.\n\nIngressi e uscite sono i punti di connessione di un nodo. I dati viaggiano tra i nodi sotto forma di messaggi: il tuo componente riceve un messaggio su un ingresso e lo inoltra attraverso un'uscita, oppure lo termina.\n\n## Dichiarare ingressi e uscite\n\nOgni ingresso e ogni uscita ha un `id`, che usi nel codice, e un `name`, che il nodo mostra:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Text' }];\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\nUn componente senza ingressi, come un trigger, avvia i messaggi da solo. Un componente senza uscite, come **Print**, termina ogni messaggio che riceve.\n\n## Ricevere messaggi\n\nFlow chiama `instance.message` per ogni messaggio che arriva su qualsiasi ingresso. `$.input` ti dice da quale ingresso è arrivato:\n\n```js\ninstance.message = function($) {\n\t// $.data is the data, $.input is the id of the input\n\t$.send('output', $.data);\n};\n```\n\nPuoi anche definire un gestore per un solo ingresso. Il suo nome è `message_` seguito dall'id dell'ingresso:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Input' }, { id: 'second', name: 'Second' }];\n\nexports.make = function(instance, config) {\n\n\tinstance.message_second = function($) {\n\t\t// only messages from the \"second\" input\n\t\t$.destroy();\n\t};\n\n};\n```\n\nQuando un componente li definisce entrambi, Flow chiama prima `message_second` e poi `message` per lo stesso messaggio, quindi fai in modo che `message` salti quell'ingresso:\n\n```js\ninstance.message = function($) {\n\tif ($.input === 'second')\n\t\treturn;\n\t$.send('output', $.data);\n};\n```\n\n## Inoltrare un messaggio\n\n`$.send(output, data)` invia il messaggio a ogni nodo collegato a quell'uscita. Senza `data`, il messaggio mantiene i suoi dati:\n\n```js\n$.send('output');                     // the same data\n$.send('output', { name: 'Jane' });   // new data\n$.send(null, 'to every output');      // every output that has a connection\n```\n\nFlow copia i dati di tipo oggetto per ogni connessione, così un nodo può modificare la sua copia senza cambiare i dati degli altri. Per disattivarlo in un FlowStream, vedi **Enable cloning of message data** (Abilita la clonazione dei dati del messaggio) in [Campi del FlowStream](/flow/11-1/reference/flowstream-fields/).\n\n## Terminare un messaggio\n\nUn messaggio che non inoltri deve terminare, altrimenti il designer lo conta per sempre sotto **Pending** (In sospeso). Chiama `$.destroy()` (oppure `$.end()`):\n\n```js\ninstance.message = function($) {\n\tconsole.log($.data);\n\t$.destroy();\n};\n```\n\n## Conservare dati lungo il percorso\n\n`$.repo` è un oggetto che viaggia con il messaggio da un nodo all'altro. Un nodo può salvarci un valore, e i nodi successivi possono leggerlo:\n\n```js\n// first node\n$.repo.orderid = 1001;\n$.send('output');\n\n// a node later in the flow\nvar orderid = $.repo.orderid;\n```\n\n## Avviare un nuovo messaggio\n\nUn nodo senza ingressi, come un trigger o un timer, avvia i propri messaggi con `instance.send`:\n\n```js\ninstance.send('output', { ts: new Date() });\n```\n\nVedi [Trigger, timer e chiusura](../triggers-and-timers/).\n\n## Cambiare le uscite in base alla configurazione\n\nUn componente può costruire le sue uscite a partire dalle sue impostazioni. Imposta `instance.outputs` e salva il nodo, e il designer lo ridisegna. Il componente **Code** crea le sue uscite in questo modo:\n\n```js\ninstance.configure = function() {\n\tinstance.outputs = [];\n\tfor (let i = 1; i <= config.outputs; i++)\n\t\tinstance.outputs.push({ id: 'output' + (i === 1 ? '' : i), name: 'Output #' + i });\n\tinstance.save();\n};\n```\n\nL'elenco completo delle proprietà e dei metodi del messaggio si trova in [Riferimento del messaggio](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVz5QE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/inputs-outputs/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Vstupy, výstupy a správy","summary":"Deklaruj vstupy a výstupy, prijímaj správy, posielaj ich ďalej a ukončuj ich.","markdown":"---\ntitle: \"Vstupy, výstupy a správy\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/inputs-outputs/\nupdated: 2026-11-19T10:58:45.178Z\n---\n\n# Vstupy, výstupy a správy\n\n> Deklaruj vstupy a výstupy, prijímaj správy, posielaj ich ďalej a ukončuj ich.\n\nVstupy a výstupy sú body pripojenia uzla. Dáta putujú medzi uzlami ako správy: tvoj komponent prijme správu na vstupe a pošle ju ďalej cez výstup alebo ju ukončí.\n\n## Deklaruj vstupy a výstupy\n\nKaždý vstup a výstup má `id`, ktoré používaš v kóde, a `name`, ktorý zobrazuje uzol:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Text' }];\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\nKomponent bez vstupov, napríklad spúšťač, začína správy sám. Komponent bez výstupov, napríklad **Print**, ukončí každú správu, ktorú prijme.\n\n## Prijímaj správy\n\nFlow zavolá `instance.message` pre každú správu, ktorá príde na ľubovoľný vstup. `$.input` ti povie, cez ktorý vstup prišla:\n\n```js\ninstance.message = function($) {\n\t// $.data is the data, $.input is the id of the input\n\t$.send('output', $.data);\n};\n```\n\nMôžeš definovať aj obsluhu pre jeden vstup. Jej názov je `message_` a za ním id vstupu:\n\n```js\nexports.inputs = [{ id: 'input', name: 'Input' }, { id: 'second', name: 'Second' }];\n\nexports.make = function(instance, config) {\n\n\tinstance.message_second = function($) {\n\t\t// only messages from the \"second\" input\n\t\t$.destroy();\n\t};\n\n};\n```\n\nKeď komponent definuje obe, Flow pre tú istú správu zavolá najprv `message_second` a potom `message`, takže nech `message` tento vstup preskočí:\n\n```js\ninstance.message = function($) {\n\tif ($.input === 'second')\n\t\treturn;\n\t$.send('output', $.data);\n};\n```\n\n## Pošli správu ďalej\n\n`$.send(output, data)` pošle správu každému uzlu pripojenému k danému výstupu. Bez `data` si správa ponechá svoje dáta:\n\n```js\n$.send('output');                     // the same data\n$.send('output', { name: 'Jane' });   // new data\n$.send(null, 'to every output');      // every output that has a connection\n```\n\nFlow kopíruje objektové dáta pre každé pripojenie, takže uzol môže zmeniť svoju kópiu bez toho, aby zmenil dáta ostatných. Ak to chceš pre FlowStream vypnúť, pozri **Enable cloning of message data** (povoliť klonovanie dát správy) v [Polia FlowStreamu](/flow/11-1/reference/flowstream-fields/).\n\n## Ukonči správu\n\nSpráva, ktorú nepošleš ďalej, sa musí ukončiť, inak ju dizajnér navždy počíta v **Pending** (čakajúce). Zavolaj `$.destroy()` (alebo `$.end()`):\n\n```js\ninstance.message = function($) {\n\tconsole.log($.data);\n\t$.destroy();\n};\n```\n\n## Uchovaj dáta po ceste\n\n`$.repo` je objekt, ktorý putuje so správou z uzla do uzla. Uzol doň môže uložiť hodnotu a uzly za ním ju môžu prečítať:\n\n```js\n// first node\n$.repo.orderid = 1001;\n$.send('output');\n\n// a node later in the flow\nvar orderid = $.repo.orderid;\n```\n\n## Začni novú správu\n\nUzol bez vstupov, napríklad spúšťač alebo časovač, začína vlastné správy pomocou `instance.send`:\n\n```js\ninstance.send('output', { ts: new Date() });\n```\n\nPozri [Spúšťače, časovače a ukončenie](../triggers-and-timers/).\n\n## Meň výstupy podľa konfigurácie\n\nKomponent si môže zostaviť výstupy zo svojich nastavení. Nastav `instance.outputs` a ulož uzol a dizajnér ho prekreslí. Komponent **Code** vytvára svoje výstupy takto:\n\n```js\ninstance.configure = function() {\n\tinstance.outputs = [];\n\tfor (let i = 1; i <= config.outputs; i++)\n\t\tinstance.outputs.push({ id: 'output' + (i === 1 ? '' : i), name: 'Output #' + i });\n\tinstance.save();\n};\n```\n\nÚplný zoznam vlastností a metód správy nájdeš v [Referencia správy](../message-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:45.178Z"}
{"id":"JapyVp5IE61f","url":"https://totaljs.es/docs/flow/11-1/development/configuration/","project":"flow","version":"11-1","section":"development","language":"en","title":"Configuration and the settings form","summary":"Give a component default settings, a settings form, and react when the user changes them.","markdown":"---\ntitle: Configuration and the settings form\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/configuration/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Configuration and the settings form\n\n> Give a component default settings, a settings form, and react when the user changes them.\n\nEvery node has its own configuration. You set the default values in the component, the user changes them in the settings form, and your code reads them from `config`.\n\nThis page builds **Greeting**, which greets the name it receives with a greeting from its settings.\n\n## Default values\n\n`exports.config` holds the default configuration. Each new node starts with a copy of it:\n\n```js\nexports.config = { greeting: 'Hello', uppercase: false };\n```\n\n## Read the configuration\n\n`exports.make` receives the configuration of the node as `config`. It is the same object for the whole life of the node, and Flow updates it when the user saves the settings:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\tvar text = config.greeting + ', ' + $.data + '!';\n\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t};\n\n};\n```\n\n## React to changes\n\nFlow calls `instance.configure` after the user changes the settings. Use it to prepare what depends on the configuration, and call it once yourself at the end of `make` for the first values:\n\n```js\nvar greeting;\n\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.configure();\n```\n\n`instance.replace` fills in variables, see [Variables in components](../variables/).\n\n## The settings form\n\nWrite the form in `<settings>`. A field whose `path` starts with `?.` edits that key of the configuration:\n\n```html\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n```\n\nThe user opens the form by right-clicking the node and selecting **Configure**. See [Configure a node](/flow/11-1/guides/configure-nodes/).\n\n![The settings window of a Greeting node](/files/JapyVl5GE61f.webp)\n\nThe fields are UI components of Total.js. These options of `ui-component name=\"input\"` appear in the official components:\n\n| `config` option | What it does |\n|---|---|\n| `required:1` | The field must have a value before the user can apply. |\n| `type:checkbox` | A checkbox for a `true` or `false` value. |\n| `type:number` | A number. Add `min:0` for a lowest value. |\n| `type:multiline` | A text area. Add `height:250` for its height. |\n| `dirsource:a\\|A,b\\|B` | A list to choose from: the value, a bar, and the label. |\n| `placeholder:text` | A hint inside the empty field. |\n| `monospace:1` | Shows the value in a fixed-width font. |\n\nThe settings window is 800 pixels wide. For a wider form, set `exports.meta = { settingswidth: 1200 };`.\n\n## Show the configuration on the node\n\n`$CONFIG` in `<body>` is the configuration of the node. This shows the greeting under the name of the node:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\n## Change the configuration from code\n\n`instance.reconfigure` changes keys of the configuration, calls `instance.configure`, shows the new values in the designer and saves them:\n\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n## The whole component\n\n```html\n<script total>\n\n\texports.id = 'greeting';\n\texports.name = 'Greeting';\n\texports.icon = 'ti ti-comment';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { greeting: 'Hello', uppercase: false };\n\texports.inputs = [{ id: 'input', name: 'Name' }];\n\texports.outputs = [{ id: 'output', name: 'Greeting' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar greeting;\n\n\t\tinstance.configure = function() {\n\t\t\tgreeting = instance.replace(config.greeting);\n\t\t};\n\n\t\t// FlowStream variables and global variables have changed\n\t\tinstance.variables = instance.variables2 = function() {\n\t\t\tinstance.configure();\n\t\t};\n\n\t\tinstance.message = function($) {\n\t\t\tvar text = greeting + ', ' + $.data + '!';\n\t\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; font-size: 12px; }\n</style>\n\n<readme>\nGreets the incoming name. The greeting can contain variables, for example `{welcome}`.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\nWith **Greeting** set to `{welcome}` and the FlowStream variable `welcome` set to `Good morning`, a **Trigger** that sends `Jane` makes **Print** show `Good morning, Jane!`. With **Write in capital letters** on, it shows `GOOD MORNING, JANE!`.\n\n![Trigger, Greeting and Print, with Good morning, Jane! in the Print node](/files/JapyVn5HE60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVp5IE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/configuration/","project":"flow","version":"11-1","section":"development","language":"de","title":"Konfiguration und das Einstellungsformular","summary":"Gib einer Komponente Standardeinstellungen und ein Einstellungsformular, und reagiere, wenn der Nutzer sie ändert.","markdown":"---\ntitle: Konfiguration und das Einstellungsformular\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/configuration/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Konfiguration und das Einstellungsformular\n\n> Gib einer Komponente Standardeinstellungen und ein Einstellungsformular, und reagiere, wenn der Nutzer sie ändert.\n\nJeder Node hat seine eigene Konfiguration. Du legst die Standardwerte in der Komponente fest, der Nutzer ändert sie im Einstellungsformular, und dein Code liest sie aus `config`.\n\nAuf dieser Seite baust du **Greeting**, das den empfangenen Namen mit einem Gruß aus seinen Einstellungen begrüßt.\n\n## Standardwerte\n\n`exports.config` enthält die Standardkonfiguration. Jeder neue Node startet mit einer Kopie davon:\n\n```js\nexports.config = { greeting: 'Hello', uppercase: false };\n```\n\n## Die Konfiguration lesen\n\n`exports.make` erhält die Konfiguration des Nodes als `config`. Es bleibt während des ganzen Lebens des Nodes dasselbe Objekt, und Flow aktualisiert es, wenn der Nutzer die Einstellungen speichert:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\tvar text = config.greeting + ', ' + $.data + '!';\n\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t};\n\n};\n```\n\n## Auf Änderungen reagieren\n\nFlow ruft `instance.configure` auf, nachdem der Nutzer die Einstellungen geändert hat. Bereite dort vor, was von der Konfiguration abhängt, und ruf es am Ende von `make` einmal selbst für die ersten Werte auf:\n\n```js\nvar greeting;\n\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.configure();\n```\n\n`instance.replace` setzt Variablen ein, siehe [Variablen in Komponenten](../variables/).\n\n## Das Einstellungsformular\n\nSchreib das Formular in `<settings>`. Ein Feld, dessen `path` mit `?.` beginnt, bearbeitet diesen Schlüssel der Konfiguration:\n\n```html\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n```\n\nDer Nutzer öffnet das Formular, indem er mit der rechten Maustaste auf den Node klickt und **Configure** (Konfigurieren) wählt. Siehe [Einen Node konfigurieren](/flow/11-1/guides/configure-nodes/).\n\n![Das Einstellungsfenster eines Greeting-Nodes](/files/JapyVl5GE61f.webp)\n\nDie Felder sind UI-Komponenten von Total.js. Diese Optionen von `ui-component name=\"input\"` kommen in den offiziellen Komponenten vor:\n\n| `config`-Option | Was sie bewirkt |\n|---|---|\n| `required:1` | Das Feld muss einen Wert haben, bevor der Nutzer anwenden kann. |\n| `type:checkbox` | Eine Checkbox für einen Wert `true` oder `false`. |\n| `type:number` | Eine Zahl. Füg `min:0` für einen kleinsten Wert hinzu. |\n| `type:multiline` | Ein Textbereich. Füg `height:250` für seine Höhe hinzu. |\n| `dirsource:a\\|A,b\\|B` | Eine Liste zur Auswahl: der Wert, ein senkrechter Strich und die Beschriftung. |\n| `placeholder:text` | Ein Hinweis im leeren Feld. |\n| `monospace:1` | Zeigt den Wert in einer Schrift mit fester Zeichenbreite. |\n\nDas Einstellungsfenster ist 800 Pixel breit. Für ein breiteres Formular setzt du `exports.meta = { settingswidth: 1200 };`.\n\n## Die Konfiguration auf dem Node anzeigen\n\n`$CONFIG` in `<body>` ist die Konfiguration des Nodes. So erscheint der Gruß unter dem Namen des Nodes:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\n## Die Konfiguration im Code ändern\n\n`instance.reconfigure` ändert Schlüssel der Konfiguration, ruft `instance.configure` auf, zeigt die neuen Werte im Designer und speichert sie:\n\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n## Die ganze Komponente\n\n```html\n<script total>\n\n\texports.id = 'greeting';\n\texports.name = 'Greeting';\n\texports.icon = 'ti ti-comment';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { greeting: 'Hello', uppercase: false };\n\texports.inputs = [{ id: 'input', name: 'Name' }];\n\texports.outputs = [{ id: 'output', name: 'Greeting' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar greeting;\n\n\t\tinstance.configure = function() {\n\t\t\tgreeting = instance.replace(config.greeting);\n\t\t};\n\n\t\t// FlowStream variables and global variables have changed\n\t\tinstance.variables = instance.variables2 = function() {\n\t\t\tinstance.configure();\n\t\t};\n\n\t\tinstance.message = function($) {\n\t\t\tvar text = greeting + ', ' + $.data + '!';\n\t\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; font-size: 12px; }\n</style>\n\n<readme>\nGreets the incoming name. The greeting can contain variables, for example `{welcome}`.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\nWenn **Greeting** auf `{welcome}` steht und die FlowStream-Variable `welcome` auf `Good morning`, lässt ein **Trigger**, der `Jane` sendet, **Print** den Text `Good morning, Jane!` anzeigen. Mit eingeschaltetem **Write in capital letters** (in Großbuchstaben schreiben) zeigt es `GOOD MORNING, JANE!`.\n\n![Trigger, Greeting und Print, mit Good morning, Jane! im Print-Node](/files/JapyVn5HE60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVp5IE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/configuration/","project":"flow","version":"11-1","section":"development","language":"es","title":"Configuración y formulario de ajustes","summary":"Da a un componente ajustes por defecto y un formulario de ajustes, y reacciona cuando el usuario los cambia.","markdown":"---\ntitle: \"Configuración y formulario de ajustes\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/configuration/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Configuración y formulario de ajustes\n\n> Da a un componente ajustes por defecto y un formulario de ajustes, y reacciona cuando el usuario los cambia.\n\nCada nodo tiene su propia configuración. Tú defines los valores por defecto en el componente, el usuario los cambia en el formulario de ajustes y tu código los lee de `config`.\n\nEn esta página construyes **Greeting**, que saluda al nombre que recibe con un saludo tomado de sus ajustes.\n\n## Valores por defecto\n\n`exports.config` contiene la configuración por defecto. Cada nodo nuevo empieza con una copia de ella:\n\n```js\nexports.config = { greeting: 'Hello', uppercase: false };\n```\n\n## Lee la configuración\n\n`exports.make` recibe la configuración del nodo como `config`. Es el mismo objeto durante toda la vida del nodo, y Flow lo actualiza cuando el usuario guarda los ajustes:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\tvar text = config.greeting + ', ' + $.data + '!';\n\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t};\n\n};\n```\n\n## Reacciona a los cambios\n\nFlow llama a `instance.configure` después de que el usuario cambie los ajustes. Úsalo para preparar lo que depende de la configuración, y llámalo tú una vez al final de `make` para los primeros valores:\n\n```js\nvar greeting;\n\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.configure();\n```\n\n`instance.replace` rellena las variables; consulta [Variables en los componentes](../variables/).\n\n## El formulario de ajustes\n\nEscribe el formulario en `<settings>`. Un campo cuyo `path` empieza por `?.` edita esa clave de la configuración:\n\n```html\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n```\n\nEl usuario abre el formulario haciendo clic derecho en el nodo y seleccionando **Configure** (configurar). Consulta [Configurar un nodo](/flow/11-1/guides/configure-nodes/).\n\n![La ventana de ajustes de un nodo Greeting](/files/JapyVl5GE61f.webp)\n\nLos campos son componentes de interfaz de Total.js. Estas opciones de `ui-component name=\"input\"` aparecen en los componentes oficiales:\n\n| Opción de `config` | Qué hace |\n|---|---|\n| `required:1` | El campo debe tener un valor antes de que el usuario pueda aplicar. |\n| `type:checkbox` | Una casilla para un valor `true` o `false`. |\n| `type:number` | Un número. Añade `min:0` para un valor mínimo. |\n| `type:multiline` | Un área de texto. Añade `height:250` para su altura. |\n| `dirsource:a\\|A,b\\|B` | Una lista para elegir: el valor, una barra y la etiqueta. |\n| `placeholder:text` | Una pista dentro del campo vacío. |\n| `monospace:1` | Muestra el valor en una fuente de ancho fijo. |\n\nLa ventana de ajustes mide 800 píxeles de ancho. Para un formulario más ancho, define `exports.meta = { settingswidth: 1200 };`.\n\n## Muestra la configuración en el nodo\n\n`$CONFIG` en `<body>` es la configuración del nodo. Esto muestra el saludo debajo del nombre del nodo:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\n## Cambia la configuración desde el código\n\n`instance.reconfigure` cambia claves de la configuración, llama a `instance.configure`, muestra los valores nuevos en el diseñador y los guarda:\n\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n## El componente completo\n\n```html\n<script total>\n\n\texports.id = 'greeting';\n\texports.name = 'Greeting';\n\texports.icon = 'ti ti-comment';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { greeting: 'Hello', uppercase: false };\n\texports.inputs = [{ id: 'input', name: 'Name' }];\n\texports.outputs = [{ id: 'output', name: 'Greeting' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar greeting;\n\n\t\tinstance.configure = function() {\n\t\t\tgreeting = instance.replace(config.greeting);\n\t\t};\n\n\t\t// FlowStream variables and global variables have changed\n\t\tinstance.variables = instance.variables2 = function() {\n\t\t\tinstance.configure();\n\t\t};\n\n\t\tinstance.message = function($) {\n\t\t\tvar text = greeting + ', ' + $.data + '!';\n\t\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; font-size: 12px; }\n</style>\n\n<readme>\nGreets the incoming name. The greeting can contain variables, for example `{welcome}`.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\nCon **Greeting** puesto a `{welcome}` y la variable del FlowStream `welcome` puesta a `Good morning`, un **Trigger** que envía `Jane` hace que **Print** muestre `Good morning, Jane!`. Con **Write in capital letters** (escribir en mayúsculas) activado, muestra `GOOD MORNING, JANE!`.\n\n![Trigger, Greeting y Print, con Good morning, Jane! en el nodo Print](/files/JapyVn5HE60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVp5IE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/configuration/","project":"flow","version":"11-1","section":"development","language":"fr","title":"La configuration et le formulaire de réglages","summary":"Donne à un composant des réglages par défaut et un formulaire de réglages, et réagis quand l'utilisateur les modifie.","markdown":"---\ntitle: \"La configuration et le formulaire de réglages\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/configuration/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# La configuration et le formulaire de réglages\n\n> Donne à un composant des réglages par défaut et un formulaire de réglages, et réagis quand l'utilisateur les modifie.\n\nChaque nœud a sa propre configuration. Tu définis les valeurs par défaut dans le composant, l'utilisateur les modifie dans le formulaire de réglages, et ton code les lit dans `config`.\n\nCette page construit **Greeting**, qui salue le nom qu'il reçoit avec une salutation tirée de ses réglages.\n\n## Valeurs par défaut\n\n`exports.config` contient la configuration par défaut. Chaque nouveau nœud démarre avec une copie de celle-ci :\n\n```js\nexports.config = { greeting: 'Hello', uppercase: false };\n```\n\n## Lire la configuration\n\n`exports.make` reçoit la configuration du nœud sous le nom `config`. C'est le même objet pendant toute la vie du nœud, et Flow le met à jour quand l'utilisateur enregistre les réglages :\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\tvar text = config.greeting + ', ' + $.data + '!';\n\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t};\n\n};\n```\n\n## Réagir aux changements\n\nFlow appelle `instance.configure` après que l'utilisateur a modifié les réglages. Utilise-la pour préparer ce qui dépend de la configuration, et appelle-la toi-même une fois à la fin de `make` pour les premières valeurs :\n\n```js\nvar greeting;\n\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.configure();\n```\n\n`instance.replace` remplit les variables, consulte [Les variables dans les composants](../variables/).\n\n## Le formulaire de réglages\n\nÉcris le formulaire dans `<settings>`. Un champ dont le `path` commence par `?.` modifie cette clé de la configuration :\n\n```html\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n```\n\nL'utilisateur ouvre le formulaire en faisant un clic droit sur le nœud et en sélectionnant **Configure**. Consulte [Configurer un nœud](/flow/11-1/guides/configure-nodes/).\n\n![La fenêtre de réglages d'un nœud Greeting](/files/JapyVl5GE61f.webp)\n\nLes champs sont des composants UI de Total.js. Ces options de `ui-component name=\"input\"` apparaissent dans les composants officiels :\n\n| Option de `config` | Ce qu'elle fait |\n|---|---|\n| `required:1` | Le champ doit avoir une valeur avant que l'utilisateur puisse appliquer. |\n| `type:checkbox` | Une case à cocher pour une valeur `true` ou `false`. |\n| `type:number` | Un nombre. Ajoute `min:0` pour une valeur minimale. |\n| `type:multiline` | Une zone de texte. Ajoute `height:250` pour sa hauteur. |\n| `dirsource:a\\|A,b\\|B` | Une liste de choix : la valeur, une barre et le libellé. |\n| `placeholder:text` | Une indication dans le champ vide. |\n| `monospace:1` | Affiche la valeur dans une police à chasse fixe. |\n\nLa fenêtre de réglages fait 800 pixels de large. Pour un formulaire plus large, définis `exports.meta = { settingswidth: 1200 };`.\n\n## Afficher la configuration sur le nœud\n\n`$CONFIG` dans `<body>` est la configuration du nœud. Ceci affiche la salutation sous le nom du nœud :\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\n## Modifier la configuration depuis le code\n\n`instance.reconfigure` modifie des clés de la configuration, appelle `instance.configure`, affiche les nouvelles valeurs dans le designer et les enregistre :\n\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n## Le composant complet\n\n```html\n<script total>\n\n\texports.id = 'greeting';\n\texports.name = 'Greeting';\n\texports.icon = 'ti ti-comment';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { greeting: 'Hello', uppercase: false };\n\texports.inputs = [{ id: 'input', name: 'Name' }];\n\texports.outputs = [{ id: 'output', name: 'Greeting' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar greeting;\n\n\t\tinstance.configure = function() {\n\t\t\tgreeting = instance.replace(config.greeting);\n\t\t};\n\n\t\t// FlowStream variables and global variables have changed\n\t\tinstance.variables = instance.variables2 = function() {\n\t\t\tinstance.configure();\n\t\t};\n\n\t\tinstance.message = function($) {\n\t\t\tvar text = greeting + ', ' + $.data + '!';\n\t\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; font-size: 12px; }\n</style>\n\n<readme>\nGreets the incoming name. The greeting can contain variables, for example `{welcome}`.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\nAvec **Greeting** réglé sur `{welcome}` et la variable de FlowStream `welcome` réglée sur `Good morning`, un **Trigger** qui envoie `Jane` fait afficher `Good morning, Jane!` à **Print**. Avec **Write in capital letters** activé, il affiche `GOOD MORNING, JANE!`.\n\n![Trigger, Greeting et Print, avec Good morning, Jane! dans le nœud Print](/files/JapyVn5HE60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVp5IE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/configuration/","project":"flow","version":"11-1","section":"development","language":"it","title":"Configurazione e modulo delle impostazioni","summary":"Dai a un componente delle impostazioni predefinite e un modulo delle impostazioni, e reagisci quando l'utente le modifica.","markdown":"---\ntitle: Configurazione e modulo delle impostazioni\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/configuration/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Configurazione e modulo delle impostazioni\n\n> Dai a un componente delle impostazioni predefinite e un modulo delle impostazioni, e reagisci quando l'utente le modifica.\n\nOgni nodo ha la propria configurazione. Tu imposti i valori predefiniti nel componente, l'utente li modifica nel modulo delle impostazioni e il tuo codice li legge da `config`.\n\nQuesta pagina costruisce **Greeting**, che saluta il nome che riceve con un saluto preso dalle sue impostazioni.\n\n## Valori predefiniti\n\n`exports.config` contiene la configurazione predefinita. Ogni nuovo nodo parte da una sua copia:\n\n```js\nexports.config = { greeting: 'Hello', uppercase: false };\n```\n\n## Leggere la configurazione\n\n`exports.make` riceve la configurazione del nodo come `config`. È lo stesso oggetto per tutta la vita del nodo, e Flow lo aggiorna quando l'utente salva le impostazioni:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\tvar text = config.greeting + ', ' + $.data + '!';\n\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t};\n\n};\n```\n\n## Reagire alle modifiche\n\nFlow chiama `instance.configure` dopo che l'utente ha modificato le impostazioni. Usalo per preparare ciò che dipende dalla configurazione, e chiamalo tu stesso una volta alla fine di `make` per i primi valori:\n\n```js\nvar greeting;\n\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.configure();\n```\n\n`instance.replace` inserisce le variabili, vedi [Variabili nei componenti](../variables/).\n\n## Il modulo delle impostazioni\n\nScrivi il modulo in `<settings>`. Un campo il cui `path` inizia con `?.` modifica quella chiave della configurazione:\n\n```html\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n```\n\nL'utente apre il modulo facendo clic con il tasto destro sul nodo e selezionando **Configure** (Configura). Vedi [Configurare un nodo](/flow/11-1/guides/configure-nodes/).\n\n![La finestra delle impostazioni di un nodo Greeting](/files/JapyVl5GE61f.webp)\n\nI campi sono componenti UI di Total.js. Queste opzioni di `ui-component name=\"input\"` compaiono nei componenti ufficiali:\n\n| Opzione `config` | Cosa fa |\n|---|---|\n| `required:1` | Il campo deve avere un valore prima che l'utente possa applicare. |\n| `type:checkbox` | Una casella di controllo per un valore `true` o `false`. |\n| `type:number` | Un numero. Aggiungi `min:0` per un valore minimo. |\n| `type:multiline` | Un'area di testo. Aggiungi `height:250` per la sua altezza. |\n| `dirsource:a\\|A,b\\|B` | Un elenco tra cui scegliere: il valore, una barra verticale e l'etichetta. |\n| `placeholder:text` | Un suggerimento dentro il campo vuoto. |\n| `monospace:1` | Mostra il valore con un carattere a larghezza fissa. |\n\nLa finestra delle impostazioni è larga 800 pixel. Per un modulo più largo, imposta `exports.meta = { settingswidth: 1200 };`.\n\n## Mostrare la configurazione sul nodo\n\n`$CONFIG` in `<body>` è la configurazione del nodo. Questo codice mostra il saluto sotto il nome del nodo:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\n## Modificare la configurazione dal codice\n\n`instance.reconfigure` modifica alcune chiavi della configurazione, chiama `instance.configure`, mostra i nuovi valori nel designer e li salva:\n\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n## Il componente completo\n\n```html\n<script total>\n\n\texports.id = 'greeting';\n\texports.name = 'Greeting';\n\texports.icon = 'ti ti-comment';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { greeting: 'Hello', uppercase: false };\n\texports.inputs = [{ id: 'input', name: 'Name' }];\n\texports.outputs = [{ id: 'output', name: 'Greeting' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar greeting;\n\n\t\tinstance.configure = function() {\n\t\t\tgreeting = instance.replace(config.greeting);\n\t\t};\n\n\t\t// FlowStream variables and global variables have changed\n\t\tinstance.variables = instance.variables2 = function() {\n\t\t\tinstance.configure();\n\t\t};\n\n\t\tinstance.message = function($) {\n\t\t\tvar text = greeting + ', ' + $.data + '!';\n\t\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; font-size: 12px; }\n</style>\n\n<readme>\nGreets the incoming name. The greeting can contain variables, for example `{welcome}`.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\nCon **Greeting** impostato a `{welcome}` e la variabile del FlowStream `welcome` impostata a `Good morning`, un **Trigger** che invia `Jane` fa mostrare a **Print** `Good morning, Jane!`. Con **Write in capital letters** (Scrivi in maiuscolo) attivo, mostra `GOOD MORNING, JANE!`.\n\n![Trigger, Greeting e Print, con Good morning, Jane! nel nodo Print](/files/JapyVn5HE60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVp5IE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/configuration/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Konfigurácia a formulár nastavení","summary":"Daj komponentu predvolené nastavenia a formulár nastavení a reaguj, keď ich používateľ zmení.","markdown":"---\ntitle: \"Konfigurácia a formulár nastavení\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/configuration/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Konfigurácia a formulár nastavení\n\n> Daj komponentu predvolené nastavenia a formulár nastavení a reaguj, keď ich používateľ zmení.\n\nKaždý uzol má vlastnú konfiguráciu. Predvolené hodnoty nastavíš v komponente, používateľ ich mení vo formulári nastavení a tvoj kód ich číta z `config`.\n\nNa tejto stránke vytvoríš **Greeting**, ktorý pozdraví prijaté meno pozdravom zo svojich nastavení.\n\n## Predvolené hodnoty\n\n`exports.config` obsahuje predvolenú konfiguráciu. Každý nový uzol začína s jej kópiou:\n\n```js\nexports.config = { greeting: 'Hello', uppercase: false };\n```\n\n## Čítaj konfiguráciu\n\n`exports.make` dostane konfiguráciu uzla ako `config`. Je to ten istý objekt počas celého života uzla a Flow ho aktualizuje, keď používateľ uloží nastavenia:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\tvar text = config.greeting + ', ' + $.data + '!';\n\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t};\n\n};\n```\n\n## Reaguj na zmeny\n\nFlow zavolá `instance.configure` potom, čo používateľ zmení nastavenia. Použi ju na prípravu toho, čo závisí od konfigurácie, a pre prvé hodnoty ju zavolaj sám raz na konci `make`:\n\n```js\nvar greeting;\n\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.configure();\n```\n\n`instance.replace` dopĺňa premenné, pozri [Premenné v komponentoch](../variables/).\n\n## Formulár nastavení\n\nFormulár napíš do `<settings>`. Pole, ktorého `path` začína na `?.`, upravuje daný kľúč konfigurácie:\n\n```html\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n```\n\nPoužívateľ otvorí formulár tak, že klikne pravým tlačidlom na uzol a vyberie **Configure** (konfigurovať). Pozri [Konfigurácia uzla](/flow/11-1/guides/configure-nodes/).\n\n![Okno nastavení uzla Greeting](/files/JapyVl5GE61f.webp)\n\nPolia sú UI komponenty Total.js. Tieto možnosti `ui-component name=\"input\"` sa objavujú v oficiálnych komponentoch:\n\n| Možnosť `config` | Čo robí |\n|---|---|\n| `required:1` | Pole musí mať hodnotu, kým môže používateľ nastavenia použiť. |\n| `type:checkbox` | Začiarkavacie políčko pre hodnotu `true` alebo `false`. |\n| `type:number` | Číslo. Pridaj `min:0` pre najnižšiu hodnotu. |\n| `type:multiline` | Textová oblasť. Pridaj `height:250` pre jej výšku. |\n| `dirsource:a\\|A,b\\|B` | Zoznam na výber: hodnota, zvislá čiara a popis. |\n| `placeholder:text` | Nápoveda v prázdnom poli. |\n| `monospace:1` | Zobrazí hodnotu písmom s pevnou šírkou. |\n\nOkno nastavení má šírku 800 pixelov. Pre širší formulár nastav `exports.meta = { settingswidth: 1200 };`.\n\n## Zobraz konfiguráciu na uzle\n\n`$CONFIG` v `<body>` je konfigurácia uzla. Toto zobrazí pozdrav pod názvom uzla:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\n## Zmeň konfiguráciu z kódu\n\n`instance.reconfigure` zmení kľúče konfigurácie, zavolá `instance.configure`, zobrazí nové hodnoty v dizajnéri a uloží ich:\n\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n## Celý komponent\n\n```html\n<script total>\n\n\texports.id = 'greeting';\n\texports.name = 'Greeting';\n\texports.icon = 'ti ti-comment';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { greeting: 'Hello', uppercase: false };\n\texports.inputs = [{ id: 'input', name: 'Name' }];\n\texports.outputs = [{ id: 'output', name: 'Greeting' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar greeting;\n\n\t\tinstance.configure = function() {\n\t\t\tgreeting = instance.replace(config.greeting);\n\t\t};\n\n\t\t// FlowStream variables and global variables have changed\n\t\tinstance.variables = instance.variables2 = function() {\n\t\t\tinstance.configure();\n\t\t};\n\n\t\tinstance.message = function($) {\n\t\t\tvar text = greeting + ', ' + $.data + '!';\n\t\t\t$.send('output', config.uppercase ? text.toUpperCase() : text);\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; font-size: 12px; }\n</style>\n\n<readme>\nGreets the incoming name. The greeting can contain variables, for example `{welcome}`.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.greeting\" config=\"required:1\" class=\"m\">Greeting</ui-component>\n\t\t<div class=\"help m\">You can use variables, for example <code>{welcome}</code>.</div>\n\t\t<ui-component name=\"input\" path=\"?.uppercase\" config=\"type:checkbox\">Write in capital letters</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$CONFIG.greeting\" config=\"text\"></ui-bind>\n\t</footer>\n</body>\n```\n\nKeď je **Greeting** nastavený na `{welcome}` a premenná FlowStreamu `welcome` na `Good morning`, **Trigger**, ktorý pošle `Jane`, spôsobí, že **Print** zobrazí `Good morning, Jane!`. So zapnutým **Write in capital letters** (písať veľkými písmenami) zobrazí `GOOD MORNING, JANE!`.\n\n![Uzly Trigger, Greeting a Print, v uzle Print je Good morning, Jane!](/files/JapyVn5HE60f.webp)\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyXU76E61f","url":"https://totaljs.es/docs/flow/11-1/development/variables/","project":"flow","version":"11-1","section":"development","language":"en","title":"Variables in components","summary":"Read FlowStream variables and global variables in your component and react when they change.","markdown":"---\ntitle: Variables in components\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/variables/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Variables in components\n\n> Read FlowStream variables and global variables in your component and react when they change.\n\nUsers keep values such as addresses and names in variables, so they do not have to repeat them in every node. A FlowStream has its own variables, and Flow has global variables for all FlowStreams. See [Variables](/flow/11-1/guides/variables/).\n\n## Fill in variables\n\n`instance.replace(text)` replaces every `{key}` in the text with the value of that variable:\n\n```js\nvar greeting = instance.replace(config.greeting);\n// \"{welcome}\" becomes \"Good morning\" when the variable welcome is \"Good morning\"\n```\n\nFlow looks for the key in this order:\n\n1. The variables of the FlowStream.\n2. The global variables.\n3. The secrets of the FlowStream, which the **Secrets** component creates.\n4. `{hostname}`: the address of the FlowStream.\n5. The data you pass as the second argument, for example `instance.replace('{welcome}, {name}', { name: 'Jane' })`.\n\nA key that Flow cannot find stays in the text as it is, for example `{welcome}`.\n\nInside `instance.message`, `$.replace(text)` does the same, and reads the keys that are not variables from the message, for example `{data.name}` from `$.data.name`.\n\n## Read variables directly\n\nThe variables are objects on the FlowStream:\n\n```js\nvar a = instance.main.variables;    // variables of the FlowStream\nvar b = instance.main.variables2;   // global variables\n```\n\n## React when variables change\n\nFlow calls these functions of every node when the user saves variables:\n\n| Function | When |\n|---|---|\n| `instance.variables(variables)` | The variables of the FlowStream have changed. |\n| `instance.variables2(variables)` | The global variables have changed. |\n\nPrepare your values again in them. **Greeting** does it like this:\n\n```js\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.variables = instance.variables2 = function() {\n\tinstance.configure();\n};\n```\n\nAfter the user changes the FlowStream variable `welcome` from `Good morning` to `Good evening`, the next greeting is `Good evening, Jane!`, with no change to the node.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXU76E61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/variables/","project":"flow","version":"11-1","section":"development","language":"de","title":"Variablen in Komponenten","summary":"Lies FlowStream-Variablen und globale Variablen in deiner Komponente und reagiere, wenn sie sich ändern.","markdown":"---\ntitle: Variablen in Komponenten\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/variables/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Variablen in Komponenten\n\n> Lies FlowStream-Variablen und globale Variablen in deiner Komponente und reagiere, wenn sie sich ändern.\n\nNutzer bewahren Werte wie Adressen und Namen in Variablen auf, damit sie sie nicht in jedem Node wiederholen müssen. Ein FlowStream hat seine eigenen Variablen, und Flow hat globale Variablen für alle FlowStreams. Siehe [Variablen](/flow/11-1/guides/variables/).\n\n## Variablen einsetzen\n\n`instance.replace(text)` ersetzt jeden `{key}` im Text durch den Wert dieser Variable:\n\n```js\nvar greeting = instance.replace(config.greeting);\n// \"{welcome}\" becomes \"Good morning\" when the variable welcome is \"Good morning\"\n```\n\nFlow sucht den Schlüssel in dieser Reihenfolge:\n\n1. Die Variablen des FlowStreams.\n2. Die globalen Variablen.\n3. Die Secrets des FlowStreams, die die Komponente **Secrets** anlegt.\n4. `{hostname}`: die Adresse des FlowStreams.\n5. Die Daten, die du als zweites Argument übergibst, zum Beispiel `instance.replace('{welcome}, {name}', { name: 'Jane' })`.\n\nEin Schlüssel, den Flow nicht findet, bleibt unverändert im Text stehen, zum Beispiel `{welcome}`.\n\nInnerhalb von `instance.message` macht `$.replace(text)` dasselbe und liest die Schlüssel, die keine Variablen sind, aus der Nachricht, zum Beispiel `{data.name}` aus `$.data.name`.\n\n## Variablen direkt lesen\n\nDie Variablen sind Objekte am FlowStream:\n\n```js\nvar a = instance.main.variables;    // variables of the FlowStream\nvar b = instance.main.variables2;   // global variables\n```\n\n## Reagieren, wenn sich Variablen ändern\n\nFlow ruft diese Funktionen jedes Nodes auf, wenn der Nutzer Variablen speichert:\n\n| Funktion | Wann |\n|---|---|\n| `instance.variables(variables)` | Die Variablen des FlowStreams haben sich geändert. |\n| `instance.variables2(variables)` | Die globalen Variablen haben sich geändert. |\n\nBereite deine Werte darin neu vor. **Greeting** macht es so:\n\n```js\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.variables = instance.variables2 = function() {\n\tinstance.configure();\n};\n```\n\nNachdem der Nutzer die FlowStream-Variable `welcome` von `Good morning` auf `Good evening` geändert hat, lautet der nächste Gruß `Good evening, Jane!`, ohne dass sich am Node etwas ändert.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXU76E61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/variables/","project":"flow","version":"11-1","section":"development","language":"es","title":"Variables en los componentes","summary":"Lee las variables del FlowStream y las variables globales en tu componente, y reacciona cuando cambian.","markdown":"---\ntitle: Variables en los componentes\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/variables/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Variables en los componentes\n\n> Lee las variables del FlowStream y las variables globales en tu componente, y reacciona cuando cambian.\n\nLos usuarios guardan valores como direcciones y nombres en variables, para no tener que repetirlos en cada nodo. Un FlowStream tiene sus propias variables, y Flow tiene variables globales para todos los FlowStreams. Consulta [Variables](/flow/11-1/guides/variables/).\n\n## Rellena las variables\n\n`instance.replace(text)` sustituye cada `{key}` del texto por el valor de esa variable:\n\n```js\nvar greeting = instance.replace(config.greeting);\n// \"{welcome}\" becomes \"Good morning\" when the variable welcome is \"Good morning\"\n```\n\nFlow busca la clave en este orden:\n\n1. Las variables del FlowStream.\n2. Las variables globales.\n3. Los secretos del FlowStream, que crea el componente **Secrets**.\n4. `{hostname}`: la dirección del FlowStream.\n5. Los datos que pasas como segundo argumento, por ejemplo `instance.replace('{welcome}, {name}', { name: 'Jane' })`.\n\nUna clave que Flow no encuentra se queda en el texto tal cual, por ejemplo `{welcome}`.\n\nDentro de `instance.message`, `$.replace(text)` hace lo mismo, y lee del mensaje las claves que no son variables, por ejemplo `{data.name}` de `$.data.name`.\n\n## Lee las variables directamente\n\nLas variables son objetos del FlowStream:\n\n```js\nvar a = instance.main.variables;    // variables of the FlowStream\nvar b = instance.main.variables2;   // global variables\n```\n\n## Reacciona cuando cambian las variables\n\nFlow llama a estas funciones de cada nodo cuando el usuario guarda las variables:\n\n| Función | Cuándo |\n|---|---|\n| `instance.variables(variables)` | Han cambiado las variables del FlowStream. |\n| `instance.variables2(variables)` | Han cambiado las variables globales. |\n\nVuelve a preparar tus valores en ellas. **Greeting** lo hace así:\n\n```js\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.variables = instance.variables2 = function() {\n\tinstance.configure();\n};\n```\n\nDespués de que el usuario cambie la variable del FlowStream `welcome` de `Good morning` a `Good evening`, el siguiente saludo es `Good evening, Jane!`, sin ningún cambio en el nodo.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXU76E61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/variables/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Les variables dans les composants","summary":"Lis les variables du FlowStream et les variables globales dans ton composant, et réagis quand elles changent.","markdown":"---\ntitle: Les variables dans les composants\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/variables/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Les variables dans les composants\n\n> Lis les variables du FlowStream et les variables globales dans ton composant, et réagis quand elles changent.\n\nLes utilisateurs gardent des valeurs comme des adresses et des noms dans des variables, pour ne pas avoir à les répéter dans chaque nœud. Un FlowStream a ses propres variables, et Flow a des variables globales pour tous les FlowStreams. Consulte [Variables](/flow/11-1/guides/variables/).\n\n## Remplir les variables\n\n`instance.replace(text)` remplace chaque `{key}` du texte par la valeur de cette variable :\n\n```js\nvar greeting = instance.replace(config.greeting);\n// \"{welcome}\" becomes \"Good morning\" when the variable welcome is \"Good morning\"\n```\n\nFlow cherche la clé dans cet ordre :\n\n1. Les variables du FlowStream.\n2. Les variables globales.\n3. Les secrets du FlowStream, que crée le composant **Secrets**.\n4. `{hostname}` : l'adresse du FlowStream.\n5. Les données que tu passes en second argument, par exemple `instance.replace('{welcome}, {name}', { name: 'Jane' })`.\n\nUne clé que Flow ne trouve pas reste telle quelle dans le texte, par exemple `{welcome}`.\n\nDans `instance.message`, `$.replace(text)` fait la même chose, et lit dans le message les clés qui ne sont pas des variables, par exemple `{data.name}` à partir de `$.data.name`.\n\n## Lire les variables directement\n\nLes variables sont des objets du FlowStream :\n\n```js\nvar a = instance.main.variables;    // variables of the FlowStream\nvar b = instance.main.variables2;   // global variables\n```\n\n## Réagir quand les variables changent\n\nFlow appelle ces fonctions de chaque nœud quand l'utilisateur enregistre des variables :\n\n| Fonction | Quand |\n|---|---|\n| `instance.variables(variables)` | Les variables du FlowStream ont changé. |\n| `instance.variables2(variables)` | Les variables globales ont changé. |\n\nPrépare de nouveau tes valeurs dans ces fonctions. **Greeting** le fait ainsi :\n\n```js\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.variables = instance.variables2 = function() {\n\tinstance.configure();\n};\n```\n\nAprès que l'utilisateur a changé la variable de FlowStream `welcome` de `Good morning` en `Good evening`, la salutation suivante est `Good evening, Jane!`, sans aucune modification du nœud.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXU76E61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/variables/","project":"flow","version":"11-1","section":"development","language":"it","title":"Variabili nei componenti","summary":"Leggi le variabili del FlowStream e le variabili globali nel tuo componente e reagisci quando cambiano.","markdown":"---\ntitle: Variabili nei componenti\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/variables/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Variabili nei componenti\n\n> Leggi le variabili del FlowStream e le variabili globali nel tuo componente e reagisci quando cambiano.\n\nGli utenti tengono valori come indirizzi e nomi nelle variabili, così non devono ripeterli in ogni nodo. Un FlowStream ha le proprie variabili, e Flow ha variabili globali per tutti i FlowStream. Vedi [Variabili](/flow/11-1/guides/variables/).\n\n## Inserire le variabili\n\n`instance.replace(text)` sostituisce ogni `{key}` nel testo con il valore di quella variabile:\n\n```js\nvar greeting = instance.replace(config.greeting);\n// \"{welcome}\" becomes \"Good morning\" when the variable welcome is \"Good morning\"\n```\n\nFlow cerca la chiave in quest'ordine:\n\n1. Le variabili del FlowStream.\n2. Le variabili globali.\n3. I segreti del FlowStream, che crea il componente **Secrets**.\n4. `{hostname}`: l'indirizzo del FlowStream.\n5. I dati che passi come secondo argomento, per esempio `instance.replace('{welcome}, {name}', { name: 'Jane' })`.\n\nUna chiave che Flow non trova resta nel testo così com'è, per esempio `{welcome}`.\n\nDentro `instance.message`, `$.replace(text)` fa la stessa cosa, e legge dal messaggio le chiavi che non sono variabili, per esempio `{data.name}` da `$.data.name`.\n\n## Leggere direttamente le variabili\n\nLe variabili sono oggetti del FlowStream:\n\n```js\nvar a = instance.main.variables;    // variables of the FlowStream\nvar b = instance.main.variables2;   // global variables\n```\n\n## Reagire quando le variabili cambiano\n\nFlow chiama queste funzioni di ogni nodo quando l'utente salva le variabili:\n\n| Funzione | Quando |\n|---|---|\n| `instance.variables(variables)` | Le variabili del FlowStream sono cambiate. |\n| `instance.variables2(variables)` | Le variabili globali sono cambiate. |\n\nPrepara di nuovo i tuoi valori al loro interno. **Greeting** lo fa così:\n\n```js\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.variables = instance.variables2 = function() {\n\tinstance.configure();\n};\n```\n\nDopo che l'utente ha cambiato la variabile del FlowStream `welcome` da `Good morning` a `Good evening`, il saluto successivo è `Good evening, Jane!`, senza alcuna modifica al nodo.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXU76E61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/variables/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Premenné v komponentoch","summary":"Čítaj vo svojom komponente premenné FlowStreamu a globálne premenné a reaguj, keď sa zmenia.","markdown":"---\ntitle: \"Premenné v komponentoch\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/variables/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Premenné v komponentoch\n\n> Čítaj vo svojom komponente premenné FlowStreamu a globálne premenné a reaguj, keď sa zmenia.\n\nPoužívatelia uchovávajú hodnoty, napríklad adresy a mená, v premenných, aby ich nemuseli opakovať v každom uzle. FlowStream má vlastné premenné a Flow má globálne premenné pre všetky FlowStreamy. Pozri [Premenné](/flow/11-1/guides/variables/).\n\n## Dopĺňaj premenné\n\n`instance.replace(text)` nahradí každé `{key}` v texte hodnotou danej premennej:\n\n```js\nvar greeting = instance.replace(config.greeting);\n// \"{welcome}\" becomes \"Good morning\" when the variable welcome is \"Good morning\"\n```\n\nFlow hľadá kľúč v tomto poradí:\n\n1. Premenné FlowStreamu.\n2. Globálne premenné.\n3. Tajomstvá FlowStreamu, ktoré vytvára komponent **Secrets**.\n4. `{hostname}`: adresa FlowStreamu.\n5. Dáta, ktoré odovzdáš ako druhý argument, napríklad `instance.replace('{welcome}, {name}', { name: 'Jane' })`.\n\nKľúč, ktorý Flow nenájde, zostane v texte tak, ako je, napríklad `{welcome}`.\n\nVnútri `instance.message` robí `$.replace(text)` to isté a kľúče, ktoré nie sú premennými, číta zo správy, napríklad `{data.name}` z `$.data.name`.\n\n## Čítaj premenné priamo\n\nPremenné sú objekty vo FlowStreame:\n\n```js\nvar a = instance.main.variables;    // variables of the FlowStream\nvar b = instance.main.variables2;   // global variables\n```\n\n## Reaguj, keď sa premenné zmenia\n\nKeď používateľ uloží premenné, Flow zavolá tieto funkcie každého uzla:\n\n| Funkcia | Kedy |\n|---|---|\n| `instance.variables(variables)` | Zmenili sa premenné FlowStreamu. |\n| `instance.variables2(variables)` | Zmenili sa globálne premenné. |\n\nV nich si znova priprav svoje hodnoty. **Greeting** to robí takto:\n\n```js\ninstance.configure = function() {\n\tgreeting = instance.replace(config.greeting);\n};\n\ninstance.variables = instance.variables2 = function() {\n\tinstance.configure();\n};\n```\n\nKeď používateľ zmení premennú FlowStreamu `welcome` z `Good morning` na `Good evening`, ďalší pozdrav je `Good evening, Jane!`, bez akejkoľvek zmeny uzla.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXP70E61f","url":"https://totaljs.es/docs/flow/11-1/development/status-and-look/","project":"flow","version":"11-1","section":"development","language":"en","title":"Status and the look of the node","summary":"Show live information on the node with a status, design its body and add a script that runs in the designer.","markdown":"---\ntitle: Status and the look of the node\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/status-and-look/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Status and the look of the node\n\n> Show live information on the node with a status, design its body and add a script that runs in the designer.\n\nA node can show live information on the canvas: a counter, the last value, the state of a connection. The server code sends a status, and the `<body>` of the component shows it.\n\nThis page builds **Tally**, which counts the messages it receives and turns the number red from a limit in its settings.\n\n![A Tally node that has counted 12 messages, with a Reset button](/files/JapyXN6zE60f.webp)\n\n## Send a status\n\n`instance.status(data)` sends any data to the designers that have the FlowStream open:\n\n```js\nvar status = { count: 0 };\n\ninstance.message = function($) {\n\tstatus.count++;\n\tinstance.status(status, 500);\n\t$.destroy();\n};\n\ninstance.status(status);\n```\n\nWith a second argument, Flow waits that many milliseconds and then sends the last status. A node that receives many messages sends one status instead of one for each message: twelve quick messages to **Tally** arrive in the designer as one status with `count` `12`.\n\nFlow keeps the last status of each node and sends it again when someone opens the designer.\n\n## Show the status in the body\n\n`$STATUS` in `<body>` is the last status of the node. Bind it with `ui-bind`:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n```\n\nThe `<header>` with the icon and the name is the title bar of the node. A `<button name=\"trigger\">` calls `instance.trigger` on the server, see [Triggers, timers and closing](../triggers-and-timers/).\n\nStyle the body in `<style>` with `.CLASS`, which applies only to the nodes of this component:\n\n```html\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n```\n\n## A script in the designer\n\nA `<script>` without `total` runs in the browser, in the designer. `TOUCH` gives you an object for each node of the component:\n\n```html\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n\n| Name | What it is |\n|---|---|\n| `exports.id` | The id of the node. |\n| `exports.config` | The configuration of the node. |\n| `exports.element` | The element of the node, as a jQuery object. |\n| `exports.status = function(status, isinit)` | Called when a new status arrives. |\n| `exports.configure = function(config, isinit)` | Called when the configuration changes. |\n| `exports.click = function(el)` | Called when the user clicks a `button` or an element with the class `clickable` in the node. |\n| `exports.trigger(data)` | Calls `instance.trigger` on the server with `data`. |\n| `exports.call(data, callback)` | Calls `instance.call` on the server and gets its answer. |\n\n`reinit` is `true` when the component has changed and the designer runs the script again.\n\n## Show progress\n\nFor long work, `instance.activity(key, name, progress)` adds a line to **Activities** in the designer toolbar:\n\n```js\ninstance.activity('import', 'Importing orders', 50);   // 50 %\ninstance.activity('import', 'Importing orders', 100);  // done, the line disappears\n```\n\n## The whole component\n\n```html\n<script total>\n\n\texports.id = 'tally';\n\texports.name = 'Tally';\n\texports.icon = 'ti ti-calculator';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { limit: 10 };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar status = { count: 0 };\n\n\t\tinstance.message = function($) {\n\t\t\tstatus.count++;\n\t\t\tinstance.status(status, 500);\n\t\t\t$.destroy();\n\t\t};\n\n\t\tinstance.trigger = function() {\n\t\t\tstatus.count = 0;\n\t\t\tinstance.status(status);\n\t\t};\n\n\t\tinstance.status(status);\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n\n<readme>\nCounts the incoming messages. Select **Reset** to start again from zero.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.limit\" config=\"type:number;min:1\" class=\"m\">Highlight from</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXP70E61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/status-and-look/","project":"flow","version":"11-1","section":"development","language":"de","title":"Status und das Aussehen des Nodes","summary":"Zeig mit einem Status Live-Informationen auf dem Node, gestalte seinen Body und füg ein Skript hinzu, das im Designer läuft.","markdown":"---\ntitle: Status und das Aussehen des Nodes\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/status-and-look/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Status und das Aussehen des Nodes\n\n> Zeig mit einem Status Live-Informationen auf dem Node, gestalte seinen Body und füg ein Skript hinzu, das im Designer läuft.\n\nEin Node kann Live-Informationen auf der Arbeitsfläche zeigen: einen Zähler, den letzten Wert, den Zustand einer Verbindung. Der Server-Code sendet einen Status, und der `<body>` der Komponente zeigt ihn an.\n\nAuf dieser Seite baust du **Tally**, das die empfangenen Nachrichten zählt und die Zahl ab einem Grenzwert aus seinen Einstellungen rot färbt.\n\n![Ein Tally-Node, der 12 Nachrichten gezählt hat, mit einem Reset-Button](/files/JapyXN6zE60f.webp)\n\n## Einen Status senden\n\n`instance.status(data)` sendet beliebige Daten an die Designer, in denen der FlowStream geöffnet ist:\n\n```js\nvar status = { count: 0 };\n\ninstance.message = function($) {\n\tstatus.count++;\n\tinstance.status(status, 500);\n\t$.destroy();\n};\n\ninstance.status(status);\n```\n\nMit einem zweiten Argument wartet Flow so viele Millisekunden und sendet dann den letzten Status. Ein Node, der viele Nachrichten empfängt, sendet so einen einzigen Status statt einem für jede Nachricht: Zwölf schnelle Nachrichten an **Tally** kommen im Designer als ein Status mit `count` `12` an.\n\nFlow behält den letzten Status jedes Nodes und sendet ihn erneut, wenn jemand den Designer öffnet.\n\n## Den Status im Body anzeigen\n\n`$STATUS` in `<body>` ist der letzte Status des Nodes. Binde ihn mit `ui-bind`:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n```\n\nDer `<header>` mit dem Icon und dem Namen ist die Titelleiste des Nodes. Ein `<button name=\"trigger\">` ruft `instance.trigger` auf dem Server auf, siehe [Trigger, Timer und Schließen](../triggers-and-timers/).\n\nGestalte den Body in `<style>` mit `.CLASS`, das nur für die Nodes dieser Komponente gilt:\n\n```html\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n```\n\n## Ein Skript im Designer\n\nEin `<script>` ohne `total` läuft im Browser, im Designer. `TOUCH` gibt dir für jeden Node der Komponente ein Objekt:\n\n```html\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n\n| Name | Was es ist |\n|---|---|\n| `exports.id` | Die ID des Nodes. |\n| `exports.config` | Die Konfiguration des Nodes. |\n| `exports.element` | Das Element des Nodes, als jQuery-Objekt. |\n| `exports.status = function(status, isinit)` | Wird aufgerufen, wenn ein neuer Status eintrifft. |\n| `exports.configure = function(config, isinit)` | Wird aufgerufen, wenn sich die Konfiguration ändert. |\n| `exports.click = function(el)` | Wird aufgerufen, wenn der Nutzer im Node auf einen `button` oder ein Element mit der Klasse `clickable` klickt. |\n| `exports.trigger(data)` | Ruft `instance.trigger` auf dem Server mit `data` auf. |\n| `exports.call(data, callback)` | Ruft `instance.call` auf dem Server auf und bekommt dessen Antwort. |\n\n`reinit` ist `true`, wenn sich die Komponente geändert hat und der Designer das Skript erneut ausführt.\n\n## Fortschritt anzeigen\n\nFür lange Arbeiten fügt `instance.activity(key, name, progress)` eine Zeile zu **Activities** (Aktivitäten) in der Werkzeugleiste des Designers hinzu:\n\n```js\ninstance.activity('import', 'Importing orders', 50);   // 50 %\ninstance.activity('import', 'Importing orders', 100);  // done, the line disappears\n```\n\n## Die ganze Komponente\n\n```html\n<script total>\n\n\texports.id = 'tally';\n\texports.name = 'Tally';\n\texports.icon = 'ti ti-calculator';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { limit: 10 };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar status = { count: 0 };\n\n\t\tinstance.message = function($) {\n\t\t\tstatus.count++;\n\t\t\tinstance.status(status, 500);\n\t\t\t$.destroy();\n\t\t};\n\n\t\tinstance.trigger = function() {\n\t\t\tstatus.count = 0;\n\t\t\tinstance.status(status);\n\t\t};\n\n\t\tinstance.status(status);\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n\n<readme>\nCounts the incoming messages. Select **Reset** to start again from zero.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.limit\" config=\"type:number;min:1\" class=\"m\">Highlight from</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXP70E61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/status-and-look/","project":"flow","version":"11-1","section":"development","language":"es","title":"Estado y aspecto del nodo","summary":"Muestra información en directo en el nodo con un estado, diseña su cuerpo y añade un script que se ejecuta en el diseñador.","markdown":"---\ntitle: Estado y aspecto del nodo\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/status-and-look/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Estado y aspecto del nodo\n\n> Muestra información en directo en el nodo con un estado, diseña su cuerpo y añade un script que se ejecuta en el diseñador.\n\nUn nodo puede mostrar información en directo en el lienzo: un contador, el último valor, el estado de una conexión. El código del servidor envía un estado, y el `<body>` del componente lo muestra.\n\nEn esta página construyes **Tally**, que cuenta los mensajes que recibe y pone el número en rojo a partir de un límite de sus ajustes.\n\n![Un nodo Tally que ha contado 12 mensajes, con un botón Reset](/files/JapyXN6zE60f.webp)\n\n## Envía un estado\n\n`instance.status(data)` envía cualquier dato a los diseñadores que tienen el FlowStream abierto:\n\n```js\nvar status = { count: 0 };\n\ninstance.message = function($) {\n\tstatus.count++;\n\tinstance.status(status, 500);\n\t$.destroy();\n};\n\ninstance.status(status);\n```\n\nCon un segundo argumento, Flow espera esos milisegundos y después envía el último estado. Un nodo que recibe muchos mensajes envía un solo estado en lugar de uno por mensaje: doce mensajes rápidos a **Tally** llegan al diseñador como un solo estado con `count` `12`.\n\nFlow guarda el último estado de cada nodo y lo vuelve a enviar cuando alguien abre el diseñador.\n\n## Muestra el estado en el cuerpo\n\n`$STATUS` en `<body>` es el último estado del nodo. Enlázalo con `ui-bind`:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n```\n\nEl `<header>` con el icono y el nombre es la barra de título del nodo. Un `<button name=\"trigger\">` llama a `instance.trigger` en el servidor; consulta [Triggers, temporizadores y cierre](../triggers-and-timers/).\n\nDa estilo al cuerpo en `<style>` con `.CLASS`, que se aplica solo a los nodos de este componente:\n\n```html\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n```\n\n## Un script en el diseñador\n\nUn `<script>` sin `total` se ejecuta en el navegador, en el diseñador. `TOUCH` te da un objeto por cada nodo del componente:\n\n```html\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n\n| Nombre | Qué es |\n|---|---|\n| `exports.id` | El id del nodo. |\n| `exports.config` | La configuración del nodo. |\n| `exports.element` | El elemento del nodo, como objeto jQuery. |\n| `exports.status = function(status, isinit)` | Se llama cuando llega un estado nuevo. |\n| `exports.configure = function(config, isinit)` | Se llama cuando cambia la configuración. |\n| `exports.click = function(el)` | Se llama cuando el usuario hace clic en un `button` o en un elemento con la clase `clickable` del nodo. |\n| `exports.trigger(data)` | Llama a `instance.trigger` en el servidor con `data`. |\n| `exports.call(data, callback)` | Llama a `instance.call` en el servidor y obtiene su respuesta. |\n\n`reinit` es `true` cuando el componente ha cambiado y el diseñador vuelve a ejecutar el script.\n\n## Muestra el progreso\n\nPara trabajos largos, `instance.activity(key, name, progress)` añade una línea a **Activities** (actividades) en la barra de herramientas del diseñador:\n\n```js\ninstance.activity('import', 'Importing orders', 50);   // 50 %\ninstance.activity('import', 'Importing orders', 100);  // done, the line disappears\n```\n\n## El componente completo\n\n```html\n<script total>\n\n\texports.id = 'tally';\n\texports.name = 'Tally';\n\texports.icon = 'ti ti-calculator';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { limit: 10 };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar status = { count: 0 };\n\n\t\tinstance.message = function($) {\n\t\t\tstatus.count++;\n\t\t\tinstance.status(status, 500);\n\t\t\t$.destroy();\n\t\t};\n\n\t\tinstance.trigger = function() {\n\t\t\tstatus.count = 0;\n\t\t\tinstance.status(status);\n\t\t};\n\n\t\tinstance.status(status);\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n\n<readme>\nCounts the incoming messages. Select **Reset** to start again from zero.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.limit\" config=\"type:number;min:1\" class=\"m\">Highlight from</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXP70E61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/status-and-look/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Le statut et l'apparence du nœud","summary":"Affiche des informations en direct sur le nœud avec un statut, conçois son corps et ajoute un script qui s'exécute dans le designer.","markdown":"---\ntitle: \"Le statut et l'apparence du nœud\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/status-and-look/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Le statut et l'apparence du nœud\n\n> Affiche des informations en direct sur le nœud avec un statut, conçois son corps et ajoute un script qui s'exécute dans le designer.\n\nUn nœud peut afficher des informations en direct sur le canevas : un compteur, la dernière valeur, l'état d'une connexion. Le code serveur envoie un statut, et le `<body>` du composant l'affiche.\n\nCette page construit **Tally**, qui compte les messages qu'il reçoit et met le nombre en rouge à partir d'une limite fixée dans ses réglages.\n\n![Un nœud Tally qui a compté 12 messages, avec un bouton Reset](/files/JapyXN6zE60f.webp)\n\n## Envoyer un statut\n\n`instance.status(data)` envoie n'importe quelles données aux designers qui ont le FlowStream ouvert :\n\n```js\nvar status = { count: 0 };\n\ninstance.message = function($) {\n\tstatus.count++;\n\tinstance.status(status, 500);\n\t$.destroy();\n};\n\ninstance.status(status);\n```\n\nAvec un second argument, Flow attend ce nombre de millisecondes puis envoie le dernier statut. Un nœud qui reçoit beaucoup de messages envoie un seul statut au lieu d'un par message : douze messages rapides vers **Tally** arrivent dans le designer sous la forme d'un seul statut avec `count` `12`.\n\nFlow garde le dernier statut de chaque nœud et l'envoie de nouveau quand quelqu'un ouvre le designer.\n\n## Afficher le statut dans le corps\n\n`$STATUS` dans `<body>` est le dernier statut du nœud. Lie-le avec `ui-bind` :\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n```\n\nLe `<header>` avec l'icône et le nom est la barre de titre du nœud. Un `<button name=\"trigger\">` appelle `instance.trigger` sur le serveur, consulte [Triggers, timers et fermeture](../triggers-and-timers/).\n\nMets en forme le corps dans `<style>` avec `.CLASS`, qui ne s'applique qu'aux nœuds de ce composant :\n\n```html\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n```\n\n## Un script dans le designer\n\nUn `<script>` sans `total` s'exécute dans le navigateur, dans le designer. `TOUCH` te donne un objet pour chaque nœud du composant :\n\n```html\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n\n| Nom | Ce que c'est |\n|---|---|\n| `exports.id` | L'id du nœud. |\n| `exports.config` | La configuration du nœud. |\n| `exports.element` | L'élément du nœud, sous forme d'objet jQuery. |\n| `exports.status = function(status, isinit)` | Appelée quand un nouveau statut arrive. |\n| `exports.configure = function(config, isinit)` | Appelée quand la configuration change. |\n| `exports.click = function(el)` | Appelée quand l'utilisateur clique sur un `button` ou sur un élément avec la classe `clickable` dans le nœud. |\n| `exports.trigger(data)` | Appelle `instance.trigger` sur le serveur avec `data`. |\n| `exports.call(data, callback)` | Appelle `instance.call` sur le serveur et récupère sa réponse. |\n\n`reinit` vaut `true` quand le composant a changé et que le designer exécute de nouveau le script.\n\n## Afficher la progression\n\nPour un long travail, `instance.activity(key, name, progress)` ajoute une ligne à **Activities** dans la barre d'outils du designer :\n\n```js\ninstance.activity('import', 'Importing orders', 50);   // 50 %\ninstance.activity('import', 'Importing orders', 100);  // done, the line disappears\n```\n\n## Le composant complet\n\n```html\n<script total>\n\n\texports.id = 'tally';\n\texports.name = 'Tally';\n\texports.icon = 'ti ti-calculator';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { limit: 10 };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar status = { count: 0 };\n\n\t\tinstance.message = function($) {\n\t\t\tstatus.count++;\n\t\t\tinstance.status(status, 500);\n\t\t\t$.destroy();\n\t\t};\n\n\t\tinstance.trigger = function() {\n\t\t\tstatus.count = 0;\n\t\t\tinstance.status(status);\n\t\t};\n\n\t\tinstance.status(status);\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n\n<readme>\nCounts the incoming messages. Select **Reset** to start again from zero.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.limit\" config=\"type:number;min:1\" class=\"m\">Highlight from</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXP70E61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/status-and-look/","project":"flow","version":"11-1","section":"development","language":"it","title":"Stato e aspetto del nodo","summary":"Mostra informazioni in tempo reale sul nodo con uno stato, progetta il suo corpo e aggiungi uno script che gira nel designer.","markdown":"---\ntitle: Stato e aspetto del nodo\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/status-and-look/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Stato e aspetto del nodo\n\n> Mostra informazioni in tempo reale sul nodo con uno stato, progetta il suo corpo e aggiungi uno script che gira nel designer.\n\nUn nodo può mostrare informazioni in tempo reale sul canvas: un contatore, l'ultimo valore, lo stato di una connessione. Il codice del server invia uno stato, e il `<body>` del componente lo mostra.\n\nQuesta pagina costruisce **Tally**, che conta i messaggi che riceve e colora il numero di rosso a partire da un limite impostato nelle sue impostazioni.\n\n![Un nodo Tally che ha contato 12 messaggi, con un pulsante Reset](/files/JapyXN6zE60f.webp)\n\n## Inviare uno stato\n\n`instance.status(data)` invia qualsiasi dato ai designer che hanno il FlowStream aperto:\n\n```js\nvar status = { count: 0 };\n\ninstance.message = function($) {\n\tstatus.count++;\n\tinstance.status(status, 500);\n\t$.destroy();\n};\n\ninstance.status(status);\n```\n\nCon un secondo argomento, Flow aspetta quel numero di millisecondi e poi invia l'ultimo stato. Un nodo che riceve molti messaggi invia così un solo stato invece di uno per ogni messaggio: dodici messaggi rapidi a **Tally** arrivano nel designer come un unico stato con `count` `12`.\n\nFlow conserva l'ultimo stato di ogni nodo e lo invia di nuovo quando qualcuno apre il designer.\n\n## Mostrare lo stato nel corpo\n\n`$STATUS` in `<body>` è l'ultimo stato del nodo. Collegalo con `ui-bind`:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n```\n\nL'`<header>` con l'icona e il nome è la barra del titolo del nodo. Un `<button name=\"trigger\">` chiama `instance.trigger` sul server, vedi [Trigger, timer e chiusura](../triggers-and-timers/).\n\nDai stile al corpo in `<style>` con `.CLASS`, che vale solo per i nodi di questo componente:\n\n```html\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n```\n\n## Uno script nel designer\n\nUno `<script>` senza `total` gira nel browser, nel designer. `TOUCH` ti dà un oggetto per ogni nodo del componente:\n\n```html\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n\n| Nome | Cos'è |\n|---|---|\n| `exports.id` | L'id del nodo. |\n| `exports.config` | La configurazione del nodo. |\n| `exports.element` | L'elemento del nodo, come oggetto jQuery. |\n| `exports.status = function(status, isinit)` | Chiamata quando arriva un nuovo stato. |\n| `exports.configure = function(config, isinit)` | Chiamata quando la configurazione cambia. |\n| `exports.click = function(el)` | Chiamata quando l'utente fa clic su un `button` o su un elemento con la classe `clickable` nel nodo. |\n| `exports.trigger(data)` | Chiama `instance.trigger` sul server con `data`. |\n| `exports.call(data, callback)` | Chiama `instance.call` sul server e riceve la sua risposta. |\n\n`reinit` è `true` quando il componente è cambiato e il designer esegue di nuovo lo script.\n\n## Mostrare l'avanzamento\n\nPer un lavoro lungo, `instance.activity(key, name, progress)` aggiunge una riga ad **Activities** (Attività) nella barra degli strumenti del designer:\n\n```js\ninstance.activity('import', 'Importing orders', 50);   // 50 %\ninstance.activity('import', 'Importing orders', 100);  // done, the line disappears\n```\n\n## Il componente completo\n\n```html\n<script total>\n\n\texports.id = 'tally';\n\texports.name = 'Tally';\n\texports.icon = 'ti ti-calculator';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { limit: 10 };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar status = { count: 0 };\n\n\t\tinstance.message = function($) {\n\t\t\tstatus.count++;\n\t\t\tinstance.status(status, 500);\n\t\t\t$.destroy();\n\t\t};\n\n\t\tinstance.trigger = function() {\n\t\t\tstatus.count = 0;\n\t\t\tinstance.status(status);\n\t\t};\n\n\t\tinstance.status(status);\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n\n<readme>\nCounts the incoming messages. Select **Reset** to start again from zero.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.limit\" config=\"type:number;min:1\" class=\"m\">Highlight from</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXP70E61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/status-and-look/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Stav a vzhľad uzla","summary":"Zobraz na uzle živé informácie pomocou stavu, navrhni jeho telo a pridaj skript, ktorý beží v dizajnéri.","markdown":"---\ntitle: \"Stav a vzhľad uzla\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/status-and-look/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Stav a vzhľad uzla\n\n> Zobraz na uzle živé informácie pomocou stavu, navrhni jeho telo a pridaj skript, ktorý beží v dizajnéri.\n\nUzol môže na plátne zobrazovať živé informácie: počítadlo, poslednú hodnotu, stav pripojenia. Serverový kód pošle stav a `<body>` komponentu ho zobrazí.\n\nNa tejto stránke vytvoríš **Tally**, ktorý počíta prijaté správy a od limitu zo svojich nastavení zafarbí číslo načerveno.\n\n![Uzol Tally, ktorý napočítal 12 správ, s tlačidlom Reset](/files/JapyXN6zE60f.webp)\n\n## Pošli stav\n\n`instance.status(data)` pošle ľubovoľné dáta dizajnérom, ktoré majú FlowStream otvorený:\n\n```js\nvar status = { count: 0 };\n\ninstance.message = function($) {\n\tstatus.count++;\n\tinstance.status(status, 500);\n\t$.destroy();\n};\n\ninstance.status(status);\n```\n\nS druhým argumentom Flow počká daný počet milisekúnd a potom pošle posledný stav. Uzol, ktorý dostáva veľa správ, tak pošle jeden stav namiesto jedného pre každú správu: dvanásť rýchlych správ pre **Tally** dorazí do dizajnéra ako jeden stav s `count` `12`.\n\nFlow uchováva posledný stav každého uzla a pošle ho znova, keď niekto otvorí dizajnér.\n\n## Zobraz stav v tele\n\n`$STATUS` v `<body>` je posledný stav uzla. Naviaž ho pomocou `ui-bind`:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n```\n\n`<header>` s ikonou a názvom je titulný pruh uzla. `<button name=\"trigger\">` zavolá na serveri `instance.trigger`, pozri [Spúšťače, časovače a ukončenie](../triggers-and-timers/).\n\nTelo naštýluj v `<style>` pomocou `.CLASS`, ktorá platí iba pre uzly tohto komponentu:\n\n```html\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n```\n\n## Skript v dizajnéri\n\n`<script>` bez `total` beží v prehliadači, v dizajnéri. `TOUCH` ti dá objekt pre každý uzol komponentu:\n\n```html\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n\n| Názov | Čo to je |\n|---|---|\n| `exports.id` | Id uzla. |\n| `exports.config` | Konfigurácia uzla. |\n| `exports.element` | Element uzla ako objekt jQuery. |\n| `exports.status = function(status, isinit)` | Zavolá sa, keď príde nový stav. |\n| `exports.configure = function(config, isinit)` | Zavolá sa, keď sa zmení konfigurácia. |\n| `exports.click = function(el)` | Zavolá sa, keď používateľ klikne v uzle na `button` alebo na element s triedou `clickable`. |\n| `exports.trigger(data)` | Zavolá na serveri `instance.trigger` s `data`. |\n| `exports.call(data, callback)` | Zavolá na serveri `instance.call` a dostane jej odpoveď. |\n\n`reinit` je `true`, keď sa komponent zmenil a dizajnér spúšťa skript znova.\n\n## Zobraz priebeh\n\nPri dlhej práci pridá `instance.activity(key, name, progress)` riadok do **Activities** (aktivity) na paneli nástrojov dizajnéra:\n\n```js\ninstance.activity('import', 'Importing orders', 50);   // 50 %\ninstance.activity('import', 'Importing orders', 100);  // done, the line disappears\n```\n\n## Celý komponent\n\n```html\n<script total>\n\n\texports.id = 'tally';\n\texports.name = 'Tally';\n\texports.icon = 'ti ti-calculator';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = { limit: 10 };\n\texports.inputs = [{ id: 'input', name: 'Input' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar status = { count: 0 };\n\n\t\tinstance.message = function($) {\n\t\t\tstatus.count++;\n\t\t\tinstance.status(status, 500);\n\t\t\t$.destroy();\n\t\t};\n\n\t\tinstance.trigger = function() {\n\t\t\tstatus.count = 0;\n\t\t\tinstance.status(status);\n\t\t};\n\n\t\tinstance.status(status);\n\t};\n\n</script>\n\n<style>\n\t.CLASS footer { padding: 10px; text-align: center; }\n\t.CLASS .count { font-size: 30px; font-weight: bold; }\n\t.CLASS .over { color: #E73323; }\n\t.CLASS button { width: 100%; margin-top: 5px; }\n</style>\n\n<readme>\nCounts the incoming messages. Select **Reset** to start again from zero.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.limit\" config=\"type:number;min:1\" class=\"m\">Highlight from</ui-component>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer>\n\t\t<ui-bind path=\"$STATUS\" config=\"text:value && value.count ? value.count : '0'\" class=\"count block\"></ui-bind>\n\t\t<button name=\"trigger\">Reset</button>\n\t</footer>\n</body>\n\n<script>\n\tTOUCH(function(exports, reinit) {\n\t\texports.status = function(status, isinit) {\n\t\t\texports.element.find('.count').tclass('over', !!status && status.count >= exports.config.limit);\n\t\t};\n\t});\n</script>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXS74E61f","url":"https://totaljs.es/docs/flow/11-1/development/triggers-and-timers/","project":"flow","version":"11-1","section":"development","language":"en","title":"Triggers, timers and closing","summary":"Start messages from a button or a timer, and clean up when a node is removed or changed.","markdown":"---\ntitle: Triggers, timers and closing\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/triggers-and-timers/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Triggers, timers and closing\n\n> Start messages from a button or a timer, and clean up when a node is removed or changed.\n\nSome components start messages themselves: when the user selects a button, at an interval, or when something happens on the server. This page builds **Heartbeat**, which sends the current date and time at an interval and has a **Send now** button.\n\n## The trigger button\n\nA `<button name=\"trigger\">` in the `<body>` of the component calls `instance.trigger` on the server:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\n```js\ninstance.trigger = function(msg) {\n\tinstance.send('output', { ts: new Date() });\n};\n```\n\n`msg.data` holds the text of the `data-data` attribute of the button, if it has one. The designer does not run triggers while the FlowStream has changes that are not applied: select **APPLY** first.\n\n## Start a new message\n\n`instance.send(output, data)` creates a new message and sends it to the nodes connected to that output. It returns the number of nodes that received it.\n\nOfficial components like this set `exports.kind = 'trigger';`. It is a label for the catalogue, which copies it.\n\n## Run code at an interval\n\nStart the timer in `instance.configure`, so that a new interval from the settings takes effect at once:\n\n```js\nvar timer = null;\n\ninstance.configure = function() {\n\ttimer && clearInterval(timer);\n\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n};\n\ninstance.configure();\n```\n\nFor work that is done once a minute, Flow calls `instance.service(minutes)` every minute, with the number of minutes since the FlowStream started.\n\n## Clean up with close\n\nFlow calls `instance.close` when the node stops: when the user removes it and applies the design, and when the component changes. Stop timers, close connections and release files there, or they keep running:\n\n```js\ninstance.close = function() {\n\ttimer && clearInterval(timer);\n\ttimer = null;\n};\n```\n\n## Pause\n\nWhen the user pauses the FlowStream, Flow stops delivering messages and calls `instance.pause(true)`; when the user resumes, it calls `instance.pause(false)`. Messages sent during the pause are dropped. A component that holds messages can wait with them while it is paused, as **Delay** does.\n\n## The whole component\n\n```html\n<script total>\n\n\texports.id = 'heartbeat';\n\texports.name = 'Heartbeat';\n\texports.icon = 'ti ti-heart';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.kind = 'trigger';\n\texports.config = { interval: 5 };\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar timer = null;\n\n\t\tinstance.trigger = function() {\n\t\t\tinstance.send('output', { ts: new Date() });\n\t\t};\n\n\t\tinstance.configure = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n\t\t};\n\n\t\tinstance.close = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = null;\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<readme>\nSends the current date and time at a regular interval. Select **Send now** to send it at once.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.interval\" config=\"type:number;min:0\" class=\"m\">Interval in seconds</ui-component>\n\t\t<div class=\"help\">Use <code>0</code> to send only when you select <b>Send now</b>.</div>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\nWith **Interval in seconds** set to `1`, a **Print** node connected to **Heartbeat** shows a new date every second. After the node is removed, no more dates arrive.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXS74E61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/triggers-and-timers/","project":"flow","version":"11-1","section":"development","language":"de","title":"Trigger, Timer und Schließen","summary":"Starte Nachrichten über einen Button oder einen Timer, und räum auf, wenn ein Node entfernt oder geändert wird.","markdown":"---\ntitle: \"Trigger, Timer und Schließen\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/triggers-and-timers/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Trigger, Timer und Schließen\n\n> Starte Nachrichten über einen Button oder einen Timer, und räum auf, wenn ein Node entfernt oder geändert wird.\n\nManche Komponenten starten Nachrichten selbst: wenn der Nutzer einen Button wählt, in einem Intervall oder wenn auf dem Server etwas passiert. Auf dieser Seite baust du **Heartbeat**, das in einem Intervall das aktuelle Datum und die Uhrzeit sendet und einen Button **Send now** (Jetzt senden) hat.\n\n## Der Trigger-Button\n\nEin `<button name=\"trigger\">` im `<body>` der Komponente ruft `instance.trigger` auf dem Server auf:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\n```js\ninstance.trigger = function(msg) {\n\tinstance.send('output', { ts: new Date() });\n};\n```\n\n`msg.data` enthält den Text des Attributs `data-data` des Buttons, falls er eines hat. Der Designer führt keine Trigger aus, solange der FlowStream Änderungen hat, die nicht angewendet sind: Wähle zuerst **APPLY** (Anwenden).\n\n## Eine neue Nachricht starten\n\n`instance.send(output, data)` erstellt eine neue Nachricht und schickt sie an die Nodes, die mit diesem Ausgang verbunden sind. Es gibt die Anzahl der Nodes zurück, die sie empfangen haben.\n\nOffizielle Komponenten dieser Art setzen `exports.kind = 'trigger';`. Das ist eine Bezeichnung für den Katalog, der sie übernimmt.\n\n## Code in einem Intervall ausführen\n\nStarte den Timer in `instance.configure`, damit ein neues Intervall aus den Einstellungen sofort wirkt:\n\n```js\nvar timer = null;\n\ninstance.configure = function() {\n\ttimer && clearInterval(timer);\n\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n};\n\ninstance.configure();\n```\n\nFür Arbeiten, die einmal pro Minute anfallen, ruft Flow jede Minute `instance.service(minutes)` auf, mit der Anzahl der Minuten seit dem Start des FlowStreams.\n\n## Mit close aufräumen\n\nFlow ruft `instance.close` auf, wenn der Node stoppt: wenn der Nutzer ihn entfernt und das Design anwendet, und wenn sich die Komponente ändert. Stopp dort Timer, schließ Verbindungen und gib Dateien frei, sonst laufen sie weiter:\n\n```js\ninstance.close = function() {\n\ttimer && clearInterval(timer);\n\ttimer = null;\n};\n```\n\n## Pausieren\n\nWenn der Nutzer den FlowStream pausiert, stellt Flow keine Nachrichten mehr zu und ruft `instance.pause(true)` auf. Wenn der Nutzer fortsetzt, ruft es `instance.pause(false)` auf. Nachrichten, die während der Pause gesendet werden, gehen verloren. Eine Komponente, die Nachrichten festhält, kann damit warten, solange sie pausiert ist, so wie **Delay** es tut.\n\n## Die ganze Komponente\n\n```html\n<script total>\n\n\texports.id = 'heartbeat';\n\texports.name = 'Heartbeat';\n\texports.icon = 'ti ti-heart';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.kind = 'trigger';\n\texports.config = { interval: 5 };\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar timer = null;\n\n\t\tinstance.trigger = function() {\n\t\t\tinstance.send('output', { ts: new Date() });\n\t\t};\n\n\t\tinstance.configure = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n\t\t};\n\n\t\tinstance.close = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = null;\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<readme>\nSends the current date and time at a regular interval. Select **Send now** to send it at once.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.interval\" config=\"type:number;min:0\" class=\"m\">Interval in seconds</ui-component>\n\t\t<div class=\"help\">Use <code>0</code> to send only when you select <b>Send now</b>.</div>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\nWenn **Interval in seconds** (Intervall in Sekunden) auf `1` steht, zeigt ein mit **Heartbeat** verbundener **Print**-Node jede Sekunde ein neues Datum. Nachdem der Node entfernt wurde, kommen keine Daten mehr an.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXS74E61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/triggers-and-timers/","project":"flow","version":"11-1","section":"development","language":"es","title":"Triggers, temporizadores y cierre","summary":"Inicia mensajes desde un botón o un temporizador, y limpia cuando se elimina o cambia un nodo.","markdown":"---\ntitle: Triggers, temporizadores y cierre\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/triggers-and-timers/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Triggers, temporizadores y cierre\n\n> Inicia mensajes desde un botón o un temporizador, y limpia cuando se elimina o cambia un nodo.\n\nAlgunos componentes inician mensajes por sí mismos: cuando el usuario selecciona un botón, cada cierto intervalo o cuando pasa algo en el servidor. En esta página construyes **Heartbeat**, que envía la fecha y la hora actuales cada cierto intervalo y tiene un botón **Send now** (enviar ahora).\n\n## El botón trigger\n\nUn `<button name=\"trigger\">` en el `<body>` del componente llama a `instance.trigger` en el servidor:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\n```js\ninstance.trigger = function(msg) {\n\tinstance.send('output', { ts: new Date() });\n};\n```\n\n`msg.data` contiene el texto del atributo `data-data` del botón, si lo tiene. El diseñador no ejecuta triggers mientras el FlowStream tenga cambios sin aplicar: selecciona primero **APPLY** (aplicar).\n\n## Inicia un mensaje nuevo\n\n`instance.send(output, data)` crea un mensaje nuevo y lo envía a los nodos conectados a esa salida. Devuelve el número de nodos que lo han recibido.\n\nLos componentes oficiales de este tipo definen `exports.kind = 'trigger';`. Es una etiqueta para el catálogo, que la copia.\n\n## Ejecuta código cada cierto intervalo\n\nInicia el temporizador en `instance.configure`, para que un intervalo nuevo de los ajustes surta efecto enseguida:\n\n```js\nvar timer = null;\n\ninstance.configure = function() {\n\ttimer && clearInterval(timer);\n\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n};\n\ninstance.configure();\n```\n\nPara trabajos que se hacen una vez por minuto, Flow llama a `instance.service(minutes)` cada minuto, con el número de minutos desde que se inició el FlowStream.\n\n## Limpia con close\n\nFlow llama a `instance.close` cuando el nodo se detiene: cuando el usuario lo elimina y aplica el diseño, y cuando el componente cambia. Detén ahí los temporizadores, cierra las conexiones y libera los archivos, o seguirán funcionando:\n\n```js\ninstance.close = function() {\n\ttimer && clearInterval(timer);\n\ttimer = null;\n};\n```\n\n## Pausa\n\nCuando el usuario pausa el FlowStream, Flow deja de entregar mensajes y llama a `instance.pause(true)`; cuando el usuario lo reanuda, llama a `instance.pause(false)`. Los mensajes enviados durante la pausa se descartan. Un componente que retiene mensajes puede esperar con ellos mientras está en pausa, como hace **Delay**.\n\n## El componente completo\n\n```html\n<script total>\n\n\texports.id = 'heartbeat';\n\texports.name = 'Heartbeat';\n\texports.icon = 'ti ti-heart';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.kind = 'trigger';\n\texports.config = { interval: 5 };\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar timer = null;\n\n\t\tinstance.trigger = function() {\n\t\t\tinstance.send('output', { ts: new Date() });\n\t\t};\n\n\t\tinstance.configure = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n\t\t};\n\n\t\tinstance.close = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = null;\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<readme>\nSends the current date and time at a regular interval. Select **Send now** to send it at once.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.interval\" config=\"type:number;min:0\" class=\"m\">Interval in seconds</ui-component>\n\t\t<div class=\"help\">Use <code>0</code> to send only when you select <b>Send now</b>.</div>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\nCon **Interval in seconds** (intervalo en segundos) puesto a `1`, un nodo **Print** conectado a **Heartbeat** muestra una fecha nueva cada segundo. Después de eliminar el nodo, no llegan más fechas.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXS74E61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/triggers-and-timers/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Triggers, timers et fermeture","summary":"Lance des messages depuis un bouton ou un timer, et fais le ménage quand un nœud est supprimé ou modifié.","markdown":"---\ntitle: Triggers, timers et fermeture\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/triggers-and-timers/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Triggers, timers et fermeture\n\n> Lance des messages depuis un bouton ou un timer, et fais le ménage quand un nœud est supprimé ou modifié.\n\nCertains composants lancent eux-mêmes des messages : quand l'utilisateur sélectionne un bouton, à intervalle régulier, ou quand quelque chose se produit sur le serveur. Cette page construit **Heartbeat**, qui envoie la date et l'heure actuelles à intervalle régulier et possède un bouton **Send now** (envoyer maintenant).\n\n## Le bouton trigger\n\nUn `<button name=\"trigger\">` dans le `<body>` du composant appelle `instance.trigger` sur le serveur :\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\n```js\ninstance.trigger = function(msg) {\n\tinstance.send('output', { ts: new Date() });\n};\n```\n\n`msg.data` contient le texte de l'attribut `data-data` du bouton, s'il en a un. Le designer n'exécute pas les triggers tant que le FlowStream a des modifications non appliquées : sélectionne d'abord **APPLY**.\n\n## Lancer un nouveau message\n\n`instance.send(output, data)` crée un nouveau message et l'envoie aux nœuds connectés à cette sortie. Elle renvoie le nombre de nœuds qui l'ont reçu.\n\nLes composants officiels de ce type définissent `exports.kind = 'trigger';`. C'est une étiquette pour le catalogue, qui la copie.\n\n## Exécuter du code à intervalle régulier\n\nDémarre le timer dans `instance.configure`, pour qu'un nouvel intervalle défini dans les réglages prenne effet tout de suite :\n\n```js\nvar timer = null;\n\ninstance.configure = function() {\n\ttimer && clearInterval(timer);\n\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n};\n\ninstance.configure();\n```\n\nPour un travail à faire une fois par minute, Flow appelle `instance.service(minutes)` chaque minute, avec le nombre de minutes écoulées depuis le démarrage du FlowStream.\n\n## Faire le ménage avec close\n\nFlow appelle `instance.close` quand le nœud s'arrête : quand l'utilisateur le supprime et applique le design, et quand le composant change. Arrête-y les timers, ferme les connexions et libère les fichiers, sinon ils continuent de tourner :\n\n```js\ninstance.close = function() {\n\ttimer && clearInterval(timer);\n\ttimer = null;\n};\n```\n\n## Pause\n\nQuand l'utilisateur met le FlowStream en pause, Flow arrête de livrer les messages et appelle `instance.pause(true)` ; quand l'utilisateur reprend, il appelle `instance.pause(false)`. Les messages envoyés pendant la pause sont abandonnés. Un composant qui retient des messages peut attendre avec eux pendant la pause, comme le fait **Delay**.\n\n## Le composant complet\n\n```html\n<script total>\n\n\texports.id = 'heartbeat';\n\texports.name = 'Heartbeat';\n\texports.icon = 'ti ti-heart';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.kind = 'trigger';\n\texports.config = { interval: 5 };\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar timer = null;\n\n\t\tinstance.trigger = function() {\n\t\t\tinstance.send('output', { ts: new Date() });\n\t\t};\n\n\t\tinstance.configure = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n\t\t};\n\n\t\tinstance.close = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = null;\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<readme>\nSends the current date and time at a regular interval. Select **Send now** to send it at once.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.interval\" config=\"type:number;min:0\" class=\"m\">Interval in seconds</ui-component>\n\t\t<div class=\"help\">Use <code>0</code> to send only when you select <b>Send now</b>.</div>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\nAvec **Interval in seconds** réglé sur `1`, un nœud **Print** connecté à **Heartbeat** affiche une nouvelle date chaque seconde. Une fois le nœud supprimé, plus aucune date n'arrive.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXS74E61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/triggers-and-timers/","project":"flow","version":"11-1","section":"development","language":"it","title":"Trigger, timer e chiusura","summary":"Avvia messaggi da un pulsante o da un timer, e fai pulizia quando un nodo viene rimosso o modificato.","markdown":"---\ntitle: Trigger, timer e chiusura\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/triggers-and-timers/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Trigger, timer e chiusura\n\n> Avvia messaggi da un pulsante o da un timer, e fai pulizia quando un nodo viene rimosso o modificato.\n\nAlcuni componenti avviano i messaggi da soli: quando l'utente seleziona un pulsante, a intervalli regolari o quando succede qualcosa sul server. Questa pagina costruisce **Heartbeat**, che invia la data e l'ora correnti a intervalli regolari e ha un pulsante **Send now** (Invia ora).\n\n## Il pulsante trigger\n\nUn `<button name=\"trigger\">` nel `<body>` del componente chiama `instance.trigger` sul server:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\n```js\ninstance.trigger = function(msg) {\n\tinstance.send('output', { ts: new Date() });\n};\n```\n\n`msg.data` contiene il testo dell'attributo `data-data` del pulsante, se ce l'ha. Il designer non esegue i trigger mentre il FlowStream ha modifiche non applicate: seleziona prima **APPLY** (Applica).\n\n## Avviare un nuovo messaggio\n\n`instance.send(output, data)` crea un nuovo messaggio e lo invia ai nodi collegati a quell'uscita. Restituisce il numero di nodi che lo hanno ricevuto.\n\nI componenti ufficiali di questo tipo impostano `exports.kind = 'trigger';`. È un'etichetta per il catalogo, che la copia.\n\n## Eseguire codice a intervalli\n\nAvvia il timer in `instance.configure`, così un nuovo intervallo dalle impostazioni ha effetto subito:\n\n```js\nvar timer = null;\n\ninstance.configure = function() {\n\ttimer && clearInterval(timer);\n\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n};\n\ninstance.configure();\n```\n\nPer un lavoro da fare una volta al minuto, Flow chiama `instance.service(minutes)` ogni minuto, con il numero di minuti trascorsi dall'avvio del FlowStream.\n\n## Fare pulizia con close\n\nFlow chiama `instance.close` quando il nodo si ferma: quando l'utente lo rimuove e applica il design, e quando il componente cambia. Lì ferma i timer, chiudi le connessioni e rilascia i file, altrimenti continuano a funzionare:\n\n```js\ninstance.close = function() {\n\ttimer && clearInterval(timer);\n\ttimer = null;\n};\n```\n\n## Pausa\n\nQuando l'utente mette in pausa il FlowStream, Flow smette di consegnare i messaggi e chiama `instance.pause(true)`; quando l'utente riprende, chiama `instance.pause(false)`. I messaggi inviati durante la pausa vengono scartati. Un componente che trattiene dei messaggi può tenerli in attesa mentre è in pausa, come fa **Delay**.\n\n## Il componente completo\n\n```html\n<script total>\n\n\texports.id = 'heartbeat';\n\texports.name = 'Heartbeat';\n\texports.icon = 'ti ti-heart';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.kind = 'trigger';\n\texports.config = { interval: 5 };\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar timer = null;\n\n\t\tinstance.trigger = function() {\n\t\t\tinstance.send('output', { ts: new Date() });\n\t\t};\n\n\t\tinstance.configure = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n\t\t};\n\n\t\tinstance.close = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = null;\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<readme>\nSends the current date and time at a regular interval. Select **Send now** to send it at once.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.interval\" config=\"type:number;min:0\" class=\"m\">Interval in seconds</ui-component>\n\t\t<div class=\"help\">Use <code>0</code> to send only when you select <b>Send now</b>.</div>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\nCon **Interval in seconds** (Intervallo in secondi) impostato a `1`, un nodo **Print** collegato a **Heartbeat** mostra una nuova data ogni secondo. Dopo che il nodo è stato rimosso, non arrivano più date.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXS74E61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/triggers-and-timers/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Spúšťače, časovače a ukončenie","summary":"Začni správy tlačidlom alebo časovačom a uprac po sebe, keď sa uzol odstráni alebo zmení.","markdown":"---\ntitle: \"Spúšťače, časovače a ukončenie\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/triggers-and-timers/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Spúšťače, časovače a ukončenie\n\n> Začni správy tlačidlom alebo časovačom a uprac po sebe, keď sa uzol odstráni alebo zmení.\n\nNiektoré komponenty začínajú správy samy: keď používateľ vyberie tlačidlo, v pravidelnom intervale alebo keď sa niečo stane na serveri. Na tejto stránke vytvoríš **Heartbeat**, ktorý v intervale posiela aktuálny dátum a čas a má tlačidlo **Send now** (poslať teraz).\n\n## Spúšťacie tlačidlo\n\n`<button name=\"trigger\">` v `<body>` komponentu zavolá na serveri `instance.trigger`:\n\n```html\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\n```js\ninstance.trigger = function(msg) {\n\tinstance.send('output', { ts: new Date() });\n};\n```\n\n`msg.data` obsahuje text atribútu `data-data` tlačidla, ak ho má. Dizajnér nespúšťa spúšťače, kým má FlowStream nepoužité zmeny: najprv vyber **APPLY** (použiť).\n\n## Začni novú správu\n\n`instance.send(output, data)` vytvorí novú správu a pošle ju uzlom pripojeným k danému výstupu. Vráti počet uzlov, ktoré ju dostali.\n\nOficiálne komponenty tohto druhu nastavujú `exports.kind = 'trigger';`. Je to štítok pre katalóg, ktorý ho preberá.\n\n## Spúšťaj kód v intervale\n\nČasovač spusti v `instance.configure`, aby nový interval z nastavení začal platiť hneď:\n\n```js\nvar timer = null;\n\ninstance.configure = function() {\n\ttimer && clearInterval(timer);\n\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n};\n\ninstance.configure();\n```\n\nPre prácu, ktorá sa robí raz za minútu, Flow volá každú minútu `instance.service(minutes)` s počtom minút od spustenia FlowStreamu.\n\n## Uprac pomocou close\n\nFlow zavolá `instance.close`, keď sa uzol zastaví: keď ho používateľ odstráni a použije návrh a keď sa zmení komponent. Tam zastav časovače, zatvor pripojenia a uvoľni súbory, inak budú bežať ďalej:\n\n```js\ninstance.close = function() {\n\ttimer && clearInterval(timer);\n\ttimer = null;\n};\n```\n\n## Pozastavenie\n\nKeď používateľ pozastaví FlowStream, Flow prestane doručovať správy a zavolá `instance.pause(true)`; keď ho používateľ obnoví, zavolá `instance.pause(false)`. Správy poslané počas pozastavenia sa zahodia. Komponent, ktorý drží správy, s nimi môže počas pozastavenia počkať, ako to robí **Delay**.\n\n## Celý komponent\n\n```html\n<script total>\n\n\texports.id = 'heartbeat';\n\texports.name = 'Heartbeat';\n\texports.icon = 'ti ti-heart';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.kind = 'trigger';\n\texports.config = { interval: 5 };\n\texports.outputs = [{ id: 'output', name: 'Output' }];\n\n\texports.make = function(instance, config) {\n\n\t\tvar timer = null;\n\n\t\tinstance.trigger = function() {\n\t\t\tinstance.send('output', { ts: new Date() });\n\t\t};\n\n\t\tinstance.configure = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = config.interval > 0 ? setInterval(instance.trigger, config.interval * 1000) : null;\n\t\t};\n\n\t\tinstance.close = function() {\n\t\t\ttimer && clearInterval(timer);\n\t\t\ttimer = null;\n\t\t};\n\n\t\tinstance.configure();\n\t};\n\n</script>\n\n<readme>\nSends the current date and time at a regular interval. Select **Send now** to send it at once.\n</readme>\n\n<settings>\n\t<div class=\"padding\">\n\t\t<ui-component name=\"input\" path=\"?.interval\" config=\"type:number;min:0\" class=\"m\">Interval in seconds</ui-component>\n\t\t<div class=\"help\">Use <code>0</code> to send only when you select <b>Send now</b>.</div>\n\t</div>\n</settings>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n\t<footer style=\"padding:0 10px 10px\">\n\t\t<button name=\"trigger\" style=\"width:100%\">Send now</button>\n\t</footer>\n</body>\n```\n\nKeď je **Interval in seconds** (interval v sekundách) nastavený na `1`, uzol **Print** pripojený k **Heartbeat** zobrazí každú sekundu nový dátum. Po odstránení uzla už ďalšie dátumy neprichádzajú.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyVr5KE61f","url":"https://totaljs.es/docs/flow/11-1/development/errors-and-logging/","project":"flow","version":"11-1","section":"development","language":"en","title":"Errors and logging","summary":"Report errors to the designer, send failed data to an error output, and write logs.","markdown":"---\ntitle: Errors and logging\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/errors-and-logging/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Errors and logging\n\n> Report errors to the designer, send failed data to an error output, and write logs.\n\nA component reports a problem in two ways: to the person who watches the designer, and to the next nodes of the flow, so the design can handle it.\n\nThis page builds **JSON parse**, which turns JSON text into an object.\n\n## Report an error to the designer\n\n`instance.throw(error)` adds the error to the errors of the FlowStream. The designer shows the number under **Errors** in the status bar, and the FlowStream keeps the last 10 errors:\n\n```js\ninstance.throw('Invalid JSON: ' + e.message);\n```\n\nInside `instance.message`, `$.throw(error)` does the same and also stores the error in `$.error`.\n\n## Send failed data to an error output\n\nAn error output lets the user decide what happens with data that failed: log it, retry, or answer the request with an error. Declare it like any output:\n\n```js\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\n**JSON parse** reports the error and sends the text to the **Error** output:\n\n```js\ninstance.message = function($) {\n\ttry {\n\t\t$.send('output', JSON.parse($.data));\n\t} catch (e) {\n\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t$.send('error', { error: e.message, text: $.data });\n\t}\n};\n```\n\nFor the text `not json`, the **Error** output sends this, and the designer counts one error:\n\n```json\n{ \"error\": \"Unexpected token 'o', \\\"not json\\\" is not valid JSON\", \"text\": \"not json\" }\n```\n\n## Errors that you do not catch\n\nWhen your `instance.message` throws an exception, Flow catches it and ends the message. The next nodes receive nothing. Catch errors yourself when the user needs to see them in the designer or handle them in the flow.\n\n## Write logs\n\n`console.log` in the server code writes to the output of the Flow process, for example the terminal where you started Flow.\n\n```js\ninstance.close = function() {\n\tconsole.log('Heartbeat ' + instance.id + ' stopped');\n};\n```\n\nThis line appears in the output of Flow as `Heartbeat hb stopped`, where `hb` is the id of the node.\n\nFor logs that the user reads on the canvas, send a [status](../status-and-look/) instead.\n\n## The whole component\n\n```html\n<script total>\n\n\texports.id = 'jsonparse';\n\texports.name = 'JSON parse';\n\texports.icon = 'ti ti-code';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Text' }];\n\texports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\ttry {\n\t\t\t\t$.send('output', JSON.parse($.data));\n\t\t\t} catch (e) {\n\t\t\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t\t\t$.send('error', { error: e.message, text: $.data });\n\t\t\t}\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nParses JSON text. Text that is not valid JSON goes to the **Error** output.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVr5KE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/errors-and-logging/","project":"flow","version":"11-1","section":"development","language":"de","title":"Fehler und Logging","summary":"Melde Fehler an den Designer, schick fehlgeschlagene Daten an einen Fehlerausgang und schreib Logs.","markdown":"---\ntitle: Fehler und Logging\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/errors-and-logging/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Fehler und Logging\n\n> Melde Fehler an den Designer, schick fehlgeschlagene Daten an einen Fehlerausgang und schreib Logs.\n\nEine Komponente meldet ein Problem auf zwei Wegen: an die Person, die den Designer beobachtet, und an die nächsten Nodes des Flows, damit das Design damit umgehen kann.\n\nAuf dieser Seite baust du **JSON parse**, das JSON-Text in ein Objekt umwandelt.\n\n## Einen Fehler an den Designer melden\n\n`instance.throw(error)` fügt den Fehler zu den Fehlern des FlowStreams hinzu. Der Designer zeigt ihre Anzahl unter **Errors** (Fehler) in der Statusleiste, und der FlowStream behält die letzten 10 Fehler:\n\n```js\ninstance.throw('Invalid JSON: ' + e.message);\n```\n\nInnerhalb von `instance.message` macht `$.throw(error)` dasselbe und speichert den Fehler zusätzlich in `$.error`.\n\n## Fehlgeschlagene Daten an einen Fehlerausgang schicken\n\nMit einem Fehlerausgang entscheidet der Nutzer, was mit fehlgeschlagenen Daten passiert: sie loggen, es erneut versuchen oder die Anfrage mit einem Fehler beantworten. Deklarier ihn wie jeden anderen Ausgang:\n\n```js\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\n**JSON parse** meldet den Fehler und schickt den Text an den Ausgang **Error**:\n\n```js\ninstance.message = function($) {\n\ttry {\n\t\t$.send('output', JSON.parse($.data));\n\t} catch (e) {\n\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t$.send('error', { error: e.message, text: $.data });\n\t}\n};\n```\n\nFür den Text `not json` sendet der Ausgang **Error** Folgendes, und der Designer zählt einen Fehler:\n\n```json\n{ \"error\": \"Unexpected token 'o', \\\"not json\\\" is not valid JSON\", \"text\": \"not json\" }\n```\n\n## Fehler, die du nicht abfängst\n\nWenn dein `instance.message` eine Ausnahme wirft, fängt Flow sie ab und beendet die Nachricht. Die nächsten Nodes erhalten nichts. Fang Fehler selbst ab, wenn der Nutzer sie im Designer sehen oder im Flow behandeln soll.\n\n## Logs schreiben\n\n`console.log` im Server-Code schreibt in die Ausgabe des Flow-Prozesses, zum Beispiel in das Terminal, in dem du Flow gestartet hast.\n\n```js\ninstance.close = function() {\n\tconsole.log('Heartbeat ' + instance.id + ' stopped');\n};\n```\n\nDiese Zeile erscheint in der Ausgabe von Flow als `Heartbeat hb stopped`, wobei `hb` die ID des Nodes ist.\n\nFür Logs, die der Nutzer auf der Arbeitsfläche liest, sendest du stattdessen einen [Status](../status-and-look/).\n\n## Die ganze Komponente\n\n```html\n<script total>\n\n\texports.id = 'jsonparse';\n\texports.name = 'JSON parse';\n\texports.icon = 'ti ti-code';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Text' }];\n\texports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\ttry {\n\t\t\t\t$.send('output', JSON.parse($.data));\n\t\t\t} catch (e) {\n\t\t\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t\t\t$.send('error', { error: e.message, text: $.data });\n\t\t\t}\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nParses JSON text. Text that is not valid JSON goes to the **Error** output.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVr5KE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/errors-and-logging/","project":"flow","version":"11-1","section":"development","language":"es","title":"Errores y registros","summary":"Informa de errores al diseñador, envía los datos fallidos a una salida de error y escribe registros.","markdown":"---\ntitle: Errores y registros\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/errors-and-logging/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Errores y registros\n\n> Informa de errores al diseñador, envía los datos fallidos a una salida de error y escribe registros.\n\nUn componente informa de un problema de dos maneras: a la persona que mira el diseñador y a los siguientes nodos del flujo, para que el diseño pueda gestionarlo.\n\nEn esta página construyes **JSON parse**, que convierte texto JSON en un objeto.\n\n## Informa de un error al diseñador\n\n`instance.throw(error)` añade el error a los errores del FlowStream. El diseñador muestra el número en **Errors** (errores) en la barra de estado, y el FlowStream guarda los 10 últimos errores:\n\n```js\ninstance.throw('Invalid JSON: ' + e.message);\n```\n\nDentro de `instance.message`, `$.throw(error)` hace lo mismo y además guarda el error en `$.error`.\n\n## Envía los datos fallidos a una salida de error\n\nUna salida de error deja que el usuario decida qué pasa con los datos que fallaron: registrarlos, reintentar o responder a la petición con un error. Declárala como cualquier otra salida:\n\n```js\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\n**JSON parse** informa del error y envía el texto a la salida **Error**:\n\n```js\ninstance.message = function($) {\n\ttry {\n\t\t$.send('output', JSON.parse($.data));\n\t} catch (e) {\n\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t$.send('error', { error: e.message, text: $.data });\n\t}\n};\n```\n\nPara el texto `not json`, la salida **Error** envía esto, y el diseñador cuenta un error:\n\n```json\n{ \"error\": \"Unexpected token 'o', \\\"not json\\\" is not valid JSON\", \"text\": \"not json\" }\n```\n\n## Errores que no capturas\n\nCuando tu `instance.message` lanza una excepción, Flow la captura y termina el mensaje. Los nodos siguientes no reciben nada. Captura tú los errores cuando el usuario necesite verlos en el diseñador o gestionarlos en el flujo.\n\n## Escribe registros\n\n`console.log` en el código del servidor escribe en la salida del proceso de Flow, por ejemplo en el terminal donde iniciaste Flow.\n\n```js\ninstance.close = function() {\n\tconsole.log('Heartbeat ' + instance.id + ' stopped');\n};\n```\n\nEsta línea aparece en la salida de Flow como `Heartbeat hb stopped`, donde `hb` es el id del nodo.\n\nPara registros que el usuario lee en el lienzo, envía mejor un [estado](../status-and-look/).\n\n## El componente completo\n\n```html\n<script total>\n\n\texports.id = 'jsonparse';\n\texports.name = 'JSON parse';\n\texports.icon = 'ti ti-code';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Text' }];\n\texports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\ttry {\n\t\t\t\t$.send('output', JSON.parse($.data));\n\t\t\t} catch (e) {\n\t\t\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t\t\t$.send('error', { error: e.message, text: $.data });\n\t\t\t}\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nParses JSON text. Text that is not valid JSON goes to the **Error** output.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVr5KE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/errors-and-logging/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Erreurs et journaux","summary":"Signale les erreurs au designer, envoie les données en échec vers une sortie d'erreur et écris des journaux.","markdown":"---\ntitle: Erreurs et journaux\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/errors-and-logging/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Erreurs et journaux\n\n> Signale les erreurs au designer, envoie les données en échec vers une sortie d'erreur et écris des journaux.\n\nUn composant signale un problème de deux façons : à la personne qui surveille le designer, et aux nœuds suivants du flux, pour que le design puisse le gérer.\n\nCette page construit **JSON parse**, qui transforme un texte JSON en objet.\n\n## Signaler une erreur au designer\n\n`instance.throw(error)` ajoute l'erreur aux erreurs du FlowStream. Le designer affiche leur nombre sous **Errors** dans la barre d'état, et le FlowStream garde les 10 dernières erreurs :\n\n```js\ninstance.throw('Invalid JSON: ' + e.message);\n```\n\nDans `instance.message`, `$.throw(error)` fait la même chose et enregistre aussi l'erreur dans `$.error`.\n\n## Envoyer les données en échec vers une sortie d'erreur\n\nUne sortie d'erreur permet à l'utilisateur de décider quoi faire des données en échec : les journaliser, réessayer ou répondre à la requête avec une erreur. Déclare-la comme n'importe quelle sortie :\n\n```js\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\n**JSON parse** signale l'erreur et envoie le texte vers la sortie **Error** :\n\n```js\ninstance.message = function($) {\n\ttry {\n\t\t$.send('output', JSON.parse($.data));\n\t} catch (e) {\n\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t$.send('error', { error: e.message, text: $.data });\n\t}\n};\n```\n\nPour le texte `not json`, la sortie **Error** envoie ceci, et le designer compte une erreur :\n\n```json\n{ \"error\": \"Unexpected token 'o', \\\"not json\\\" is not valid JSON\", \"text\": \"not json\" }\n```\n\n## Les erreurs que tu n'attrapes pas\n\nQuand ton `instance.message` lève une exception, Flow l'attrape et termine le message. Les nœuds suivants ne reçoivent rien. Attrape toi-même les erreurs quand l'utilisateur doit les voir dans le designer ou les gérer dans le flux.\n\n## Écrire des journaux\n\n`console.log` dans le code serveur écrit dans la sortie du processus Flow, par exemple le terminal où tu as lancé Flow.\n\n```js\ninstance.close = function() {\n\tconsole.log('Heartbeat ' + instance.id + ' stopped');\n};\n```\n\nCette ligne apparaît dans la sortie de Flow sous la forme `Heartbeat hb stopped`, où `hb` est l'id du nœud.\n\nPour des journaux que l'utilisateur lit sur le canevas, envoie plutôt un [statut](../status-and-look/).\n\n## Le composant complet\n\n```html\n<script total>\n\n\texports.id = 'jsonparse';\n\texports.name = 'JSON parse';\n\texports.icon = 'ti ti-code';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Text' }];\n\texports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\ttry {\n\t\t\t\t$.send('output', JSON.parse($.data));\n\t\t\t} catch (e) {\n\t\t\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t\t\t$.send('error', { error: e.message, text: $.data });\n\t\t\t}\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nParses JSON text. Text that is not valid JSON goes to the **Error** output.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVr5KE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/errors-and-logging/","project":"flow","version":"11-1","section":"development","language":"it","title":"Errori e log","summary":"Segnala gli errori al designer, invia i dati non riusciti a un'uscita di errore e scrivi dei log.","markdown":"---\ntitle: Errori e log\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/errors-and-logging/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Errori e log\n\n> Segnala gli errori al designer, invia i dati non riusciti a un'uscita di errore e scrivi dei log.\n\nUn componente segnala un problema in due modi: alla persona che guarda il designer e ai nodi successivi del flusso, così il design può gestirlo.\n\nQuesta pagina costruisce **JSON parse**, che trasforma un testo JSON in un oggetto.\n\n## Segnalare un errore al designer\n\n`instance.throw(error)` aggiunge l'errore agli errori del FlowStream. Il designer mostra il numero sotto **Errors** (Errori) nella barra di stato, e il FlowStream conserva gli ultimi 10 errori:\n\n```js\ninstance.throw('Invalid JSON: ' + e.message);\n```\n\nDentro `instance.message`, `$.throw(error)` fa la stessa cosa e in più salva l'errore in `$.error`.\n\n## Inviare i dati non riusciti a un'uscita di errore\n\nUn'uscita di errore permette all'utente di decidere cosa succede ai dati che hanno dato errore: registrarli, riprovare o rispondere alla richiesta con un errore. Dichiarala come qualsiasi altra uscita:\n\n```js\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\n**JSON parse** segnala l'errore e invia il testo all'uscita **Error**:\n\n```js\ninstance.message = function($) {\n\ttry {\n\t\t$.send('output', JSON.parse($.data));\n\t} catch (e) {\n\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t$.send('error', { error: e.message, text: $.data });\n\t}\n};\n```\n\nPer il testo `not json`, l'uscita **Error** invia questo, e il designer conta un errore:\n\n```json\n{ \"error\": \"Unexpected token 'o', \\\"not json\\\" is not valid JSON\", \"text\": \"not json\" }\n```\n\n## Errori che non intercetti\n\nQuando il tuo `instance.message` lancia un'eccezione, Flow la intercetta e termina il messaggio. I nodi successivi non ricevono nulla. Intercetta tu gli errori quando l'utente deve vederli nel designer o gestirli nel flusso.\n\n## Scrivere log\n\n`console.log` nel codice del server scrive nell'output del processo di Flow, per esempio nel terminale in cui hai avviato Flow.\n\n```js\ninstance.close = function() {\n\tconsole.log('Heartbeat ' + instance.id + ' stopped');\n};\n```\n\nQuesta riga compare nell'output di Flow come `Heartbeat hb stopped`, dove `hb` è l'id del nodo.\n\nPer i log che l'utente legge sul canvas, invia invece uno [stato](../status-and-look/).\n\n## Il componente completo\n\n```html\n<script total>\n\n\texports.id = 'jsonparse';\n\texports.name = 'JSON parse';\n\texports.icon = 'ti ti-code';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Text' }];\n\texports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\ttry {\n\t\t\t\t$.send('output', JSON.parse($.data));\n\t\t\t} catch (e) {\n\t\t\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t\t\t$.send('error', { error: e.message, text: $.data });\n\t\t\t}\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nParses JSON text. Text that is not valid JSON goes to the **Error** output.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyVr5KE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/errors-and-logging/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Chyby a logovanie","summary":"Hlás chyby dizajnéru, posielaj neúspešné dáta na chybový výstup a zapisuj logy.","markdown":"---\ntitle: Chyby a logovanie\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/errors-and-logging/\nupdated: 2026-11-19T10:58:44.389Z\n---\n\n# Chyby a logovanie\n\n> Hlás chyby dizajnéru, posielaj neúspešné dáta na chybový výstup a zapisuj logy.\n\nKomponent hlási problém dvoma spôsobmi: človeku, ktorý sleduje dizajnér, a ďalším uzlom toku, aby ho návrh mohol spracovať.\n\nNa tejto stránke vytvoríš **JSON parse**, ktorý premení text JSON na objekt.\n\n## Nahlás chybu dizajnéru\n\n`instance.throw(error)` pridá chybu medzi chyby FlowStreamu. Dizajnér zobrazuje ich počet v **Errors** (chyby) na stavovom riadku a FlowStream uchováva posledných 10 chýb:\n\n```js\ninstance.throw('Invalid JSON: ' + e.message);\n```\n\nVnútri `instance.message` robí `$.throw(error)` to isté a navyše uloží chybu do `$.error`.\n\n## Pošli neúspešné dáta na chybový výstup\n\nChybový výstup nechá používateľa rozhodnúť, čo sa stane s dátami, ktoré zlyhali: zalogovať ich, skúsiť znova, alebo odpovedať na požiadavku chybou. Deklaruj ho ako akýkoľvek výstup:\n\n```js\nexports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n```\n\n**JSON parse** nahlási chybu a pošle text na výstup **Error**:\n\n```js\ninstance.message = function($) {\n\ttry {\n\t\t$.send('output', JSON.parse($.data));\n\t} catch (e) {\n\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t$.send('error', { error: e.message, text: $.data });\n\t}\n};\n```\n\nPre text `not json` pošle výstup **Error** toto a dizajnér započíta jednu chybu:\n\n```json\n{ \"error\": \"Unexpected token 'o', \\\"not json\\\" is not valid JSON\", \"text\": \"not json\" }\n```\n\n## Chyby, ktoré nezachytíš\n\nKeď tvoja `instance.message` vyhodí výnimku, Flow ju zachytí a ukončí správu. Ďalšie uzly nedostanú nič. Zachytávaj chyby sám, keď ich používateľ potrebuje vidieť v dizajnéri alebo ich spracovať v toku.\n\n## Zapisuj logy\n\n`console.log` v serverovom kóde zapisuje do výstupu procesu Flow, napríklad do terminálu, v ktorom si Flow spustil.\n\n```js\ninstance.close = function() {\n\tconsole.log('Heartbeat ' + instance.id + ' stopped');\n};\n```\n\nTento riadok sa vo výstupe Flow objaví ako `Heartbeat hb stopped`, kde `hb` je id uzla.\n\nPre logy, ktoré používateľ číta na plátne, radšej pošli [stav](../status-and-look/).\n\n## Celý komponent\n\n```html\n<script total>\n\n\texports.id = 'jsonparse';\n\texports.name = 'JSON parse';\n\texports.icon = 'ti ti-code';\n\texports.author = 'Jane Doe';\n\texports.version = '1';\n\texports.group = 'Demo';\n\texports.config = {};\n\texports.inputs = [{ id: 'input', name: 'Text' }];\n\texports.outputs = [{ id: 'output', name: 'Object' }, { id: 'error', name: 'Error' }];\n\n\texports.make = function(instance, config) {\n\n\t\tinstance.message = function($) {\n\t\t\ttry {\n\t\t\t\t$.send('output', JSON.parse($.data));\n\t\t\t} catch (e) {\n\t\t\t\tinstance.throw('Invalid JSON: ' + e.message);\n\t\t\t\t$.send('error', { error: e.message, text: $.data });\n\t\t\t}\n\t\t};\n\n\t};\n\n</script>\n\n<readme>\nParses JSON text. Text that is not valid JSON goes to the **Error** output.\n</readme>\n\n<body>\n\t<header>\n\t\t<i class=\"$ICON\"></i>$NAME\n\t</header>\n</body>\n```\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:44.389Z"}
{"id":"JapyXQ72E61f","url":"https://totaljs.es/docs/flow/11-1/development/testing/","project":"flow","version":"11-1","section":"development","language":"en","title":"Test components with the tester","summary":"Write automatic tests for a component with the tester of the official components repository.","markdown":"---\ntitle: Test components with the tester\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/testing/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Test components with the tester\n\n> Write automatic tests for a component with the tester of the official components repository.\n\nThe official components repository has a small tester. It loads one component into a FlowStream, sends data to its inputs and checks what comes out of its outputs, without Flow and without a browser.\n\nThe tester runs the component with Total.js 4, from the `total4` package, as the repository sets it up.\n\n## Set up the tester\n\n1. Download the repository:\n\n```bash\ngit clone https://github.com/totaljs/flowstreamcomponents.git\ncd flowstreamcomponents\n```\n\n2. Install the framework, once:\n\n```bash\nnpm install total4\n```\n\n3. Copy your component into the `components` folder, for example `components/uppercase.html`. The tester finds a component by its file name.\n\n## Write a test\n\nCreate a file in the `tests` folder, for example `tests/uppercase.js`:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('uppercase', function(test, next) {\n\t\ttest.input('input', 'hello flow', function(msg) {\n\t\t\ttest.ok(msg.data === 'HELLO FLOW', 'Converts text to uppercase');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n- `describe(name, fn)` loads `components/<name>.html` and connects every output to a catcher.\n- `test.input(input, data, callback)` sends `data` to the input with that id, and calls `callback` with the first message that comes out.\n- `test.ok(condition, text)` records a passed test when `condition` is true, and a failed one when it is false.\n- `next()` ends this test and lets the next `describe` start. `done()` prints the results.\n\nAlways pass the id of the input as the first argument of `test.input`: when the first argument is a string, the tester reads it as the id of the input.\n\n## Run it\n\n```bash\nnode tests/uppercase.js\n```\n\nThe tester prints one line for each check and a summary:\n\n```text\n[OK] Uppercase - Converts text to uppercase (2 ms)\n|--------------------------------------|\n| Total              |               1 |\n| Success            |               1 |\n| Failed             |               0 |\n| Duration           |          417 ms |\n|--------------------------------------|\n```\n\nTo run every file in the `tests` folder, run `node tester.js`.\n\n## Test errors and outputs\n\nThis test checks both outputs of **JSON parse** from [Errors and logging](../errors-and-logging/), and the error it reports:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.input('input', '{\"name\":\"Jane\"}', function(msg) {\n\t\t\ttest.ok(msg.output === 'output' && msg.data.name === 'Jane', 'Parses valid JSON');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.onerror = function(err) {\n\t\t\ttest.ok(err.indexOf('Invalid JSON') === 0, 'Reports invalid JSON');\n\t\t};\n\t\ttest.input('input', 'not json', function(msg) {\n\t\t\ttest.ok(msg.output === 'error' && msg.data.text === 'not json', 'Sends invalid JSON to the error output');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n```text\n[OK] JSON parse - Parses valid JSON (1 ms)\n[OK] JSON parse - Reports invalid JSON (1 ms)\n[OK] JSON parse - Sends invalid JSON to the error output (1 ms)\n```\n\n`msg.output` is the id of the output that sent the message.\n\n## More of the test object\n\n| Name | What it does |\n|---|---|\n| `test.configure(config)` | Resets the configuration to `exports.config`, applies these keys and calls `instance.configure`. With `true` as the second argument, it does not call `instance.configure`. |\n| `test.trigger(data)` | Calls `instance.trigger(data)`. |\n| `test.output = function(msg)` | Receives every message from every output. |\n| `test.status = function(status)` | Receives every status of the node. |\n| `test.onerror = function(err)` | Receives the errors of `instance.throw`. |\n| `test.fail(condition, text)` | Records a failed test when `condition` is true. |\n| `test.instance` | The instance of the node. |\n\nThe tester stops after 5 seconds. For longer tests, set `this.timeout` in milliseconds at the start of the callback of `require('../tester')`.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXQ72E61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/testing/","project":"flow","version":"11-1","section":"development","language":"de","title":"Komponenten mit dem Tester testen","summary":"Schreib automatische Tests für eine Komponente mit dem Tester aus dem Repository der offiziellen Komponenten.","markdown":"---\ntitle: Komponenten mit dem Tester testen\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/testing/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Komponenten mit dem Tester testen\n\n> Schreib automatische Tests für eine Komponente mit dem Tester aus dem Repository der offiziellen Komponenten.\n\nDas Repository der offiziellen Komponenten enthält einen kleinen Tester. Er lädt eine Komponente in einen FlowStream, sendet Daten an ihre Eingänge und prüft, was aus ihren Ausgängen kommt, ohne Flow und ohne Browser.\n\nDer Tester führt die Komponente mit Total.js 4 aus dem Paket `total4` aus, so wie das Repository es einrichtet.\n\n## Den Tester einrichten\n\n1. Lade das Repository herunter:\n\n```bash\ngit clone https://github.com/totaljs/flowstreamcomponents.git\ncd flowstreamcomponents\n```\n\n2. Installiere das Framework, einmalig:\n\n```bash\nnpm install total4\n```\n\n3. Kopiere deine Komponente in den Ordner `components`, zum Beispiel als `components/uppercase.html`. Der Tester findet eine Komponente über ihren Dateinamen.\n\n## Einen Test schreiben\n\nLeg eine Datei im Ordner `tests` an, zum Beispiel `tests/uppercase.js`:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('uppercase', function(test, next) {\n\t\ttest.input('input', 'hello flow', function(msg) {\n\t\t\ttest.ok(msg.data === 'HELLO FLOW', 'Converts text to uppercase');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n- `describe(name, fn)` lädt `components/<name>.html` und verbindet jeden Ausgang mit einem Fänger.\n- `test.input(input, data, callback)` sendet `data` an den Eingang mit dieser ID und ruft `callback` mit der ersten Nachricht auf, die herauskommt.\n- `test.ok(condition, text)` verbucht einen bestandenen Test, wenn `condition` wahr ist, und einen fehlgeschlagenen, wenn sie falsch ist.\n- `next()` beendet diesen Test und lässt das nächste `describe` starten. `done()` gibt die Ergebnisse aus.\n\nÜbergib immer die ID des Eingangs als erstes Argument von `test.input`: Wenn das erste Argument ein String ist, liest der Tester es als ID des Eingangs.\n\n## Ausführen\n\n```bash\nnode tests/uppercase.js\n```\n\nDer Tester gibt für jede Prüfung eine Zeile und eine Zusammenfassung aus:\n\n```text\n[OK] Uppercase - Converts text to uppercase (2 ms)\n|--------------------------------------|\n| Total              |               1 |\n| Success            |               1 |\n| Failed             |               0 |\n| Duration           |          417 ms |\n|--------------------------------------|\n```\n\nUm jede Datei im Ordner `tests` auszuführen, starte `node tester.js`.\n\n## Fehler und Ausgänge testen\n\nDieser Test prüft beide Ausgänge von **JSON parse** aus [Fehler und Logging](../errors-and-logging/) und den Fehler, den es meldet:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.input('input', '{\"name\":\"Jane\"}', function(msg) {\n\t\t\ttest.ok(msg.output === 'output' && msg.data.name === 'Jane', 'Parses valid JSON');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.onerror = function(err) {\n\t\t\ttest.ok(err.indexOf('Invalid JSON') === 0, 'Reports invalid JSON');\n\t\t};\n\t\ttest.input('input', 'not json', function(msg) {\n\t\t\ttest.ok(msg.output === 'error' && msg.data.text === 'not json', 'Sends invalid JSON to the error output');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n```text\n[OK] JSON parse - Parses valid JSON (1 ms)\n[OK] JSON parse - Reports invalid JSON (1 ms)\n[OK] JSON parse - Sends invalid JSON to the error output (1 ms)\n```\n\n`msg.output` ist die ID des Ausgangs, der die Nachricht gesendet hat.\n\n## Mehr vom Test-Objekt\n\n| Name | Was es macht |\n|---|---|\n| `test.configure(config)` | Setzt die Konfiguration auf `exports.config` zurück, wendet diese Schlüssel an und ruft `instance.configure` auf. Mit `true` als zweitem Argument ruft es `instance.configure` nicht auf. |\n| `test.trigger(data)` | Ruft `instance.trigger(data)` auf. |\n| `test.output = function(msg)` | Empfängt jede Nachricht aus jedem Ausgang. |\n| `test.status = function(status)` | Empfängt jeden Status des Nodes. |\n| `test.onerror = function(err)` | Empfängt die Fehler von `instance.throw`. |\n| `test.fail(condition, text)` | Verbucht einen fehlgeschlagenen Test, wenn `condition` wahr ist. |\n| `test.instance` | Die Instanz des Nodes. |\n\nDer Tester stoppt nach 5 Sekunden. Für längere Tests setzt du `this.timeout` in Millisekunden am Anfang des Callbacks von `require('../tester')`.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXQ72E61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/testing/","project":"flow","version":"11-1","section":"development","language":"es","title":"Prueba componentes con el tester","summary":"Escribe pruebas automáticas para un componente con el tester del repositorio de componentes oficiales.","markdown":"---\ntitle: Prueba componentes con el tester\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/testing/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Prueba componentes con el tester\n\n> Escribe pruebas automáticas para un componente con el tester del repositorio de componentes oficiales.\n\nEl repositorio de componentes oficiales tiene un pequeño tester. Carga un componente en un FlowStream, envía datos a sus entradas y comprueba lo que sale por sus salidas, sin Flow y sin navegador.\n\nEl tester ejecuta el componente con Total.js 4, del paquete `total4`, tal como lo prepara el repositorio.\n\n## Prepara el tester\n\n1. Descarga el repositorio:\n\n```bash\ngit clone https://github.com/totaljs/flowstreamcomponents.git\ncd flowstreamcomponents\n```\n\n2. Instala el framework, una sola vez:\n\n```bash\nnpm install total4\n```\n\n3. Copia tu componente en la carpeta `components`, por ejemplo `components/uppercase.html`. El tester encuentra un componente por el nombre de su archivo.\n\n## Escribe una prueba\n\nCrea un archivo en la carpeta `tests`, por ejemplo `tests/uppercase.js`:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('uppercase', function(test, next) {\n\t\ttest.input('input', 'hello flow', function(msg) {\n\t\t\ttest.ok(msg.data === 'HELLO FLOW', 'Converts text to uppercase');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n- `describe(name, fn)` carga `components/<name>.html` y conecta cada salida a un receptor.\n- `test.input(input, data, callback)` envía `data` a la entrada con ese id y llama a `callback` con el primer mensaje que sale.\n- `test.ok(condition, text)` registra una prueba superada cuando `condition` es verdadera, y una fallida cuando es falsa.\n- `next()` termina esta prueba y deja que empiece el siguiente `describe`. `done()` imprime los resultados.\n\nPasa siempre el id de la entrada como primer argumento de `test.input`: cuando el primer argumento es una cadena, el tester lo lee como el id de la entrada.\n\n## Ejecútala\n\n```bash\nnode tests/uppercase.js\n```\n\nEl tester imprime una línea por cada comprobación y un resumen:\n\n```text\n[OK] Uppercase - Converts text to uppercase (2 ms)\n|--------------------------------------|\n| Total              |               1 |\n| Success            |               1 |\n| Failed             |               0 |\n| Duration           |          417 ms |\n|--------------------------------------|\n```\n\nPara ejecutar todos los archivos de la carpeta `tests`, ejecuta `node tester.js`.\n\n## Prueba errores y salidas\n\nEsta prueba comprueba las dos salidas de **JSON parse**, de [Errores y registros](../errors-and-logging/), y el error del que informa:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.input('input', '{\"name\":\"Jane\"}', function(msg) {\n\t\t\ttest.ok(msg.output === 'output' && msg.data.name === 'Jane', 'Parses valid JSON');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.onerror = function(err) {\n\t\t\ttest.ok(err.indexOf('Invalid JSON') === 0, 'Reports invalid JSON');\n\t\t};\n\t\ttest.input('input', 'not json', function(msg) {\n\t\t\ttest.ok(msg.output === 'error' && msg.data.text === 'not json', 'Sends invalid JSON to the error output');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n```text\n[OK] JSON parse - Parses valid JSON (1 ms)\n[OK] JSON parse - Reports invalid JSON (1 ms)\n[OK] JSON parse - Sends invalid JSON to the error output (1 ms)\n```\n\n`msg.output` es el id de la salida que envió el mensaje.\n\n## Más sobre el objeto test\n\n| Nombre | Qué hace |\n|---|---|\n| `test.configure(config)` | Restablece la configuración a `exports.config`, aplica estas claves y llama a `instance.configure`. Con `true` como segundo argumento, no llama a `instance.configure`. |\n| `test.trigger(data)` | Llama a `instance.trigger(data)`. |\n| `test.output = function(msg)` | Recibe todos los mensajes de todas las salidas. |\n| `test.status = function(status)` | Recibe todos los estados del nodo. |\n| `test.onerror = function(err)` | Recibe los errores de `instance.throw`. |\n| `test.fail(condition, text)` | Registra una prueba fallida cuando `condition` es verdadera. |\n| `test.instance` | La instancia del nodo. |\n\nEl tester se detiene a los 5 segundos. Para pruebas más largas, define `this.timeout` en milisegundos al principio del callback de `require('../tester')`.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXQ72E61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/testing/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Tester des composants avec le testeur","summary":"Écris des tests automatiques pour un composant avec le testeur du dépôt des composants officiels.","markdown":"---\ntitle: Tester des composants avec le testeur\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/testing/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Tester des composants avec le testeur\n\n> Écris des tests automatiques pour un composant avec le testeur du dépôt des composants officiels.\n\nLe dépôt des composants officiels contient un petit testeur. Il charge un composant dans un FlowStream, envoie des données à ses entrées et vérifie ce qui sort de ses sorties, sans Flow et sans navigateur.\n\nLe testeur exécute le composant avec Total.js 4, depuis le paquet `total4`, comme le dépôt le configure.\n\n## Installer le testeur\n\n1. Télécharge le dépôt :\n\n```bash\ngit clone https://github.com/totaljs/flowstreamcomponents.git\ncd flowstreamcomponents\n```\n\n2. Installe le framework, une seule fois :\n\n```bash\nnpm install total4\n```\n\n3. Copie ton composant dans le dossier `components`, par exemple `components/uppercase.html`. Le testeur trouve un composant par son nom de fichier.\n\n## Écrire un test\n\nCrée un fichier dans le dossier `tests`, par exemple `tests/uppercase.js` :\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('uppercase', function(test, next) {\n\t\ttest.input('input', 'hello flow', function(msg) {\n\t\t\ttest.ok(msg.data === 'HELLO FLOW', 'Converts text to uppercase');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n- `describe(name, fn)` charge `components/<name>.html` et connecte chaque sortie à un récepteur.\n- `test.input(input, data, callback)` envoie `data` à l'entrée qui a cet id, et appelle `callback` avec le premier message qui sort.\n- `test.ok(condition, text)` enregistre un test réussi quand `condition` est vraie, et un test échoué quand elle est fausse.\n- `next()` termine ce test et laisse démarrer le `describe` suivant. `done()` affiche les résultats.\n\nPasse toujours l'id de l'entrée comme premier argument de `test.input` : quand le premier argument est une chaîne, le testeur la lit comme l'id de l'entrée.\n\n## L'exécuter\n\n```bash\nnode tests/uppercase.js\n```\n\nLe testeur affiche une ligne pour chaque vérification et un résumé :\n\n```text\n[OK] Uppercase - Converts text to uppercase (2 ms)\n|--------------------------------------|\n| Total              |               1 |\n| Success            |               1 |\n| Failed             |               0 |\n| Duration           |          417 ms |\n|--------------------------------------|\n```\n\nPour exécuter chaque fichier du dossier `tests`, lance `node tester.js`.\n\n## Tester les erreurs et les sorties\n\nCe test vérifie les deux sorties de **JSON parse** de [Erreurs et journaux](../errors-and-logging/), ainsi que l'erreur qu'il signale :\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.input('input', '{\"name\":\"Jane\"}', function(msg) {\n\t\t\ttest.ok(msg.output === 'output' && msg.data.name === 'Jane', 'Parses valid JSON');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.onerror = function(err) {\n\t\t\ttest.ok(err.indexOf('Invalid JSON') === 0, 'Reports invalid JSON');\n\t\t};\n\t\ttest.input('input', 'not json', function(msg) {\n\t\t\ttest.ok(msg.output === 'error' && msg.data.text === 'not json', 'Sends invalid JSON to the error output');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n```text\n[OK] JSON parse - Parses valid JSON (1 ms)\n[OK] JSON parse - Reports invalid JSON (1 ms)\n[OK] JSON parse - Sends invalid JSON to the error output (1 ms)\n```\n\n`msg.output` est l'id de la sortie qui a envoyé le message.\n\n## Plus sur l'objet test\n\n| Nom | Ce qu'il fait |\n|---|---|\n| `test.configure(config)` | Remet la configuration à `exports.config`, applique ces clés et appelle `instance.configure`. Avec `true` comme second argument, il n'appelle pas `instance.configure`. |\n| `test.trigger(data)` | Appelle `instance.trigger(data)`. |\n| `test.output = function(msg)` | Reçoit chaque message de chaque sortie. |\n| `test.status = function(status)` | Reçoit chaque statut du nœud. |\n| `test.onerror = function(err)` | Reçoit les erreurs de `instance.throw`. |\n| `test.fail(condition, text)` | Enregistre un test échoué quand `condition` est vraie. |\n| `test.instance` | L'instance du nœud. |\n\nLe testeur s'arrête après 5 secondes. Pour des tests plus longs, définis `this.timeout` en millisecondes au début du callback de `require('../tester')`.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXQ72E61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/testing/","project":"flow","version":"11-1","section":"development","language":"it","title":"Testare i componenti con il tester","summary":"Scrivi test automatici per un componente con il tester del repository ufficiale dei componenti.","markdown":"---\ntitle: Testare i componenti con il tester\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/testing/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Testare i componenti con il tester\n\n> Scrivi test automatici per un componente con il tester del repository ufficiale dei componenti.\n\nIl repository ufficiale dei componenti ha un piccolo tester. Carica un componente in un FlowStream, invia dati ai suoi ingressi e controlla cosa esce dalle sue uscite, senza Flow e senza un browser.\n\nIl tester esegue il componente con Total.js 4, dal pacchetto `total4`, come lo configura il repository.\n\n## Preparare il tester\n\n1. Scarica il repository:\n\n```bash\ngit clone https://github.com/totaljs/flowstreamcomponents.git\ncd flowstreamcomponents\n```\n\n2. Installa il framework, una sola volta:\n\n```bash\nnpm install total4\n```\n\n3. Copia il tuo componente nella cartella `components`, per esempio `components/uppercase.html`. Il tester trova un componente in base al nome del file.\n\n## Scrivere un test\n\nCrea un file nella cartella `tests`, per esempio `tests/uppercase.js`:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('uppercase', function(test, next) {\n\t\ttest.input('input', 'hello flow', function(msg) {\n\t\t\ttest.ok(msg.data === 'HELLO FLOW', 'Converts text to uppercase');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n- `describe(name, fn)` carica `components/<name>.html` e collega ogni uscita a un raccoglitore.\n- `test.input(input, data, callback)` invia `data` all'ingresso con quell'id, e chiama `callback` con il primo messaggio che esce.\n- `test.ok(condition, text)` registra un test superato quando `condition` è vera, e uno fallito quando è falsa.\n- `next()` termina questo test e fa partire il `describe` successivo. `done()` stampa i risultati.\n\nPassa sempre l'id dell'ingresso come primo argomento di `test.input`: quando il primo argomento è una stringa, il tester la legge come id dell'ingresso.\n\n## Eseguirlo\n\n```bash\nnode tests/uppercase.js\n```\n\nIl tester stampa una riga per ogni controllo e un riepilogo:\n\n```text\n[OK] Uppercase - Converts text to uppercase (2 ms)\n|--------------------------------------|\n| Total              |               1 |\n| Success            |               1 |\n| Failed             |               0 |\n| Duration           |          417 ms |\n|--------------------------------------|\n```\n\nPer eseguire tutti i file della cartella `tests`, esegui `node tester.js`.\n\n## Testare errori e uscite\n\nQuesto test controlla entrambe le uscite di **JSON parse** da [Errori e log](../errors-and-logging/), e l'errore che segnala:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.input('input', '{\"name\":\"Jane\"}', function(msg) {\n\t\t\ttest.ok(msg.output === 'output' && msg.data.name === 'Jane', 'Parses valid JSON');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.onerror = function(err) {\n\t\t\ttest.ok(err.indexOf('Invalid JSON') === 0, 'Reports invalid JSON');\n\t\t};\n\t\ttest.input('input', 'not json', function(msg) {\n\t\t\ttest.ok(msg.output === 'error' && msg.data.text === 'not json', 'Sends invalid JSON to the error output');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n```text\n[OK] JSON parse - Parses valid JSON (1 ms)\n[OK] JSON parse - Reports invalid JSON (1 ms)\n[OK] JSON parse - Sends invalid JSON to the error output (1 ms)\n```\n\n`msg.output` è l'id dell'uscita che ha inviato il messaggio.\n\n## Altro sull'oggetto test\n\n| Nome | Cosa fa |\n|---|---|\n| `test.configure(config)` | Riporta la configurazione a `exports.config`, applica queste chiavi e chiama `instance.configure`. Con `true` come secondo argomento, non chiama `instance.configure`. |\n| `test.trigger(data)` | Chiama `instance.trigger(data)`. |\n| `test.output = function(msg)` | Riceve ogni messaggio da ogni uscita. |\n| `test.status = function(status)` | Riceve ogni stato del nodo. |\n| `test.onerror = function(err)` | Riceve gli errori di `instance.throw`. |\n| `test.fail(condition, text)` | Registra un test fallito quando `condition` è vera. |\n| `test.instance` | L'istanza del nodo. |\n\nIl tester si ferma dopo 5 secondi. Per test più lunghi, imposta `this.timeout` in millisecondi all'inizio della callback di `require('../tester')`.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXQ72E61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/testing/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Testovanie komponentov testerom","summary":"Napíš automatické testy pre komponent pomocou testera z repozitára oficiálnych komponentov.","markdown":"---\ntitle: Testovanie komponentov testerom\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/testing/\nupdated: 2026-11-19T10:58:54.144Z\n---\n\n# Testovanie komponentov testerom\n\n> Napíš automatické testy pre komponent pomocou testera z repozitára oficiálnych komponentov.\n\nRepozitár oficiálnych komponentov má malý tester. Načíta jeden komponent do FlowStreamu, pošle dáta na jeho vstupy a skontroluje, čo vyjde z jeho výstupov, bez Flow a bez prehliadača.\n\nTester spúšťa komponent s Total.js 4, z balíka `total4`, tak ako to nastavuje repozitár.\n\n## Nastav tester\n\n1. Stiahni repozitár:\n\n```bash\ngit clone https://github.com/totaljs/flowstreamcomponents.git\ncd flowstreamcomponents\n```\n\n2. Raz nainštaluj framework:\n\n```bash\nnpm install total4\n```\n\n3. Skopíruj svoj komponent do priečinka `components`, napríklad `components/uppercase.html`. Tester nájde komponent podľa názvu súboru.\n\n## Napíš test\n\nVytvor súbor v priečinku `tests`, napríklad `tests/uppercase.js`:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('uppercase', function(test, next) {\n\t\ttest.input('input', 'hello flow', function(msg) {\n\t\t\ttest.ok(msg.data === 'HELLO FLOW', 'Converts text to uppercase');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n- `describe(name, fn)` načíta `components/<name>.html` a pripojí každý výstup k zachytávaču.\n- `test.input(input, data, callback)` pošle `data` na vstup s daným id a zavolá `callback` s prvou správou, ktorá vyjde.\n- `test.ok(condition, text)` zaznamená úspešný test, keď je `condition` pravdivá, a neúspešný, keď je nepravdivá.\n- `next()` ukončí tento test a nechá začať ďalší `describe`. `done()` vypíše výsledky.\n\nAko prvý argument `test.input` vždy odovzdaj id vstupu: keď je prvý argument reťazec, tester ho číta ako id vstupu.\n\n## Spusti ho\n\n```bash\nnode tests/uppercase.js\n```\n\nTester vypíše jeden riadok pre každú kontrolu a súhrn:\n\n```text\n[OK] Uppercase - Converts text to uppercase (2 ms)\n|--------------------------------------|\n| Total              |               1 |\n| Success            |               1 |\n| Failed             |               0 |\n| Duration           |          417 ms |\n|--------------------------------------|\n```\n\nAk chceš spustiť každý súbor v priečinku `tests`, spusti `node tester.js`.\n\n## Testuj chyby a výstupy\n\nTento test kontroluje oba výstupy **JSON parse** z [Chyby a logovanie](../errors-and-logging/) a chybu, ktorú hlási:\n\n```js\nrequire('../tester')(async function(describe, done) {\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.input('input', '{\"name\":\"Jane\"}', function(msg) {\n\t\t\ttest.ok(msg.output === 'output' && msg.data.name === 'Jane', 'Parses valid JSON');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tawait describe('jsonparse', function(test, next) {\n\t\ttest.onerror = function(err) {\n\t\t\ttest.ok(err.indexOf('Invalid JSON') === 0, 'Reports invalid JSON');\n\t\t};\n\t\ttest.input('input', 'not json', function(msg) {\n\t\t\ttest.ok(msg.output === 'error' && msg.data.text === 'not json', 'Sends invalid JSON to the error output');\n\t\t\tnext();\n\t\t});\n\t});\n\n\tdone();\n});\n```\n\n```text\n[OK] JSON parse - Parses valid JSON (1 ms)\n[OK] JSON parse - Reports invalid JSON (1 ms)\n[OK] JSON parse - Sends invalid JSON to the error output (1 ms)\n```\n\n`msg.output` je id výstupu, ktorý správu poslal.\n\n## Ďalšie možnosti objektu test\n\n| Názov | Čo robí |\n|---|---|\n| `test.configure(config)` | Vráti konfiguráciu na `exports.config`, použije tieto kľúče a zavolá `instance.configure`. S `true` ako druhým argumentom `instance.configure` nezavolá. |\n| `test.trigger(data)` | Zavolá `instance.trigger(data)`. |\n| `test.output = function(msg)` | Dostáva každú správu z každého výstupu. |\n| `test.status = function(status)` | Dostáva každý stav uzla. |\n| `test.onerror = function(err)` | Dostáva chyby z `instance.throw`. |\n| `test.fail(condition, text)` | Zaznamená neúspešný test, keď je `condition` pravdivá. |\n| `test.instance` | Inštancia uzla. |\n\nTester sa zastaví po 5 sekundách. Pre dlhšie testy nastav na začiatku callbacku `require('../tester')` hodnotu `this.timeout` v milisekundách.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:54.144Z"}
{"id":"JapyXK6vE60f","url":"https://totaljs.es/docs/flow/11-1/development/own-catalogue/","project":"flow","version":"11-1","section":"development","language":"en","title":"Your own catalogue","summary":"Publish your components in a catalogue file that appears in the Download components window next to the official components.","markdown":"---\ntitle: Your own catalogue\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/own-catalogue/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Your own catalogue\n\n> Publish your components in a catalogue file that appears in the Download components window next to the official components.\n\nA catalogue is a JSON file that lists components and the addresses of their files. Flow shows the official catalogue in the **Download components** window, and it can show a second catalogue of your own next to it, so your team installs your components the same way as the official ones.\n\n![The Download components window with a Demo group of three components from a custom catalogue](/files/JapyXI6uE61f.webp)\n\n## The catalogue file\n\nThe file is an array with one object for each component. It has the same structure as `db.json` in the official repository:\n\n```json\n[\n\t{\n\t\t\"id\": \"greeting\",\n\t\t\"group\": \"Demo\",\n\t\t\"name\": \"Greeting\",\n\t\t\"url\": \"https://components.example.com/greeting.html\",\n\t\t\"author\": \"Jane Doe\",\n\t\t\"icon\": \"ti ti-comment\",\n\t\t\"color\": \"\",\n\t\t\"version\": \"1\",\n\t\t\"kind\": \"\",\n\t\t\"readme\": \"Greets the incoming name. The greeting can contain variables, for example `{welcome}`.\"\n\t}\n]\n```\n\n| Field | What it does |\n|---|---|\n| `id` | The id of the component. |\n| `name` | The name in the window. Flow also uses it to find out whether the component is installed. |\n| `group` | The heading in the window. Components without a group are listed first, without a heading. |\n| `url` | The address of the component file. Flow downloads it when the user selects the component. |\n| `version` | The version. When it is higher than the installed version, the window shows an **update** badge. |\n| `author` | The author. An author that does not contain `Total.js` gets a **Community** badge. |\n| `icon` | The icon in the window. |\n| `color` | A color for the icon, for example `#7A5CFF`. Empty uses the color of the group. |\n| `kind` | A label, such as `trigger`, `action` or `output`. |\n| `readme` | The text of **Read me**, in Markdown. |\n\nKeep `name`, `version` and `icon` in the file equal to `exports.name`, `exports.version` and `exports.icon` of the component. Flow installs the component under the `exports.id` of the file.\n\n## Publish it\n\nPut the catalogue and the component files on a web server. The browser of each user downloads them, so:\n\n- the addresses must be reachable from the browsers of your users;\n- on another domain than Flow, the server must allow cross-origin requests (CORS).\n\nThe `public` folder of Flow is one place for them: a file at `public/catalogue/db.json` is served at `/catalogue/db.json` by Flow itself.\n\n## Connect it to Flow\n\n1. Stop Flow.\n2. Add the address of your catalogue to the `config` file in the Flow folder:\n\n```text\ncomponents2 : https://flow.example.com/catalogue/db.json\n```\n\n3. Start Flow again.\n\nOpen the designer, select **Add**, then **Download components**. Your components appear in their groups next to the official ones. For the other keys of the file, see [Configuration file](/flow/11-1/reference/config-file/).\n\n## Release a new version\n\n1. Change the component file and raise `exports.version`, for example from `1` to `2`.\n2. Raise `version` of the component in the catalogue to the same number.\n\nIn every FlowStream that has the old version, the window shows the **update** badge on the component. Selecting it installs the new file.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXK6vE60f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/own-catalogue/","project":"flow","version":"11-1","section":"development","language":"de","title":"Dein eigener Katalog","summary":"Veröffentliche deine Komponenten in einer Katalogdatei, die im Fenster Download components neben den offiziellen Komponenten erscheint.","markdown":"---\ntitle: Dein eigener Katalog\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/own-catalogue/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Dein eigener Katalog\n\n> Veröffentliche deine Komponenten in einer Katalogdatei, die im Fenster Download components neben den offiziellen Komponenten erscheint.\n\nEin Katalog ist eine JSON-Datei, die Komponenten und die Adressen ihrer Dateien auflistet. Flow zeigt den offiziellen Katalog im Fenster **Download components** (Komponenten herunterladen), und es kann daneben einen zweiten, eigenen Katalog anzeigen. So installiert dein Team deine Komponenten genauso wie die offiziellen.\n\n![Das Fenster Download components mit einer Gruppe Demo aus drei Komponenten eines eigenen Katalogs](/files/JapyXI6uE61f.webp)\n\n## Die Katalogdatei\n\nDie Datei ist ein Array mit einem Objekt für jede Komponente. Sie hat denselben Aufbau wie `db.json` im offiziellen Repository:\n\n```json\n[\n\t{\n\t\t\"id\": \"greeting\",\n\t\t\"group\": \"Demo\",\n\t\t\"name\": \"Greeting\",\n\t\t\"url\": \"https://components.example.com/greeting.html\",\n\t\t\"author\": \"Jane Doe\",\n\t\t\"icon\": \"ti ti-comment\",\n\t\t\"color\": \"\",\n\t\t\"version\": \"1\",\n\t\t\"kind\": \"\",\n\t\t\"readme\": \"Greets the incoming name. The greeting can contain variables, for example `{welcome}`.\"\n\t}\n]\n```\n\n| Feld | Was es bewirkt |\n|---|---|\n| `id` | Die ID der Komponente. |\n| `name` | Der Name im Fenster. Flow erkennt daran auch, ob die Komponente installiert ist. |\n| `group` | Die Überschrift im Fenster. Komponenten ohne Gruppe stehen ganz oben, ohne Überschrift. |\n| `url` | Die Adresse der Komponentendatei. Flow lädt sie herunter, wenn der Nutzer die Komponente wählt. |\n| `version` | Die Version. Wenn sie höher ist als die installierte Version, zeigt das Fenster ein **update**-Abzeichen. |\n| `author` | Der Autor. Ein Autor, der nicht `Total.js` enthält, bekommt ein **Community**-Abzeichen. |\n| `icon` | Das Icon im Fenster. |\n| `color` | Eine Farbe für das Icon, zum Beispiel `#7A5CFF`. Leer bedeutet die Farbe der Gruppe. |\n| `kind` | Eine Bezeichnung, etwa `trigger`, `action` oder `output`. |\n| `readme` | Der Text von **Read me**, in Markdown. |\n\nHalte `name`, `version` und `icon` in der Datei gleich wie `exports.name`, `exports.version` und `exports.icon` der Komponente. Flow installiert die Komponente unter der `exports.id` der Datei.\n\n## Veröffentlichen\n\nLeg den Katalog und die Komponentendateien auf einen Webserver. Der Browser jedes Nutzers lädt sie herunter, daher gilt:\n\n- Die Adressen müssen von den Browsern deiner Nutzer erreichbar sein.\n- Auf einer anderen Domain als Flow muss der Server Cross-Origin-Anfragen (CORS) erlauben.\n\nDer Ordner `public` von Flow ist ein möglicher Ort dafür: Eine Datei unter `public/catalogue/db.json` liefert Flow selbst unter `/catalogue/db.json` aus.\n\n## Mit Flow verbinden\n\n1. Stoppe Flow.\n2. Füg die Adresse deines Katalogs zur Datei `config` im Flow-Ordner hinzu:\n\n```text\ncomponents2 : https://flow.example.com/catalogue/db.json\n```\n\n3. Starte Flow wieder.\n\nÖffne den Designer, wähle **Add** (Hinzufügen) und dann **Download components**. Deine Komponenten erscheinen in ihren Gruppen neben den offiziellen. Die anderen Schlüssel der Datei findest du unter [Konfigurationsdatei](/flow/11-1/reference/config-file/).\n\n## Eine neue Version herausgeben\n\n1. Ändere die Komponentendatei und erhöhe `exports.version`, zum Beispiel von `1` auf `2`.\n2. Erhöhe `version` der Komponente im Katalog auf dieselbe Zahl.\n\nIn jedem FlowStream, der die alte Version hat, zeigt das Fenster das **update**-Abzeichen an der Komponente. Wenn du sie wählst, wird die neue Datei installiert.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXK6vE60f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/own-catalogue/","project":"flow","version":"11-1","section":"development","language":"es","title":"Tu propio catálogo","summary":"Publica tus componentes en un archivo de catálogo que aparece en la ventana Download components junto a los componentes oficiales.","markdown":"---\ntitle: \"Tu propio catálogo\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/own-catalogue/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Tu propio catálogo\n\n> Publica tus componentes en un archivo de catálogo que aparece en la ventana Download components junto a los componentes oficiales.\n\nUn catálogo es un archivo JSON que lista componentes y las direcciones de sus archivos. Flow muestra el catálogo oficial en la ventana **Download components** (descargar componentes), y puede mostrar a su lado un segundo catálogo tuyo, así tu equipo instala tus componentes igual que los oficiales.\n\n![La ventana Download components con un grupo Demo de tres componentes de un catálogo propio](/files/JapyXI6uE61f.webp)\n\n## El archivo del catálogo\n\nEl archivo es un array con un objeto por cada componente. Tiene la misma estructura que `db.json` en el repositorio oficial:\n\n```json\n[\n\t{\n\t\t\"id\": \"greeting\",\n\t\t\"group\": \"Demo\",\n\t\t\"name\": \"Greeting\",\n\t\t\"url\": \"https://components.example.com/greeting.html\",\n\t\t\"author\": \"Jane Doe\",\n\t\t\"icon\": \"ti ti-comment\",\n\t\t\"color\": \"\",\n\t\t\"version\": \"1\",\n\t\t\"kind\": \"\",\n\t\t\"readme\": \"Greets the incoming name. The greeting can contain variables, for example `{welcome}`.\"\n\t}\n]\n```\n\n| Campo | Qué hace |\n|---|---|\n| `id` | El id del componente. |\n| `name` | El nombre en la ventana. Flow también lo usa para saber si el componente está instalado. |\n| `group` | El encabezado en la ventana. Los componentes sin grupo aparecen primero, sin encabezado. |\n| `url` | La dirección del archivo del componente. Flow lo descarga cuando el usuario selecciona el componente. |\n| `version` | La versión. Cuando es mayor que la versión instalada, la ventana muestra una insignia **update** (actualizar). |\n| `author` | El autor. Un autor que no contiene `Total.js` recibe una insignia **Community** (comunidad). |\n| `icon` | El icono en la ventana. |\n| `color` | Un color para el icono, por ejemplo `#7A5CFF`. Si está vacío, usa el color del grupo. |\n| `kind` | Una etiqueta, como `trigger`, `action` u `output`. |\n| `readme` | El texto de **Read me**, en Markdown. |\n\nMantén `name`, `version` e `icon` del archivo iguales a `exports.name`, `exports.version` y `exports.icon` del componente. Flow instala el componente con el `exports.id` del archivo.\n\n## Publícalo\n\nPon el catálogo y los archivos de los componentes en un servidor web. El navegador de cada usuario los descarga, así que:\n\n- las direcciones deben ser accesibles desde los navegadores de tus usuarios;\n- en un dominio distinto al de Flow, el servidor debe permitir peticiones entre orígenes (CORS).\n\nLa carpeta `public` de Flow es un buen sitio para ellos: el propio Flow sirve un archivo en `public/catalogue/db.json` en `/catalogue/db.json`.\n\n## Conéctalo a Flow\n\n1. Detén Flow.\n2. Añade la dirección de tu catálogo al archivo `config` de la carpeta de Flow:\n\n```text\ncomponents2 : https://flow.example.com/catalogue/db.json\n```\n\n3. Vuelve a iniciar Flow.\n\nAbre el diseñador, selecciona **Add** y después **Download components**. Tus componentes aparecen en sus grupos junto a los oficiales. Para las demás claves del archivo, consulta [Archivo de configuración](/flow/11-1/reference/config-file/).\n\n## Publica una versión nueva\n\n1. Cambia el archivo del componente y sube `exports.version`, por ejemplo de `1` a `2`.\n2. Sube la `version` del componente en el catálogo al mismo número.\n\nEn cada FlowStream que tenga la versión antigua, la ventana muestra la insignia **update** en el componente. Al seleccionarlo se instala el archivo nuevo.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXK6vE60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/own-catalogue/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Ton propre catalogue","summary":"Publie tes composants dans un fichier de catalogue qui apparaît dans la fenêtre Download components à côté des composants officiels.","markdown":"---\ntitle: Ton propre catalogue\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/own-catalogue/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Ton propre catalogue\n\n> Publie tes composants dans un fichier de catalogue qui apparaît dans la fenêtre Download components à côté des composants officiels.\n\nUn catalogue est un fichier JSON qui liste des composants et les adresses de leurs fichiers. Flow affiche le catalogue officiel dans la fenêtre **Download components** (télécharger des composants), et il peut afficher à côté un second catalogue qui t'appartient, pour que ton équipe installe tes composants de la même façon que les officiels.\n\n![La fenêtre Download components avec un groupe Demo de trois composants venant d'un catalogue personnalisé](/files/JapyXI6uE61f.webp)\n\n## Le fichier du catalogue\n\nLe fichier est un tableau avec un objet pour chaque composant. Il a la même structure que `db.json` dans le dépôt officiel :\n\n```json\n[\n\t{\n\t\t\"id\": \"greeting\",\n\t\t\"group\": \"Demo\",\n\t\t\"name\": \"Greeting\",\n\t\t\"url\": \"https://components.example.com/greeting.html\",\n\t\t\"author\": \"Jane Doe\",\n\t\t\"icon\": \"ti ti-comment\",\n\t\t\"color\": \"\",\n\t\t\"version\": \"1\",\n\t\t\"kind\": \"\",\n\t\t\"readme\": \"Greets the incoming name. The greeting can contain variables, for example `{welcome}`.\"\n\t}\n]\n```\n\n| Champ | Ce qu'il fait |\n|---|---|\n| `id` | L'id du composant. |\n| `name` | Le nom dans la fenêtre. Flow l'utilise aussi pour savoir si le composant est installé. |\n| `group` | Le titre dans la fenêtre. Les composants sans groupe sont listés en premier, sans titre. |\n| `url` | L'adresse du fichier du composant. Flow le télécharge quand l'utilisateur sélectionne le composant. |\n| `version` | La version. Quand elle est supérieure à la version installée, la fenêtre affiche un badge **update**. |\n| `author` | L'auteur. Un auteur qui ne contient pas `Total.js` reçoit un badge **Community**. |\n| `icon` | L'icône dans la fenêtre. |\n| `color` | Une couleur pour l'icône, par exemple `#7A5CFF`. Vide, elle prend la couleur du groupe. |\n| `kind` | Une étiquette, comme `trigger`, `action` ou `output`. |\n| `readme` | Le texte de **Read me**, en Markdown. |\n\nGarde `name`, `version` et `icon` du fichier identiques à `exports.name`, `exports.version` et `exports.icon` du composant. Flow installe le composant sous l'`exports.id` du fichier.\n\n## Le publier\n\nMets le catalogue et les fichiers des composants sur un serveur web. Le navigateur de chaque utilisateur les télécharge, donc :\n\n- les adresses doivent être accessibles depuis les navigateurs de tes utilisateurs ;\n- sur un autre domaine que celui de Flow, le serveur doit autoriser les requêtes cross-origin (CORS).\n\nLe dossier `public` de Flow est un endroit possible pour eux : un fichier dans `public/catalogue/db.json` est servi à `/catalogue/db.json` par Flow lui-même.\n\n## Le connecter à Flow\n\n1. Arrête Flow.\n2. Ajoute l'adresse de ton catalogue au fichier `config` dans le dossier de Flow :\n\n```text\ncomponents2 : https://flow.example.com/catalogue/db.json\n```\n\n3. Redémarre Flow.\n\nOuvre le designer, sélectionne **Add**, puis **Download components**. Tes composants apparaissent dans leurs groupes à côté des officiels. Pour les autres clés du fichier, consulte [Fichier de configuration](/flow/11-1/reference/config-file/).\n\n## Publier une nouvelle version\n\n1. Modifie le fichier du composant et augmente `exports.version`, par exemple de `1` à `2`.\n2. Augmente la `version` du composant dans le catalogue jusqu'au même numéro.\n\nDans chaque FlowStream qui a l'ancienne version, la fenêtre affiche le badge **update** sur le composant. Le sélectionner installe le nouveau fichier.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXK6vE60f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/own-catalogue/","project":"flow","version":"11-1","section":"development","language":"it","title":"Il tuo catalogo","summary":"Pubblica i tuoi componenti in un file di catalogo che compare nella finestra Download components accanto ai componenti ufficiali.","markdown":"---\ntitle: Il tuo catalogo\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/own-catalogue/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Il tuo catalogo\n\n> Pubblica i tuoi componenti in un file di catalogo che compare nella finestra Download components accanto ai componenti ufficiali.\n\nUn catalogo è un file JSON che elenca dei componenti e gli indirizzi dei loro file. Flow mostra il catalogo ufficiale nella finestra **Download components** (Scarica componenti), e può mostrare accanto a esso un secondo catalogo tutto tuo, così il tuo team installa i tuoi componenti nello stesso modo di quelli ufficiali.\n\n![La finestra Download components con un gruppo Demo di tre componenti da un catalogo personalizzato](/files/JapyXI6uE61f.webp)\n\n## Il file del catalogo\n\nIl file è un array con un oggetto per ogni componente. Ha la stessa struttura di `db.json` nel repository ufficiale:\n\n```json\n[\n\t{\n\t\t\"id\": \"greeting\",\n\t\t\"group\": \"Demo\",\n\t\t\"name\": \"Greeting\",\n\t\t\"url\": \"https://components.example.com/greeting.html\",\n\t\t\"author\": \"Jane Doe\",\n\t\t\"icon\": \"ti ti-comment\",\n\t\t\"color\": \"\",\n\t\t\"version\": \"1\",\n\t\t\"kind\": \"\",\n\t\t\"readme\": \"Greets the incoming name. The greeting can contain variables, for example `{welcome}`.\"\n\t}\n]\n```\n\n| Campo | Cosa fa |\n|---|---|\n| `id` | L'id del componente. |\n| `name` | Il nome nella finestra. Flow lo usa anche per capire se il componente è installato. |\n| `group` | L'intestazione nella finestra. I componenti senza gruppo sono elencati per primi, senza intestazione. |\n| `url` | L'indirizzo del file del componente. Flow lo scarica quando l'utente seleziona il componente. |\n| `version` | La versione. Quando è più alta della versione installata, la finestra mostra un badge **update** (aggiornamento). |\n| `author` | L'autore. Un autore che non contiene `Total.js` riceve un badge **Community**. |\n| `icon` | L'icona nella finestra. |\n| `color` | Un colore per l'icona, per esempio `#7A5CFF`. Se è vuoto, usa il colore del gruppo. |\n| `kind` | Un'etichetta, come `trigger`, `action` o `output`. |\n| `readme` | Il testo di **Read me**, in Markdown. |\n\nMantieni `name`, `version` e `icon` nel file uguali a `exports.name`, `exports.version` e `exports.icon` del componente. Flow installa il componente con l'`exports.id` del file.\n\n## Pubblicarlo\n\nMetti il catalogo e i file dei componenti su un server web. È il browser di ogni utente a scaricarli, quindi:\n\n- gli indirizzi devono essere raggiungibili dai browser dei tuoi utenti;\n- su un dominio diverso da quello di Flow, il server deve consentire le richieste cross-origin (CORS).\n\nLa cartella `public` di Flow è un posto adatto: un file in `public/catalogue/db.json` viene servito da Flow stesso all'indirizzo `/catalogue/db.json`.\n\n## Collegarlo a Flow\n\n1. Ferma Flow.\n2. Aggiungi l'indirizzo del tuo catalogo al file `config` nella cartella di Flow:\n\n```text\ncomponents2 : https://flow.example.com/catalogue/db.json\n```\n\n3. Avvia di nuovo Flow.\n\nApri il designer, seleziona **Add** (Aggiungi), poi **Download components**. I tuoi componenti compaiono nei loro gruppi accanto a quelli ufficiali. Per le altre chiavi del file, vedi [File di configurazione](/flow/11-1/reference/config-file/).\n\n## Rilasciare una nuova versione\n\n1. Modifica il file del componente e aumenta `exports.version`, per esempio da `1` a `2`.\n2. Aumenta la `version` del componente nel catalogo allo stesso numero.\n\nIn ogni FlowStream che ha la vecchia versione, la finestra mostra il badge **update** sul componente. Selezionandolo si installa il nuovo file.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXK6vE60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/own-catalogue/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Vlastný katalóg","summary":"Zverejni svoje komponenty v súbore katalógu, ktorý sa zobrazí v okne Download components vedľa oficiálnych komponentov.","markdown":"---\ntitle: \"Vlastný katalóg\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/own-catalogue/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Vlastný katalóg\n\n> Zverejni svoje komponenty v súbore katalógu, ktorý sa zobrazí v okne Download components vedľa oficiálnych komponentov.\n\nKatalóg je súbor JSON, ktorý uvádza komponenty a adresy ich súborov. Flow zobrazuje oficiálny katalóg v okne **Download components** (stiahnuť komponenty) a vedľa neho môže zobraziť aj druhý, tvoj vlastný katalóg, takže tvoj tím inštaluje tvoje komponenty rovnako ako tie oficiálne.\n\n![Okno Download components so skupinou Demo s tromi komponentmi z vlastného katalógu](/files/JapyXI6uE61f.webp)\n\n## Súbor katalógu\n\nSúbor je pole s jedným objektom pre každý komponent. Má rovnakú štruktúru ako `db.json` v oficiálnom repozitári:\n\n```json\n[\n\t{\n\t\t\"id\": \"greeting\",\n\t\t\"group\": \"Demo\",\n\t\t\"name\": \"Greeting\",\n\t\t\"url\": \"https://components.example.com/greeting.html\",\n\t\t\"author\": \"Jane Doe\",\n\t\t\"icon\": \"ti ti-comment\",\n\t\t\"color\": \"\",\n\t\t\"version\": \"1\",\n\t\t\"kind\": \"\",\n\t\t\"readme\": \"Greets the incoming name. The greeting can contain variables, for example `{welcome}`.\"\n\t}\n]\n```\n\n| Pole | Čo robí |\n|---|---|\n| `id` | Id komponentu. |\n| `name` | Názov v okne. Flow podľa neho zisťuje aj to, či je komponent nainštalovaný. |\n| `group` | Nadpis v okne. Komponenty bez skupiny sú uvedené ako prvé, bez nadpisu. |\n| `url` | Adresa súboru komponentu. Flow ho stiahne, keď používateľ komponent vyberie. |\n| `version` | Verzia. Keď je vyššia ako nainštalovaná verzia, okno zobrazí odznak **update** (aktualizácia). |\n| `author` | Autor. Autor, ktorý neobsahuje `Total.js`, dostane odznak **Community** (komunita). |\n| `icon` | Ikona v okne. |\n| `color` | Farba ikony, napríklad `#7A5CFF`. Prázdna hodnota použije farbu skupiny. |\n| `kind` | Štítok, napríklad `trigger`, `action` alebo `output`. |\n| `readme` | Text **Read me** v Markdowne. |\n\nUdržuj `name`, `version` a `icon` v súbore zhodné s `exports.name`, `exports.version` a `exports.icon` komponentu. Flow nainštaluje komponent pod `exports.id` zo súboru.\n\n## Zverejni ho\n\nUlož katalóg a súbory komponentov na webový server. Stiahne ich prehliadač každého používateľa, takže:\n\n- adresy musia byť dostupné z prehliadačov tvojich používateľov;\n- na inej doméne ako Flow musí server povoľovať požiadavky z iných domén (CORS).\n\nJedným z miest pre ne je priečinok `public` vo Flow: súbor `public/catalogue/db.json` poskytuje samotný Flow na adrese `/catalogue/db.json`.\n\n## Pripoj ho k Flow\n\n1. Zastav Flow.\n2. Pridaj adresu svojho katalógu do súboru `config` v priečinku Flow:\n\n```text\ncomponents2 : https://flow.example.com/catalogue/db.json\n```\n\n3. Znova spusti Flow.\n\nOtvor dizajnér, vyber **Add** (pridať) a potom **Download components**. Tvoje komponenty sa zobrazia vo svojich skupinách vedľa oficiálnych. Ostatné kľúče súboru nájdeš v [Konfiguračný súbor](/flow/11-1/reference/config-file/).\n\n## Vydaj novú verziu\n\n1. Zmeň súbor komponentu a zvýš `exports.version`, napríklad z `1` na `2`.\n2. Zvýš `version` komponentu v katalógu na to isté číslo.\n\nV každom FlowStreame, ktorý má starú verziu, okno zobrazí na komponente odznak **update**. Keď ho vyberieš, nainštaluje sa nový súbor.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXL6xE60f","url":"https://totaljs.es/docs/flow/11-1/development/share/","project":"flow","version":"11-1","section":"development","language":"en","title":"Share a component with the official repository","summary":"Prepare a component for the official catalogue and offer it to the Total.js repository.","markdown":"---\ntitle: Share a component with the official repository\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/share/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Share a component with the official repository\n\n> Prepare a component for the official catalogue and offer it to the Total.js repository.\n\nThe official components live in the public GitHub repository [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents). When your component is useful to others, you can offer it there, and after it is accepted it appears in the catalogue of every Flow.\n\n## How the repository is organized\n\n| Path | What it holds |\n|---|---|\n| `components/` | One HTML file for each component. The name of the file is the id of the component in the catalogue. |\n| `db.json` | The catalogue. |\n| `db.js` | The script that builds `db.json` from the files in `components/`. |\n| `tester.js` and `tests/` | The [tester](../testing/) and the tests. |\n\n## Prepare your component\n\n1. Name the file after the component, in lowercase, for example `components/uppercase.html`.\n2. Write each of `exports.id`, `exports.name`, `exports.group`, `exports.version`, `exports.icon`, `exports.author`, `exports.color` and `exports.kind` on one line that ends with a semicolon. `db.js` reads these lines one by one to build the catalogue entry.\n3. Write a `<readme>`. `db.js` copies it into the catalogue, and users read it under **Read me** and in [Official components](../../components/introduction/).\n4. Put your name in `exports.author`. Components whose author is not Total.js show a **Community** badge.\n5. Add a test in `tests/`, and run it.\n6. Follow the coding standards that the repository links in its README.\n\n## Build the catalogue entry\n\n`db.js` reads every file in `components/` and writes `db.json`, sorted by name. The address of each file in the catalogue is:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/<file name>\n```\n\nRun it from the repository folder after `npm install total4`:\n\n```bash\nnode db.js\n```\n\nCheck that `db.json` has an entry for your component with the right name, group, version and readme.\n\n## Offer it\n\nFork the repository on GitHub, add your component and its test on a branch, and open a pull request with a short description of what the component does. Total.js publishes the catalogue at the address above.\n\n## Change a component later\n\nRaise `exports.version` with every change. Flow compares the version in the catalogue with the installed one, and shows an **update** badge in the **Download components** window when the catalogue has a newer version.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXL6xE60f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/share/","project":"flow","version":"11-1","section":"development","language":"de","title":"Eine Komponente mit dem offiziellen Repository teilen","summary":"Bereite eine Komponente für den offiziellen Katalog vor und biete sie dem Total.js-Repository an.","markdown":"---\ntitle: Eine Komponente mit dem offiziellen Repository teilen\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/share/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Eine Komponente mit dem offiziellen Repository teilen\n\n> Bereite eine Komponente für den offiziellen Katalog vor und biete sie dem Total.js-Repository an.\n\nDie offiziellen Komponenten liegen im öffentlichen GitHub-Repository [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents). Wenn deine Komponente anderen nützt, kannst du sie dort anbieten. Sobald sie angenommen ist, erscheint sie im Katalog jedes Flow.\n\n## Wie das Repository aufgebaut ist\n\n| Pfad | Was er enthält |\n|---|---|\n| `components/` | Eine HTML-Datei für jede Komponente. Der Dateiname ist die ID der Komponente im Katalog. |\n| `db.json` | Den Katalog. |\n| `db.js` | Das Skript, das `db.json` aus den Dateien in `components/` erzeugt. |\n| `tester.js` und `tests/` | Den [Tester](../testing/) und die Tests. |\n\n## Deine Komponente vorbereiten\n\n1. Benenne die Datei nach der Komponente, in Kleinbuchstaben, zum Beispiel `components/uppercase.html`.\n2. Schreib jede der Eigenschaften `exports.id`, `exports.name`, `exports.group`, `exports.version`, `exports.icon`, `exports.author`, `exports.color` und `exports.kind` in eine Zeile, die mit einem Semikolon endet. `db.js` liest diese Zeilen einzeln, um den Katalogeintrag zu erzeugen.\n3. Schreib ein `<readme>`. `db.js` übernimmt es in den Katalog, und die Nutzer lesen es unter **Read me** und in [Offizielle Komponenten](../../components/introduction/).\n4. Trag deinen Namen in `exports.author` ein. Komponenten, deren Autor nicht Total.js ist, zeigen ein **Community**-Abzeichen.\n5. Füg einen Test in `tests/` hinzu und führ ihn aus.\n6. Halte dich an die Coding-Standards, die das Repository in seinem README verlinkt.\n\n## Den Katalogeintrag erzeugen\n\n`db.js` liest jede Datei in `components/` und schreibt `db.json`, nach Namen sortiert. Die Adresse jeder Datei im Katalog lautet:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/<file name>\n```\n\nFühr es nach `npm install total4` im Ordner des Repositorys aus:\n\n```bash\nnode db.js\n```\n\nPrüfe, ob `db.json` einen Eintrag für deine Komponente mit dem richtigen Namen, der richtigen Gruppe, Version und dem richtigen Readme hat.\n\n## Anbieten\n\nForke das Repository auf GitHub, füg deine Komponente und ihren Test auf einem Branch hinzu und öffne einen Pull Request mit einer kurzen Beschreibung dessen, was die Komponente macht. Total.js veröffentlicht den Katalog unter der Adresse oben.\n\n## Eine Komponente später ändern\n\nErhöhe `exports.version` bei jeder Änderung. Flow vergleicht die Version im Katalog mit der installierten und zeigt im Fenster **Download components** (Komponenten herunterladen) ein **update**-Abzeichen, wenn der Katalog eine neuere Version hat.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXL6xE60f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/share/","project":"flow","version":"11-1","section":"development","language":"es","title":"Comparte un componente con el repositorio oficial","summary":"Prepara un componente para el catálogo oficial y ofrécelo al repositorio de Total.js.","markdown":"---\ntitle: Comparte un componente con el repositorio oficial\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/share/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Comparte un componente con el repositorio oficial\n\n> Prepara un componente para el catálogo oficial y ofrécelo al repositorio de Total.js.\n\nLos componentes oficiales están en el repositorio público de GitHub [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents). Cuando tu componente sea útil para otras personas, puedes ofrecerlo allí, y cuando lo acepten aparecerá en el catálogo de todos los Flow.\n\n## Cómo está organizado el repositorio\n\n| Ruta | Qué contiene |\n|---|---|\n| `components/` | Un archivo HTML por cada componente. El nombre del archivo es el id del componente en el catálogo. |\n| `db.json` | El catálogo. |\n| `db.js` | El script que construye `db.json` a partir de los archivos de `components/`. |\n| `tester.js` y `tests/` | El [tester](../testing/) y las pruebas. |\n\n## Prepara tu componente\n\n1. Ponle al archivo el nombre del componente, en minúsculas, por ejemplo `components/uppercase.html`.\n2. Escribe cada una de `exports.id`, `exports.name`, `exports.group`, `exports.version`, `exports.icon`, `exports.author`, `exports.color` y `exports.kind` en una sola línea que termine en punto y coma. `db.js` lee estas líneas una a una para construir la entrada del catálogo.\n3. Escribe un `<readme>`. `db.js` lo copia en el catálogo, y los usuarios lo leen en **Read me** y en [Componentes oficiales](../../components/introduction/).\n4. Pon tu nombre en `exports.author`. Los componentes cuyo autor no es Total.js muestran una insignia **Community** (comunidad).\n5. Añade una prueba en `tests/` y ejecútala.\n6. Sigue las normas de código que el repositorio enlaza en su README.\n\n## Construye la entrada del catálogo\n\n`db.js` lee todos los archivos de `components/` y escribe `db.json`, ordenado por nombre. La dirección de cada archivo en el catálogo es:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/<file name>\n```\n\nEjecútalo desde la carpeta del repositorio después de `npm install total4`:\n\n```bash\nnode db.js\n```\n\nComprueba que `db.json` tiene una entrada para tu componente con el nombre, el grupo, la versión y el readme correctos.\n\n## Ofrécelo\n\nHaz un fork del repositorio en GitHub, añade tu componente y su prueba en una rama, y abre una pull request con una breve descripción de lo que hace el componente. Total.js publica el catálogo en la dirección de arriba.\n\n## Cambia un componente más adelante\n\nSube `exports.version` con cada cambio. Flow compara la versión del catálogo con la instalada y muestra una insignia **update** (actualizar) en la ventana **Download components** (descargar componentes) cuando el catálogo tiene una versión más nueva.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXL6xE60f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/share/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Partager un composant avec le dépôt officiel","summary":"Prépare un composant pour le catalogue officiel et propose-le au dépôt Total.js.","markdown":"---\ntitle: \"Partager un composant avec le dépôt officiel\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/share/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Partager un composant avec le dépôt officiel\n\n> Prépare un composant pour le catalogue officiel et propose-le au dépôt Total.js.\n\nLes composants officiels se trouvent dans le dépôt GitHub public [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents). Quand ton composant est utile aux autres, tu peux l'y proposer, et une fois accepté il apparaît dans le catalogue de chaque Flow.\n\n## Comment le dépôt est organisé\n\n| Chemin | Ce qu'il contient |\n|---|---|\n| `components/` | Un fichier HTML pour chaque composant. Le nom du fichier est l'id du composant dans le catalogue. |\n| `db.json` | Le catalogue. |\n| `db.js` | Le script qui construit `db.json` à partir des fichiers de `components/`. |\n| `tester.js` et `tests/` | Le [testeur](../testing/) et les tests. |\n\n## Préparer ton composant\n\n1. Nomme le fichier d'après le composant, en minuscules, par exemple `components/uppercase.html`.\n2. Écris chacune des propriétés `exports.id`, `exports.name`, `exports.group`, `exports.version`, `exports.icon`, `exports.author`, `exports.color` et `exports.kind` sur une ligne qui se termine par un point-virgule. `db.js` lit ces lignes une par une pour construire l'entrée du catalogue.\n3. Écris un `<readme>`. `db.js` le copie dans le catalogue, et les utilisateurs le lisent sous **Read me** et dans [Composants officiels](../../components/introduction/).\n4. Mets ton nom dans `exports.author`. Les composants dont l'auteur n'est pas Total.js affichent un badge **Community**.\n5. Ajoute un test dans `tests/` et exécute-le.\n6. Suis les règles de code dont le dépôt donne le lien dans son README.\n\n## Construire l'entrée du catalogue\n\n`db.js` lit chaque fichier de `components/` et écrit `db.json`, trié par nom. L'adresse de chaque fichier dans le catalogue est :\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/<file name>\n```\n\nExécute-le depuis le dossier du dépôt après `npm install total4` :\n\n```bash\nnode db.js\n```\n\nVérifie que `db.json` a une entrée pour ton composant avec le bon nom, le bon groupe, la bonne version et le bon readme.\n\n## Le proposer\n\nFais un fork du dépôt sur GitHub, ajoute ton composant et son test dans une branche, et ouvre une pull request avec une courte description de ce que fait le composant. Total.js publie le catalogue à l'adresse ci-dessus.\n\n## Modifier un composant plus tard\n\nAugmente `exports.version` à chaque modification. Flow compare la version du catalogue avec celle installée, et affiche un badge **update** dans la fenêtre **Download components** quand le catalogue a une version plus récente.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXL6xE60f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/share/","project":"flow","version":"11-1","section":"development","language":"it","title":"Condividere un componente con il repository ufficiale","summary":"Prepara un componente per il catalogo ufficiale e proponilo al repository di Total.js.","markdown":"---\ntitle: Condividere un componente con il repository ufficiale\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/share/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Condividere un componente con il repository ufficiale\n\n> Prepara un componente per il catalogo ufficiale e proponilo al repository di Total.js.\n\nI componenti ufficiali si trovano nel repository pubblico di GitHub [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents). Quando il tuo componente è utile ad altri, puoi proporlo lì, e una volta accettato compare nel catalogo di ogni Flow.\n\n## Com'è organizzato il repository\n\n| Percorso | Cosa contiene |\n|---|---|\n| `components/` | Un file HTML per ogni componente. Il nome del file è l'id del componente nel catalogo. |\n| `db.json` | Il catalogo. |\n| `db.js` | Lo script che costruisce `db.json` a partire dai file in `components/`. |\n| `tester.js` e `tests/` | Il [tester](../testing/) e i test. |\n\n## Preparare il tuo componente\n\n1. Dai al file il nome del componente, in minuscolo, per esempio `components/uppercase.html`.\n2. Scrivi ciascuna tra `exports.id`, `exports.name`, `exports.group`, `exports.version`, `exports.icon`, `exports.author`, `exports.color` e `exports.kind` su una riga che termina con un punto e virgola. `db.js` legge queste righe una per una per costruire la voce del catalogo.\n3. Scrivi un `<readme>`. `db.js` lo copia nel catalogo, e gli utenti lo leggono sotto **Read me** (Leggimi) e in [Componenti ufficiali](../../components/introduction/).\n4. Metti il tuo nome in `exports.author`. I componenti il cui autore non è Total.js mostrano un badge **Community**.\n5. Aggiungi un test in `tests/` ed eseguilo.\n6. Segui gli standard di codifica che il repository indica nel suo README.\n\n## Costruire la voce del catalogo\n\n`db.js` legge ogni file in `components/` e scrive `db.json`, ordinato per nome. L'indirizzo di ogni file nel catalogo è:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/<file name>\n```\n\nEseguilo dalla cartella del repository dopo `npm install total4`:\n\n```bash\nnode db.js\n```\n\nControlla che `db.json` abbia una voce per il tuo componente con il nome, il gruppo, la versione e il readme giusti.\n\n## Proporlo\n\nFai un fork del repository su GitHub, aggiungi il tuo componente e il suo test in un branch, e apri una pull request con una breve descrizione di cosa fa il componente. Total.js pubblica il catalogo all'indirizzo indicato sopra.\n\n## Modificare un componente in seguito\n\nAumenta `exports.version` a ogni modifica. Flow confronta la versione nel catalogo con quella installata, e mostra un badge **update** (aggiornamento) nella finestra **Download components** (Scarica componenti) quando il catalogo ha una versione più recente.\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyXL6xE60f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/share/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Zdieľaj komponent s oficiálnym repozitárom","summary":"Priprav komponent pre oficiálny katalóg a ponúkni ho do repozitára Total.js.","markdown":"---\ntitle: \"Zdieľaj komponent s oficiálnym repozitárom\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/share/\nupdated: 2026-11-19T10:58:53.655Z\n---\n\n# Zdieľaj komponent s oficiálnym repozitárom\n\n> Priprav komponent pre oficiálny katalóg a ponúkni ho do repozitára Total.js.\n\nOficiálne komponenty sú vo verejnom repozitári GitHub [totaljs/flowstreamcomponents](https://github.com/totaljs/flowstreamcomponents). Keď je tvoj komponent užitočný aj pre iných, môžeš ho tam ponúknuť a po prijatí sa objaví v katalógu každého Flow.\n\n## Ako je repozitár usporiadaný\n\n| Cesta | Čo obsahuje |\n|---|---|\n| `components/` | Jeden súbor HTML pre každý komponent. Názov súboru je id komponentu v katalógu. |\n| `db.json` | Katalóg. |\n| `db.js` | Skript, ktorý zostaví `db.json` zo súborov v `components/`. |\n| `tester.js` a `tests/` | [Tester](../testing/) a testy. |\n\n## Priprav svoj komponent\n\n1. Pomenuj súbor podľa komponentu, malými písmenami, napríklad `components/uppercase.html`.\n2. Každú z vlastností `exports.id`, `exports.name`, `exports.group`, `exports.version`, `exports.icon`, `exports.author`, `exports.color` a `exports.kind` napíš na jeden riadok, ktorý končí bodkočiarkou. `db.js` číta tieto riadky jeden po druhom, aby zostavil záznam v katalógu.\n3. Napíš `<readme>`. `db.js` ho skopíruje do katalógu a používatelia ho čítajú v **Read me** a v [Oficiálne komponenty](../../components/introduction/).\n4. Do `exports.author` daj svoje meno. Komponenty, ktorých autorom nie je Total.js, zobrazujú odznak **Community** (komunita).\n5. Pridaj test do `tests/` a spusti ho.\n6. Dodržiavaj pravidlá písania kódu, na ktoré odkazuje README repozitára.\n\n## Zostav záznam v katalógu\n\n`db.js` prečíta každý súbor v `components/` a zapíše `db.json`, zoradený podľa názvu. Adresa každého súboru v katalógu je:\n\n```text\nhttps://cdn.totaljs.com/flowstream/webcomponents/<file name>\n```\n\nSpusti ho z priečinka repozitára po `npm install total4`:\n\n```bash\nnode db.js\n```\n\nSkontroluj, že `db.json` obsahuje záznam pre tvoj komponent so správnym názvom, skupinou, verziou a readme.\n\n## Ponúkni ho\n\nSprav fork repozitára na GitHube, pridaj svoj komponent a jeho test do vetvy a otvor pull request s krátkym popisom toho, čo komponent robí. Total.js zverejňuje katalóg na adrese vyššie.\n\n## Neskoršia zmena komponentu\n\nPri každej zmene zvýš `exports.version`. Flow porovná verziu v katalógu s nainštalovanou a keď má katalóg novšiu verziu, zobrazí v okne **Download components** (stiahnuť komponenty) odznak **update** (aktualizácia).\n","entries":[],"license":"MIT","updated":"2026-11-19T10:58:53.655Z"}
{"id":"JapyVD4eE61f","url":"https://totaljs.es/docs/flow/11-1/development/component-api/","project":"flow","version":"11-1","section":"development","language":"en","title":"Component file reference","summary":"The exports properties and functions of the server code of a component.","markdown":"---\ntitle: Component file reference\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/component-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Component file reference\n\n> The exports properties and functions of the server code of a component.\n\nThe server code in `<script total>` describes the component with properties of `exports`. Flow reads the file when the component is installed. For the other parts of the file, see [The component file](../component-file/).\n\n## API\n\n### exports.id = 'uppercase';\n\nType: `property`\n\nThe id of the component inside a FlowStream.\n\nInstalling a file with an id that is already installed replaces that component. Without an id, the designer generates one. Write it on one line that ends with a semicolon.\n\n### exports.name = 'Uppercase';\n\nType: `property`\n\nThe name in the list of components, on the node and in the catalogue.\n\nRequired to install the component from a URL address or a catalogue.\n\n### exports.group = 'Demo';\n\nType: `property`\n\nThe group under which the designer lists the component.\n\n### exports.icon = 'ti ti-font';\n\nType: `property`\n\nThe icon of the component.\n\nA class of the Total.js icon font, for example `ti ti-print`. Required to install the component from a URL address or a catalogue.\n\n### exports.version = '1';\n\nType: `property`\n\nThe version of the component, as a string.\n\nRequired to install the component from a URL address or a catalogue. The **Download components** window compares it with the version in the catalogue and shows an **update** badge when the catalogue has a higher one.\n\n### exports.author = 'Jane Doe';\n\nType: `property`\n\nThe author of the component.\n\nThe catalogue copies it. An author that does not contain `Total.js` gets a **Community** badge in the **Download components** window.\n\n### exports.color = '#E73323';\n\nType: `property`\n\nA color for the icon of the component.\n\nThe catalogue copies it, and the **Download components** window uses it as the background of the icon.\n\n### exports.kind = 'trigger';\n\nType: `property`\n\nA label for the kind of component.\n\nThe official components use `trigger`, `action` and `output`. The catalogue copies it.\n\n### exports.config = { greeting: 'Hello', uppercase: false };\n\nType: `property`\n\nThe default configuration of a new node.\n\nEach node gets a copy. The settings form edits it, and `exports.make` receives it as `config`. See [Configuration and the settings form](../configuration/).\n\n### exports.inputs = [{ id: 'input', name: 'Input' }];\n\nType: `property`\n\nThe inputs of the node.\n\nEach input has an `id`, which messages report in `$.input`, and a `name`, which the node shows. See [Inputs, outputs and messages](../inputs-outputs/).\n\n### exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];\n\nType: `property`\n\nThe outputs of the node.\n\nEach output has an `id`, which you pass to `$.send()`, and a `name`, which the node shows. A node can change its outputs with `instance.outputs` and `instance.save()`.\n\n### exports.npm = ['qrcode'];\n\nType: `property`\n\nnpm packages that the component needs.\n\nFlow installs each package when the component is added to a FlowStream. A package can have a version, for example `mongodb@4.0.0`. Load it in `exports.make` with `require()`.\n\nExample: Use a package\n```js\nexports.npm = ['qrcode'];\n\nexports.make = function(instance, config) {\n\tvar QRCode = require('qrcode');\n};\n```\n\n### exports.meta = { singleton: true, settingswidth: 1200 };\n\nType: `property`\n\nOptions for the designer.\n\n| Option | What it does |\n|---|---|\n| `settingswidth` | The width of the settings window in pixels. The default is `800`. |\n| `singleton` | A FlowStream can hold only one node of the component. The designer refuses a second one. |\n| `hidden` | The node is drawn transparent on the canvas. |\n| `readonly` | The designer does not offer **Edit source code**, **Copy node** or **Clone**, and Flow refuses to read or save its source. |\n| `protected` | The component cannot be removed from the FlowStream. |\n\n### exports.make = function(instance, config) {}\n\nType: `event`\n\nCreates a node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `instance` | `Object` | yes |  | The node. See [Instance reference](../instance-api/). |\n| `config` | `Object` | yes |  | The configuration of the node. It stays the same object when the user changes the settings. |\n\nFlow calls it once for each node of the component: when the design is applied, when the FlowStream starts and when the component changes. Define the handlers of the [instance](../instance-api/) here.\n\nExample: A component that forwards messages\n```js\nexports.make = function(instance, config) {\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n};\n```\n\n### exports.install = function(com) {}\n\nType: `event`\n\nRuns once when the component is added to a FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | The component. |\n\nFlow calls it when it registers the component for the first time in the FlowStream process, before the nodes are created. `com.main` is the FlowStream and `com.config` the default configuration.\n\n### exports.uninstall = function(com) {}\n\nType: `event`\n\nRuns when the component is removed from a FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | The component. |\n\nFlow calls it after it has closed all nodes of the component.\n\n### exports.call = function(data, callback) {}\n\nType: `event`\n\nAnswers a call from the browser script that is not bound to one node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | The data from the browser. |\n| `callback` | `Function` | yes |  | Call it with the answer. |\n\n`this` is the FlowStream. The browser script calls it with `exports.call(data, callback, true)`. The **Publish** and **Subscribe** components use it to list the nodes of other FlowStreams.\n\nExample: Answer with the id of the FlowStream\n```js\nexports.call = function(data, callback) {\n\tcallback({ flowstream: this.id });\n};\n```\n","entries":[{"type":"property","name":"exports.id","signature":"exports.id = 'uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.name","signature":"exports.name = 'Uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.group","signature":"exports.group = 'Demo';","since":"","deprecated":false},{"type":"property","name":"exports.icon","signature":"exports.icon = 'ti ti-font';","since":"","deprecated":false},{"type":"property","name":"exports.version","signature":"exports.version = '1';","since":"","deprecated":false},{"type":"property","name":"exports.author","signature":"exports.author = 'Jane Doe';","since":"","deprecated":false},{"type":"property","name":"exports.color","signature":"exports.color = '#E73323';","since":"","deprecated":false},{"type":"property","name":"exports.kind","signature":"exports.kind = 'trigger';","since":"","deprecated":false},{"type":"property","name":"exports.config","signature":"exports.config = { greeting: 'Hello', uppercase: false };","since":"","deprecated":false},{"type":"property","name":"exports.inputs","signature":"exports.inputs = [{ id: 'input', name: 'Input' }];","since":"","deprecated":false},{"type":"property","name":"exports.outputs","signature":"exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];","since":"","deprecated":false},{"type":"property","name":"exports.npm","signature":"exports.npm = ['qrcode'];","since":"","deprecated":false},{"type":"property","name":"exports.meta","signature":"exports.meta = { singleton: true, settingswidth: 1200 };","since":"","deprecated":false},{"type":"event","name":"exports.make","signature":"exports.make = function(instance, config) {}","since":"","deprecated":false},{"type":"event","name":"exports.install","signature":"exports.install = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.uninstall","signature":"exports.uninstall = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.call","signature":"exports.call = function(data, callback) {}","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyVD4eE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/component-api/","project":"flow","version":"11-1","section":"development","language":"de","title":"Referenz der Komponentendatei","summary":"Die Eigenschaften und Funktionen von exports im Server-Code einer Komponente.","markdown":"---\ntitle: Referenz der Komponentendatei\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/component-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referenz der Komponentendatei\n\n> Die Eigenschaften und Funktionen von exports im Server-Code einer Komponente.\n\nDer Server-Code in `<script total>` beschreibt die Komponente mit Eigenschaften von `exports`. Flow liest die Datei, wenn die Komponente installiert wird. Die anderen Teile der Datei findest du unter [Die Komponentendatei](../component-file/).\n\n## API\n\n### exports.id = 'uppercase';\n\nType: `property`\n\nDie ID der Komponente innerhalb eines FlowStreams.\n\nWenn du eine Datei mit einer ID installierst, die schon installiert ist, ersetzt sie diese Komponente. Ohne ID erzeugt der Designer eine. Schreib sie in eine Zeile, die mit einem Semikolon endet.\n\n### exports.name = 'Uppercase';\n\nType: `property`\n\nDer Name in der Liste der Komponenten, auf dem Node und im Katalog.\n\nPflicht, wenn du die Komponente von einer URL-Adresse oder aus einem Katalog installieren willst.\n\n### exports.group = 'Demo';\n\nType: `property`\n\nDie Gruppe, unter der der Designer die Komponente auflistet.\n\n### exports.icon = 'ti ti-font';\n\nType: `property`\n\nDas Icon der Komponente.\n\nEine Klasse der Icon-Schrift von Total.js, zum Beispiel `ti ti-print`. Pflicht, wenn du die Komponente von einer URL-Adresse oder aus einem Katalog installieren willst.\n\n### exports.version = '1';\n\nType: `property`\n\nDie Version der Komponente, als String.\n\nPflicht, wenn du die Komponente von einer URL-Adresse oder aus einem Katalog installieren willst. Das Fenster **Download components** (Komponenten herunterladen) vergleicht sie mit der Version im Katalog und zeigt ein **update**-Abzeichen, wenn der Katalog eine höhere hat.\n\n### exports.author = 'Jane Doe';\n\nType: `property`\n\nDer Autor der Komponente.\n\nDer Katalog übernimmt ihn. Ein Autor, der nicht `Total.js` enthält, bekommt im Fenster **Download components** ein **Community**-Abzeichen.\n\n### exports.color = '#E73323';\n\nType: `property`\n\nEine Farbe für das Icon der Komponente.\n\nDer Katalog übernimmt sie, und das Fenster **Download components** verwendet sie als Hintergrund des Icons.\n\n### exports.kind = 'trigger';\n\nType: `property`\n\nEine Bezeichnung für die Art der Komponente.\n\nDie offiziellen Komponenten verwenden `trigger`, `action` und `output`. Der Katalog übernimmt sie.\n\n### exports.config = { greeting: 'Hello', uppercase: false };\n\nType: `property`\n\nDie Standardkonfiguration eines neuen Nodes.\n\nJeder Node bekommt eine Kopie davon. Das Einstellungsformular bearbeitet sie, und `exports.make` erhält sie als `config`. Siehe [Konfiguration und das Einstellungsformular](../configuration/).\n\n### exports.inputs = [{ id: 'input', name: 'Input' }];\n\nType: `property`\n\nDie Eingänge des Nodes.\n\nJeder Eingang hat eine `id`, die Nachrichten in `$.input` angeben, und einen `name`, den der Node anzeigt. Siehe [Eingänge, Ausgänge und Nachrichten](../inputs-outputs/).\n\n### exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];\n\nType: `property`\n\nDie Ausgänge des Nodes.\n\nJeder Ausgang hat eine `id`, die du an `$.send()` übergibst, und einen `name`, den der Node anzeigt. Ein Node kann seine Ausgänge mit `instance.outputs` und `instance.save()` ändern.\n\n### exports.npm = ['qrcode'];\n\nType: `property`\n\nnpm-Pakete, die die Komponente braucht.\n\nFlow installiert jedes Paket, wenn die Komponente zu einem FlowStream hinzugefügt wird. Ein Paket kann eine Version haben, zum Beispiel `mongodb@4.0.0`. Lade es in `exports.make` mit `require()`.\n\nExample: Ein Paket verwenden\n```js\nexports.npm = ['qrcode'];\n\nexports.make = function(instance, config) {\n\tvar QRCode = require('qrcode');\n};\n```\n\n### exports.meta = { singleton: true, settingswidth: 1200 };\n\nType: `property`\n\nOptionen für den Designer.\n\n| Option | Was sie bewirkt |\n|---|---|\n| `settingswidth` | Die Breite des Einstellungsfensters in Pixeln. Standard ist `800`. |\n| `singleton` | Ein FlowStream kann nur einen Node der Komponente enthalten. Der Designer lehnt einen zweiten ab. |\n| `hidden` | Der Node wird transparent auf der Arbeitsfläche gezeichnet. |\n| `readonly` | Der Designer bietet **Edit source code**, **Copy node** und **Clone** nicht an, und Flow verweigert das Lesen und Speichern des Quellcodes. |\n| `protected` | Die Komponente kann nicht aus dem FlowStream entfernt werden. |\n\n### exports.make = function(instance, config) {}\n\nType: `event`\n\nErstellt einen Node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `instance` | `Object` | yes |  | Der Node. Siehe [Referenz der Instanz](../instance-api/). |\n| `config` | `Object` | yes |  | Die Konfiguration des Nodes. Sie bleibt dasselbe Objekt, wenn der Nutzer die Einstellungen ändert. |\n\nFlow ruft sie für jeden Node der Komponente einmal auf: wenn das Design angewendet wird, wenn der FlowStream startet und wenn sich die Komponente ändert. Definiere hier die Handler der [Instanz](../instance-api/).\n\nExample: Eine Komponente, die Nachrichten weiterleitet\n```js\nexports.make = function(instance, config) {\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n};\n```\n\n### exports.install = function(com) {}\n\nType: `event`\n\nLäuft einmal, wenn die Komponente zu einem FlowStream hinzugefügt wird.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Die Komponente. |\n\nFlow ruft sie auf, wenn es die Komponente zum ersten Mal im Prozess des FlowStreams registriert, bevor die Nodes erstellt werden. `com.main` ist der FlowStream und `com.config` die Standardkonfiguration.\n\n### exports.uninstall = function(com) {}\n\nType: `event`\n\nLäuft, wenn die Komponente aus einem FlowStream entfernt wird.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Die Komponente. |\n\nFlow ruft sie auf, nachdem es alle Nodes der Komponente geschlossen hat.\n\n### exports.call = function(data, callback) {}\n\nType: `event`\n\nBeantwortet einen Aufruf aus dem Browser-Skript, der nicht an einen bestimmten Node gebunden ist.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Die Daten aus dem Browser. |\n| `callback` | `Function` | yes |  | Ruf sie mit der Antwort auf. |\n\n`this` ist der FlowStream. Das Browser-Skript ruft sie mit `exports.call(data, callback, true)` auf. Die Komponenten **Publish** und **Subscribe** nutzen sie, um die Nodes anderer FlowStreams aufzulisten.\n\nExample: Mit der ID des FlowStreams antworten\n```js\nexports.call = function(data, callback) {\n\tcallback({ flowstream: this.id });\n};\n```\n","entries":[{"type":"property","name":"exports.id","signature":"exports.id = 'uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.name","signature":"exports.name = 'Uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.group","signature":"exports.group = 'Demo';","since":"","deprecated":false},{"type":"property","name":"exports.icon","signature":"exports.icon = 'ti ti-font';","since":"","deprecated":false},{"type":"property","name":"exports.version","signature":"exports.version = '1';","since":"","deprecated":false},{"type":"property","name":"exports.author","signature":"exports.author = 'Jane Doe';","since":"","deprecated":false},{"type":"property","name":"exports.color","signature":"exports.color = '#E73323';","since":"","deprecated":false},{"type":"property","name":"exports.kind","signature":"exports.kind = 'trigger';","since":"","deprecated":false},{"type":"property","name":"exports.config","signature":"exports.config = { greeting: 'Hello', uppercase: false };","since":"","deprecated":false},{"type":"property","name":"exports.inputs","signature":"exports.inputs = [{ id: 'input', name: 'Input' }];","since":"","deprecated":false},{"type":"property","name":"exports.outputs","signature":"exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];","since":"","deprecated":false},{"type":"property","name":"exports.npm","signature":"exports.npm = ['qrcode'];","since":"","deprecated":false},{"type":"property","name":"exports.meta","signature":"exports.meta = { singleton: true, settingswidth: 1200 };","since":"","deprecated":false},{"type":"event","name":"exports.make","signature":"exports.make = function(instance, config) {}","since":"","deprecated":false},{"type":"event","name":"exports.install","signature":"exports.install = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.uninstall","signature":"exports.uninstall = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.call","signature":"exports.call = function(data, callback) {}","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyVD4eE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/component-api/","project":"flow","version":"11-1","section":"development","language":"es","title":"Referencia del archivo del componente","summary":"Las propiedades y funciones de exports del código del servidor de un componente.","markdown":"---\ntitle: Referencia del archivo del componente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/component-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referencia del archivo del componente\n\n> Las propiedades y funciones de exports del código del servidor de un componente.\n\nEl código del servidor en `<script total>` describe el componente con propiedades de `exports`. Flow lee el archivo cuando se instala el componente. Para las demás partes del archivo, consulta [El archivo del componente](../component-file/).\n\n## API\n\n### exports.id = 'uppercase';\n\nType: `property`\n\nEl id del componente dentro de un FlowStream.\n\nInstalar un archivo con un id que ya está instalado sustituye ese componente. Sin id, el diseñador genera uno. Escríbelo en una sola línea que termine en punto y coma.\n\n### exports.name = 'Uppercase';\n\nType: `property`\n\nEl nombre en la lista de componentes, en el nodo y en el catálogo.\n\nObligatorio para instalar el componente desde una dirección URL o un catálogo.\n\n### exports.group = 'Demo';\n\nType: `property`\n\nEl grupo bajo el que el diseñador lista el componente.\n\n### exports.icon = 'ti ti-font';\n\nType: `property`\n\nEl icono del componente.\n\nUna clase de la fuente de iconos de Total.js, por ejemplo `ti ti-print`. Obligatorio para instalar el componente desde una dirección URL o un catálogo.\n\n### exports.version = '1';\n\nType: `property`\n\nLa versión del componente, como cadena.\n\nObligatoria para instalar el componente desde una dirección URL o un catálogo. La ventana **Download components** (descargar componentes) la compara con la versión del catálogo y muestra una insignia **update** (actualizar) cuando el catálogo tiene una mayor.\n\n### exports.author = 'Jane Doe';\n\nType: `property`\n\nEl autor del componente.\n\nEl catálogo lo copia. Un autor que no contiene `Total.js` recibe una insignia **Community** (comunidad) en la ventana **Download components**.\n\n### exports.color = '#E73323';\n\nType: `property`\n\nUn color para el icono del componente.\n\nEl catálogo lo copia, y la ventana **Download components** (descargar componentes) lo usa como fondo del icono.\n\n### exports.kind = 'trigger';\n\nType: `property`\n\nUna etiqueta para el tipo de componente.\n\nLos componentes oficiales usan `trigger`, `action` y `output`. El catálogo la copia.\n\n### exports.config = { greeting: 'Hello', uppercase: false };\n\nType: `property`\n\nLa configuración por defecto de un nodo nuevo.\n\nCada nodo recibe una copia. El formulario de ajustes la edita, y `exports.make` la recibe como `config`. Consulta [Configuración y formulario de ajustes](../configuration/).\n\n### exports.inputs = [{ id: 'input', name: 'Input' }];\n\nType: `property`\n\nLas entradas del nodo.\n\nCada entrada tiene un `id`, que los mensajes indican en `$.input`, y un `name`, que muestra el nodo. Consulta [Entradas, salidas y mensajes](../inputs-outputs/).\n\n### exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];\n\nType: `property`\n\nLas salidas del nodo.\n\nCada salida tiene un `id`, que pasas a `$.send()`, y un `name`, que muestra el nodo. Un nodo puede cambiar sus salidas con `instance.outputs` e `instance.save()`.\n\n### exports.npm = ['qrcode'];\n\nType: `property`\n\nLos paquetes npm que necesita el componente.\n\nFlow instala cada paquete cuando se añade el componente a un FlowStream. Un paquete puede llevar versión, por ejemplo `mongodb@4.0.0`. Cárgalo en `exports.make` con `require()`.\n\nExample: Usa un paquete\n```js\nexports.npm = ['qrcode'];\n\nexports.make = function(instance, config) {\n\tvar QRCode = require('qrcode');\n};\n```\n\n### exports.meta = { singleton: true, settingswidth: 1200 };\n\nType: `property`\n\nOpciones para el diseñador.\n\n| Opción | Qué hace |\n|---|---|\n| `settingswidth` | El ancho de la ventana de ajustes en píxeles. Por defecto es `800`. |\n| `singleton` | Un FlowStream solo puede tener un nodo del componente. El diseñador rechaza un segundo. |\n| `hidden` | El nodo se dibuja transparente en el lienzo. |\n| `readonly` | El diseñador no ofrece **Edit source code** (editar el código fuente), **Copy node** (copiar el nodo) ni **Clone** (clonar), y Flow se niega a leer o guardar su código fuente. |\n| `protected` | El componente no se puede eliminar del FlowStream. |\n\n### exports.make = function(instance, config) {}\n\nType: `event`\n\nCrea un nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `instance` | `Object` | yes |  | El nodo. Consulta la [referencia de la instancia](../instance-api/). |\n| `config` | `Object` | yes |  | La configuración del nodo. Sigue siendo el mismo objeto cuando el usuario cambia los ajustes. |\n\nFlow la llama una vez por cada nodo del componente: cuando se aplica el diseño, cuando se inicia el FlowStream y cuando cambia el componente. Define aquí los manejadores de la [instancia](../instance-api/).\n\nExample: Un componente que reenvía mensajes\n```js\nexports.make = function(instance, config) {\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n};\n```\n\n### exports.install = function(com) {}\n\nType: `event`\n\nSe ejecuta una vez cuando se añade el componente a un FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | El componente. |\n\nFlow la llama cuando registra el componente por primera vez en el proceso del FlowStream, antes de crear los nodos. `com.main` es el FlowStream y `com.config`, la configuración por defecto.\n\n### exports.uninstall = function(com) {}\n\nType: `event`\n\nSe ejecuta cuando se elimina el componente de un FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | El componente. |\n\nFlow la llama después de cerrar todos los nodos del componente.\n\n### exports.call = function(data, callback) {}\n\nType: `event`\n\nResponde a una llamada del script del navegador que no está ligada a un nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Los datos del navegador. |\n| `callback` | `Function` | yes |  | Llámala con la respuesta. |\n\n`this` es el FlowStream. El script del navegador la llama con `exports.call(data, callback, true)`. Los componentes **Publish** y **Subscribe** la usan para listar los nodos de otros FlowStreams.\n\nExample: Responde con el id del FlowStream\n```js\nexports.call = function(data, callback) {\n\tcallback({ flowstream: this.id });\n};\n```\n","entries":[{"type":"property","name":"exports.id","signature":"exports.id = 'uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.name","signature":"exports.name = 'Uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.group","signature":"exports.group = 'Demo';","since":"","deprecated":false},{"type":"property","name":"exports.icon","signature":"exports.icon = 'ti ti-font';","since":"","deprecated":false},{"type":"property","name":"exports.version","signature":"exports.version = '1';","since":"","deprecated":false},{"type":"property","name":"exports.author","signature":"exports.author = 'Jane Doe';","since":"","deprecated":false},{"type":"property","name":"exports.color","signature":"exports.color = '#E73323';","since":"","deprecated":false},{"type":"property","name":"exports.kind","signature":"exports.kind = 'trigger';","since":"","deprecated":false},{"type":"property","name":"exports.config","signature":"exports.config = { greeting: 'Hello', uppercase: false };","since":"","deprecated":false},{"type":"property","name":"exports.inputs","signature":"exports.inputs = [{ id: 'input', name: 'Input' }];","since":"","deprecated":false},{"type":"property","name":"exports.outputs","signature":"exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];","since":"","deprecated":false},{"type":"property","name":"exports.npm","signature":"exports.npm = ['qrcode'];","since":"","deprecated":false},{"type":"property","name":"exports.meta","signature":"exports.meta = { singleton: true, settingswidth: 1200 };","since":"","deprecated":false},{"type":"event","name":"exports.make","signature":"exports.make = function(instance, config) {}","since":"","deprecated":false},{"type":"event","name":"exports.install","signature":"exports.install = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.uninstall","signature":"exports.uninstall = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.call","signature":"exports.call = function(data, callback) {}","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyVD4eE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/component-api/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Référence du fichier du composant","summary":"Les propriétés et les fonctions exports du code serveur d'un composant.","markdown":"---\ntitle: \"Référence du fichier du composant\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/component-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Référence du fichier du composant\n\n> Les propriétés et les fonctions exports du code serveur d'un composant.\n\nLe code serveur dans `<script total>` décrit le composant avec des propriétés de `exports`. Flow lit le fichier quand le composant est installé. Pour les autres parties du fichier, consulte [Le fichier du composant](../component-file/).\n\n## API\n\n### exports.id = 'uppercase';\n\nType: `property`\n\nL'id du composant dans un FlowStream.\n\nInstaller un fichier dont l'id est déjà installé remplace ce composant. Sans id, le designer en génère un. Écris-le sur une ligne qui se termine par un point-virgule.\n\n### exports.name = 'Uppercase';\n\nType: `property`\n\nLe nom dans la liste des composants, sur le nœud et dans le catalogue.\n\nObligatoire pour installer le composant depuis une adresse URL ou un catalogue.\n\n### exports.group = 'Demo';\n\nType: `property`\n\nLe groupe sous lequel le designer liste le composant.\n\n### exports.icon = 'ti ti-font';\n\nType: `property`\n\nL'icône du composant.\n\nUne classe de la police d'icônes de Total.js, par exemple `ti ti-print`. Obligatoire pour installer le composant depuis une adresse URL ou un catalogue.\n\n### exports.version = '1';\n\nType: `property`\n\nLa version du composant, sous forme de chaîne.\n\nObligatoire pour installer le composant depuis une adresse URL ou un catalogue. La fenêtre **Download components** la compare avec la version du catalogue et affiche un badge **update** quand le catalogue en a une plus élevée.\n\n### exports.author = 'Jane Doe';\n\nType: `property`\n\nL'auteur du composant.\n\nLe catalogue le copie. Un auteur qui ne contient pas `Total.js` reçoit un badge **Community** dans la fenêtre **Download components**.\n\n### exports.color = '#E73323';\n\nType: `property`\n\nUne couleur pour l'icône du composant.\n\nLe catalogue la copie, et la fenêtre **Download components** l'utilise comme fond de l'icône.\n\n### exports.kind = 'trigger';\n\nType: `property`\n\nUne étiquette pour le type de composant.\n\nLes composants officiels utilisent `trigger`, `action` et `output`. Le catalogue la copie.\n\n### exports.config = { greeting: 'Hello', uppercase: false };\n\nType: `property`\n\nLa configuration par défaut d'un nouveau nœud.\n\nChaque nœud en reçoit une copie. Le formulaire de réglages la modifie, et `exports.make` la reçoit sous le nom `config`. Consulte [La configuration et le formulaire de réglages](../configuration/).\n\n### exports.inputs = [{ id: 'input', name: 'Input' }];\n\nType: `property`\n\nLes entrées du nœud.\n\nChaque entrée a un `id`, que les messages indiquent dans `$.input`, et un `name`, que le nœud affiche. Consulte [Entrées, sorties et messages](../inputs-outputs/).\n\n### exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];\n\nType: `property`\n\nLes sorties du nœud.\n\nChaque sortie a un `id`, que tu passes à `$.send()`, et un `name`, que le nœud affiche. Un nœud peut changer ses sorties avec `instance.outputs` et `instance.save()`.\n\n### exports.npm = ['qrcode'];\n\nType: `property`\n\nLes paquets npm dont le composant a besoin.\n\nFlow installe chaque paquet quand le composant est ajouté à un FlowStream. Un paquet peut avoir une version, par exemple `mongodb@4.0.0`. Charge-le dans `exports.make` avec `require()`.\n\nExample: Utiliser un paquet\n```js\nexports.npm = ['qrcode'];\n\nexports.make = function(instance, config) {\n\tvar QRCode = require('qrcode');\n};\n```\n\n### exports.meta = { singleton: true, settingswidth: 1200 };\n\nType: `property`\n\nDes options pour le designer.\n\n| Option | Ce qu'elle fait |\n|---|---|\n| `settingswidth` | La largeur de la fenêtre de réglages en pixels. La valeur par défaut est `800`. |\n| `singleton` | Un FlowStream ne peut contenir qu'un seul nœud du composant. Le designer refuse un second nœud. |\n| `hidden` | Le nœud est dessiné transparent sur le canevas. |\n| `readonly` | Le designer ne propose pas **Edit source code**, **Copy node** ni **Clone**, et Flow refuse de lire ou d'enregistrer sa source. |\n| `protected` | Le composant ne peut pas être retiré du FlowStream. |\n\n### exports.make = function(instance, config) {}\n\nType: `event`\n\nCrée un nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `instance` | `Object` | yes |  | Le nœud. Consulte [Référence de l'instance](../instance-api/). |\n| `config` | `Object` | yes |  | La configuration du nœud. Elle reste le même objet quand l'utilisateur modifie les réglages. |\n\nFlow l'appelle une fois pour chaque nœud du composant : quand le design est appliqué, quand le FlowStream démarre et quand le composant change. Définis ici les gestionnaires de l'[instance](../instance-api/).\n\nExample: Un composant qui transmet les messages\n```js\nexports.make = function(instance, config) {\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n};\n```\n\n### exports.install = function(com) {}\n\nType: `event`\n\nS'exécute une fois quand le composant est ajouté à un FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Le composant. |\n\nFlow l'appelle quand il enregistre le composant pour la première fois dans le processus du FlowStream, avant que les nœuds soient créés. `com.main` est le FlowStream et `com.config` la configuration par défaut.\n\n### exports.uninstall = function(com) {}\n\nType: `event`\n\nS'exécute quand le composant est retiré d'un FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Le composant. |\n\nFlow l'appelle après avoir fermé tous les nœuds du composant.\n\n### exports.call = function(data, callback) {}\n\nType: `event`\n\nRépond à un appel du script du navigateur qui n'est pas lié à un nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Les données venant du navigateur. |\n| `callback` | `Function` | yes |  | Appelle-la avec la réponse. |\n\n`this` est le FlowStream. Le script du navigateur l'appelle avec `exports.call(data, callback, true)`. Les composants **Publish** et **Subscribe** l'utilisent pour lister les nœuds des autres FlowStreams.\n\nExample: Répondre avec l'id du FlowStream\n```js\nexports.call = function(data, callback) {\n\tcallback({ flowstream: this.id });\n};\n```\n","entries":[{"type":"property","name":"exports.id","signature":"exports.id = 'uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.name","signature":"exports.name = 'Uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.group","signature":"exports.group = 'Demo';","since":"","deprecated":false},{"type":"property","name":"exports.icon","signature":"exports.icon = 'ti ti-font';","since":"","deprecated":false},{"type":"property","name":"exports.version","signature":"exports.version = '1';","since":"","deprecated":false},{"type":"property","name":"exports.author","signature":"exports.author = 'Jane Doe';","since":"","deprecated":false},{"type":"property","name":"exports.color","signature":"exports.color = '#E73323';","since":"","deprecated":false},{"type":"property","name":"exports.kind","signature":"exports.kind = 'trigger';","since":"","deprecated":false},{"type":"property","name":"exports.config","signature":"exports.config = { greeting: 'Hello', uppercase: false };","since":"","deprecated":false},{"type":"property","name":"exports.inputs","signature":"exports.inputs = [{ id: 'input', name: 'Input' }];","since":"","deprecated":false},{"type":"property","name":"exports.outputs","signature":"exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];","since":"","deprecated":false},{"type":"property","name":"exports.npm","signature":"exports.npm = ['qrcode'];","since":"","deprecated":false},{"type":"property","name":"exports.meta","signature":"exports.meta = { singleton: true, settingswidth: 1200 };","since":"","deprecated":false},{"type":"event","name":"exports.make","signature":"exports.make = function(instance, config) {}","since":"","deprecated":false},{"type":"event","name":"exports.install","signature":"exports.install = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.uninstall","signature":"exports.uninstall = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.call","signature":"exports.call = function(data, callback) {}","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyVD4eE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/component-api/","project":"flow","version":"11-1","section":"development","language":"it","title":"Riferimento del file del componente","summary":"Le proprietà e le funzioni di exports nel codice del server di un componente.","markdown":"---\ntitle: Riferimento del file del componente\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/component-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Riferimento del file del componente\n\n> Le proprietà e le funzioni di exports nel codice del server di un componente.\n\nIl codice del server in `<script total>` descrive il componente con le proprietà di `exports`. Flow legge il file quando il componente viene installato. Per le altre parti del file, vedi [Il file del componente](../component-file/).\n\n## API\n\n### exports.id = 'uppercase';\n\nType: `property`\n\nL'id del componente all'interno di un FlowStream.\n\nInstallare un file con un id già installato sostituisce quel componente. Senza un id, il designer ne genera uno. Scrivilo su una riga che termina con un punto e virgola.\n\n### exports.name = 'Uppercase';\n\nType: `property`\n\nIl nome nell'elenco dei componenti, sul nodo e nel catalogo.\n\nObbligatorio per installare il componente da un indirizzo URL o da un catalogo.\n\n### exports.group = 'Demo';\n\nType: `property`\n\nIl gruppo sotto cui il designer elenca il componente.\n\n### exports.icon = 'ti ti-font';\n\nType: `property`\n\nL'icona del componente.\n\nUna classe del font di icone di Total.js, per esempio `ti ti-print`. Obbligatoria per installare il componente da un indirizzo URL o da un catalogo.\n\n### exports.version = '1';\n\nType: `property`\n\nLa versione del componente, come stringa.\n\nObbligatoria per installare il componente da un indirizzo URL o da un catalogo. La finestra **Download components** (Scarica componenti) la confronta con la versione nel catalogo e mostra un badge **update** (aggiornamento) quando il catalogo ne ha una più alta.\n\n### exports.author = 'Jane Doe';\n\nType: `property`\n\nL'autore del componente.\n\nIl catalogo lo copia. Un autore che non contiene `Total.js` riceve un badge **Community** nella finestra **Download components**.\n\n### exports.color = '#E73323';\n\nType: `property`\n\nUn colore per l'icona del componente.\n\nIl catalogo lo copia, e la finestra **Download components** lo usa come sfondo dell'icona.\n\n### exports.kind = 'trigger';\n\nType: `property`\n\nUn'etichetta per il tipo di componente.\n\nI componenti ufficiali usano `trigger`, `action` e `output`. Il catalogo la copia.\n\n### exports.config = { greeting: 'Hello', uppercase: false };\n\nType: `property`\n\nLa configurazione predefinita di un nuovo nodo.\n\nOgni nodo ne riceve una copia. Il modulo delle impostazioni la modifica, e `exports.make` la riceve come `config`. Vedi [Configurazione e modulo delle impostazioni](../configuration/).\n\n### exports.inputs = [{ id: 'input', name: 'Input' }];\n\nType: `property`\n\nGli ingressi del nodo.\n\nOgni ingresso ha un `id`, che i messaggi riportano in `$.input`, e un `name`, che il nodo mostra. Vedi [Ingressi, uscite e messaggi](../inputs-outputs/).\n\n### exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];\n\nType: `property`\n\nLe uscite del nodo.\n\nOgni uscita ha un `id`, che passi a `$.send()`, e un `name`, che il nodo mostra. Un nodo può cambiare le sue uscite con `instance.outputs` e `instance.save()`.\n\n### exports.npm = ['qrcode'];\n\nType: `property`\n\nI pacchetti npm di cui il componente ha bisogno.\n\nFlow installa ogni pacchetto quando il componente viene aggiunto a un FlowStream. Un pacchetto può avere una versione, per esempio `mongodb@4.0.0`. Caricalo in `exports.make` con `require()`.\n\nExample: Usare un pacchetto\n```js\nexports.npm = ['qrcode'];\n\nexports.make = function(instance, config) {\n\tvar QRCode = require('qrcode');\n};\n```\n\n### exports.meta = { singleton: true, settingswidth: 1200 };\n\nType: `property`\n\nOpzioni per il designer.\n\n| Opzione | Cosa fa |\n|---|---|\n| `settingswidth` | La larghezza della finestra delle impostazioni in pixel. Il valore predefinito è `800`. |\n| `singleton` | Un FlowStream può contenere un solo nodo del componente. Il designer ne rifiuta un secondo. |\n| `hidden` | Il nodo viene disegnato trasparente sul canvas. |\n| `readonly` | Il designer non offre **Edit source code** (Modifica codice sorgente), **Copy node** (Copia nodo) né **Clone** (Clona), e Flow si rifiuta di leggere o salvare il suo sorgente. |\n| `protected` | Il componente non può essere rimosso dal FlowStream. |\n\n### exports.make = function(instance, config) {}\n\nType: `event`\n\nCrea un nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `instance` | `Object` | yes |  | Il nodo. Vedi [Riferimento dell'istanza](../instance-api/). |\n| `config` | `Object` | yes |  | La configurazione del nodo. Resta lo stesso oggetto quando l'utente modifica le impostazioni. |\n\nFlow la chiama una volta per ogni nodo del componente: quando il design viene applicato, quando il FlowStream si avvia e quando il componente cambia. Definisci qui i gestori dell'[istanza](../instance-api/).\n\nExample: Un componente che inoltra i messaggi\n```js\nexports.make = function(instance, config) {\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n};\n```\n\n### exports.install = function(com) {}\n\nType: `event`\n\nViene eseguita una volta quando il componente viene aggiunto a un FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Il componente. |\n\nFlow la chiama quando registra il componente per la prima volta nel processo del FlowStream, prima che i nodi vengano creati. `com.main` è il FlowStream e `com.config` la configurazione predefinita.\n\n### exports.uninstall = function(com) {}\n\nType: `event`\n\nViene eseguita quando il componente viene rimosso da un FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Il componente. |\n\nFlow la chiama dopo aver chiuso tutti i nodi del componente.\n\n### exports.call = function(data, callback) {}\n\nType: `event`\n\nRisponde a una chiamata dello script del browser che non è legata a un singolo nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | I dati dal browser. |\n| `callback` | `Function` | yes |  | Chiamala con la risposta. |\n\n`this` è il FlowStream. Lo script del browser la chiama con `exports.call(data, callback, true)`. I componenti **Publish** e **Subscribe** la usano per elencare i nodi di altri FlowStream.\n\nExample: Rispondere con l'id del FlowStream\n```js\nexports.call = function(data, callback) {\n\tcallback({ flowstream: this.id });\n};\n```\n","entries":[{"type":"property","name":"exports.id","signature":"exports.id = 'uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.name","signature":"exports.name = 'Uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.group","signature":"exports.group = 'Demo';","since":"","deprecated":false},{"type":"property","name":"exports.icon","signature":"exports.icon = 'ti ti-font';","since":"","deprecated":false},{"type":"property","name":"exports.version","signature":"exports.version = '1';","since":"","deprecated":false},{"type":"property","name":"exports.author","signature":"exports.author = 'Jane Doe';","since":"","deprecated":false},{"type":"property","name":"exports.color","signature":"exports.color = '#E73323';","since":"","deprecated":false},{"type":"property","name":"exports.kind","signature":"exports.kind = 'trigger';","since":"","deprecated":false},{"type":"property","name":"exports.config","signature":"exports.config = { greeting: 'Hello', uppercase: false };","since":"","deprecated":false},{"type":"property","name":"exports.inputs","signature":"exports.inputs = [{ id: 'input', name: 'Input' }];","since":"","deprecated":false},{"type":"property","name":"exports.outputs","signature":"exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];","since":"","deprecated":false},{"type":"property","name":"exports.npm","signature":"exports.npm = ['qrcode'];","since":"","deprecated":false},{"type":"property","name":"exports.meta","signature":"exports.meta = { singleton: true, settingswidth: 1200 };","since":"","deprecated":false},{"type":"event","name":"exports.make","signature":"exports.make = function(instance, config) {}","since":"","deprecated":false},{"type":"event","name":"exports.install","signature":"exports.install = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.uninstall","signature":"exports.uninstall = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.call","signature":"exports.call = function(data, callback) {}","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyVD4eE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/component-api/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Referencia súboru komponentu","summary":"Vlastnosti a funkcie exports v serverovom kóde komponentu.","markdown":"---\ntitle: \"Referencia súboru komponentu\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/component-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referencia súboru komponentu\n\n> Vlastnosti a funkcie exports v serverovom kóde komponentu.\n\nServerový kód v `<script total>` popisuje komponent vlastnosťami `exports`. Flow číta súbor pri inštalácii komponentu. Ostatné časti súboru nájdeš v [Súbor komponentu](../component-file/).\n\n## API\n\n### exports.id = 'uppercase';\n\nType: `property`\n\nId komponentu vo FlowStreame.\n\nInštalácia súboru s id, ktoré je už nainštalované, nahradí daný komponent. Bez id si dizajnér vygeneruje vlastné. Napíš ho na jeden riadok, ktorý končí bodkočiarkou.\n\n### exports.name = 'Uppercase';\n\nType: `property`\n\nNázov v zozname komponentov, na uzle a v katalógu.\n\nPovinný, ak chceš komponent inštalovať z URL adresy alebo z katalógu.\n\n### exports.group = 'Demo';\n\nType: `property`\n\nSkupina, v ktorej dizajnér komponent zobrazuje.\n\n### exports.icon = 'ti ti-font';\n\nType: `property`\n\nIkona komponentu.\n\nTrieda ikonového písma Total.js, napríklad `ti ti-print`. Povinná, ak chceš komponent inštalovať z URL adresy alebo z katalógu.\n\n### exports.version = '1';\n\nType: `property`\n\nVerzia komponentu ako reťazec.\n\nPovinná, ak chceš komponent inštalovať z URL adresy alebo z katalógu. Okno **Download components** (stiahnuť komponenty) ju porovnáva s verziou v katalógu a keď má katalóg vyššiu, zobrazí odznak **update** (aktualizácia).\n\n### exports.author = 'Jane Doe';\n\nType: `property`\n\nAutor komponentu.\n\nKatalóg ho preberá. Autor, ktorý neobsahuje `Total.js`, dostane v okne **Download components** odznak **Community** (komunita).\n\n### exports.color = '#E73323';\n\nType: `property`\n\nFarba ikony komponentu.\n\nKatalóg ju preberá a okno **Download components** ju používa ako pozadie ikony.\n\n### exports.kind = 'trigger';\n\nType: `property`\n\nŠtítok pre druh komponentu.\n\nOficiálne komponenty používajú `trigger`, `action` a `output`. Katalóg ho preberá.\n\n### exports.config = { greeting: 'Hello', uppercase: false };\n\nType: `property`\n\nPredvolená konfigurácia nového uzla.\n\nKaždý uzol dostane jej kópiu. Formulár nastavení ju upravuje a `exports.make` ju dostane ako `config`. Pozri [Konfigurácia a formulár nastavení](../configuration/).\n\n### exports.inputs = [{ id: 'input', name: 'Input' }];\n\nType: `property`\n\nVstupy uzla.\n\nKaždý vstup má `id`, ktoré správy uvádzajú v `$.input`, a `name`, ktorý zobrazuje uzol. Pozri [Vstupy, výstupy a správy](../inputs-outputs/).\n\n### exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];\n\nType: `property`\n\nVýstupy uzla.\n\nKaždý výstup má `id`, ktoré odovzdávaš do `$.send()`, a `name`, ktorý zobrazuje uzol. Uzol môže zmeniť svoje výstupy pomocou `instance.outputs` a `instance.save()`.\n\n### exports.npm = ['qrcode'];\n\nType: `property`\n\nBalíky npm, ktoré komponent potrebuje.\n\nFlow nainštaluje každý balík, keď sa komponent pridá do FlowStreamu. Balík môže mať verziu, napríklad `mongodb@4.0.0`. Načítaj ho v `exports.make` pomocou `require()`.\n\nExample: Použitie balíka\n```js\nexports.npm = ['qrcode'];\n\nexports.make = function(instance, config) {\n\tvar QRCode = require('qrcode');\n};\n```\n\n### exports.meta = { singleton: true, settingswidth: 1200 };\n\nType: `property`\n\nMožnosti pre dizajnér.\n\n| Možnosť | Čo robí |\n|---|---|\n| `settingswidth` | Šírka okna nastavení v pixeloch. Predvolená je `800`. |\n| `singleton` | FlowStream môže obsahovať iba jeden uzol komponentu. Dizajnér druhý odmietne. |\n| `hidden` | Uzol sa na plátne vykreslí priehľadne. |\n| `readonly` | Dizajnér neponúka **Edit source code** (upraviť zdrojový kód), **Copy node** (kopírovať uzol) ani **Clone** (klonovať) a Flow odmietne čítať alebo ukladať jeho zdrojový kód. |\n| `protected` | Komponent sa nedá z FlowStreamu odstrániť. |\n\n### exports.make = function(instance, config) {}\n\nType: `event`\n\nVytvorí uzol.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `instance` | `Object` | yes |  | Uzol. Pozri [Referencia inštancie](../instance-api/). |\n| `config` | `Object` | yes |  | Konfigurácia uzla. Keď používateľ zmení nastavenia, zostáva to ten istý objekt. |\n\nFlow ju zavolá raz pre každý uzol komponentu: keď sa použije návrh, keď sa spustí FlowStream a keď sa zmení komponent. Tu definuj obsluhy [inštancie](../instance-api/).\n\nExample: Komponent, ktorý posiela správy ďalej\n```js\nexports.make = function(instance, config) {\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n};\n```\n\n### exports.install = function(com) {}\n\nType: `event`\n\nSpustí sa raz, keď sa komponent pridá do FlowStreamu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Komponent. |\n\nFlow ju zavolá, keď komponent prvýkrát zaregistruje v procese FlowStreamu, ešte pred vytvorením uzlov. `com.main` je FlowStream a `com.config` predvolená konfigurácia.\n\n### exports.uninstall = function(com) {}\n\nType: `event`\n\nSpustí sa, keď sa komponent odstráni z FlowStreamu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `com` | `Object` | yes |  | Komponent. |\n\nFlow ju zavolá potom, čo zatvorí všetky uzly komponentu.\n\n### exports.call = function(data, callback) {}\n\nType: `event`\n\nOdpovedá na volanie zo skriptu prehliadača, ktoré nie je viazané na jeden uzol.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Dáta z prehliadača. |\n| `callback` | `Function` | yes |  | Zavolaj ju s odpoveďou. |\n\n`this` je FlowStream. Skript prehliadača ju volá pomocou `exports.call(data, callback, true)`. Komponenty **Publish** a **Subscribe** ju používajú na výpis uzlov iných FlowStreamov.\n\nExample: Odpoveď s id FlowStreamu\n```js\nexports.call = function(data, callback) {\n\tcallback({ flowstream: this.id });\n};\n```\n","entries":[{"type":"property","name":"exports.id","signature":"exports.id = 'uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.name","signature":"exports.name = 'Uppercase';","since":"","deprecated":false},{"type":"property","name":"exports.group","signature":"exports.group = 'Demo';","since":"","deprecated":false},{"type":"property","name":"exports.icon","signature":"exports.icon = 'ti ti-font';","since":"","deprecated":false},{"type":"property","name":"exports.version","signature":"exports.version = '1';","since":"","deprecated":false},{"type":"property","name":"exports.author","signature":"exports.author = 'Jane Doe';","since":"","deprecated":false},{"type":"property","name":"exports.color","signature":"exports.color = '#E73323';","since":"","deprecated":false},{"type":"property","name":"exports.kind","signature":"exports.kind = 'trigger';","since":"","deprecated":false},{"type":"property","name":"exports.config","signature":"exports.config = { greeting: 'Hello', uppercase: false };","since":"","deprecated":false},{"type":"property","name":"exports.inputs","signature":"exports.inputs = [{ id: 'input', name: 'Input' }];","since":"","deprecated":false},{"type":"property","name":"exports.outputs","signature":"exports.outputs = [{ id: 'output', name: 'Output' }, { id: 'error', name: 'Error' }];","since":"","deprecated":false},{"type":"property","name":"exports.npm","signature":"exports.npm = ['qrcode'];","since":"","deprecated":false},{"type":"property","name":"exports.meta","signature":"exports.meta = { singleton: true, settingswidth: 1200 };","since":"","deprecated":false},{"type":"event","name":"exports.make","signature":"exports.make = function(instance, config) {}","since":"","deprecated":false},{"type":"event","name":"exports.install","signature":"exports.install = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.uninstall","signature":"exports.uninstall = function(com) {}","since":"","deprecated":false},{"type":"event","name":"exports.call","signature":"exports.call = function(data, callback) {}","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyW15SE61f","url":"https://totaljs.es/docs/flow/11-1/development/instance-api/","project":"flow","version":"11-1","section":"development","language":"en","title":"Instance reference","summary":"The handlers, methods and properties of a node in the server code.","markdown":"---\ntitle: Instance reference\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/instance-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Instance reference\n\n> The handlers, methods and properties of a node in the server code.\n\nThe instance is one node of the component. `exports.make` receives it, and you define its handlers there:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n\n\tinstance.close = function() {\n\t};\n\n};\n```\n\nEntries of type **event** are functions that you define and Flow calls. Entries of type **method** are functions that Flow provides.\n\n## API\n\n### instance.message = function($) {}\n\nType: `event`\n\nReceives every message that arrives on any input.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | The message. See [Message reference](../message-api/). |\n\nEach message must be sent on with `$.send()` or ended with `$.destroy()`. An exception thrown here ends the message.\n\nExample: Forward the data in capital letters\n```js\ninstance.message = function($) {\n\t$.send('output', String($.data).toUpperCase());\n};\n```\n\n### instance.message_second = function($) {}\n\nType: `event`\n\nReceives the messages of one input.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | The message. |\n\nThe name is `message_` followed by the id of the input. When `instance.message` is also defined, Flow calls this handler first and then `instance.message` with the same message.\n\n### instance.configure = function() {}\n\nType: `event`\n\nRuns after the configuration of the node has changed.\n\nFlow calls it when the user applies new settings and after `instance.reconfigure()`. It does not run when the node is created, so call it at the end of `exports.make`.\n\n### instance.trigger = function(msg) {}\n\nType: `event`\n\nRuns when the user selects the trigger button of the node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `msg` | `Object` | yes |  | The request from the designer. |\n\nA `<button name=\"trigger\">` in the body, or `exports.trigger(data)` in the browser script, calls it. For a button, `msg.data` holds its `data-data` attribute. For `exports.trigger(obj)`, `msg` holds the keys of `obj`.\n\n### instance.close = function() {}\n\nType: `event`\n\nRuns when the node stops.\n\nFlow calls it when the node is removed from the design and when the component changes. Stop timers and close connections here.\n\n### instance.variables = function(variables) {}\n\nType: `event`\n\nRuns when the variables of the FlowStream change.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | The new variables of the FlowStream. |\n\n### instance.variables2 = function(variables) {}\n\nType: `event`\n\nRuns when the global variables change.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | The new global variables. |\n\n### instance.pause = function(is) {}\n\nType: `event`\n\nRuns when the FlowStream is paused or resumed.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `is` | `Boolean` | yes |  | `true` when paused, `false` when resumed. |\n\nWhile the FlowStream is paused, Flow delivers no messages.\n\n### instance.service = function(minutes) {}\n\nType: `event`\n\nRuns once a minute.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `minutes` | `Number` | yes |  | The number of minutes since the FlowStream started. |\n\n### instance.call = function(data, callback) {}\n\nType: `event`\n\nAnswers a call from the browser script of this node.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | The data from the browser. |\n| `callback` | `Function` | yes |  | Call it with the answer. |\n\nThe browser script calls it with `exports.call(data, callback)`, for example to load a list for the settings form.\n\nExample: Answer a call\n```js\ninstance.call = function(data, callback) {\n\tcallback({ id: instance.id });\n};\n```\n\n### instance.send(output, data)\n\nType: `method`\n\nStarts a new message on an output.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | The id of the output. |\n| `data` | `Object` | no |  | The data of the message. |\n\nReturns: `Number` The number of nodes that received the message.\n\nUse it in components that start messages, such as triggers and timers. Without `output`, the message goes to every output that has a connection.\n\nExample: Send the current date\n```js\ninstance.send('output', { ts: new Date() });\n```\n\n### instance.newmessage(data)\n\nType: `method`\n\nCreates a new message without sending it.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | no |  | The data of the message. |\n\nReturns: `Object` The message.\n\nSend it later with `msg.send(output)`. The **Route** component creates a message for each HTTP request this way and stores the request in `msg.refs`.\n\nExample: Create and send a message\n```js\nvar msg = instance.newmessage({ name: 'Jane' });\nmsg.send('output');\n```\n\n### instance.status(data, [delay])\n\nType: `method`\n\nSends a status to the designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Any data, for example `{ count: 12 }`. |\n| `delay` | `Number` | no |  | Waits this many milliseconds and then sends the last status, so that many quick calls send one status. |\n\nThe designer keeps the last status of each node and shows it through `$STATUS` in the body. See [Status and the look of the node](../status-and-look/).\n\nExample: Count messages\n```js\nstatus.count++;\ninstance.status(status, 500);\n```\n\n### instance.activity(key, name, progress)\n\nType: `method`\n\nShows the progress of a task under Activities in the designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `key` | `String` | yes |  | An id of the task. |\n| `name` | `String` | yes |  | The text of the line. |\n| `progress` | `Number` | no |  | The progress from 0 to 100. |\n\nThe line disappears when `progress` is `100` or `name` is empty.\n\nExample: Show progress\n```js\ninstance.activity('import', 'Importing orders', 50);\n```\n\n### instance.throw(error)\n\nType: `method`\n\nReports an error to the designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | The error message. |\n\nThe FlowStream keeps its last 10 errors, and the designer shows their number under **Errors**. See [Errors and logging](../errors-and-logging/).\n\n### instance.replace(text, [data])\n\nType: `method`\n\nFills in the variables of a text.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | The text with keys in braces. |\n| `data` | `Object` | no |  | Values for keys that are not variables. |\n\nReturns: `String` The text with the values.\n\nReplaces each `{key}` with the FlowStream variable, the global variable or the secret of that name, `{hostname}` with the address of the FlowStream, and other keys from `data`. Keys that are not found stay as they are. See [Variables in components](../variables/).\n\nExample: Fill in a variable\n```js\ninstance.replace('{welcome}, Jane!');\n// Good morning, Jane!\n```\n\n### instance.reconfigure(config)\n\nType: `method`\n\nChanges keys of the configuration from code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `config` | `Object` | yes |  | The keys to change. |\n\nMerges the keys into the configuration, calls `instance.configure`, sends the configuration to the designer and saves the FlowStream.\n\nExample: Turn on a setting\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n### instance.save()\n\nType: `method`\n\nSaves the node after you changed its inputs, outputs or configuration in code.\n\nThe designer redraws the node.\n\nExample: Two outputs from the settings\n```js\ninstance.outputs = [{ id: 'output', name: 'Output #1' }, { id: 'output2', name: 'Output #2' }];\ninstance.save();\n```\n\n### instance.id\n\nType: `property`\n\nThe id of the node in the design.\n\n### instance.component\n\nType: `property`\n\nThe id of the component.\n\n### instance.config\n\nType: `property`\n\nThe configuration of the node, the same object as `config` in `exports.make`.\n\n### instance.outputs\n\nType: `property`\n\nOutputs of this node that replace `exports.outputs`.\n\nSet it and call `instance.save()`. `instance.inputs` works the same way for inputs.\n\n### instance.main\n\nType: `property`\n\nThe FlowStream that runs the node.\n\n`instance.main.id` is its id, `instance.main.variables` its variables and `instance.main.variables2` the global variables.\n\n### instance.env\n\nType: `property`\n\nThe environment of Flow: `dev`, `test` or `prod`.\n\nSee [Environments](/flow/11-1/guides/environments/).\n","entries":[{"type":"event","name":"instance.message","signature":"instance.message = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.message_<input>","signature":"instance.message_second = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.configure","signature":"instance.configure = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.trigger","signature":"instance.trigger = function(msg) {}","since":"","deprecated":false},{"type":"event","name":"instance.close","signature":"instance.close = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.variables","signature":"instance.variables = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.variables2","signature":"instance.variables2 = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.pause","signature":"instance.pause = function(is) {}","since":"","deprecated":false},{"type":"event","name":"instance.service","signature":"instance.service = function(minutes) {}","since":"","deprecated":false},{"type":"event","name":"instance.call","signature":"instance.call = function(data, callback) {}","since":"","deprecated":false},{"type":"method","name":"instance.send","signature":"instance.send(output, data)","since":"","deprecated":false},{"type":"method","name":"instance.newmessage","signature":"instance.newmessage(data)","since":"","deprecated":false},{"type":"method","name":"instance.status","signature":"instance.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"instance.activity","signature":"instance.activity(key, name, progress)","since":"","deprecated":false},{"type":"method","name":"instance.throw","signature":"instance.throw(error)","since":"","deprecated":false},{"type":"method","name":"instance.replace","signature":"instance.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"instance.reconfigure","signature":"instance.reconfigure(config)","since":"","deprecated":false},{"type":"method","name":"instance.save","signature":"instance.save()","since":"","deprecated":false},{"type":"property","name":"instance.id","signature":"instance.id","since":"","deprecated":false},{"type":"property","name":"instance.component","signature":"instance.component","since":"","deprecated":false},{"type":"property","name":"instance.config","signature":"instance.config","since":"","deprecated":false},{"type":"property","name":"instance.outputs","signature":"instance.outputs","since":"","deprecated":false},{"type":"property","name":"instance.main","signature":"instance.main","since":"","deprecated":false},{"type":"property","name":"instance.env","signature":"instance.env","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyW15SE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/instance-api/","project":"flow","version":"11-1","section":"development","language":"de","title":"Referenz der Instanz","summary":"Die Handler, Methoden und Eigenschaften eines Nodes im Server-Code.","markdown":"---\ntitle: Referenz der Instanz\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/instance-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referenz der Instanz\n\n> Die Handler, Methoden und Eigenschaften eines Nodes im Server-Code.\n\nDie Instanz ist ein einzelner Node der Komponente. `exports.make` erhält sie, und dort definierst du ihre Handler:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n\n\tinstance.close = function() {\n\t};\n\n};\n```\n\nEinträge vom Typ **event** sind Funktionen, die du definierst und Flow aufruft. Einträge vom Typ **method** sind Funktionen, die Flow bereitstellt.\n\n## API\n\n### instance.message = function($) {}\n\nType: `event`\n\nEmpfängt jede Nachricht, die an irgendeinem Eingang eintrifft.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Die Nachricht. Siehe [Referenz der Nachricht](../message-api/). |\n\nJede Nachricht muss mit `$.send()` weitergeschickt oder mit `$.destroy()` beendet werden. Eine Ausnahme, die hier geworfen wird, beendet die Nachricht.\n\nExample: Die Daten in Großbuchstaben weiterleiten\n```js\ninstance.message = function($) {\n\t$.send('output', String($.data).toUpperCase());\n};\n```\n\n### instance.message_second = function($) {}\n\nType: `event`\n\nEmpfängt die Nachrichten eines einzelnen Eingangs.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Die Nachricht. |\n\nDer Name ist `message_`, gefolgt von der ID des Eingangs. Wenn auch `instance.message` definiert ist, ruft Flow zuerst diesen Handler und dann `instance.message` mit derselben Nachricht auf.\n\n### instance.configure = function() {}\n\nType: `event`\n\nLäuft, nachdem sich die Konfiguration des Nodes geändert hat.\n\nFlow ruft ihn auf, wenn der Nutzer neue Einstellungen anwendet, und nach `instance.reconfigure()`. Er läuft nicht, wenn der Node erstellt wird, also ruf ihn am Ende von `exports.make` auf.\n\n### instance.trigger = function(msg) {}\n\nType: `event`\n\nLäuft, wenn der Nutzer den Trigger-Button des Nodes wählt.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `msg` | `Object` | yes |  | Die Anfrage aus dem Designer. |\n\nEin `<button name=\"trigger\">` im Body oder `exports.trigger(data)` im Browser-Skript ruft ihn auf. Bei einem Button enthält `msg.data` sein Attribut `data-data`. Bei `exports.trigger(obj)` enthält `msg` die Schlüssel von `obj`.\n\n### instance.close = function() {}\n\nType: `event`\n\nLäuft, wenn der Node stoppt.\n\nFlow ruft ihn auf, wenn der Node aus dem Design entfernt wird und wenn sich die Komponente ändert. Stopp hier Timer und schließ Verbindungen.\n\n### instance.variables = function(variables) {}\n\nType: `event`\n\nLäuft, wenn sich die Variablen des FlowStreams ändern.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Die neuen Variablen des FlowStreams. |\n\n### instance.variables2 = function(variables) {}\n\nType: `event`\n\nLäuft, wenn sich die globalen Variablen ändern.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Die neuen globalen Variablen. |\n\n### instance.pause = function(is) {}\n\nType: `event`\n\nLäuft, wenn der FlowStream pausiert oder fortgesetzt wird.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `is` | `Boolean` | yes |  | `true` beim Pausieren, `false` beim Fortsetzen. |\n\nSolange der FlowStream pausiert ist, stellt Flow keine Nachrichten zu.\n\n### instance.service = function(minutes) {}\n\nType: `event`\n\nLäuft einmal pro Minute.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `minutes` | `Number` | yes |  | Die Anzahl der Minuten seit dem Start des FlowStreams. |\n\n### instance.call = function(data, callback) {}\n\nType: `event`\n\nBeantwortet einen Aufruf aus dem Browser-Skript dieses Nodes.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Die Daten aus dem Browser. |\n| `callback` | `Function` | yes |  | Ruf sie mit der Antwort auf. |\n\nDas Browser-Skript ruft ihn mit `exports.call(data, callback)` auf, zum Beispiel um eine Liste für das Einstellungsformular zu laden.\n\nExample: Einen Aufruf beantworten\n```js\ninstance.call = function(data, callback) {\n\tcallback({ id: instance.id });\n};\n```\n\n### instance.send(output, data)\n\nType: `method`\n\nStartet eine neue Nachricht an einem Ausgang.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | Die ID des Ausgangs. |\n| `data` | `Object` | no |  | Die Daten der Nachricht. |\n\nReturns: `Number` Die Anzahl der Nodes, die die Nachricht empfangen haben.\n\nVerwende sie in Komponenten, die Nachrichten starten, etwa Trigger und Timer. Ohne `output` geht die Nachricht an jeden Ausgang, der eine Verbindung hat.\n\nExample: Das aktuelle Datum senden\n```js\ninstance.send('output', { ts: new Date() });\n```\n\n### instance.newmessage(data)\n\nType: `method`\n\nErstellt eine neue Nachricht, ohne sie zu senden.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | no |  | Die Daten der Nachricht. |\n\nReturns: `Object` Die Nachricht.\n\nDu sendest sie später mit `msg.send(output)`. Die Komponente **Route** erstellt auf diese Weise für jede HTTP-Anfrage eine Nachricht und speichert die Anfrage in `msg.refs`.\n\nExample: Eine Nachricht erstellen und senden\n```js\nvar msg = instance.newmessage({ name: 'Jane' });\nmsg.send('output');\n```\n\n### instance.status(data, [delay])\n\nType: `method`\n\nSendet einen Status an den Designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Beliebige Daten, zum Beispiel `{ count: 12 }`. |\n| `delay` | `Number` | no |  | Wartet so viele Millisekunden und sendet dann den letzten Status, sodass viele schnelle Aufrufe nur einen Status senden. |\n\nDer Designer behält den letzten Status jedes Nodes und zeigt ihn über `$STATUS` im Body an. Siehe [Status und das Aussehen des Nodes](../status-and-look/).\n\nExample: Nachrichten zählen\n```js\nstatus.count++;\ninstance.status(status, 500);\n```\n\n### instance.activity(key, name, progress)\n\nType: `method`\n\nZeigt den Fortschritt einer Aufgabe unter Activities im Designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `key` | `String` | yes |  | Eine ID der Aufgabe. |\n| `name` | `String` | yes |  | Der Text der Zeile. |\n| `progress` | `Number` | no |  | Der Fortschritt von 0 bis 100. |\n\nDie Zeile verschwindet, wenn `progress` den Wert `100` hat oder `name` leer ist.\n\nExample: Fortschritt anzeigen\n```js\ninstance.activity('import', 'Importing orders', 50);\n```\n\n### instance.throw(error)\n\nType: `method`\n\nMeldet einen Fehler an den Designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Die Fehlermeldung. |\n\nDer FlowStream behält seine letzten 10 Fehler, und der Designer zeigt ihre Anzahl unter **Errors**. Siehe [Fehler und Logging](../errors-and-logging/).\n\n### instance.replace(text, [data])\n\nType: `method`\n\nSetzt die Variablen in einen Text ein.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Der Text mit Schlüsseln in geschweiften Klammern. |\n| `data` | `Object` | no |  | Werte für Schlüssel, die keine Variablen sind. |\n\nReturns: `String` Der Text mit den Werten.\n\nErsetzt jeden `{key}` durch die FlowStream-Variable, die globale Variable oder das Secret mit diesem Namen, `{hostname}` durch die Adresse des FlowStreams und andere Schlüssel durch Werte aus `data`. Schlüssel, die nicht gefunden werden, bleiben unverändert. Siehe [Variablen in Komponenten](../variables/).\n\nExample: Eine Variable einsetzen\n```js\ninstance.replace('{welcome}, Jane!');\n// Good morning, Jane!\n```\n\n### instance.reconfigure(config)\n\nType: `method`\n\nÄndert Schlüssel der Konfiguration im Code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `config` | `Object` | yes |  | Die Schlüssel, die du ändern willst. |\n\nFührt die Schlüssel mit der Konfiguration zusammen, ruft `instance.configure` auf, sendet die Konfiguration an den Designer und speichert den FlowStream.\n\nExample: Eine Einstellung einschalten\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n### instance.save()\n\nType: `method`\n\nSpeichert den Node, nachdem du seine Eingänge, Ausgänge oder seine Konfiguration im Code geändert hast.\n\nDer Designer zeichnet den Node neu.\n\nExample: Zwei Ausgänge aus den Einstellungen\n```js\ninstance.outputs = [{ id: 'output', name: 'Output #1' }, { id: 'output2', name: 'Output #2' }];\ninstance.save();\n```\n\n### instance.id\n\nType: `property`\n\nDie ID des Nodes im Design.\n\n### instance.component\n\nType: `property`\n\nDie ID der Komponente.\n\n### instance.config\n\nType: `property`\n\nDie Konfiguration des Nodes, dasselbe Objekt wie `config` in `exports.make`.\n\n### instance.outputs\n\nType: `property`\n\nAusgänge dieses Nodes, die `exports.outputs` ersetzen.\n\nSetz sie und ruf `instance.save()` auf. `instance.inputs` funktioniert genauso für Eingänge.\n\n### instance.main\n\nType: `property`\n\nDer FlowStream, der den Node ausführt.\n\n`instance.main.id` ist seine ID, `instance.main.variables` seine Variablen und `instance.main.variables2` die globalen Variablen.\n\n### instance.env\n\nType: `property`\n\nDie Umgebung von Flow: `dev`, `test` oder `prod`.\n\nSiehe [Umgebungen](/flow/11-1/guides/environments/).\n","entries":[{"type":"event","name":"instance.message","signature":"instance.message = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.message_<input>","signature":"instance.message_second = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.configure","signature":"instance.configure = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.trigger","signature":"instance.trigger = function(msg) {}","since":"","deprecated":false},{"type":"event","name":"instance.close","signature":"instance.close = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.variables","signature":"instance.variables = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.variables2","signature":"instance.variables2 = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.pause","signature":"instance.pause = function(is) {}","since":"","deprecated":false},{"type":"event","name":"instance.service","signature":"instance.service = function(minutes) {}","since":"","deprecated":false},{"type":"event","name":"instance.call","signature":"instance.call = function(data, callback) {}","since":"","deprecated":false},{"type":"method","name":"instance.send","signature":"instance.send(output, data)","since":"","deprecated":false},{"type":"method","name":"instance.newmessage","signature":"instance.newmessage(data)","since":"","deprecated":false},{"type":"method","name":"instance.status","signature":"instance.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"instance.activity","signature":"instance.activity(key, name, progress)","since":"","deprecated":false},{"type":"method","name":"instance.throw","signature":"instance.throw(error)","since":"","deprecated":false},{"type":"method","name":"instance.replace","signature":"instance.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"instance.reconfigure","signature":"instance.reconfigure(config)","since":"","deprecated":false},{"type":"method","name":"instance.save","signature":"instance.save()","since":"","deprecated":false},{"type":"property","name":"instance.id","signature":"instance.id","since":"","deprecated":false},{"type":"property","name":"instance.component","signature":"instance.component","since":"","deprecated":false},{"type":"property","name":"instance.config","signature":"instance.config","since":"","deprecated":false},{"type":"property","name":"instance.outputs","signature":"instance.outputs","since":"","deprecated":false},{"type":"property","name":"instance.main","signature":"instance.main","since":"","deprecated":false},{"type":"property","name":"instance.env","signature":"instance.env","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyW15SE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/instance-api/","project":"flow","version":"11-1","section":"development","language":"es","title":"Referencia de la instancia","summary":"Los manejadores, métodos y propiedades de un nodo en el código del servidor.","markdown":"---\ntitle: Referencia de la instancia\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/instance-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referencia de la instancia\n\n> Los manejadores, métodos y propiedades de un nodo en el código del servidor.\n\nLa instancia es un nodo del componente. `exports.make` la recibe, y ahí defines sus manejadores:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n\n\tinstance.close = function() {\n\t};\n\n};\n```\n\nLas entradas de tipo **event** (evento) son funciones que defines tú y que Flow llama. Las entradas de tipo **method** (método) son funciones que proporciona Flow.\n\n## API\n\n### instance.message = function($) {}\n\nType: `event`\n\nRecibe todos los mensajes que llegan a cualquier entrada.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | El mensaje. Consulta la [referencia del mensaje](../message-api/). |\n\nCada mensaje debe enviarse con `$.send()` o terminarse con `$.destroy()`. Una excepción lanzada aquí termina el mensaje.\n\nExample: Reenvía los datos en mayúsculas\n```js\ninstance.message = function($) {\n\t$.send('output', String($.data).toUpperCase());\n};\n```\n\n### instance.message_second = function($) {}\n\nType: `event`\n\nRecibe los mensajes de una sola entrada.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | El mensaje. |\n\nEl nombre es `message_` seguido del id de la entrada. Cuando también está definido `instance.message`, Flow llama primero a este manejador y después a `instance.message` con el mismo mensaje.\n\n### instance.configure = function() {}\n\nType: `event`\n\nSe ejecuta después de que cambie la configuración del nodo.\n\nFlow lo llama cuando el usuario aplica ajustes nuevos y después de `instance.reconfigure()`. No se ejecuta al crear el nodo, así que llámalo al final de `exports.make`.\n\n### instance.trigger = function(msg) {}\n\nType: `event`\n\nSe ejecuta cuando el usuario selecciona el botón trigger del nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `msg` | `Object` | yes |  | La petición del diseñador. |\n\nLo llama un `<button name=\"trigger\">` en el cuerpo, o `exports.trigger(data)` en el script del navegador. Para un botón, `msg.data` contiene su atributo `data-data`. Para `exports.trigger(obj)`, `msg` contiene las claves de `obj`.\n\n### instance.close = function() {}\n\nType: `event`\n\nSe ejecuta cuando el nodo se detiene.\n\nFlow lo llama cuando se elimina el nodo del diseño y cuando cambia el componente. Detén aquí los temporizadores y cierra las conexiones.\n\n### instance.variables = function(variables) {}\n\nType: `event`\n\nSe ejecuta cuando cambian las variables del FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Las variables nuevas del FlowStream. |\n\n### instance.variables2 = function(variables) {}\n\nType: `event`\n\nSe ejecuta cuando cambian las variables globales.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Las variables globales nuevas. |\n\n### instance.pause = function(is) {}\n\nType: `event`\n\nSe ejecuta cuando se pausa o se reanuda el FlowStream.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `is` | `Boolean` | yes |  | `true` al pausar, `false` al reanudar. |\n\nMientras el FlowStream está en pausa, Flow no entrega mensajes.\n\n### instance.service = function(minutes) {}\n\nType: `event`\n\nSe ejecuta una vez por minuto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `minutes` | `Number` | yes |  | El número de minutos desde que se inició el FlowStream. |\n\n### instance.call = function(data, callback) {}\n\nType: `event`\n\nResponde a una llamada del script del navegador de este nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Los datos del navegador. |\n| `callback` | `Function` | yes |  | Llámala con la respuesta. |\n\nEl script del navegador lo llama con `exports.call(data, callback)`, por ejemplo para cargar una lista para el formulario de ajustes.\n\nExample: Responde a una llamada\n```js\ninstance.call = function(data, callback) {\n\tcallback({ id: instance.id });\n};\n```\n\n### instance.send(output, data)\n\nType: `method`\n\nInicia un mensaje nuevo en una salida.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | El id de la salida. |\n| `data` | `Object` | no |  | Los datos del mensaje. |\n\nReturns: `Number` El número de nodos que recibieron el mensaje.\n\nÚsalo en componentes que inician mensajes, como triggers y temporizadores. Sin `output`, el mensaje va a todas las salidas que tienen una conexión.\n\nExample: Envía la fecha actual\n```js\ninstance.send('output', { ts: new Date() });\n```\n\n### instance.newmessage(data)\n\nType: `method`\n\nCrea un mensaje nuevo sin enviarlo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | no |  | Los datos del mensaje. |\n\nReturns: `Object` El mensaje.\n\nEnvíalo después con `msg.send(output)`. El componente **Route** crea así un mensaje por cada petición HTTP y guarda la petición en `msg.refs`.\n\nExample: Crea y envía un mensaje\n```js\nvar msg = instance.newmessage({ name: 'Jane' });\nmsg.send('output');\n```\n\n### instance.status(data, [delay])\n\nType: `method`\n\nEnvía un estado al diseñador.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Cualquier dato, por ejemplo `{ count: 12 }`. |\n| `delay` | `Number` | no |  | Espera estos milisegundos y después envía el último estado, para que muchas llamadas rápidas envíen un solo estado. |\n\nEl diseñador guarda el último estado de cada nodo y lo muestra mediante `$STATUS` en el cuerpo. Consulta [Estado y aspecto del nodo](../status-and-look/).\n\nExample: Cuenta mensajes\n```js\nstatus.count++;\ninstance.status(status, 500);\n```\n\n### instance.activity(key, name, progress)\n\nType: `method`\n\nMuestra el progreso de una tarea en Activities (actividades) en el diseñador.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `key` | `String` | yes |  | Un id de la tarea. |\n| `name` | `String` | yes |  | El texto de la línea. |\n| `progress` | `Number` | no |  | El progreso de 0 a 100. |\n\nLa línea desaparece cuando `progress` es `100` o `name` está vacío.\n\nExample: Muestra el progreso\n```js\ninstance.activity('import', 'Importing orders', 50);\n```\n\n### instance.throw(error)\n\nType: `method`\n\nInforma de un error al diseñador.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | El mensaje de error. |\n\nEl FlowStream guarda sus 10 últimos errores, y el diseñador muestra cuántos hay en **Errors** (errores). Consulta [Errores y registros](../errors-and-logging/).\n\n### instance.replace(text, [data])\n\nType: `method`\n\nRellena las variables de un texto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | El texto con claves entre llaves. |\n| `data` | `Object` | no |  | Valores para las claves que no son variables. |\n\nReturns: `String` El texto con los valores.\n\nSustituye cada `{key}` por la variable del FlowStream, la variable global o el secreto con ese nombre, `{hostname}` por la dirección del FlowStream, y las demás claves con `data`. Las claves que no se encuentran se quedan tal cual. Consulta [Variables en los componentes](../variables/).\n\nExample: Rellena una variable\n```js\ninstance.replace('{welcome}, Jane!');\n// Good morning, Jane!\n```\n\n### instance.reconfigure(config)\n\nType: `method`\n\nCambia claves de la configuración desde el código.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `config` | `Object` | yes |  | Las claves que cambiar. |\n\nCombina las claves con la configuración, llama a `instance.configure`, envía la configuración al diseñador y guarda el FlowStream.\n\nExample: Activa un ajuste\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n### instance.save()\n\nType: `method`\n\nGuarda el nodo después de cambiar sus entradas, salidas o configuración desde el código.\n\nEl diseñador vuelve a dibujar el nodo.\n\nExample: Dos salidas desde los ajustes\n```js\ninstance.outputs = [{ id: 'output', name: 'Output #1' }, { id: 'output2', name: 'Output #2' }];\ninstance.save();\n```\n\n### instance.id\n\nType: `property`\n\nEl id del nodo en el diseño.\n\n### instance.component\n\nType: `property`\n\nEl id del componente.\n\n### instance.config\n\nType: `property`\n\nLa configuración del nodo, el mismo objeto que `config` en `exports.make`.\n\n### instance.outputs\n\nType: `property`\n\nSalidas de este nodo que sustituyen a `exports.outputs`.\n\nDefínela y llama a `instance.save()`. `instance.inputs` funciona igual para las entradas.\n\n### instance.main\n\nType: `property`\n\nEl FlowStream que ejecuta el nodo.\n\n`instance.main.id` es su id, `instance.main.variables` sus variables e `instance.main.variables2` las variables globales.\n\n### instance.env\n\nType: `property`\n\nEl entorno de Flow: `dev`, `test` o `prod`.\n\nConsulta [Entornos](/flow/11-1/guides/environments/).\n","entries":[{"type":"event","name":"instance.message","signature":"instance.message = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.message_<input>","signature":"instance.message_second = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.configure","signature":"instance.configure = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.trigger","signature":"instance.trigger = function(msg) {}","since":"","deprecated":false},{"type":"event","name":"instance.close","signature":"instance.close = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.variables","signature":"instance.variables = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.variables2","signature":"instance.variables2 = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.pause","signature":"instance.pause = function(is) {}","since":"","deprecated":false},{"type":"event","name":"instance.service","signature":"instance.service = function(minutes) {}","since":"","deprecated":false},{"type":"event","name":"instance.call","signature":"instance.call = function(data, callback) {}","since":"","deprecated":false},{"type":"method","name":"instance.send","signature":"instance.send(output, data)","since":"","deprecated":false},{"type":"method","name":"instance.newmessage","signature":"instance.newmessage(data)","since":"","deprecated":false},{"type":"method","name":"instance.status","signature":"instance.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"instance.activity","signature":"instance.activity(key, name, progress)","since":"","deprecated":false},{"type":"method","name":"instance.throw","signature":"instance.throw(error)","since":"","deprecated":false},{"type":"method","name":"instance.replace","signature":"instance.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"instance.reconfigure","signature":"instance.reconfigure(config)","since":"","deprecated":false},{"type":"method","name":"instance.save","signature":"instance.save()","since":"","deprecated":false},{"type":"property","name":"instance.id","signature":"instance.id","since":"","deprecated":false},{"type":"property","name":"instance.component","signature":"instance.component","since":"","deprecated":false},{"type":"property","name":"instance.config","signature":"instance.config","since":"","deprecated":false},{"type":"property","name":"instance.outputs","signature":"instance.outputs","since":"","deprecated":false},{"type":"property","name":"instance.main","signature":"instance.main","since":"","deprecated":false},{"type":"property","name":"instance.env","signature":"instance.env","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyW15SE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/instance-api/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Référence de l'instance","summary":"Les gestionnaires, les méthodes et les propriétés d'un nœud dans le code serveur.","markdown":"---\ntitle: \"Référence de l'instance\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/instance-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Référence de l'instance\n\n> Les gestionnaires, les méthodes et les propriétés d'un nœud dans le code serveur.\n\nL'instance est un nœud du composant. `exports.make` la reçoit, et tu y définis ses gestionnaires :\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n\n\tinstance.close = function() {\n\t};\n\n};\n```\n\nLes entrées de type **event** sont des fonctions que tu définis et que Flow appelle. Les entrées de type **method** sont des fonctions que Flow fournit.\n\n## API\n\n### instance.message = function($) {}\n\nType: `event`\n\nReçoit chaque message qui arrive sur n'importe quelle entrée.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Le message. Consulte [Référence du message](../message-api/). |\n\nChaque message doit être transmis avec `$.send()` ou terminé avec `$.destroy()`. Une exception levée ici termine le message.\n\nExample: Transmettre les données en majuscules\n```js\ninstance.message = function($) {\n\t$.send('output', String($.data).toUpperCase());\n};\n```\n\n### instance.message_second = function($) {}\n\nType: `event`\n\nReçoit les messages d'une seule entrée.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Le message. |\n\nLe nom est `message_` suivi de l'id de l'entrée. Quand `instance.message` est aussi définie, Flow appelle d'abord ce gestionnaire puis `instance.message` avec le même message.\n\n### instance.configure = function() {}\n\nType: `event`\n\nS'exécute après que la configuration du nœud a changé.\n\nFlow l'appelle quand l'utilisateur applique de nouveaux réglages et après `instance.reconfigure()`. Elle ne s'exécute pas quand le nœud est créé, donc appelle-la à la fin de `exports.make`.\n\n### instance.trigger = function(msg) {}\n\nType: `event`\n\nS'exécute quand l'utilisateur sélectionne le bouton trigger du nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `msg` | `Object` | yes |  | La requête venant du designer. |\n\nUn `<button name=\"trigger\">` dans le corps, ou `exports.trigger(data)` dans le script du navigateur, l'appelle. Pour un bouton, `msg.data` contient son attribut `data-data`. Pour `exports.trigger(obj)`, `msg` contient les clés de `obj`.\n\n### instance.close = function() {}\n\nType: `event`\n\nS'exécute quand le nœud s'arrête.\n\nFlow l'appelle quand le nœud est retiré du design et quand le composant change. Arrête ici les timers et ferme les connexions.\n\n### instance.variables = function(variables) {}\n\nType: `event`\n\nS'exécute quand les variables du FlowStream changent.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Les nouvelles variables du FlowStream. |\n\n### instance.variables2 = function(variables) {}\n\nType: `event`\n\nS'exécute quand les variables globales changent.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Les nouvelles variables globales. |\n\n### instance.pause = function(is) {}\n\nType: `event`\n\nS'exécute quand le FlowStream est mis en pause ou repris.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `is` | `Boolean` | yes |  | `true` à la mise en pause, `false` à la reprise. |\n\nPendant que le FlowStream est en pause, Flow ne livre aucun message.\n\n### instance.service = function(minutes) {}\n\nType: `event`\n\nS'exécute une fois par minute.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `minutes` | `Number` | yes |  | Le nombre de minutes écoulées depuis le démarrage du FlowStream. |\n\n### instance.call = function(data, callback) {}\n\nType: `event`\n\nRépond à un appel du script du navigateur de ce nœud.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Les données venant du navigateur. |\n| `callback` | `Function` | yes |  | Appelle-la avec la réponse. |\n\nLe script du navigateur l'appelle avec `exports.call(data, callback)`, par exemple pour charger une liste pour le formulaire de réglages.\n\nExample: Répondre à un appel\n```js\ninstance.call = function(data, callback) {\n\tcallback({ id: instance.id });\n};\n```\n\n### instance.send(output, data)\n\nType: `method`\n\nLance un nouveau message sur une sortie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | L'id de la sortie. |\n| `data` | `Object` | no |  | Les données du message. |\n\nReturns: `Number` Le nombre de nœuds qui ont reçu le message.\n\nUtilise-la dans les composants qui lancent des messages, comme les triggers et les timers. Sans `output`, le message va à chaque sortie qui a une connexion.\n\nExample: Envoyer la date actuelle\n```js\ninstance.send('output', { ts: new Date() });\n```\n\n### instance.newmessage(data)\n\nType: `method`\n\nCrée un nouveau message sans l'envoyer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | no |  | Les données du message. |\n\nReturns: `Object` Le message.\n\nEnvoie-le plus tard avec `msg.send(output)`. Le composant **Route** crée ainsi un message pour chaque requête HTTP et enregistre la requête dans `msg.refs`.\n\nExample: Créer et envoyer un message\n```js\nvar msg = instance.newmessage({ name: 'Jane' });\nmsg.send('output');\n```\n\n### instance.status(data, [delay])\n\nType: `method`\n\nEnvoie un statut au designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | N'importe quelles données, par exemple `{ count: 12 }`. |\n| `delay` | `Number` | no |  | Attend ce nombre de millisecondes puis envoie le dernier statut, pour que de nombreux appels rapides n'envoient qu'un seul statut. |\n\nLe designer garde le dernier statut de chaque nœud et l'affiche grâce à `$STATUS` dans le corps. Consulte [Le statut et l'apparence du nœud](../status-and-look/).\n\nExample: Compter les messages\n```js\nstatus.count++;\ninstance.status(status, 500);\n```\n\n### instance.activity(key, name, progress)\n\nType: `method`\n\nAffiche la progression d'une tâche sous Activities dans le designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `key` | `String` | yes |  | Un id de la tâche. |\n| `name` | `String` | yes |  | Le texte de la ligne. |\n| `progress` | `Number` | no |  | La progression de 0 à 100. |\n\nLa ligne disparaît quand `progress` vaut `100` ou que `name` est vide.\n\nExample: Afficher la progression\n```js\ninstance.activity('import', 'Importing orders', 50);\n```\n\n### instance.throw(error)\n\nType: `method`\n\nSignale une erreur au designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Le message d'erreur. |\n\nLe FlowStream garde ses 10 dernières erreurs, et le designer affiche leur nombre sous **Errors**. Consulte [Erreurs et journaux](../errors-and-logging/).\n\n### instance.replace(text, [data])\n\nType: `method`\n\nRemplit les variables d'un texte.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Le texte avec des clés entre accolades. |\n| `data` | `Object` | no |  | Des valeurs pour les clés qui ne sont pas des variables. |\n\nReturns: `String` Le texte avec les valeurs.\n\nRemplace chaque `{key}` par la variable de FlowStream, la variable globale ou le secret de ce nom, `{hostname}` par l'adresse du FlowStream, et les autres clés à partir de `data`. Les clés introuvables restent telles quelles. Consulte [Les variables dans les composants](../variables/).\n\nExample: Remplir une variable\n```js\ninstance.replace('{welcome}, Jane!');\n// Good morning, Jane!\n```\n\n### instance.reconfigure(config)\n\nType: `method`\n\nModifie des clés de la configuration depuis le code.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `config` | `Object` | yes |  | Les clés à modifier. |\n\nFusionne les clés dans la configuration, appelle `instance.configure`, envoie la configuration au designer et enregistre le FlowStream.\n\nExample: Activer un réglage\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n### instance.save()\n\nType: `method`\n\nEnregistre le nœud après que tu as modifié ses entrées, ses sorties ou sa configuration dans le code.\n\nLe designer redessine le nœud.\n\nExample: Deux sorties à partir des réglages\n```js\ninstance.outputs = [{ id: 'output', name: 'Output #1' }, { id: 'output2', name: 'Output #2' }];\ninstance.save();\n```\n\n### instance.id\n\nType: `property`\n\nL'id du nœud dans le design.\n\n### instance.component\n\nType: `property`\n\nL'id du composant.\n\n### instance.config\n\nType: `property`\n\nLa configuration du nœud, le même objet que `config` dans `exports.make`.\n\n### instance.outputs\n\nType: `property`\n\nLes sorties de ce nœud qui remplacent `exports.outputs`.\n\nDéfinis-la et appelle `instance.save()`. `instance.inputs` fonctionne de la même façon pour les entrées.\n\n### instance.main\n\nType: `property`\n\nLe FlowStream qui exécute le nœud.\n\n`instance.main.id` est son id, `instance.main.variables` ses variables et `instance.main.variables2` les variables globales.\n\n### instance.env\n\nType: `property`\n\nL'environnement de Flow : `dev`, `test` ou `prod`.\n\nConsulte [Environnements](/flow/11-1/guides/environments/).\n","entries":[{"type":"event","name":"instance.message","signature":"instance.message = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.message_<input>","signature":"instance.message_second = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.configure","signature":"instance.configure = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.trigger","signature":"instance.trigger = function(msg) {}","since":"","deprecated":false},{"type":"event","name":"instance.close","signature":"instance.close = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.variables","signature":"instance.variables = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.variables2","signature":"instance.variables2 = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.pause","signature":"instance.pause = function(is) {}","since":"","deprecated":false},{"type":"event","name":"instance.service","signature":"instance.service = function(minutes) {}","since":"","deprecated":false},{"type":"event","name":"instance.call","signature":"instance.call = function(data, callback) {}","since":"","deprecated":false},{"type":"method","name":"instance.send","signature":"instance.send(output, data)","since":"","deprecated":false},{"type":"method","name":"instance.newmessage","signature":"instance.newmessage(data)","since":"","deprecated":false},{"type":"method","name":"instance.status","signature":"instance.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"instance.activity","signature":"instance.activity(key, name, progress)","since":"","deprecated":false},{"type":"method","name":"instance.throw","signature":"instance.throw(error)","since":"","deprecated":false},{"type":"method","name":"instance.replace","signature":"instance.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"instance.reconfigure","signature":"instance.reconfigure(config)","since":"","deprecated":false},{"type":"method","name":"instance.save","signature":"instance.save()","since":"","deprecated":false},{"type":"property","name":"instance.id","signature":"instance.id","since":"","deprecated":false},{"type":"property","name":"instance.component","signature":"instance.component","since":"","deprecated":false},{"type":"property","name":"instance.config","signature":"instance.config","since":"","deprecated":false},{"type":"property","name":"instance.outputs","signature":"instance.outputs","since":"","deprecated":false},{"type":"property","name":"instance.main","signature":"instance.main","since":"","deprecated":false},{"type":"property","name":"instance.env","signature":"instance.env","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyW15SE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/instance-api/","project":"flow","version":"11-1","section":"development","language":"it","title":"Riferimento dell'istanza","summary":"I gestori, i metodi e le proprietà di un nodo nel codice del server.","markdown":"---\ntitle: \"Riferimento dell'istanza\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/instance-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Riferimento dell'istanza\n\n> I gestori, i metodi e le proprietà di un nodo nel codice del server.\n\nL'istanza è un nodo del componente. `exports.make` la riceve, e lì definisci i suoi gestori:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n\n\tinstance.close = function() {\n\t};\n\n};\n```\n\nLe voci di tipo **event** sono funzioni che definisci tu e che Flow chiama. Le voci di tipo **method** sono funzioni che fornisce Flow.\n\n## API\n\n### instance.message = function($) {}\n\nType: `event`\n\nRiceve ogni messaggio che arriva su qualsiasi ingresso.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Il messaggio. Vedi [Riferimento del messaggio](../message-api/). |\n\nOgni messaggio deve essere inoltrato con `$.send()` o terminato con `$.destroy()`. Un'eccezione lanciata qui termina il messaggio.\n\nExample: Inoltrare i dati in lettere maiuscole\n```js\ninstance.message = function($) {\n\t$.send('output', String($.data).toUpperCase());\n};\n```\n\n### instance.message_second = function($) {}\n\nType: `event`\n\nRiceve i messaggi di un solo ingresso.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Il messaggio. |\n\nIl nome è `message_` seguito dall'id dell'ingresso. Quando è definito anche `instance.message`, Flow chiama prima questo gestore e poi `instance.message` con lo stesso messaggio.\n\n### instance.configure = function() {}\n\nType: `event`\n\nViene eseguita dopo che la configurazione del nodo è cambiata.\n\nFlow la chiama quando l'utente applica nuove impostazioni e dopo `instance.reconfigure()`. Non viene eseguita quando il nodo viene creato, quindi chiamala alla fine di `exports.make`.\n\n### instance.trigger = function(msg) {}\n\nType: `event`\n\nViene eseguita quando l'utente seleziona il pulsante trigger del nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `msg` | `Object` | yes |  | La richiesta dal designer. |\n\nLa chiama un `<button name=\"trigger\">` nel corpo, oppure `exports.trigger(data)` nello script del browser. Per un pulsante, `msg.data` contiene il suo attributo `data-data`. Per `exports.trigger(obj)`, `msg` contiene le chiavi di `obj`.\n\n### instance.close = function() {}\n\nType: `event`\n\nViene eseguita quando il nodo si ferma.\n\nFlow la chiama quando il nodo viene rimosso dal design e quando il componente cambia. Qui ferma i timer e chiudi le connessioni.\n\n### instance.variables = function(variables) {}\n\nType: `event`\n\nViene eseguita quando le variabili del FlowStream cambiano.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Le nuove variabili del FlowStream. |\n\n### instance.variables2 = function(variables) {}\n\nType: `event`\n\nViene eseguita quando le variabili globali cambiano.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Le nuove variabili globali. |\n\n### instance.pause = function(is) {}\n\nType: `event`\n\nViene eseguita quando il FlowStream viene messo in pausa o riprende.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `is` | `Boolean` | yes |  | `true` quando è in pausa, `false` quando riprende. |\n\nMentre il FlowStream è in pausa, Flow non consegna messaggi.\n\n### instance.service = function(minutes) {}\n\nType: `event`\n\nViene eseguita una volta al minuto.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `minutes` | `Number` | yes |  | Il numero di minuti trascorsi dall'avvio del FlowStream. |\n\n### instance.call = function(data, callback) {}\n\nType: `event`\n\nRisponde a una chiamata dello script del browser di questo nodo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | I dati dal browser. |\n| `callback` | `Function` | yes |  | Chiamala con la risposta. |\n\nLo script del browser la chiama con `exports.call(data, callback)`, per esempio per caricare un elenco per il modulo delle impostazioni.\n\nExample: Rispondere a una chiamata\n```js\ninstance.call = function(data, callback) {\n\tcallback({ id: instance.id });\n};\n```\n\n### instance.send(output, data)\n\nType: `method`\n\nAvvia un nuovo messaggio su un'uscita.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | L'id dell'uscita. |\n| `data` | `Object` | no |  | I dati del messaggio. |\n\nReturns: `Number` Il numero di nodi che hanno ricevuto il messaggio.\n\nUsalo nei componenti che avviano messaggi, come trigger e timer. Senza `output`, il messaggio va a ogni uscita che ha una connessione.\n\nExample: Inviare la data corrente\n```js\ninstance.send('output', { ts: new Date() });\n```\n\n### instance.newmessage(data)\n\nType: `method`\n\nCrea un nuovo messaggio senza inviarlo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | no |  | I dati del messaggio. |\n\nReturns: `Object` Il messaggio.\n\nInvialo più tardi con `msg.send(output)`. Il componente **Route** crea così un messaggio per ogni richiesta HTTP e salva la richiesta in `msg.refs`.\n\nExample: Creare e inviare un messaggio\n```js\nvar msg = instance.newmessage({ name: 'Jane' });\nmsg.send('output');\n```\n\n### instance.status(data, [delay])\n\nType: `method`\n\nInvia uno stato al designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Qualsiasi dato, per esempio `{ count: 12 }`. |\n| `delay` | `Number` | no |  | Aspetta questo numero di millisecondi e poi invia l'ultimo stato, così molte chiamate rapide inviano un solo stato. |\n\nIl designer conserva l'ultimo stato di ogni nodo e lo mostra tramite `$STATUS` nel corpo. Vedi [Stato e aspetto del nodo](../status-and-look/).\n\nExample: Contare i messaggi\n```js\nstatus.count++;\ninstance.status(status, 500);\n```\n\n### instance.activity(key, name, progress)\n\nType: `method`\n\nMostra l'avanzamento di un'attività sotto Activities nel designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `key` | `String` | yes |  | Un id dell'attività. |\n| `name` | `String` | yes |  | Il testo della riga. |\n| `progress` | `Number` | no |  | L'avanzamento da 0 a 100. |\n\nLa riga scompare quando `progress` è `100` o `name` è vuoto.\n\nExample: Mostrare l'avanzamento\n```js\ninstance.activity('import', 'Importing orders', 50);\n```\n\n### instance.throw(error)\n\nType: `method`\n\nSegnala un errore al designer.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Il messaggio di errore. |\n\nIl FlowStream conserva i suoi ultimi 10 errori, e il designer ne mostra il numero sotto **Errors** (Errori). Vedi [Errori e log](../errors-and-logging/).\n\n### instance.replace(text, [data])\n\nType: `method`\n\nInserisce le variabili in un testo.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Il testo con le chiavi tra parentesi graffe. |\n| `data` | `Object` | no |  | I valori per le chiavi che non sono variabili. |\n\nReturns: `String` Il testo con i valori.\n\nSostituisce ogni `{key}` con la variabile del FlowStream, la variabile globale o il segreto con quel nome, `{hostname}` con l'indirizzo del FlowStream, e le altre chiavi con i valori di `data`. Le chiavi non trovate restano così come sono. Vedi [Variabili nei componenti](../variables/).\n\nExample: Inserire una variabile\n```js\ninstance.replace('{welcome}, Jane!');\n// Good morning, Jane!\n```\n\n### instance.reconfigure(config)\n\nType: `method`\n\nModifica alcune chiavi della configurazione dal codice.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `config` | `Object` | yes |  | Le chiavi da modificare. |\n\nUnisce le chiavi alla configurazione, chiama `instance.configure`, invia la configurazione al designer e salva il FlowStream.\n\nExample: Attivare un'impostazione\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n### instance.save()\n\nType: `method`\n\nSalva il nodo dopo che hai modificato nel codice i suoi ingressi, le sue uscite o la sua configurazione.\n\nIl designer ridisegna il nodo.\n\nExample: Due uscite dalle impostazioni\n```js\ninstance.outputs = [{ id: 'output', name: 'Output #1' }, { id: 'output2', name: 'Output #2' }];\ninstance.save();\n```\n\n### instance.id\n\nType: `property`\n\nL'id del nodo nel design.\n\n### instance.component\n\nType: `property`\n\nL'id del componente.\n\n### instance.config\n\nType: `property`\n\nLa configurazione del nodo, lo stesso oggetto di `config` in `exports.make`.\n\n### instance.outputs\n\nType: `property`\n\nUscite di questo nodo che sostituiscono `exports.outputs`.\n\nImpostala e chiama `instance.save()`. `instance.inputs` funziona allo stesso modo per gli ingressi.\n\n### instance.main\n\nType: `property`\n\nIl FlowStream che esegue il nodo.\n\n`instance.main.id` è il suo id, `instance.main.variables` le sue variabili e `instance.main.variables2` le variabili globali.\n\n### instance.env\n\nType: `property`\n\nL'ambiente di Flow: `dev`, `test` o `prod`.\n\nVedi [Ambienti](/flow/11-1/guides/environments/).\n","entries":[{"type":"event","name":"instance.message","signature":"instance.message = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.message_<input>","signature":"instance.message_second = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.configure","signature":"instance.configure = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.trigger","signature":"instance.trigger = function(msg) {}","since":"","deprecated":false},{"type":"event","name":"instance.close","signature":"instance.close = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.variables","signature":"instance.variables = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.variables2","signature":"instance.variables2 = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.pause","signature":"instance.pause = function(is) {}","since":"","deprecated":false},{"type":"event","name":"instance.service","signature":"instance.service = function(minutes) {}","since":"","deprecated":false},{"type":"event","name":"instance.call","signature":"instance.call = function(data, callback) {}","since":"","deprecated":false},{"type":"method","name":"instance.send","signature":"instance.send(output, data)","since":"","deprecated":false},{"type":"method","name":"instance.newmessage","signature":"instance.newmessage(data)","since":"","deprecated":false},{"type":"method","name":"instance.status","signature":"instance.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"instance.activity","signature":"instance.activity(key, name, progress)","since":"","deprecated":false},{"type":"method","name":"instance.throw","signature":"instance.throw(error)","since":"","deprecated":false},{"type":"method","name":"instance.replace","signature":"instance.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"instance.reconfigure","signature":"instance.reconfigure(config)","since":"","deprecated":false},{"type":"method","name":"instance.save","signature":"instance.save()","since":"","deprecated":false},{"type":"property","name":"instance.id","signature":"instance.id","since":"","deprecated":false},{"type":"property","name":"instance.component","signature":"instance.component","since":"","deprecated":false},{"type":"property","name":"instance.config","signature":"instance.config","since":"","deprecated":false},{"type":"property","name":"instance.outputs","signature":"instance.outputs","since":"","deprecated":false},{"type":"property","name":"instance.main","signature":"instance.main","since":"","deprecated":false},{"type":"property","name":"instance.env","signature":"instance.env","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyW15SE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/instance-api/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Referencia inštancie","summary":"Obsluhy, metódy a vlastnosti uzla v serverovom kóde.","markdown":"---\ntitle: \"Referencia inštancie\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/instance-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referencia inštancie\n\n> Obsluhy, metódy a vlastnosti uzla v serverovom kóde.\n\nInštancia je jeden uzol komponentu. Dostane ju `exports.make` a tam definuješ jej obsluhy:\n\n```js\nexports.make = function(instance, config) {\n\n\tinstance.message = function($) {\n\t\t$.send('output');\n\t};\n\n\tinstance.close = function() {\n\t};\n\n};\n```\n\nZáznamy typu **event** (udalosť) sú funkcie, ktoré definuješ ty a volá ich Flow. Záznamy typu **method** (metóda) sú funkcie, ktoré poskytuje Flow.\n\n## API\n\n### instance.message = function($) {}\n\nType: `event`\n\nDostáva každú správu, ktorá príde na ľubovoľný vstup.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Správa. Pozri [Referencia správy](../message-api/). |\n\nKaždú správu musíš poslať ďalej pomocou `$.send()` alebo ukončiť pomocou `$.destroy()`. Výnimka vyhodená tu správu ukončí.\n\nExample: Poslanie dát ďalej veľkými písmenami\n```js\ninstance.message = function($) {\n\t$.send('output', String($.data).toUpperCase());\n};\n```\n\n### instance.message_second = function($) {}\n\nType: `event`\n\nDostáva správy jedného vstupu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `$` | `Object` | yes |  | Správa. |\n\nNázov je `message_` a za ním id vstupu. Keď je definovaná aj `instance.message`, Flow zavolá najprv túto obsluhu a potom `instance.message` s tou istou správou.\n\n### instance.configure = function() {}\n\nType: `event`\n\nSpustí sa po zmene konfigurácie uzla.\n\nFlow ju zavolá, keď používateľ použije nové nastavenia, a po `instance.reconfigure()`. Pri vytvorení uzla sa nespustí, preto ju zavolaj na konci `exports.make`.\n\n### instance.trigger = function(msg) {}\n\nType: `event`\n\nSpustí sa, keď používateľ vyberie spúšťacie tlačidlo uzla.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `msg` | `Object` | yes |  | Požiadavka z dizajnéra. |\n\nVolá ju `<button name=\"trigger\">` v tele alebo `exports.trigger(data)` v skripte prehliadača. Pri tlačidle obsahuje `msg.data` jeho atribút `data-data`. Pri `exports.trigger(obj)` obsahuje `msg` kľúče z `obj`.\n\n### instance.close = function() {}\n\nType: `event`\n\nSpustí sa, keď sa uzol zastaví.\n\nFlow ju zavolá, keď sa uzol odstráni z návrhu a keď sa zmení komponent. Tu zastav časovače a zatvor pripojenia.\n\n### instance.variables = function(variables) {}\n\nType: `event`\n\nSpustí sa, keď sa zmenia premenné FlowStreamu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Nové premenné FlowStreamu. |\n\n### instance.variables2 = function(variables) {}\n\nType: `event`\n\nSpustí sa, keď sa zmenia globálne premenné.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `variables` | `Object` | yes |  | Nové globálne premenné. |\n\n### instance.pause = function(is) {}\n\nType: `event`\n\nSpustí sa, keď sa FlowStream pozastaví alebo obnoví.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `is` | `Boolean` | yes |  | `true` pri pozastavení, `false` pri obnovení. |\n\nKým je FlowStream pozastavený, Flow nedoručuje žiadne správy.\n\n### instance.service = function(minutes) {}\n\nType: `event`\n\nSpustí sa raz za minútu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `minutes` | `Number` | yes |  | Počet minút od spustenia FlowStreamu. |\n\n### instance.call = function(data, callback) {}\n\nType: `event`\n\nOdpovedá na volanie zo skriptu prehliadača tohto uzla.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Dáta z prehliadača. |\n| `callback` | `Function` | yes |  | Zavolaj ju s odpoveďou. |\n\nSkript prehliadača ju volá pomocou `exports.call(data, callback)`, napríklad na načítanie zoznamu pre formulár nastavení.\n\nExample: Odpoveď na volanie\n```js\ninstance.call = function(data, callback) {\n\tcallback({ id: instance.id });\n};\n```\n\n### instance.send(output, data)\n\nType: `method`\n\nZačne novú správu na výstupe.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | Id výstupu. |\n| `data` | `Object` | no |  | Dáta správy. |\n\nReturns: `Number` Počet uzlov, ktoré správu prijali.\n\nPoužívaj ju v komponentoch, ktoré začínajú správy, napríklad v spúšťačoch a časovačoch. Bez `output` ide správa na každý výstup, ktorý má pripojenie.\n\nExample: Poslanie aktuálneho dátumu\n```js\ninstance.send('output', { ts: new Date() });\n```\n\n### instance.newmessage(data)\n\nType: `method`\n\nVytvorí novú správu bez toho, aby ju poslala.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | no |  | Dáta správy. |\n\nReturns: `Object` Správa.\n\nPošli ju neskôr pomocou `msg.send(output)`. Komponent **Route** takto vytvára správu pre každú požiadavku HTTP a ukladá požiadavku do `msg.refs`.\n\nExample: Vytvorenie a poslanie správy\n```js\nvar msg = instance.newmessage({ name: 'Jane' });\nmsg.send('output');\n```\n\n### instance.status(data, [delay])\n\nType: `method`\n\nPošle stav do dizajnéra.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Ľubovoľné dáta, napríklad `{ count: 12 }`. |\n| `delay` | `Number` | no |  | Počká daný počet milisekúnd a potom pošle posledný stav, takže veľa rýchlych volaní pošle jeden stav. |\n\nDizajnér uchováva posledný stav každého uzla a zobrazuje ho cez `$STATUS` v tele. Pozri [Stav a vzhľad uzla](../status-and-look/).\n\nExample: Počítanie správ\n```js\nstatus.count++;\ninstance.status(status, 500);\n```\n\n### instance.activity(key, name, progress)\n\nType: `method`\n\nZobrazí priebeh úlohy v Activities v dizajnéri.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `key` | `String` | yes |  | Id úlohy. |\n| `name` | `String` | yes |  | Text riadku. |\n| `progress` | `Number` | no |  | Priebeh od 0 do 100. |\n\nRiadok zmizne, keď je `progress` rovné `100` alebo keď je `name` prázdne.\n\nExample: Zobrazenie priebehu\n```js\ninstance.activity('import', 'Importing orders', 50);\n```\n\n### instance.throw(error)\n\nType: `method`\n\nNahlási chybu dizajnéru.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Text chyby. |\n\nFlowStream uchováva posledných 10 chýb a dizajnér zobrazuje ich počet v **Errors** (chyby). Pozri [Chyby a logovanie](../errors-and-logging/).\n\n### instance.replace(text, [data])\n\nType: `method`\n\nDoplní premenné do textu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Text s kľúčmi v zložených zátvorkách. |\n| `data` | `Object` | no |  | Hodnoty pre kľúče, ktoré nie sú premennými. |\n\nReturns: `String` Text s hodnotami.\n\nNahradí každé `{key}` premennou FlowStreamu, globálnou premennou alebo tajomstvom s týmto názvom, `{hostname}` adresou FlowStreamu a ostatné kľúče hodnotami z `data`. Kľúče, ktoré sa nenájdu, zostanú tak, ako sú. Pozri [Premenné v komponentoch](../variables/).\n\nExample: Doplnenie premennej\n```js\ninstance.replace('{welcome}, Jane!');\n// Good morning, Jane!\n```\n\n### instance.reconfigure(config)\n\nType: `method`\n\nZmení kľúče konfigurácie z kódu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `config` | `Object` | yes |  | Kľúče, ktoré sa majú zmeniť. |\n\nZlúči kľúče do konfigurácie, zavolá `instance.configure`, pošle konfiguráciu do dizajnéra a uloží FlowStream.\n\nExample: Zapnutie nastavenia\n```js\ninstance.reconfigure({ uppercase: true });\n```\n\n### instance.save()\n\nType: `method`\n\nUloží uzol potom, čo si v kóde zmenil jeho vstupy, výstupy alebo konfiguráciu.\n\nDizajnér uzol prekreslí.\n\nExample: Dva výstupy podľa nastavení\n```js\ninstance.outputs = [{ id: 'output', name: 'Output #1' }, { id: 'output2', name: 'Output #2' }];\ninstance.save();\n```\n\n### instance.id\n\nType: `property`\n\nId uzla v návrhu.\n\n### instance.component\n\nType: `property`\n\nId komponentu.\n\n### instance.config\n\nType: `property`\n\nKonfigurácia uzla, ten istý objekt ako `config` v `exports.make`.\n\n### instance.outputs\n\nType: `property`\n\nVýstupy tohto uzla, ktoré nahrádzajú `exports.outputs`.\n\nNastav ich a zavolaj `instance.save()`. `instance.inputs` funguje rovnako pre vstupy.\n\n### instance.main\n\nType: `property`\n\nFlowStream, ktorý uzol spúšťa.\n\n`instance.main.id` je jeho id, `instance.main.variables` jeho premenné a `instance.main.variables2` globálne premenné.\n\n### instance.env\n\nType: `property`\n\nProstredie Flow: `dev`, `test` alebo `prod`.\n\nPozri [Prostredia](/flow/11-1/guides/environments/).\n","entries":[{"type":"event","name":"instance.message","signature":"instance.message = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.message_<input>","signature":"instance.message_second = function($) {}","since":"","deprecated":false},{"type":"event","name":"instance.configure","signature":"instance.configure = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.trigger","signature":"instance.trigger = function(msg) {}","since":"","deprecated":false},{"type":"event","name":"instance.close","signature":"instance.close = function() {}","since":"","deprecated":false},{"type":"event","name":"instance.variables","signature":"instance.variables = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.variables2","signature":"instance.variables2 = function(variables) {}","since":"","deprecated":false},{"type":"event","name":"instance.pause","signature":"instance.pause = function(is) {}","since":"","deprecated":false},{"type":"event","name":"instance.service","signature":"instance.service = function(minutes) {}","since":"","deprecated":false},{"type":"event","name":"instance.call","signature":"instance.call = function(data, callback) {}","since":"","deprecated":false},{"type":"method","name":"instance.send","signature":"instance.send(output, data)","since":"","deprecated":false},{"type":"method","name":"instance.newmessage","signature":"instance.newmessage(data)","since":"","deprecated":false},{"type":"method","name":"instance.status","signature":"instance.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"instance.activity","signature":"instance.activity(key, name, progress)","since":"","deprecated":false},{"type":"method","name":"instance.throw","signature":"instance.throw(error)","since":"","deprecated":false},{"type":"method","name":"instance.replace","signature":"instance.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"instance.reconfigure","signature":"instance.reconfigure(config)","since":"","deprecated":false},{"type":"method","name":"instance.save","signature":"instance.save()","since":"","deprecated":false},{"type":"property","name":"instance.id","signature":"instance.id","since":"","deprecated":false},{"type":"property","name":"instance.component","signature":"instance.component","since":"","deprecated":false},{"type":"property","name":"instance.config","signature":"instance.config","since":"","deprecated":false},{"type":"property","name":"instance.outputs","signature":"instance.outputs","since":"","deprecated":false},{"type":"property","name":"instance.main","signature":"instance.main","since":"","deprecated":false},{"type":"property","name":"instance.env","signature":"instance.env","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWj6IE61f","url":"https://totaljs.es/docs/flow/11-1/development/message-api/","project":"flow","version":"11-1","section":"development","language":"en","title":"Message reference","summary":"The properties and methods of a message in the server code.","markdown":"---\ntitle: Message reference\nproject: Flow\nversion: 11.1\nsection: development\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/development/message-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Message reference\n\n> The properties and methods of a message in the server code.\n\nA message carries data from an output of one node to an input of another. `instance.message` receives it, usually as `$`:\n\n```js\ninstance.message = function($) {\n\tvar data = $.data;\n\t$.send('output', data);\n};\n```\n\nEvery message must be sent on or ended. See [Inputs, outputs and messages](../inputs-outputs/).\n\n## API\n\n### $.data\n\nType: `property`\n\nThe data of the message.\n\n### $.input\n\nType: `property`\n\nThe id of the input on which the message arrived.\n\n### $.output\n\nType: `property`\n\nThe id of the output from which the message came.\n\n### $.fromid\n\nType: `property`\n\nThe id of the node that sent the message.\n\n### $.fromcomponent\n\nType: `property`\n\nThe id of the component of the node that sent the message.\n\n### $.toid\n\nType: `property`\n\nThe id of the node that received the message.\n\n### $.repo\n\nType: `property`\n\nAn object that travels with the message from node to node.\n\nA node stores values in it, and the nodes after it read them.\n\nExample: Keep a value\n```js\n$.repo.orderid = 1001;\n$.send('output');\n```\n\n### $.refs\n\nType: `property`\n\nReferences shared by all copies of the message.\n\nThe **Route** component stores the HTTP request in `$.refs.controller`, and the **Response** component answers through it.\n\n### $.instance\n\nType: `property`\n\nThe node that received the message.\n\n### $.main\n\nType: `property`\n\nThe FlowStream.\n\n### $.error\n\nType: `property`\n\nThe error stored by `$.throw()`.\n\n### $.send(output, [data])\n\nType: `method`\n\nSends the message to the nodes connected to an output.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | The id of the output. |\n| `data` | `Object` | no |  | New data for the message. |\n\nReturns: `Number` The number of nodes that received the message.\n\nWithout `data`, the message keeps its data. With `null` as `output`, it goes to every output that has a connection. When no node receives it, the message ends.\n\nExample: Send new data\n```js\n$.send('output', { name: 'Jane' });\n```\n\n### $.destroy()\n\nType: `method`\n\nEnds the message.\n\nCall it for every message that you do not send on. `$.end()` does the same.\n\n### $.throw(error)\n\nType: `method`\n\nReports an error to the designer and stores it in `$.error`.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | The error message. |\n\nIt does not end the message.\n\nExample: Report and end\n```js\n$.throw('Demo error');\n$.destroy();\n```\n\n### $.replace(text, [data])\n\nType: `method`\n\nFills in variables, and other keys from the message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | The text with keys in braces. |\n| `data` | `Object` | no |  | Values to use instead of the message. |\n\nReturns: `String` The text with the values.\n\nWorks like `instance.replace()`, but keys that are not variables are read from the message, for example `{data.name}`. `$.variables()` does the same.\n\n### $.rewrite(data)\n\nType: `method`\n\nReplaces the data of the message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | The new data. |\n\nReturns: `Object` The message.\n\n### $.status(data, [delay])\n\nType: `method`\n\nSends a status of the node that received the message.\n\nThe same as `instance.status()`.\n\n### $.on(name, callback)\n\nType: `method`\n\nListens to an event of the message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | yes |  | The event, for example `end`. |\n| `callback` | `Function` | yes |  | The function to call. |\n\nThe `end` event runs when the message and all the copies sent from it have ended. `$.once()` listens once and `$.off()` stops listening.\n\nExample: Know when the flow is finished\n```js\n$.on('end', function() {\n\tinstance.status('finished');\n});\n$.send('output');\n```\n","entries":[{"type":"property","name":"$.data","signature":"$.data","since":"","deprecated":false},{"type":"property","name":"$.input","signature":"$.input","since":"","deprecated":false},{"type":"property","name":"$.output","signature":"$.output","since":"","deprecated":false},{"type":"property","name":"$.fromid","signature":"$.fromid","since":"","deprecated":false},{"type":"property","name":"$.fromcomponent","signature":"$.fromcomponent","since":"","deprecated":false},{"type":"property","name":"$.toid","signature":"$.toid","since":"","deprecated":false},{"type":"property","name":"$.repo","signature":"$.repo","since":"","deprecated":false},{"type":"property","name":"$.refs","signature":"$.refs","since":"","deprecated":false},{"type":"property","name":"$.instance","signature":"$.instance","since":"","deprecated":false},{"type":"property","name":"$.main","signature":"$.main","since":"","deprecated":false},{"type":"property","name":"$.error","signature":"$.error","since":"","deprecated":false},{"type":"method","name":"$.send","signature":"$.send(output, [data])","since":"","deprecated":false},{"type":"method","name":"$.destroy","signature":"$.destroy()","since":"","deprecated":false},{"type":"method","name":"$.throw","signature":"$.throw(error)","since":"","deprecated":false},{"type":"method","name":"$.replace","signature":"$.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"$.rewrite","signature":"$.rewrite(data)","since":"","deprecated":false},{"type":"method","name":"$.status","signature":"$.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"$.on","signature":"$.on(name, callback)","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWj6IE61f-de","url":"https://totaljs.es/docs/de/flow/11-1/development/message-api/","project":"flow","version":"11-1","section":"development","language":"de","title":"Referenz der Nachricht","summary":"Die Eigenschaften und Methoden einer Nachricht im Server-Code.","markdown":"---\ntitle: Referenz der Nachricht\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/development/message-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referenz der Nachricht\n\n> Die Eigenschaften und Methoden einer Nachricht im Server-Code.\n\nEine Nachricht trägt Daten vom Ausgang eines Nodes zum Eingang eines anderen. `instance.message` empfängt sie, meistens als `$`:\n\n```js\ninstance.message = function($) {\n\tvar data = $.data;\n\t$.send('output', data);\n};\n```\n\nJede Nachricht muss weitergeschickt oder beendet werden. Siehe [Eingänge, Ausgänge und Nachrichten](../inputs-outputs/).\n\n## API\n\n### $.data\n\nType: `property`\n\nDie Daten der Nachricht.\n\n### $.input\n\nType: `property`\n\nDie ID des Eingangs, an dem die Nachricht eingetroffen ist.\n\n### $.output\n\nType: `property`\n\nDie ID des Ausgangs, von dem die Nachricht kam.\n\n### $.fromid\n\nType: `property`\n\nDie ID des Nodes, der die Nachricht gesendet hat.\n\n### $.fromcomponent\n\nType: `property`\n\nDie ID der Komponente des Nodes, der die Nachricht gesendet hat.\n\n### $.toid\n\nType: `property`\n\nDie ID des Nodes, der die Nachricht empfangen hat.\n\n### $.repo\n\nType: `property`\n\nEin Objekt, das mit der Nachricht von Node zu Node reist.\n\nEin Node speichert Werte darin, und die Nodes danach lesen sie.\n\nExample: Einen Wert behalten\n```js\n$.repo.orderid = 1001;\n$.send('output');\n```\n\n### $.refs\n\nType: `property`\n\nReferenzen, die alle Kopien der Nachricht gemeinsam nutzen.\n\nDie Komponente **Route** speichert die HTTP-Anfrage in `$.refs.controller`, und die Komponente **Response** antwortet darüber.\n\n### $.instance\n\nType: `property`\n\nDer Node, der die Nachricht empfangen hat.\n\n### $.main\n\nType: `property`\n\nDer FlowStream.\n\n### $.error\n\nType: `property`\n\nDer Fehler, den `$.throw()` gespeichert hat.\n\n### $.send(output, [data])\n\nType: `method`\n\nSchickt die Nachricht an die Nodes, die mit einem Ausgang verbunden sind.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | Die ID des Ausgangs. |\n| `data` | `Object` | no |  | Neue Daten für die Nachricht. |\n\nReturns: `Number` Die Anzahl der Nodes, die die Nachricht empfangen haben.\n\nOhne `data` behält die Nachricht ihre Daten. Mit `null` als `output` geht sie an jeden Ausgang, der eine Verbindung hat. Wenn kein Node sie empfängt, endet die Nachricht.\n\nExample: Neue Daten senden\n```js\n$.send('output', { name: 'Jane' });\n```\n\n### $.destroy()\n\nType: `method`\n\nBeendet die Nachricht.\n\nRuf sie für jede Nachricht auf, die du nicht weiterschickst. `$.end()` macht dasselbe.\n\n### $.throw(error)\n\nType: `method`\n\nMeldet einen Fehler an den Designer und speichert ihn in `$.error`.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Die Fehlermeldung. |\n\nSie beendet die Nachricht nicht.\n\nExample: Melden und beenden\n```js\n$.throw('Demo error');\n$.destroy();\n```\n\n### $.replace(text, [data])\n\nType: `method`\n\nSetzt Variablen und andere Schlüssel aus der Nachricht ein.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Der Text mit Schlüsseln in geschweiften Klammern. |\n| `data` | `Object` | no |  | Werte, die statt der Nachricht verwendet werden. |\n\nReturns: `String` Der Text mit den Werten.\n\nFunktioniert wie `instance.replace()`, aber Schlüssel, die keine Variablen sind, werden aus der Nachricht gelesen, zum Beispiel `{data.name}`. `$.variables()` macht dasselbe.\n\n### $.rewrite(data)\n\nType: `method`\n\nErsetzt die Daten der Nachricht.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Die neuen Daten. |\n\nReturns: `Object` Die Nachricht.\n\n### $.status(data, [delay])\n\nType: `method`\n\nSendet einen Status des Nodes, der die Nachricht empfangen hat.\n\nDasselbe wie `instance.status()`.\n\n### $.on(name, callback)\n\nType: `method`\n\nHört auf ein Ereignis der Nachricht.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | yes |  | Das Ereignis, zum Beispiel `end`. |\n| `callback` | `Function` | yes |  | Die Funktion, die aufgerufen wird. |\n\nDas Ereignis `end` läuft, wenn die Nachricht und alle von ihr gesendeten Kopien beendet sind. `$.once()` hört nur einmal zu, und `$.off()` beendet das Zuhören.\n\nExample: Erfahren, wann der Flow fertig ist\n```js\n$.on('end', function() {\n\tinstance.status('finished');\n});\n$.send('output');\n```\n","entries":[{"type":"property","name":"$.data","signature":"$.data","since":"","deprecated":false},{"type":"property","name":"$.input","signature":"$.input","since":"","deprecated":false},{"type":"property","name":"$.output","signature":"$.output","since":"","deprecated":false},{"type":"property","name":"$.fromid","signature":"$.fromid","since":"","deprecated":false},{"type":"property","name":"$.fromcomponent","signature":"$.fromcomponent","since":"","deprecated":false},{"type":"property","name":"$.toid","signature":"$.toid","since":"","deprecated":false},{"type":"property","name":"$.repo","signature":"$.repo","since":"","deprecated":false},{"type":"property","name":"$.refs","signature":"$.refs","since":"","deprecated":false},{"type":"property","name":"$.instance","signature":"$.instance","since":"","deprecated":false},{"type":"property","name":"$.main","signature":"$.main","since":"","deprecated":false},{"type":"property","name":"$.error","signature":"$.error","since":"","deprecated":false},{"type":"method","name":"$.send","signature":"$.send(output, [data])","since":"","deprecated":false},{"type":"method","name":"$.destroy","signature":"$.destroy()","since":"","deprecated":false},{"type":"method","name":"$.throw","signature":"$.throw(error)","since":"","deprecated":false},{"type":"method","name":"$.replace","signature":"$.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"$.rewrite","signature":"$.rewrite(data)","since":"","deprecated":false},{"type":"method","name":"$.status","signature":"$.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"$.on","signature":"$.on(name, callback)","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWj6IE61f-es","url":"https://totaljs.es/docs/es/flow/11-1/development/message-api/","project":"flow","version":"11-1","section":"development","language":"es","title":"Referencia del mensaje","summary":"Las propiedades y los métodos de un mensaje en el código del servidor.","markdown":"---\ntitle: Referencia del mensaje\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/development/message-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referencia del mensaje\n\n> Las propiedades y los métodos de un mensaje en el código del servidor.\n\nUn mensaje lleva datos desde una salida de un nodo hasta una entrada de otro. `instance.message` lo recibe, normalmente como `$`:\n\n```js\ninstance.message = function($) {\n\tvar data = $.data;\n\t$.send('output', data);\n};\n```\n\nTodo mensaje debe enviarse o terminarse. Consulta [Entradas, salidas y mensajes](../inputs-outputs/).\n\n## API\n\n### $.data\n\nType: `property`\n\nLos datos del mensaje.\n\n### $.input\n\nType: `property`\n\nEl id de la entrada por la que llegó el mensaje.\n\n### $.output\n\nType: `property`\n\nEl id de la salida de la que vino el mensaje.\n\n### $.fromid\n\nType: `property`\n\nEl id del nodo que envió el mensaje.\n\n### $.fromcomponent\n\nType: `property`\n\nEl id del componente del nodo que envió el mensaje.\n\n### $.toid\n\nType: `property`\n\nEl id del nodo que recibió el mensaje.\n\n### $.repo\n\nType: `property`\n\nUn objeto que viaja con el mensaje de nodo en nodo.\n\nUn nodo guarda valores en él, y los nodos posteriores los leen.\n\nExample: Guarda un valor\n```js\n$.repo.orderid = 1001;\n$.send('output');\n```\n\n### $.refs\n\nType: `property`\n\nReferencias compartidas por todas las copias del mensaje.\n\nEl componente **Route** guarda la petición HTTP en `$.refs.controller`, y el componente **Response** responde a través de ella.\n\n### $.instance\n\nType: `property`\n\nEl nodo que recibió el mensaje.\n\n### $.main\n\nType: `property`\n\nEl FlowStream.\n\n### $.error\n\nType: `property`\n\nEl error guardado por `$.throw()`.\n\n### $.send(output, [data])\n\nType: `method`\n\nEnvía el mensaje a los nodos conectados a una salida.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | El id de la salida. |\n| `data` | `Object` | no |  | Datos nuevos para el mensaje. |\n\nReturns: `Number` El número de nodos que recibieron el mensaje.\n\nSin `data`, el mensaje conserva sus datos. Con `null` como `output`, va a todas las salidas que tienen una conexión. Cuando ningún nodo lo recibe, el mensaje termina.\n\nExample: Envía datos nuevos\n```js\n$.send('output', { name: 'Jane' });\n```\n\n### $.destroy()\n\nType: `method`\n\nTermina el mensaje.\n\nLlámalo para cada mensaje que no envíes. `$.end()` hace lo mismo.\n\n### $.throw(error)\n\nType: `method`\n\nInforma de un error al diseñador y lo guarda en `$.error`.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | El mensaje de error. |\n\nNo termina el mensaje.\n\nExample: Informa y termina\n```js\n$.throw('Demo error');\n$.destroy();\n```\n\n### $.replace(text, [data])\n\nType: `method`\n\nRellena las variables y otras claves del mensaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | El texto con claves entre llaves. |\n| `data` | `Object` | no |  | Valores que usar en lugar del mensaje. |\n\nReturns: `String` El texto con los valores.\n\nFunciona como `instance.replace()`, pero las claves que no son variables se leen del mensaje, por ejemplo `{data.name}`. `$.variables()` hace lo mismo.\n\n### $.rewrite(data)\n\nType: `method`\n\nSustituye los datos del mensaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Los datos nuevos. |\n\nReturns: `Object` El mensaje.\n\n### $.status(data, [delay])\n\nType: `method`\n\nEnvía un estado del nodo que recibió el mensaje.\n\nIgual que `instance.status()`.\n\n### $.on(name, callback)\n\nType: `method`\n\nEscucha un evento del mensaje.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | yes |  | El evento, por ejemplo `end`. |\n| `callback` | `Function` | yes |  | La función que se llama. |\n\nEl evento `end` se ejecuta cuando el mensaje y todas las copias enviadas a partir de él han terminado. `$.once()` escucha una sola vez y `$.off()` deja de escuchar.\n\nExample: Sabe cuándo ha terminado el flujo\n```js\n$.on('end', function() {\n\tinstance.status('finished');\n});\n$.send('output');\n```\n","entries":[{"type":"property","name":"$.data","signature":"$.data","since":"","deprecated":false},{"type":"property","name":"$.input","signature":"$.input","since":"","deprecated":false},{"type":"property","name":"$.output","signature":"$.output","since":"","deprecated":false},{"type":"property","name":"$.fromid","signature":"$.fromid","since":"","deprecated":false},{"type":"property","name":"$.fromcomponent","signature":"$.fromcomponent","since":"","deprecated":false},{"type":"property","name":"$.toid","signature":"$.toid","since":"","deprecated":false},{"type":"property","name":"$.repo","signature":"$.repo","since":"","deprecated":false},{"type":"property","name":"$.refs","signature":"$.refs","since":"","deprecated":false},{"type":"property","name":"$.instance","signature":"$.instance","since":"","deprecated":false},{"type":"property","name":"$.main","signature":"$.main","since":"","deprecated":false},{"type":"property","name":"$.error","signature":"$.error","since":"","deprecated":false},{"type":"method","name":"$.send","signature":"$.send(output, [data])","since":"","deprecated":false},{"type":"method","name":"$.destroy","signature":"$.destroy()","since":"","deprecated":false},{"type":"method","name":"$.throw","signature":"$.throw(error)","since":"","deprecated":false},{"type":"method","name":"$.replace","signature":"$.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"$.rewrite","signature":"$.rewrite(data)","since":"","deprecated":false},{"type":"method","name":"$.status","signature":"$.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"$.on","signature":"$.on(name, callback)","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWj6IE61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/development/message-api/","project":"flow","version":"11-1","section":"development","language":"fr","title":"Référence du message","summary":"Les propriétés et les méthodes d'un message dans le code serveur.","markdown":"---\ntitle: \"Référence du message\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/development/message-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Référence du message\n\n> Les propriétés et les méthodes d'un message dans le code serveur.\n\nUn message transporte des données d'une sortie d'un nœud vers une entrée d'un autre. `instance.message` le reçoit, en général sous le nom `$` :\n\n```js\ninstance.message = function($) {\n\tvar data = $.data;\n\t$.send('output', data);\n};\n```\n\nChaque message doit être transmis ou terminé. Consulte [Entrées, sorties et messages](../inputs-outputs/).\n\n## API\n\n### $.data\n\nType: `property`\n\nLes données du message.\n\n### $.input\n\nType: `property`\n\nL'id de l'entrée sur laquelle le message est arrivé.\n\n### $.output\n\nType: `property`\n\nL'id de la sortie d'où vient le message.\n\n### $.fromid\n\nType: `property`\n\nL'id du nœud qui a envoyé le message.\n\n### $.fromcomponent\n\nType: `property`\n\nL'id du composant du nœud qui a envoyé le message.\n\n### $.toid\n\nType: `property`\n\nL'id du nœud qui a reçu le message.\n\n### $.repo\n\nType: `property`\n\nUn objet qui voyage avec le message de nœud en nœud.\n\nUn nœud y stocke des valeurs, et les nœuds qui le suivent les lisent.\n\nExample: Garder une valeur\n```js\n$.repo.orderid = 1001;\n$.send('output');\n```\n\n### $.refs\n\nType: `property`\n\nDes références partagées par toutes les copies du message.\n\nLe composant **Route** enregistre la requête HTTP dans `$.refs.controller`, et le composant **Response** répond grâce à elle.\n\n### $.instance\n\nType: `property`\n\nLe nœud qui a reçu le message.\n\n### $.main\n\nType: `property`\n\nLe FlowStream.\n\n### $.error\n\nType: `property`\n\nL'erreur enregistrée par `$.throw()`.\n\n### $.send(output, [data])\n\nType: `method`\n\nEnvoie le message aux nœuds connectés à une sortie.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | L'id de la sortie. |\n| `data` | `Object` | no |  | De nouvelles données pour le message. |\n\nReturns: `Number` Le nombre de nœuds qui ont reçu le message.\n\nSans `data`, le message garde ses données. Avec `null` comme `output`, il va à chaque sortie qui a une connexion. Quand aucun nœud ne le reçoit, le message se termine.\n\nExample: Envoyer de nouvelles données\n```js\n$.send('output', { name: 'Jane' });\n```\n\n### $.destroy()\n\nType: `method`\n\nTermine le message.\n\nAppelle-la pour chaque message que tu ne transmets pas. `$.end()` fait la même chose.\n\n### $.throw(error)\n\nType: `method`\n\nSignale une erreur au designer et l'enregistre dans `$.error`.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Le message d'erreur. |\n\nElle ne termine pas le message.\n\nExample: Signaler et terminer\n```js\n$.throw('Demo error');\n$.destroy();\n```\n\n### $.replace(text, [data])\n\nType: `method`\n\nRemplit les variables, et les autres clés à partir du message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Le texte avec des clés entre accolades. |\n| `data` | `Object` | no |  | Des valeurs à utiliser à la place du message. |\n\nReturns: `String` Le texte avec les valeurs.\n\nFonctionne comme `instance.replace()`, mais les clés qui ne sont pas des variables sont lues dans le message, par exemple `{data.name}`. `$.variables()` fait la même chose.\n\n### $.rewrite(data)\n\nType: `method`\n\nRemplace les données du message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Les nouvelles données. |\n\nReturns: `Object` Le message.\n\n### $.status(data, [delay])\n\nType: `method`\n\nEnvoie un statut du nœud qui a reçu le message.\n\nIdentique à `instance.status()`.\n\n### $.on(name, callback)\n\nType: `method`\n\nÉcoute un événement du message.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | yes |  | L'événement, par exemple `end`. |\n| `callback` | `Function` | yes |  | La fonction à appeler. |\n\nL'événement `end` s'exécute quand le message et toutes les copies envoyées à partir de lui sont terminés. `$.once()` écoute une seule fois et `$.off()` arrête l'écoute.\n\nExample: Savoir quand le flux est terminé\n```js\n$.on('end', function() {\n\tinstance.status('finished');\n});\n$.send('output');\n```\n","entries":[{"type":"property","name":"$.data","signature":"$.data","since":"","deprecated":false},{"type":"property","name":"$.input","signature":"$.input","since":"","deprecated":false},{"type":"property","name":"$.output","signature":"$.output","since":"","deprecated":false},{"type":"property","name":"$.fromid","signature":"$.fromid","since":"","deprecated":false},{"type":"property","name":"$.fromcomponent","signature":"$.fromcomponent","since":"","deprecated":false},{"type":"property","name":"$.toid","signature":"$.toid","since":"","deprecated":false},{"type":"property","name":"$.repo","signature":"$.repo","since":"","deprecated":false},{"type":"property","name":"$.refs","signature":"$.refs","since":"","deprecated":false},{"type":"property","name":"$.instance","signature":"$.instance","since":"","deprecated":false},{"type":"property","name":"$.main","signature":"$.main","since":"","deprecated":false},{"type":"property","name":"$.error","signature":"$.error","since":"","deprecated":false},{"type":"method","name":"$.send","signature":"$.send(output, [data])","since":"","deprecated":false},{"type":"method","name":"$.destroy","signature":"$.destroy()","since":"","deprecated":false},{"type":"method","name":"$.throw","signature":"$.throw(error)","since":"","deprecated":false},{"type":"method","name":"$.replace","signature":"$.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"$.rewrite","signature":"$.rewrite(data)","since":"","deprecated":false},{"type":"method","name":"$.status","signature":"$.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"$.on","signature":"$.on(name, callback)","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWj6IE61f-it","url":"https://totaljs.es/docs/it/flow/11-1/development/message-api/","project":"flow","version":"11-1","section":"development","language":"it","title":"Riferimento del messaggio","summary":"Le proprietà e i metodi di un messaggio nel codice del server.","markdown":"---\ntitle: Riferimento del messaggio\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/development/message-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Riferimento del messaggio\n\n> Le proprietà e i metodi di un messaggio nel codice del server.\n\nUn messaggio porta i dati da un'uscita di un nodo a un ingresso di un altro. `instance.message` lo riceve, di solito come `$`:\n\n```js\ninstance.message = function($) {\n\tvar data = $.data;\n\t$.send('output', data);\n};\n```\n\nOgni messaggio deve essere inoltrato o terminato. Vedi [Ingressi, uscite e messaggi](../inputs-outputs/).\n\n## API\n\n### $.data\n\nType: `property`\n\nI dati del messaggio.\n\n### $.input\n\nType: `property`\n\nL'id dell'ingresso su cui è arrivato il messaggio.\n\n### $.output\n\nType: `property`\n\nL'id dell'uscita da cui è arrivato il messaggio.\n\n### $.fromid\n\nType: `property`\n\nL'id del nodo che ha inviato il messaggio.\n\n### $.fromcomponent\n\nType: `property`\n\nL'id del componente del nodo che ha inviato il messaggio.\n\n### $.toid\n\nType: `property`\n\nL'id del nodo che ha ricevuto il messaggio.\n\n### $.repo\n\nType: `property`\n\nUn oggetto che viaggia con il messaggio da un nodo all'altro.\n\nUn nodo ci salva dei valori, e i nodi successivi li leggono.\n\nExample: Conservare un valore\n```js\n$.repo.orderid = 1001;\n$.send('output');\n```\n\n### $.refs\n\nType: `property`\n\nRiferimenti condivisi da tutte le copie del messaggio.\n\nIl componente **Route** salva la richiesta HTTP in `$.refs.controller`, e il componente **Response** risponde attraverso di essa.\n\n### $.instance\n\nType: `property`\n\nIl nodo che ha ricevuto il messaggio.\n\n### $.main\n\nType: `property`\n\nIl FlowStream.\n\n### $.error\n\nType: `property`\n\nL'errore salvato da `$.throw()`.\n\n### $.send(output, [data])\n\nType: `method`\n\nInvia il messaggio ai nodi collegati a un'uscita.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | L'id dell'uscita. |\n| `data` | `Object` | no |  | I nuovi dati del messaggio. |\n\nReturns: `Number` Il numero di nodi che hanno ricevuto il messaggio.\n\nSenza `data`, il messaggio mantiene i suoi dati. Con `null` come `output`, va a ogni uscita che ha una connessione. Quando nessun nodo lo riceve, il messaggio termina.\n\nExample: Inviare nuovi dati\n```js\n$.send('output', { name: 'Jane' });\n```\n\n### $.destroy()\n\nType: `method`\n\nTermina il messaggio.\n\nChiamalo per ogni messaggio che non inoltri. `$.end()` fa la stessa cosa.\n\n### $.throw(error)\n\nType: `method`\n\nSegnala un errore al designer e lo salva in `$.error`.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Il messaggio di errore. |\n\nNon termina il messaggio.\n\nExample: Segnalare e terminare\n```js\n$.throw('Demo error');\n$.destroy();\n```\n\n### $.replace(text, [data])\n\nType: `method`\n\nInserisce le variabili e altre chiavi prese dal messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Il testo con le chiavi tra parentesi graffe. |\n| `data` | `Object` | no |  | I valori da usare al posto del messaggio. |\n\nReturns: `String` Il testo con i valori.\n\nFunziona come `instance.replace()`, ma le chiavi che non sono variabili vengono lette dal messaggio, per esempio `{data.name}`. `$.variables()` fa la stessa cosa.\n\n### $.rewrite(data)\n\nType: `method`\n\nSostituisce i dati del messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | I nuovi dati. |\n\nReturns: `Object` Il messaggio.\n\n### $.status(data, [delay])\n\nType: `method`\n\nInvia uno stato del nodo che ha ricevuto il messaggio.\n\nEquivale a `instance.status()`.\n\n### $.on(name, callback)\n\nType: `method`\n\nAscolta un evento del messaggio.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | yes |  | L'evento, per esempio `end`. |\n| `callback` | `Function` | yes |  | La funzione da chiamare. |\n\nL'evento `end` viene eseguito quando il messaggio e tutte le copie inviate a partire da esso sono terminati. `$.once()` ascolta una sola volta e `$.off()` smette di ascoltare.\n\nExample: Sapere quando il flusso è finito\n```js\n$.on('end', function() {\n\tinstance.status('finished');\n});\n$.send('output');\n```\n","entries":[{"type":"property","name":"$.data","signature":"$.data","since":"","deprecated":false},{"type":"property","name":"$.input","signature":"$.input","since":"","deprecated":false},{"type":"property","name":"$.output","signature":"$.output","since":"","deprecated":false},{"type":"property","name":"$.fromid","signature":"$.fromid","since":"","deprecated":false},{"type":"property","name":"$.fromcomponent","signature":"$.fromcomponent","since":"","deprecated":false},{"type":"property","name":"$.toid","signature":"$.toid","since":"","deprecated":false},{"type":"property","name":"$.repo","signature":"$.repo","since":"","deprecated":false},{"type":"property","name":"$.refs","signature":"$.refs","since":"","deprecated":false},{"type":"property","name":"$.instance","signature":"$.instance","since":"","deprecated":false},{"type":"property","name":"$.main","signature":"$.main","since":"","deprecated":false},{"type":"property","name":"$.error","signature":"$.error","since":"","deprecated":false},{"type":"method","name":"$.send","signature":"$.send(output, [data])","since":"","deprecated":false},{"type":"method","name":"$.destroy","signature":"$.destroy()","since":"","deprecated":false},{"type":"method","name":"$.throw","signature":"$.throw(error)","since":"","deprecated":false},{"type":"method","name":"$.replace","signature":"$.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"$.rewrite","signature":"$.rewrite(data)","since":"","deprecated":false},{"type":"method","name":"$.status","signature":"$.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"$.on","signature":"$.on(name, callback)","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JapyWj6IE61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/development/message-api/","project":"flow","version":"11-1","section":"development","language":"sk","title":"Referencia správy","summary":"Vlastnosti a metódy správy v serverovom kóde.","markdown":"---\ntitle: \"Referencia správy\"\nproject: Total.js Flow\nversion: 11.1\nsection: development\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/development/message-api/\nupdated: 2026-11-20T06:50:57.962Z\n---\n\n# Referencia správy\n\n> Vlastnosti a metódy správy v serverovom kóde.\n\nSpráva nesie dáta z výstupu jedného uzla na vstup iného. `instance.message` ju dostane, zvyčajne ako `$`:\n\n```js\ninstance.message = function($) {\n\tvar data = $.data;\n\t$.send('output', data);\n};\n```\n\nKaždú správu musíš poslať ďalej alebo ukončiť. Pozri [Vstupy, výstupy a správy](../inputs-outputs/).\n\n## API\n\n### $.data\n\nType: `property`\n\nDáta správy.\n\n### $.input\n\nType: `property`\n\nId vstupu, na ktorý správa prišla.\n\n### $.output\n\nType: `property`\n\nId výstupu, z ktorého správa prišla.\n\n### $.fromid\n\nType: `property`\n\nId uzla, ktorý správu poslal.\n\n### $.fromcomponent\n\nType: `property`\n\nId komponentu uzla, ktorý správu poslal.\n\n### $.toid\n\nType: `property`\n\nId uzla, ktorý správu prijal.\n\n### $.repo\n\nType: `property`\n\nObjekt, ktorý putuje so správou z uzla do uzla.\n\nUzol doň ukladá hodnoty a uzly za ním ich čítajú.\n\nExample: Uchovanie hodnoty\n```js\n$.repo.orderid = 1001;\n$.send('output');\n```\n\n### $.refs\n\nType: `property`\n\nOdkazy spoločné pre všetky kópie správy.\n\nKomponent **Route** ukladá požiadavku HTTP do `$.refs.controller` a komponent **Response** cez ňu odpovedá.\n\n### $.instance\n\nType: `property`\n\nUzol, ktorý správu prijal.\n\n### $.main\n\nType: `property`\n\nFlowStream.\n\n### $.error\n\nType: `property`\n\nChyba uložená pomocou `$.throw()`.\n\n### $.send(output, [data])\n\nType: `method`\n\nPošle správu uzlom pripojeným k výstupu.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `output` | `String` | yes |  | Id výstupu. |\n| `data` | `Object` | no |  | Nové dáta pre správu. |\n\nReturns: `Number` Počet uzlov, ktoré správu prijali.\n\nBez `data` si správa ponechá svoje dáta. S `null` ako `output` ide na každý výstup, ktorý má pripojenie. Keď ju neprijme žiadny uzol, správa sa ukončí.\n\nExample: Poslanie nových dát\n```js\n$.send('output', { name: 'Jane' });\n```\n\n### $.destroy()\n\nType: `method`\n\nUkončí správu.\n\nZavolaj ju pre každú správu, ktorú neposielaš ďalej. `$.end()` robí to isté.\n\n### $.throw(error)\n\nType: `method`\n\nNahlási chybu dizajnéru a uloží ju do `$.error`.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `error` | `String` | yes |  | Text chyby. |\n\nSprávu neukončí.\n\nExample: Nahlásenie a ukončenie\n```js\n$.throw('Demo error');\n$.destroy();\n```\n\n### $.replace(text, [data])\n\nType: `method`\n\nDoplní premenné a ďalšie kľúče zo správy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `text` | `String` | yes |  | Text s kľúčmi v zložených zátvorkách. |\n| `data` | `Object` | no |  | Hodnoty, ktoré sa použijú namiesto správy. |\n\nReturns: `String` Text s hodnotami.\n\nFunguje ako `instance.replace()`, ale kľúče, ktoré nie sú premennými, číta zo správy, napríklad `{data.name}`. `$.variables()` robí to isté.\n\n### $.rewrite(data)\n\nType: `method`\n\nNahradí dáta správy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `data` | `Object` | yes |  | Nové dáta. |\n\nReturns: `Object` Správa.\n\n### $.status(data, [delay])\n\nType: `method`\n\nPošle stav uzla, ktorý správu prijal.\n\nTo isté ako `instance.status()`.\n\n### $.on(name, callback)\n\nType: `method`\n\nPočúva udalosť správy.\n\n| Parameter | Type | Required | Default | Description |\n| --- | --- | --- | --- | --- |\n| `name` | `String` | yes |  | Udalosť, napríklad `end`. |\n| `callback` | `Function` | yes |  | Funkcia, ktorá sa zavolá. |\n\nUdalosť `end` sa spustí, keď sa ukončí správa a všetky kópie, ktoré z nej boli poslané. `$.once()` počúva raz a `$.off()` prestane počúvať.\n\nExample: Zisti, kedy sa tok skončil\n```js\n$.on('end', function() {\n\tinstance.status('finished');\n});\n$.send('output');\n```\n","entries":[{"type":"property","name":"$.data","signature":"$.data","since":"","deprecated":false},{"type":"property","name":"$.input","signature":"$.input","since":"","deprecated":false},{"type":"property","name":"$.output","signature":"$.output","since":"","deprecated":false},{"type":"property","name":"$.fromid","signature":"$.fromid","since":"","deprecated":false},{"type":"property","name":"$.fromcomponent","signature":"$.fromcomponent","since":"","deprecated":false},{"type":"property","name":"$.toid","signature":"$.toid","since":"","deprecated":false},{"type":"property","name":"$.repo","signature":"$.repo","since":"","deprecated":false},{"type":"property","name":"$.refs","signature":"$.refs","since":"","deprecated":false},{"type":"property","name":"$.instance","signature":"$.instance","since":"","deprecated":false},{"type":"property","name":"$.main","signature":"$.main","since":"","deprecated":false},{"type":"property","name":"$.error","signature":"$.error","since":"","deprecated":false},{"type":"method","name":"$.send","signature":"$.send(output, [data])","since":"","deprecated":false},{"type":"method","name":"$.destroy","signature":"$.destroy()","since":"","deprecated":false},{"type":"method","name":"$.throw","signature":"$.throw(error)","since":"","deprecated":false},{"type":"method","name":"$.replace","signature":"$.replace(text, [data])","since":"","deprecated":false},{"type":"method","name":"$.rewrite","signature":"$.rewrite(data)","since":"","deprecated":false},{"type":"method","name":"$.status","signature":"$.status(data, [delay])","since":"","deprecated":false},{"type":"method","name":"$.on","signature":"$.on(name, callback)","since":"","deprecated":false}],"license":"MIT","updated":"2026-11-20T06:50:57.962Z"}
{"id":"JanwmQ1sM61f","url":"https://totaljs.es/docs/flow/11-1/changelog/changelog/","project":"flow","version":"11-1","section":"changelog","language":"en","title":"Changelog","summary":"The changes in each release of Total.js Flow.","markdown":"---\ntitle: Changelog\nproject: Flow\nversion: 11.1\nsection: changelog\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/flow/11-1/changelog/changelog/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Changelog\n\n> The changes in each release of Total.js Flow.\n\n## Version 11.1\n\n- fixed `proxytimeout` option in the FlowStream settings\n- fixed `notes` synchronization\n- improved UI\n\n## Version 11\n\n- updated editor\n- added support for extensions\n- added support for actions\n- better plugin integration\n- added Tangular helper: `time`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmQ1sM61f-de","url":"https://totaljs.es/docs/de/flow/11-1/changelog/changelog/","project":"flow","version":"11-1","section":"changelog","language":"de","title":"Änderungsprotokoll","summary":"Die Änderungen in jeder Version von Total.js Flow.","markdown":"---\ntitle: \"Änderungsprotokoll\"\nproject: Total.js Flow\nversion: 11.1\nsection: changelog\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/flow/11-1/changelog/changelog/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Änderungsprotokoll\n\n> Die Änderungen in jeder Version von Total.js Flow.\n\n## Version 11.1\n\n- Option `proxytimeout` in den FlowStream-Einstellungen korrigiert\n- Synchronisierung von `notes` korrigiert\n- Benutzeroberfläche verbessert\n\n## Version 11\n\n- Editor aktualisiert\n- Unterstützung für Erweiterungen hinzugefügt\n- Unterstützung für Aktionen hinzugefügt\n- Bessere Integration von Plugins\n- Tangular-Helfer hinzugefügt: `time`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmQ1sM61f-es","url":"https://totaljs.es/docs/es/flow/11-1/changelog/changelog/","project":"flow","version":"11-1","section":"changelog","language":"es","title":"Historial de cambios","summary":"Los cambios de cada versión de Total.js Flow.","markdown":"---\ntitle: Historial de cambios\nproject: Total.js Flow\nversion: 11.1\nsection: changelog\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/flow/11-1/changelog/changelog/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Historial de cambios\n\n> Los cambios de cada versión de Total.js Flow.\n\n## Versión 11.1\n\n- corregida la opción `proxytimeout` en los ajustes del FlowStream\n- corregida la sincronización de `notes`\n- mejorada la interfaz\n\n## Versión 11\n\n- editor actualizado\n- añadida la compatibilidad con extensiones\n- añadida la compatibilidad con acciones\n- mejor integración de plugins\n- añadido el helper de Tangular: `time`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmQ1sM61f-fr","url":"https://totaljs.es/docs/fr/flow/11-1/changelog/changelog/","project":"flow","version":"11-1","section":"changelog","language":"fr","title":"Journal des modifications","summary":"Les changements de chaque version de Total.js Flow.","markdown":"---\ntitle: Journal des modifications\nproject: Total.js Flow\nversion: 11.1\nsection: changelog\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/flow/11-1/changelog/changelog/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Journal des modifications\n\n> Les changements de chaque version de Total.js Flow.\n\n## Version 11.1\n\n- correction de l’option `proxytimeout` dans les réglages du FlowStream\n- correction de la synchronisation de `notes`\n- interface améliorée\n\n## Version 11\n\n- éditeur mis à jour\n- prise en charge des extensions\n- prise en charge des actions\n- meilleure intégration des plugins\n- ajout du helper Tangular : `time`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmQ1sM61f-it","url":"https://totaljs.es/docs/it/flow/11-1/changelog/changelog/","project":"flow","version":"11-1","section":"changelog","language":"it","title":"Registro delle modifiche","summary":"Le modifiche di ogni versione di Total.js Flow.","markdown":"---\ntitle: Registro delle modifiche\nproject: Total.js Flow\nversion: 11.1\nsection: changelog\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/flow/11-1/changelog/changelog/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Registro delle modifiche\n\n> Le modifiche di ogni versione di Total.js Flow.\n\n## Versione 11.1\n\n- corretta l'opzione `proxytimeout` nelle impostazioni del FlowStream\n- corretta la sincronizzazione di `notes`\n- interfaccia migliorata\n\n## Versione 11\n\n- editor aggiornato\n- aggiunto il supporto per le estensioni\n- aggiunto il supporto per le azioni\n- migliore integrazione dei plugin\n- aggiunto l'helper Tangular: `time`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
{"id":"JanwmQ1sM61f-sk","url":"https://totaljs.es/docs/sk/flow/11-1/changelog/changelog/","project":"flow","version":"11-1","section":"changelog","language":"sk","title":"Zoznam zmien","summary":"Zmeny v jednotlivých vydaniach Total.js Flow.","markdown":"---\ntitle: Zoznam zmien\nproject: Total.js Flow\nversion: 11.1\nsection: changelog\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/flow/11-1/changelog/changelog/\nupdated: 2026-11-19T04:29:24.073Z\n---\n\n# Zoznam zmien\n\n> Zmeny v jednotlivých vydaniach Total.js Flow.\n\n## Verzia 11.1\n\n- opravená možnosť `proxytimeout` v nastaveniach FlowStreamu\n- opravená synchronizácia `notes`\n- vylepšené používateľské rozhranie\n\n## Verzia 11\n\n- aktualizovaný editor\n- pridaná podpora rozšírení\n- pridaná podpora akcií\n- lepšia integrácia pluginov\n- pridaný pomocník Tangular: `time`\n","entries":[],"license":"MIT","updated":"2026-11-19T04:29:24.073Z"}
