AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
feat(postgres): ui improvement (#16783)
Talal Jaber6784faf0f6f2
diff --git a/bun.lock b/bun.lockindex 6f6eeb160b5..1d1b75cc65b 100644--- a/bun.lock+++ b/bun.lock@@ -7292,7 +7292,7 @@},"packages/pieces/community/postgres": {"name": "@activepieces/piece-postgres",- "version": "0.4.1",+ "version": "0.5.0","dependencies": {"@activepieces/core-piece-types": "workspace:*","@activepieces/core-utils": "workspace:*",diff --git a/packages/pieces/community/postgres/package.json b/packages/pieces/community/postgres/package.jsonindex 92f9af82668..e53af190166 100644--- a/packages/pieces/community/postgres/package.json+++ b/packages/pieces/community/postgres/package.json@@ -1,6 +1,6 @@{"name": "@activepieces/piece-postgres",- "version": "0.4.1",+ "version": "0.5.0","main": "./dist/src/index.js","types": "./dist/src/index.d.ts","dependencies": {diff --git a/packages/pieces/community/postgres/src/i18n/de.json b/packages/pieces/community/postgres/src/i18n/de.jsonindex 9cce278df86..acfc881d85f 100644--- a/packages/pieces/community/postgres/src/i18n/de.json+++ b/packages/pieces/community/postgres/src/i18n/de.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "Benutzen Sie so etwas wie einen erstellten Zeitstempel oder eine automatisch inkrementelle ID.","The direction to sort by such that the newest rows are fetched first.": "Die zu sortierende Richtung, so dass die neuesten Zeilen zuerst abgerufen werden.","Ascending": "Aufsteigend",- "Descending": "Absteigend"+ "Descending": "Absteigend",+ "Verify Server Certificate": "Serverzertifikat überprüfen",+ "The server's hostname or IP address.": "Hostname oder IP-Adresse des Servers.",+ "The port the server listens on, usually 5432.": "Der Port, auf dem der Server lauscht, meist 5432.",+ "The database user to sign in as.": "Der Datenbankbenutzer für die Anmeldung.",+ "The password for that user.": "Das Kennwort dieses Benutzers.",+ "The name of the database to connect to.": "Der Name der Datenbank, mit der verbunden wird.",+ "Encrypt the connection. Most hosted databases require it.": "Verschlüsselt die Verbindung. Die meisten gehosteten Datenbanken verlangen das.",+ "Check the server's certificate. Self-signed servers need a CA below.": "Prüft das Zertifikat des Servers. Selbstsignierte Server brauchen unten eine CA.",+ "The CA certificate (PEM) to trust when verifying the server.": "Das CA-Zertifikat (PEM), dem bei der Prüfung des Servers vertraut wird.",+ "Runs a SQL statement on the database": "Führt eine SQL-Anweisung in der Datenbank aus",+ "Connection Timeout": "Verbindungs-Timeout",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Dynamische Werte nie direkt in die Bedingung schreiben. $1, $2 verwenden und die Werte unter Argumente eintragen, um SQL-Injection zu verhindern.",+ "The SQL after WHERE. Leave empty to read every row.": "Das SQL nach WHERE. Leer lassen, um jede Zeile zu lesen.",+ "Values for $1, $2 and so on in the condition, in order.": "Werte für $1, $2 usw. in der Bedingung, in dieser Reihenfolge.",+ "Leave empty to return every column.": "Leer lassen, um jede Spalte zurückzugeben.",+ "Maximum rows to return. Clear it to return every matching row.": "Maximale Anzahl zurückgegebener Zeilen. Leeren, um jede passende Zeile zurückzugeben.",+ "Return the stored row with generated ids. Needs SELECT permission too.": "Gibt die gespeicherte Zeile mit erzeugten IDs zurück. Benötigt auch SELECT-Berechtigung.",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "Gibt eingefügte Zeilen mit erzeugten IDs zurück. Benötigt auch SELECT-Berechtigung.",+ "Columns you leave out keep their current value.": "Nicht angegebene Spalten behalten ihren aktuellen Wert.",+ "Return every updated row. The row count is always returned.": "Gibt jede aktualisierte Zeile zurück. Die Zeilenanzahl wird immer zurückgegeben.",+ "Every matching row is deleted, and this cannot be undone.": "Jede passende Zeile wird gelöscht, und das lässt sich nicht rückgängig machen.",+ "Return every deleted row. The row count is always returned.": "Gibt jede gelöschte Zeile zurück. Die Zeilenanzahl wird immer zurückgegeben.",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Dynamische Werte nie direkt in die Abfrage schreiben. $1, $2 verwenden und die Werte unter Argumente eintragen, um SQL-Injection zu verhindern.",+ "The SQL to run. Write $1, $2 where each value goes.": "Das auszuführende SQL. $1, $2 an die Stelle jedes Werts schreiben.",+ "Values for $1, $2 and so on in the query, in order.": "Werte für $1, $2 usw. in der Abfrage, in dieser Reihenfolge.",+ "Milliseconds to wait for the query before it fails.": "Millisekunden, die auf die Abfrage gewartet wird, bevor sie fehlschlägt.",+ "Milliseconds to wait for the connection before it fails.": "Millisekunden, die auf die Verbindung gewartet wird, bevor sie fehlschlägt.",+ "A name that identifies this step in the server's activity list.": "Ein Name, der diesen Schritt in der Aktivitätsliste des Servers kennzeichnet.",+ "Triggers when a new row is added to a table": "Wird ausgelöst, wenn einer Tabelle eine neue Zeile hinzugefügt wird",+ "Order By Column": "Sortierspalte",+ "Each check reads rows in the order below and stops at the last row it already saw.": "Jede Prüfung liest Zeilen in der unten gewählten Reihenfolge und stoppt bei der zuletzt gesehenen Zeile.",+ "Use a created timestamp or an auto-increment ID.": "Einen Erstellungszeitstempel oder eine automatisch hochgezählte ID verwenden.",+ "Descending when newer rows have larger values, like dates and IDs.": "Absteigend, wenn neuere Zeilen größere Werte haben, etwa Datumsangaben und IDs.",+ "Rows to find": "Zu suchende Zeilen",+ "What to return": "Was zurückgegeben wird",+ "Row to insert": "Einzufügende Zeile",+ "Data to insert": "Einzufügende Daten",+ "Rows to update": "Zu aktualisierende Zeilen",+ "Changes": "Änderungen",+ "Rows to delete": "Zu löschende Zeilen",+ "SQL statement": "SQL-Anweisung",+ "What to watch": "Was überwacht wird",+ "Finding new rows": "Neue Zeilen finden",+ "Insert Multiple Rows": "Mehrere Zeilen einfügen",+ "Inserts many rows into a table in a single transaction": "Fügt viele Zeilen in einer einzigen Transaktion in eine Tabelle ein",+ "Rows": "Zeilen",+ "Keep Empty Strings": "Leere Strings beibehalten",+ "Return Inserted Rows": "Eingefügte Zeilen zurückgeben",+ "Insert empty fields as empty strings instead of the column default.": "Leere Felder als leere Strings statt mit dem Spaltenstandard einfügen."}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/es.json b/packages/pieces/community/postgres/src/i18n/es.jsonindex c2ec8f7e550..020ba6e716b 100644--- a/packages/pieces/community/postgres/src/i18n/es.json+++ b/packages/pieces/community/postgres/src/i18n/es.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "Usa algo como una marca de tiempo creada o un ID auto-incrementante.","The direction to sort by such that the newest rows are fetched first.": "La dirección para ordenar por tal que las filas más recientes se obtengan primero.","Ascending": "Ascendiente",- "Descending": "Descendiente"+ "Descending": "Descendiente",+ "Verify Server Certificate": "Verificar certificado del servidor",+ "The server's hostname or IP address.": "El nombre de host o la dirección IP del servidor.",+ "The port the server listens on, usually 5432.": "El puerto en el que escucha el servidor, normalmente 5432.",+ "The database user to sign in as.": "El usuario de la base de datos con el que iniciar sesión.",+ "The password for that user.": "La contraseña de ese usuario.",+ "The name of the database to connect to.": "El nombre de la base de datos a la que conectarse.",+ "Encrypt the connection. Most hosted databases require it.": "Cifra la conexión. La mayoría de las bases de datos alojadas lo exigen.",+ "Check the server's certificate. Self-signed servers need a CA below.": "Comprueba el certificado del servidor. Los servidores autofirmados necesitan una CA abajo.",+ "The CA certificate (PEM) to trust when verifying the server.": "El certificado de CA (PEM) en el que confiar al verificar el servidor.",+ "Runs a SQL statement on the database": "Ejecuta una sentencia SQL en la base de datos",+ "Connection Timeout": "Tiempo de espera de conexión",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Nunca escribas valores dinámicos en la condición. Escribe $1, $2 y pon los valores en Argumentos para evitar la inyección SQL.",+ "The SQL after WHERE. Leave empty to read every row.": "El SQL después de WHERE. Déjalo vacío para leer todas las filas.",+ "Values for $1, $2 and so on in the condition, in order.": "Valores para $1, $2, etc. en la condición, en orden.",+ "Leave empty to return every column.": "Déjalo vacío para devolver todas las columnas.",+ "Maximum rows to return. Clear it to return every matching row.": "Número máximo de filas a devolver. Vacíalo para devolver todas las filas que coincidan.",+ "Return the stored row with generated ids. Needs SELECT permission too.": "Devuelve la fila guardada con los ID generados. También requiere permiso SELECT.",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "Devuelve las filas insertadas con los ID generados. También requiere permiso SELECT.",+ "Columns you leave out keep their current value.": "Las columnas que no incluyas conservan su valor actual.",+ "Return every updated row. The row count is always returned.": "Devuelve cada fila actualizada. El número de filas siempre se devuelve.",+ "Every matching row is deleted, and this cannot be undone.": "Se elimina cada fila que coincida, y no se puede deshacer.",+ "Return every deleted row. The row count is always returned.": "Devuelve cada fila eliminada. El número de filas siempre se devuelve.",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Nunca escribas valores dinámicos en la consulta. Escribe $1, $2 y pon los valores en Argumentos para evitar la inyección SQL.",+ "The SQL to run. Write $1, $2 where each value goes.": "El SQL a ejecutar. Escribe $1, $2 donde va cada valor.",+ "Values for $1, $2 and so on in the query, in order.": "Valores para $1, $2, etc. en la consulta, en orden.",+ "Milliseconds to wait for the query before it fails.": "Milisegundos de espera para la consulta antes de que falle.",+ "Milliseconds to wait for the connection before it fails.": "Milisegundos de espera para la conexión antes de que falle.",+ "A name that identifies this step in the server's activity list.": "Un nombre que identifica este paso en la lista de actividad del servidor.",+ "Triggers when a new row is added to a table": "Se activa cuando se añade una nueva fila a una tabla",+ "Order By Column": "Columna de ordenación",+ "Each check reads rows in the order below and stops at the last row it already saw.": "Cada comprobación lee las filas en el orden de abajo y se detiene en la última fila que ya vio.",+ "Use a created timestamp or an auto-increment ID.": "Usa una marca de tiempo de creación o un ID autoincremental.",+ "Descending when newer rows have larger values, like dates and IDs.": "Descendente cuando las filas más nuevas tienen valores mayores, como fechas e ID.",+ "Rows to find": "Filas a buscar",+ "What to return": "Qué devolver",+ "Row to insert": "Fila a insertar",+ "Data to insert": "Datos a insertar",+ "Rows to update": "Filas a actualizar",+ "Changes": "Cambios",+ "Rows to delete": "Filas a eliminar",+ "SQL statement": "Sentencia SQL",+ "What to watch": "Qué vigilar",+ "Finding new rows": "Cómo encontrar filas nuevas",+ "Insert Multiple Rows": "Insertar varias filas",+ "Inserts many rows into a table in a single transaction": "Inserta muchas filas en una tabla en una sola transacción",+ "Rows": "Filas",+ "Keep Empty Strings": "Mantener cadenas vacías",+ "Return Inserted Rows": "Devolver filas insertadas",+ "Insert empty fields as empty strings instead of the column default.": "Inserta los campos vacíos como cadenas vacías en lugar del valor por defecto de la columna."}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/fr.json b/packages/pieces/community/postgres/src/i18n/fr.jsonindex cf88b78092d..f52f24df1f1 100644--- a/packages/pieces/community/postgres/src/i18n/fr.json+++ b/packages/pieces/community/postgres/src/i18n/fr.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "Utilisez quelque chose comme un timestamp créé ou un ID auto-incrémentant.","The direction to sort by such that the newest rows are fetched first.": "La direction à suivre pour trier de telle sorte que les lignes les plus récentes soient récupérées en premier.","Ascending": "Ascendant",- "Descending": "Descendant"+ "Descending": "Descendant",+ "Verify Server Certificate": "Vérifier le certificat du serveur",+ "The server's hostname or IP address.": "Le nom d'hôte ou l'adresse IP du serveur.",+ "The port the server listens on, usually 5432.": "Le port sur lequel le serveur écoute, généralement 5432.",+ "The database user to sign in as.": "L'utilisateur de la base de données avec lequel se connecter.",+ "The password for that user.": "Le mot de passe de cet utilisateur.",+ "The name of the database to connect to.": "Le nom de la base de données à laquelle se connecter.",+ "Encrypt the connection. Most hosted databases require it.": "Chiffre la connexion. La plupart des bases de données hébergées l'exigent.",+ "Check the server's certificate. Self-signed servers need a CA below.": "Vérifie le certificat du serveur. Les serveurs auto-signés ont besoin d'une CA ci-dessous.",+ "The CA certificate (PEM) to trust when verifying the server.": "Le certificat CA (PEM) auquel se fier pour vérifier le serveur.",+ "Runs a SQL statement on the database": "Exécute une instruction SQL sur la base de données",+ "Connection Timeout": "Délai de connexion",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Ne saisissez jamais de valeurs dynamiques dans la condition. Écrivez $1, $2 et placez les valeurs dans Arguments pour éviter l'injection SQL.",+ "The SQL after WHERE. Leave empty to read every row.": "Le SQL après WHERE. Laissez vide pour lire toutes les lignes.",+ "Values for $1, $2 and so on in the condition, in order.": "Valeurs pour $1, $2, etc. dans la condition, dans l'ordre.",+ "Leave empty to return every column.": "Laissez vide pour renvoyer toutes les colonnes.",+ "Maximum rows to return. Clear it to return every matching row.": "Nombre maximal de lignes à renvoyer. Videz-le pour renvoyer toutes les lignes correspondantes.",+ "Return the stored row with generated ids. Needs SELECT permission too.": "Renvoie la ligne enregistrée avec les ID générés. Nécessite aussi l'autorisation SELECT.",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "Renvoie les lignes insérées avec les ID générés. Nécessite aussi l'autorisation SELECT.",+ "Columns you leave out keep their current value.": "Les colonnes que vous omettez gardent leur valeur actuelle.",+ "Return every updated row. The row count is always returned.": "Renvoie chaque ligne mise à jour. Le nombre de lignes est toujours renvoyé.",+ "Every matching row is deleted, and this cannot be undone.": "Chaque ligne correspondante est supprimée, et c'est irréversible.",+ "Return every deleted row. The row count is always returned.": "Renvoie chaque ligne supprimée. Le nombre de lignes est toujours renvoyé.",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Ne saisissez jamais de valeurs dynamiques dans la requête. Écrivez $1, $2 et placez les valeurs dans Arguments pour éviter l'injection SQL.",+ "The SQL to run. Write $1, $2 where each value goes.": "Le SQL à exécuter. Écrivez $1, $2 à la place de chaque valeur.",+ "Values for $1, $2 and so on in the query, in order.": "Valeurs pour $1, $2, etc. dans la requête, dans l'ordre.",+ "Milliseconds to wait for the query before it fails.": "Millisecondes d'attente de la requête avant échec.",+ "Milliseconds to wait for the connection before it fails.": "Millisecondes d'attente de la connexion avant échec.",+ "A name that identifies this step in the server's activity list.": "Un nom qui identifie cette étape dans la liste d'activité du serveur.",+ "Triggers when a new row is added to a table": "Se déclenche quand une nouvelle ligne est ajoutée à une table",+ "Order By Column": "Colonne de tri",+ "Each check reads rows in the order below and stops at the last row it already saw.": "Chaque vérification lit les lignes dans l'ordre ci-dessous et s'arrête à la dernière ligne déjà vue.",+ "Use a created timestamp or an auto-increment ID.": "Utilisez un horodatage de création ou un ID auto-incrémenté.",+ "Descending when newer rows have larger values, like dates and IDs.": "Décroissant quand les lignes plus récentes ont des valeurs plus grandes, comme les dates et les ID.",+ "Rows to find": "Lignes à trouver",+ "What to return": "Ce qu'il faut renvoyer",+ "Row to insert": "Ligne à insérer",+ "Data to insert": "Données à insérer",+ "Rows to update": "Lignes à mettre à jour",+ "Changes": "Modifications",+ "Rows to delete": "Lignes à supprimer",+ "SQL statement": "Instruction SQL",+ "What to watch": "Ce qu'il faut surveiller",+ "Finding new rows": "Repérer les nouvelles lignes",+ "Insert Multiple Rows": "Insérer plusieurs lignes",+ "Inserts many rows into a table in a single transaction": "Insère de nombreuses lignes dans une table en une seule transaction",+ "Rows": "Lignes",+ "Keep Empty Strings": "Conserver les chaînes vides",+ "Return Inserted Rows": "Renvoyer les lignes insérées",+ "Insert empty fields as empty strings instead of the column default.": "Insère les champs vides comme chaînes vides au lieu de la valeur par défaut de la colonne."}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/ja.json b/packages/pieces/community/postgres/src/i18n/ja.jsonindex bd0d8e5364e..07e84625c05 100644--- a/packages/pieces/community/postgres/src/i18n/ja.json+++ b/packages/pieces/community/postgres/src/i18n/ja.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "作成したタイムスタンプや自動インクリメントIDのようなものを使用します。","The direction to sort by such that the newest rows are fetched first.": "最新の行が最初に取得されるように並べ替える方向。","Ascending": "昇順",- "Descending": "降順"+ "Descending": "降順",+ "Verify Server Certificate": "サーバー証明書を検証",+ "The server's hostname or IP address.": "サーバーのホスト名または IP アドレス。",+ "The port the server listens on, usually 5432.": "サーバーが待ち受けるポート。通常は 5432。",+ "The database user to sign in as.": "サインインに使うデータベースユーザー。",+ "The password for that user.": "そのユーザーのパスワード。",+ "The name of the database to connect to.": "接続するデータベースの名前。",+ "Encrypt the connection. Most hosted databases require it.": "接続を暗号化します。ほとんどのホスト型データベースで必須です。",+ "Check the server's certificate. Self-signed servers need a CA below.": "サーバーの証明書を確認します。自己署名サーバーには下に CA が必要です。",+ "The CA certificate (PEM) to trust when verifying the server.": "サーバーの検証時に信頼する CA 証明書 (PEM)。",+ "Runs a SQL statement on the database": "データベースで SQL ステートメントを実行します",+ "Connection Timeout": "接続タイムアウト",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "条件に動的な値を直接入力しないでください。$1、$2 と書き、値は引数に入れて SQL インジェクションを防ぎます。",+ "The SQL after WHERE. Leave empty to read every row.": "WHERE の後に続く SQL。空にするとすべての行を読み取ります。",+ "Values for $1, $2 and so on in the condition, in order.": "条件内の $1、$2 などに入る値 (順番どおり)。",+ "Leave empty to return every column.": "空にするとすべての列を返します。",+ "Maximum rows to return. Clear it to return every matching row.": "返す最大行数。空にすると一致するすべての行を返します。",+ "Return the stored row with generated ids. Needs SELECT permission too.": "生成された ID を含む保存済みの行を返します。SELECT 権限も必要です。",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "生成された ID を含む挿入済みの行を返します。SELECT 権限も必要です。",+ "Columns you leave out keep their current value.": "指定しない列は現在の値のままです。",+ "Return every updated row. The row count is always returned.": "更新されたすべての行を返します。行数は常に返されます。",+ "Every matching row is deleted, and this cannot be undone.": "一致するすべての行が削除され、元に戻せません。",+ "Return every deleted row. The row count is always returned.": "削除されたすべての行を返します。行数は常に返されます。",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "クエリに動的な値を直接入力しないでください。$1、$2 と書き、値は引数に入れて SQL インジェクションを防ぎます。",+ "The SQL to run. Write $1, $2 where each value goes.": "実行する SQL。各値が入る場所に $1、$2 と書きます。",+ "Values for $1, $2 and so on in the query, in order.": "クエリ内の $1、$2 などに入る値 (順番どおり)。",+ "Milliseconds to wait for the query before it fails.": "クエリが失敗するまで待つミリ秒数。",+ "Milliseconds to wait for the connection before it fails.": "接続が失敗するまで待つミリ秒数。",+ "A name that identifies this step in the server's activity list.": "サーバーのアクティビティ一覧でこのステップを識別する名前。",+ "Triggers when a new row is added to a table": "テーブルに新しい行が追加されたときにトリガーします",+ "Order By Column": "並べ替え列",+ "Each check reads rows in the order below and stops at the last row it already saw.": "各チェックでは下の順序で行を読み取り、前回見た最後の行で止まります。",+ "Use a created timestamp or an auto-increment ID.": "作成タイムスタンプまたは自動採番 ID を使います。",+ "Descending when newer rows have larger values, like dates and IDs.": "新しい行ほど値が大きい場合 (日付や ID など) は降順。",+ "Rows to find": "検索する行",+ "What to return": "返す内容",+ "Row to insert": "挿入する行",+ "Data to insert": "挿入するデータ",+ "Rows to update": "更新する行",+ "Changes": "変更内容",+ "Rows to delete": "削除する行",+ "SQL statement": "SQL ステートメント",+ "What to watch": "監視対象",+ "Finding new rows": "新しい行の検出",+ "Insert Multiple Rows": "複数行を挿入",+ "Inserts many rows into a table in a single transaction": "1 つのトランザクションでテーブルに多数の行を挿入します",+ "Rows": "行",+ "Keep Empty Strings": "空の文字列を保持",+ "Return Inserted Rows": "挿入した行を返す",+ "Insert empty fields as empty strings instead of the column default.": "空のフィールドを列のデフォルト値ではなく空の文字列として挿入します。"}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/nl.json b/packages/pieces/community/postgres/src/i18n/nl.jsonindex 71e4c4cda7c..41a2b432649 100644--- a/packages/pieces/community/postgres/src/i18n/nl.json+++ b/packages/pieces/community/postgres/src/i18n/nl.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "Gebruik iets als een gecreëerde tijdstempel of een auto-verhoging ID.","The direction to sort by such that the newest rows are fetched first.": "De richting die gesorteerd moet worden zodat de nieuwste rijen eerst opgehaald worden.","Ascending": "Oplopend",- "Descending": "Aflopend"+ "Descending": "Aflopend",+ "Verify Server Certificate": "Servercertificaat verifiëren",+ "The server's hostname or IP address.": "De hostnaam of het IP-adres van de server.",+ "The port the server listens on, usually 5432.": "De poort waarop de server luistert, meestal 5432.",+ "The database user to sign in as.": "De databasegebruiker om mee in te loggen.",+ "The password for that user.": "Het wachtwoord van die gebruiker.",+ "The name of the database to connect to.": "De naam van de database om mee te verbinden.",+ "Encrypt the connection. Most hosted databases require it.": "Versleutelt de verbinding. De meeste gehoste databases vereisen dit.",+ "Check the server's certificate. Self-signed servers need a CA below.": "Controleert het certificaat van de server. Zelfondertekende servers hebben hieronder een CA nodig.",+ "The CA certificate (PEM) to trust when verifying the server.": "Het CA-certificaat (PEM) dat wordt vertrouwd bij het verifiëren van de server.",+ "Runs a SQL statement on the database": "Voert een SQL-instructie uit op de database",+ "Connection Timeout": "Verbindingstime-out",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Typ nooit dynamische waarden in de voorwaarde. Schrijf $1, $2 en zet de waarden in Argumenten om SQL-injectie te voorkomen.",+ "The SQL after WHERE. Leave empty to read every row.": "De SQL na WHERE. Laat leeg om elke rij te lezen.",+ "Values for $1, $2 and so on in the condition, in order.": "Waarden voor $1, $2 enzovoort in de voorwaarde, op volgorde.",+ "Leave empty to return every column.": "Laat leeg om elke kolom terug te geven.",+ "Maximum rows to return. Clear it to return every matching row.": "Maximaal aantal rijen om terug te geven. Maak leeg om elke overeenkomende rij terug te geven.",+ "Return the stored row with generated ids. Needs SELECT permission too.": "Geeft de opgeslagen rij met gegenereerde id's terug. Vereist ook SELECT-rechten.",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "Geeft ingevoegde rijen met gegenereerde id's terug. Vereist ook SELECT-rechten.",+ "Columns you leave out keep their current value.": "Kolommen die je weglaat, houden hun huidige waarde.",+ "Return every updated row. The row count is always returned.": "Geeft elke bijgewerkte rij terug. Het aantal rijen wordt altijd teruggegeven.",+ "Every matching row is deleted, and this cannot be undone.": "Elke overeenkomende rij wordt verwijderd, en dit kan niet ongedaan worden gemaakt.",+ "Return every deleted row. The row count is always returned.": "Geeft elke verwijderde rij terug. Het aantal rijen wordt altijd teruggegeven.",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Typ nooit dynamische waarden in de query. Schrijf $1, $2 en zet de waarden in Argumenten om SQL-injectie te voorkomen.",+ "The SQL to run. Write $1, $2 where each value goes.": "De SQL om uit te voeren. Schrijf $1, $2 waar elke waarde komt.",+ "Values for $1, $2 and so on in the query, in order.": "Waarden voor $1, $2 enzovoort in de query, op volgorde.",+ "Milliseconds to wait for the query before it fails.": "Milliseconden wachten op de query voordat die mislukt.",+ "Milliseconds to wait for the connection before it fails.": "Milliseconden wachten op de verbinding voordat die mislukt.",+ "A name that identifies this step in the server's activity list.": "Een naam die deze stap herkenbaar maakt in de activiteitenlijst van de server.",+ "Triggers when a new row is added to a table": "Wordt geactiveerd wanneer een nieuwe rij aan een tabel wordt toegevoegd",+ "Order By Column": "Sorteerkolom",+ "Each check reads rows in the order below and stops at the last row it already saw.": "Elke controle leest rijen in de volgorde hieronder en stopt bij de laatste rij die al is gezien.",+ "Use a created timestamp or an auto-increment ID.": "Gebruik een aanmaaktijdstempel of een automatisch oplopend id.",+ "Descending when newer rows have larger values, like dates and IDs.": "Aflopend als nieuwere rijen hogere waarden hebben, zoals datums en id's.",+ "Rows to find": "Te zoeken rijen",+ "What to return": "Wat terug te geven",+ "Row to insert": "In te voegen rij",+ "Data to insert": "In te voegen gegevens",+ "Rows to update": "Bij te werken rijen",+ "Changes": "Wijzigingen",+ "Rows to delete": "Te verwijderen rijen",+ "SQL statement": "SQL-instructie",+ "What to watch": "Wat te volgen",+ "Finding new rows": "Nieuwe rijen vinden",+ "Insert Multiple Rows": "Meerdere rijen invoegen",+ "Inserts many rows into a table in a single transaction": "Voegt veel rijen in één transactie aan een tabel toe",+ "Rows": "Rijen",+ "Keep Empty Strings": "Lege tekenreeksen behouden",+ "Return Inserted Rows": "Ingevoegde rijen teruggeven",+ "Insert empty fields as empty strings instead of the column default.": "Voeg lege velden in als lege tekenreeksen in plaats van de standaardwaarde van de kolom."}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/pt.json b/packages/pieces/community/postgres/src/i18n/pt.jsonindex 8ee90044e15..0acb2bc9e74 100644--- a/packages/pieces/community/postgres/src/i18n/pt.json+++ b/packages/pieces/community/postgres/src/i18n/pt.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "Use algo como um timestamp criado ou uma ID de auto-incrementação.","The direction to sort by such that the newest rows are fetched first.": "A direção para ordenar por tal que as linhas mais recentes são buscadas primeiro.","Ascending": "Crescente",- "Descending": "Decrescente"+ "Descending": "Decrescente",+ "Verify Server Certificate": "Verificar certificado do servidor",+ "The server's hostname or IP address.": "O nome do host ou o endereço IP do servidor.",+ "The port the server listens on, usually 5432.": "A porta em que o servidor escuta, geralmente 5432.",+ "The database user to sign in as.": "O usuário do banco de dados para entrar.",+ "The password for that user.": "A senha desse usuário.",+ "The name of the database to connect to.": "O nome do banco de dados ao qual se conectar.",+ "Encrypt the connection. Most hosted databases require it.": "Criptografa a conexão. A maioria dos bancos de dados hospedados exige isso.",+ "Check the server's certificate. Self-signed servers need a CA below.": "Verifica o certificado do servidor. Servidores autoassinados precisam de uma CA abaixo.",+ "The CA certificate (PEM) to trust when verifying the server.": "O certificado de CA (PEM) a confiar ao verificar o servidor.",+ "Runs a SQL statement on the database": "Executa uma instrução SQL no banco de dados",+ "Connection Timeout": "Tempo limite da conexão",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Nunca digite valores dinâmicos na condição. Escreva $1, $2 e coloque os valores em Parâmetros para evitar injeção de SQL.",+ "The SQL after WHERE. Leave empty to read every row.": "O SQL depois de WHERE. Deixe vazio para ler todas as linhas.",+ "Values for $1, $2 and so on in the condition, in order.": "Valores para $1, $2 e assim por diante na condição, em ordem.",+ "Leave empty to return every column.": "Deixe vazio para retornar todas as colunas.",+ "Maximum rows to return. Clear it to return every matching row.": "Número máximo de linhas a retornar. Limpe para retornar todas as linhas correspondentes.",+ "Return the stored row with generated ids. Needs SELECT permission too.": "Retorna a linha salva com os IDs gerados. Também requer permissão SELECT.",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "Retorna as linhas inseridas com os IDs gerados. Também requer permissão SELECT.",+ "Columns you leave out keep their current value.": "Colunas que você deixar de fora mantêm o valor atual.",+ "Return every updated row. The row count is always returned.": "Retorna cada linha atualizada. A contagem de linhas é sempre retornada.",+ "Every matching row is deleted, and this cannot be undone.": "Cada linha correspondente é excluída, e isso não pode ser desfeito.",+ "Return every deleted row. The row count is always returned.": "Retorna cada linha excluída. A contagem de linhas é sempre retornada.",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Nunca digite valores dinâmicos na consulta. Escreva $1, $2 e coloque os valores em Parâmetros para evitar injeção de SQL.",+ "The SQL to run. Write $1, $2 where each value goes.": "O SQL a executar. Escreva $1, $2 onde cada valor entra.",+ "Values for $1, $2 and so on in the query, in order.": "Valores para $1, $2 e assim por diante na consulta, em ordem.",+ "Milliseconds to wait for the query before it fails.": "Milissegundos de espera pela consulta antes de falhar.",+ "Milliseconds to wait for the connection before it fails.": "Milissegundos de espera pela conexão antes de falhar.",+ "A name that identifies this step in the server's activity list.": "Um nome que identifica esta etapa na lista de atividades do servidor.",+ "Triggers when a new row is added to a table": "Dispara quando uma nova linha é adicionada a uma tabela",+ "Order By Column": "Coluna de ordenação",+ "Each check reads rows in the order below and stops at the last row it already saw.": "Cada verificação lê as linhas na ordem abaixo e para na última linha que já viu.",+ "Use a created timestamp or an auto-increment ID.": "Use um carimbo de data/hora de criação ou um ID autoincremental.",+ "Descending when newer rows have larger values, like dates and IDs.": "Decrescente quando linhas mais novas têm valores maiores, como datas e IDs.",+ "Rows to find": "Linhas a encontrar",+ "What to return": "O que retornar",+ "Row to insert": "Linha a inserir",+ "Data to insert": "Dados a inserir",+ "Rows to update": "Linhas a atualizar",+ "Changes": "Alterações",+ "Rows to delete": "Linhas a excluir",+ "SQL statement": "Instrução SQL",+ "What to watch": "O que monitorar",+ "Finding new rows": "Encontrar linhas novas",+ "Insert Multiple Rows": "Inserir várias linhas",+ "Inserts many rows into a table in a single transaction": "Insere muitas linhas em uma tabela em uma única transação",+ "Rows": "Linhas",+ "Keep Empty Strings": "Manter strings vazias",+ "Return Inserted Rows": "Retornar linhas inseridas",+ "Insert empty fields as empty strings instead of the column default.": "Insere campos vazios como strings vazias em vez do padrão da coluna."}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/translation.json b/packages/pieces/community/postgres/src/i18n/translation.jsonindex 9f607305d92..82276e91cb2 100644--- a/packages/pieces/community/postgres/src/i18n/translation.json+++ b/packages/pieces/community/postgres/src/i18n/translation.json@@ -6,16 +6,16 @@"Password": "Password","Database": "Database","Enable SSL": "Enable SSL",- "Verify server certificate": "Verify server certificate",+ "Verify Server Certificate": "Verify Server Certificate","Certificate": "Certificate",- " A string indicating the hostname of the PostgreSQL server to connect to.": " A string indicating the hostname of the PostgreSQL server to connect to.",- "An integer indicating the port of the PostgreSQL server to connect to.": "An integer indicating the port of the PostgreSQL server to connect to.",- "A string indicating the user to authenticate as when connecting to the PostgreSQL server.": "A string indicating the user to authenticate as when connecting to the PostgreSQL server.",- "A string indicating the password to use for authentication.": "A string indicating the password to use for authentication.",- "A string indicating the name of the database to connect to.": "A string indicating the name of the database to connect to.",- "Connect to the postgres database over SSL": "Connect to the postgres database over SSL",- "Verify the server certificate against trusted CAs or a CA provided in the certificate field below. This will fail if the database server is using a self signed certificate.": "Verify the server certificate against trusted CAs or a CA provided in the certificate field below. This will fail if the database server is using a self signed certificate.",- "The CA certificate to use for verification of server certificate.": "The CA certificate to use for verification of server certificate.",+ "The server's hostname or IP address.": "The server's hostname or IP address.",+ "The port the server listens on, usually 5432.": "The port the server listens on, usually 5432.",+ "The database user to sign in as.": "The database user to sign in as.",+ "The password for that user.": "The password for that user.",+ "The name of the database to connect to.": "The name of the database to connect to.",+ "Encrypt the connection. Most hosted databases require it.": "Encrypt the connection. Most hosted databases require it.",+ "Check the server's certificate. Self-signed servers need a CA below.": "Check the server's certificate. Self-signed servers need a CA below.",+ "The CA certificate (PEM) to trust when verifying the server.": "The CA certificate (PEM) to trust when verifying the server.","Find Rows": "Find Rows","Insert Row": "Insert Row","Insert Multiple Rows": "Insert Multiple Rows",@@ -29,6 +29,7 @@"Updates one or more rows in a table": "Updates one or more rows in a table","Deletes one or more rows from a table": "Deletes one or more rows from a table","Returns the tables in the database": "Returns the tables in the database",+ "Runs a SQL statement on the database": "Runs a SQL statement on the database","Markdown": "Markdown","Table": "Table","Condition": "Condition",@@ -46,36 +47,48 @@"Return Deleted Rows": "Return Deleted Rows","Query": "Query","Query Timeout": "Query Timeout",- "Connection Timeout (ms)": "Connection Timeout (ms)",+ "Connection Timeout": "Connection Timeout","Application Name": "Application Name",- "\n **DO NOT** insert dynamic input directly into the condition. Use **$1**, **$2**, etc. in the condition and pass the values in Arguments for parameterized queries to prevent **SQL injection.**": "\n **DO NOT** insert dynamic input directly into the condition. Use **$1**, **$2**, etc. in the condition and pass the values in Arguments for parameterized queries to prevent **SQL injection.**",- "SQL condition without the WHERE keyword, such as `status = $1 AND age > $2`. Leave empty to read every row.": "SQL condition without the WHERE keyword, such as `status = $1 AND age > $2`. Leave empty to read every row.",- "Values for the $1, $2, ... placeholders used in the condition.": "Values for the $1, $2, ... placeholders used in the condition.",- "The columns to return. Leave empty to return every column.": "The columns to return. Leave empty to return every column.",- "The maximum number of rows to return. Raise it to read more, or clear the field to return every matching row.": "The maximum number of rows to return. Raise it to read more, or clear the field to return every matching row.",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.",+ "The SQL after WHERE. Leave empty to read every row.": "The SQL after WHERE. Leave empty to read every row.",+ "Values for $1, $2 and so on in the condition, in order.": "Values for $1, $2 and so on in the condition, in order.",+ "Leave empty to return every column.": "Leave empty to return every column.",+ "Maximum rows to return. Clear it to return every matching row.": "Maximum rows to return. Clear it to return every matching row.","Column names mapped to the values to insert.": "Column names mapped to the values to insert.",- "Return the stored row, including generated ids and column defaults. Requires SELECT permission on the table as well as INSERT — turn this off for an append-only role.": "Return the stored row, including generated ids and column defaults. Requires SELECT permission on the table as well as INSERT — turn this off for an append-only role.",+ "Return the stored row with generated ids. Needs SELECT permission too.": "Return the stored row with generated ids. Needs SELECT permission too.","Insert empty fields as empty strings instead of the column default.": "Insert empty fields as empty strings instead of the column default.",- "Return the inserted rows, including generated ids. Needs SELECT permission on the table.": "Return the inserted rows, including generated ids. Needs SELECT permission on the table.",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "Return inserted rows with generated ids. Needs SELECT permission too.",+ "Columns you leave out keep their current value.": "Columns you leave out keep their current value.","Column names mapped to their new values.": "Column names mapped to their new values.","The column to match rows on.": "The column to match rows on.","Rows whose search column equals this value are updated.": "Rows whose search column equals this value are updated.",- "Return every updated row in the output. Leave off when the update can match a large number of rows — the row count is always returned.": "Return every updated row in the output. Leave off when the update can match a large number of rows — the row count is always returned.",+ "Return every updated row. The row count is always returned.": "Return every updated row. The row count is always returned.",+ "Every matching row is deleted, and this cannot be undone.": "Every matching row is deleted, and this cannot be undone.","Rows whose search column equals this value are deleted.": "Rows whose search column equals this value are deleted.",- "Return every deleted row in the output. Leave off when the delete can match a large number of rows — the row count is always returned.": "Return every deleted row in the output. Leave off when the delete can match a large number of rows — the row count is always returned.",- "\n **DO NOT** insert dynamic input directly into the query string. Instead, use $1, $2, $3 and add them in args for parameterized queries to prevent **SQL injection.**": "\n **DO NOT** insert dynamic input directly into the query string. Instead, use $1, $2, $3 and add them in args for parameterized queries to prevent **SQL injection.**",- "Please use $1, $2, etc. for parameterized queries to avoid SQL injection.": "Please use $1, $2, etc. for parameterized queries to avoid SQL injection.",- "Arguments to be used in the query": "Arguments to be used in the query",- "An integer indicating the maximum number of milliseconds to wait for a query to complete before timing out.": "An integer indicating the maximum number of milliseconds to wait for a query to complete before timing out.",- "An integer indicating the maximum number of milliseconds to wait for a connection to be established before timing out.": "An integer indicating the maximum number of milliseconds to wait for a connection to be established before timing out.",- "A string indicating the name of the client application connecting to the server.": "A string indicating the name of the client application connecting to the server.",+ "Return every deleted row. The row count is always returned.": "Return every deleted row. The row count is always returned.",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.",+ "The SQL to run. Write $1, $2 where each value goes.": "The SQL to run. Write $1, $2 where each value goes.",+ "Values for $1, $2 and so on in the query, in order.": "Values for $1, $2 and so on in the query, in order.",+ "Milliseconds to wait for the query before it fails.": "Milliseconds to wait for the query before it fails.",+ "Milliseconds to wait for the connection before it fails.": "Milliseconds to wait for the connection before it fails.",+ "A name that identifies this step in the server's activity list.": "A name that identifies this step in the server's activity list.","New Row": "New Row",- "triggered when a new row is added": "triggered when a new row is added",- "Column to order by": "Column to order by",+ "Triggers when a new row is added to a table": "Triggers when a new row is added to a table",+ "Order By Column": "Order By Column","Order Direction": "Order Direction",- "**NOTE:** The trigger fetches the latest rows using the provided order by column (newest first), and then will keep polling until the previous last row is reached.": "**NOTE:** The trigger fetches the latest rows using the provided order by column (newest first), and then will keep polling until the previous last row is reached.",- "Use something like a created timestamp or an auto-incrementing ID.": "Use something like a created timestamp or an auto-incrementing ID.",- "The direction to sort by such that the newest rows are fetched first.": "The direction to sort by such that the newest rows are fetched first.",+ "Each check reads rows in the order below and stops at the last row it already saw.": "Each check reads rows in the order below and stops at the last row it already saw.",+ "Use a created timestamp or an auto-increment ID.": "Use a created timestamp or an auto-increment ID.",+ "Descending when newer rows have larger values, like dates and IDs.": "Descending when newer rows have larger values, like dates and IDs.","Ascending": "Ascending",- "Descending": "Descending"+ "Descending": "Descending",+ "Rows to find": "Rows to find",+ "What to return": "What to return",+ "Row to insert": "Row to insert",+ "Data to insert": "Data to insert",+ "Rows to update": "Rows to update",+ "Changes": "Changes",+ "Rows to delete": "Rows to delete",+ "SQL statement": "SQL statement",+ "What to watch": "What to watch",+ "Finding new rows": "Finding new rows"}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/i18n/zh.json b/packages/pieces/community/postgres/src/i18n/zh.jsonindex 0e447bdb4c7..75adbde1b25 100644--- a/packages/pieces/community/postgres/src/i18n/zh.json+++ b/packages/pieces/community/postgres/src/i18n/zh.json@@ -70,5 +70,54 @@"Use something like a created timestamp or an auto-incrementing ID.": "Use something like a created timestamp or an auto-incrementing ID.","The direction to sort by such that the newest rows are fetched first.": "The direction to sort by such that the newest rows are fetched first.","Ascending": "升序",- "Descending": "降序"+ "Descending": "降序",+ "Verify Server Certificate": "验证服务器证书",+ "The server's hostname or IP address.": "服务器的主机名或 IP 地址。",+ "The port the server listens on, usually 5432.": "服务器监听的端口,通常为 5432。",+ "The database user to sign in as.": "用于登录的数据库用户。",+ "The password for that user.": "该用户的密码。",+ "The name of the database to connect to.": "要连接的数据库名称。",+ "Encrypt the connection. Most hosted databases require it.": "加密连接。大多数托管数据库都要求这样做。",+ "Check the server's certificate. Self-signed servers need a CA below.": "检查服务器证书。自签名服务器需要在下方提供 CA。",+ "The CA certificate (PEM) to trust when verifying the server.": "验证服务器时信任的 CA 证书 (PEM)。",+ "Runs a SQL statement on the database": "在数据库上运行 SQL 语句",+ "Connection Timeout": "连接超时",+ "Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "切勿在条件中直接输入动态值。请写 $1、$2,并把值放在 Arguments 中,以防止 SQL 注入。",+ "The SQL after WHERE. Leave empty to read every row.": "WHERE 之后的 SQL。留空则读取所有行。",+ "Values for $1, $2 and so on in the condition, in order.": "条件中 $1、$2 等占位符的值,按顺序填写。",+ "Leave empty to return every column.": "留空则返回所有列。",+ "Maximum rows to return. Clear it to return every matching row.": "最多返回的行数。清空则返回所有匹配的行。",+ "Return the stored row with generated ids. Needs SELECT permission too.": "返回带有生成 ID 的已存储行。还需要 SELECT 权限。",+ "Return inserted rows with generated ids. Needs SELECT permission too.": "返回带有生成 ID 的已插入行。还需要 SELECT 权限。",+ "Columns you leave out keep their current value.": "未填写的列保留其当前值。",+ "Return every updated row. The row count is always returned.": "返回每一条更新的行。始终会返回行数。",+ "Every matching row is deleted, and this cannot be undone.": "每一条匹配的行都会被删除,且无法撤销。",+ "Return every deleted row. The row count is always returned.": "返回每一条删除的行。始终会返回行数。",+ "Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.": "切勿在查询中直接输入动态值。请写 $1、$2,并把值放在 Arguments 中,以防止 SQL 注入。",+ "The SQL to run. Write $1, $2 where each value goes.": "要运行的 SQL。在每个值的位置写 $1、$2。",+ "Values for $1, $2 and so on in the query, in order.": "查询中 $1、$2 等占位符的值,按顺序填写。",+ "Milliseconds to wait for the query before it fails.": "等待查询的毫秒数,超时则失败。",+ "Milliseconds to wait for the connection before it fails.": "等待连接的毫秒数,超时则失败。",+ "A name that identifies this step in the server's activity list.": "在服务器活动列表中标识此步骤的名称。",+ "Triggers when a new row is added to a table": "当表中新增一行时触发",+ "Order By Column": "排序列",+ "Each check reads rows in the order below and stops at the last row it already saw.": "每次检查按下方顺序读取行,并在上次看到的最后一行处停止。",+ "Use a created timestamp or an auto-increment ID.": "使用创建时间戳或自增 ID。",+ "Descending when newer rows have larger values, like dates and IDs.": "若较新的行值更大(如日期和 ID),选择降序。",+ "Rows to find": "要查找的行",+ "What to return": "返回内容",+ "Row to insert": "要插入的行",+ "Data to insert": "要插入的数据",+ "Rows to update": "要更新的行",+ "Changes": "更改",+ "Rows to delete": "要删除的行",+ "SQL statement": "SQL 语句",+ "What to watch": "监视对象",+ "Finding new rows": "查找新行",+ "Insert Multiple Rows": "插入多行",+ "Inserts many rows into a table in a single transaction": "在单个事务中向表中插入多行",+ "Rows": "行",+ "Keep Empty Strings": "保留空字符串",+ "Return Inserted Rows": "返回插入的行",+ "Insert empty fields as empty strings instead of the column default.": "将空字段作为空字符串插入,而不是使用列默认值。"}\ No newline at end of filediff --git a/packages/pieces/community/postgres/src/index.ts b/packages/pieces/community/postgres/src/index.tsindex 79672aede89..15dda94279e 100644--- a/packages/pieces/community/postgres/src/index.ts+++ b/packages/pieces/community/postgres/src/index.ts@@ -19,51 +19,48 @@ export const postgresAuth = PieceAuth.CustomAuth({host: Property.ShortText({displayName: 'Host',required: true,- description:- ' A string indicating the hostname of the PostgreSQL server to connect to.',+ description: "The server's hostname or IP address.",+ placeholder: 'db.example.com',}),port: Property.Number({displayName: 'Port',defaultValue: 5432,- description:- 'An integer indicating the port of the PostgreSQL server to connect to.',+ description: 'The port the server listens on, usually 5432.',required: true,}),user: Property.ShortText({displayName: 'User',required: true,- description:- 'A string indicating the user to authenticate as when connecting to the PostgreSQL server.',+ description: 'The database user to sign in as.',}),password: PieceAuth.SecretText({displayName: 'Password',- description:- 'A string indicating the password to use for authentication.',+ description: 'The password for that user.',required: true,}),database: Property.ShortText({displayName: 'Database',- description:- 'A string indicating the name of the database to connect to.',+ description: 'The name of the database to connect to.',required: true,}),enable_ssl: Property.Checkbox({displayName: 'Enable SSL',- description: 'Connect to the postgres database over SSL',+ description: 'Encrypt the connection. Most hosted databases require it.',required: true,defaultValue: true,}),reject_unauthorized: Property.Checkbox({- displayName: 'Verify server certificate',+ displayName: 'Verify Server Certificate',description:- 'Verify the server certificate against trusted CAs or a CA provided in the certificate field below. This will fail if the database server is using a self signed certificate.',+ "Check the server's certificate. Self-signed servers need a CA below.",required: true,defaultValue: false,}),certificate: Property.LongText({displayName: 'Certificate',description:- 'The CA certificate to use for verification of server certificate.',+ 'The CA certificate (PEM) to trust when verifying the server.',+ placeholder: '-----BEGIN CERTIFICATE-----',defaultValue: '',required: false,}),@@ -80,7 +77,7 @@ export const postgresAuth = PieceAuth.CustomAuth({catch (e) {return {valid: false,- error: JSON.stringify(e)+ error: e instanceof Error && e.message ? e.message : JSON.stringify(e)};}return {@@ -92,7 +89,7 @@ export const postgresAuth = PieceAuth.CustomAuth({export const postgres = createPiece({displayName: 'Postgres',description: "The world's most advanced open-source relational database",- minimumSupportedRelease: '0.30.0',+ minimumSupportedRelease: '0.88.2',categories: [PieceCategory.DEVELOPER_TOOLS],logoUrl: 'https://cdn.activepieces.com/pieces/postgres.png',authors: ["AbdullahBitar", "Willianwg", "dentych", "kishanprmr", "AbdulTheActivePiecer", "khaledmashaly", "abuaboud"],diff --git a/packages/pieces/community/postgres/src/lib/actions/delete-row.ts b/packages/pieces/community/postgres/src/lib/actions/delete-row.tsindex e1dc66eb4d3..8867ef52a78 100644--- a/packages/pieces/community/postgres/src/lib/actions/delete-row.ts+++ b/packages/pieces/community/postgres/src/lib/actions/delete-row.ts@@ -1,4 +1,4 @@-import { createAction, Property } from '@activepieces/pieces-framework';+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';import { postgresAuth } from '../..';import { pgClient, postgresCommon, postgresUtils } from '../common';import { deleteRowOutputSchema } from '../output-schemas';@@ -15,7 +15,20 @@ export const deleteRow = createAction({description: 'Deletes every row in a PostgreSQL table whose search column equals a given value, and returns how many rows were removed. Use to remove records matched by a single column. Enable Return Deleted Rows to also get the deleted rows back, but leave it off when the delete can match many rows. Idempotent: once the matching rows are gone, re-running with the same input deletes nothing further.',idempotent: true,},+ propertyGroups: [+ {+ key: 'match',+ display: 'section',+ label: 'Rows to delete',+ icon: 'trash',+ props: ['delete_warning', 'table', 'search_column', 'search_value'],+ },+ ],props: {+ delete_warning: Property.MarkDown({+ value: 'Every matching row is deleted, and this cannot be undone.',+ variant: MarkdownVariant.WARNING,+ }),table: postgresCommon.table,search_column: postgresCommon.column({displayName: 'Search Column',@@ -28,9 +41,10 @@ export const deleteRow = createAction({}),return_rows: Property.Checkbox({displayName: 'Return Deleted Rows',- description: 'Return every deleted row in the output. Leave off when the delete can match a large number of rows — the row count is always returned.',+ description: 'Return every deleted row. The row count is always returned.',required: false,defaultValue: false,+ advanced: true,}),},async run(context) {diff --git a/packages/pieces/community/postgres/src/lib/actions/find-rows.ts b/packages/pieces/community/postgres/src/lib/actions/find-rows.tsindex bd3f7bda7e8..0e59ab43b5a 100644--- a/packages/pieces/community/postgres/src/lib/actions/find-rows.ts+++ b/packages/pieces/community/postgres/src/lib/actions/find-rows.ts@@ -15,23 +15,40 @@ export const findRows = createAction({description: 'Reads rows from a PostgreSQL table, optionally narrowed by a SQL WHERE condition and limited to specific columns. Use to look up or filter records by arbitrary criteria. Returns at most 100 rows unless limit is raised or cleared. The condition is interpolated raw into the query, so pass dynamic values through the args array and reference them as $1, $2 placeholders to avoid SQL injection. Read-only and idempotent.',idempotent: true,},+ propertyGroups: [+ {+ key: 'rows',+ display: 'section',+ label: 'Rows to find',+ icon: 'filter',+ props: ['markdown', 'table', 'condition', 'args'],+ },+ {+ key: 'result',+ display: 'section',+ label: 'What to return',+ icon: 'sliders',+ props: ['columns', 'limit'],+ },+ ],props: {markdown: warningMarkdown,table: postgresCommon.table,condition: Property.ShortText({displayName: 'Condition',- description: 'SQL condition without the WHERE keyword, such as `status = $1 AND age > $2`. Leave empty to read every row.',+ description: 'The SQL after WHERE. Leave empty to read every row.',+ placeholder: 'status = $1 AND age > $2',required: false,}),args: Property.Array({displayName: 'Arguments',- description: 'Values for the $1, $2, ... placeholders used in the condition.',+ description: 'Values for $1, $2 and so on in the condition, in order.',required: false,}),columns: postgresCommon.columns,limit: Property.Number({displayName: 'Limit',- description: 'The maximum number of rows to return. Raise it to read more, or clear the field to return every matching row.',+ description: 'Maximum rows to return. Clear it to return every matching row.',required: false,defaultValue: 100,}),diff --git a/packages/pieces/community/postgres/src/lib/actions/insert-row.ts b/packages/pieces/community/postgres/src/lib/actions/insert-row.tsindex 7f75423d8df..680630dd5da 100644--- a/packages/pieces/community/postgres/src/lib/actions/insert-row.ts+++ b/packages/pieces/community/postgres/src/lib/actions/insert-row.ts@@ -15,6 +15,15 @@ export const insertRow = createAction({description: 'Inserts a single row into a PostgreSQL table from a map of column names to values, and by default returns the inserted row as stored by the database (including defaults and generated ids). Use to add a record. Turn off Return Inserted Row when the connection only has INSERT permission, since returning the row also needs SELECT. Not idempotent: each call performs a fresh INSERT, so repeating it adds duplicate rows or errors on a unique-key collision.',idempotent: false,},+ propertyGroups: [+ {+ key: 'row',+ display: 'section',+ label: 'Row to insert',+ icon: 'inbox',+ props: ['table', 'values'],+ },+ ],props: {table: postgresCommon.table,values: Property.Object({@@ -24,8 +33,9 @@ export const insertRow = createAction({}),return_row: Property.Checkbox({displayName: 'Return Inserted Row',- description: 'Return the stored row, including generated ids and column defaults. Requires SELECT permission on the table as well as INSERT — turn this off for an append-only role.',+ description: 'Return the stored row with generated ids. Needs SELECT permission too.',required: false,+ advanced: true,defaultValue: true,}),},diff --git a/packages/pieces/community/postgres/src/lib/actions/insert-rows.ts b/packages/pieces/community/postgres/src/lib/actions/insert-rows.tsindex 1cb8f3fb96d..4a291f539f8 100644--- a/packages/pieces/community/postgres/src/lib/actions/insert-rows.ts+++ b/packages/pieces/community/postgres/src/lib/actions/insert-rows.ts@@ -16,6 +16,15 @@ export const insertRows = createAction({description: 'Inserts an array of rows into a PostgreSQL table, each row a map of column names to values, using multi-row INSERT statements inside one transaction: if any row fails, none are inserted. Columns a row omits get the column default. Returns the inserted count and, when Return Inserted Rows is on, the stored rows including generated ids. Use instead of repeated single inserts for bulk loads. Not idempotent: each call appends new rows, so repeating it adds duplicates or errors on a unique-key collision.',idempotent: false,},+ propertyGroups: [+ {+ key: 'rows',+ display: 'section',+ label: 'Data to insert',+ icon: 'inbox',+ props: ['table', 'batch'],+ },+ ],props: {table: postgresCommon.table,batch: Property.DynamicProperties({@@ -56,12 +65,14 @@ export const insertRows = createAction({displayName: 'Keep Empty Strings',description: 'Insert empty fields as empty strings instead of the column default.',required: false,+ advanced: true,defaultValue: false,}),return_rows: Property.Checkbox({displayName: 'Return Inserted Rows',- description: 'Return the inserted rows, including generated ids. Needs SELECT permission on the table.',+ description: 'Return inserted rows with generated ids. Needs SELECT permission too.',required: false,+ advanced: true,defaultValue: false,}),},diff --git a/packages/pieces/community/postgres/src/lib/actions/run-query.ts b/packages/pieces/community/postgres/src/lib/actions/run-query.tsindex 57c9fb782dc..a839e4262c7 100644--- a/packages/pieces/community/postgres/src/lib/actions/run-query.ts+++ b/packages/pieces/community/postgres/src/lib/actions/run-query.ts@@ -1,5 +1,4 @@-import { createAction, Property } from '@activepieces/pieces-framework';-import pg from 'pg';+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';import { postgresAuth } from '../..';import { pgClient } from '../common';@@ -8,47 +7,57 @@ export const runQuery = createAction({name: 'run-query',classification: 'WRITE',displayName: 'Run Query',- description: 'Run Query',+ description: 'Runs a SQL statement on the database',audience: 'both',aiMetadata: {description: 'Executes an arbitrary SQL statement against the connected PostgreSQL database and returns the resulting rows. Use this to read, write, or otherwise operate on a Postgres database when no more specific tool fits. Always pass dynamic values via the args array with $1/$2 placeholders (never string-interpolate them) to avoid SQL injection. Not idempotent: the statement can be a mutation (INSERT/UPDATE/DELETE/DDL), so repeating the same call may change data or have side effects each time.',idempotent: false,},+ propertyGroups: [+ {+ key: 'sql',+ display: 'section',+ label: 'SQL statement',+ icon: 'code',+ props: ['markdown', 'query', 'args'],+ },+ ],props: {markdown: Property.MarkDown({- value: `- **DO NOT** insert dynamic input directly into the query string. Instead, use $1, $2, $3 and add them in args for parameterized queries to prevent **SQL injection.**`+ value: 'Never type dynamic values into the query. Write $1, $2 and put the values in Arguments to prevent SQL injection.',+ variant: MarkdownVariant.WARNING,}),query: Property.ShortText({displayName: 'Query',- description: 'Please use $1, $2, etc. for parameterized queries to avoid SQL injection.',+ description: 'The SQL to run. Write $1, $2 where each value goes.',+ placeholder: 'SELECT * FROM orders WHERE id = $1',required: true,}),args: Property.Array({displayName: 'Arguments',- description: 'Arguments to be used in the query',+ description: 'Values for $1, $2 and so on in the query, in order.',required: false,}),query_timeout: Property.Number({displayName: 'Query Timeout',- description:- 'An integer indicating the maximum number of milliseconds to wait for a query to complete before timing out.',+ description: 'Milliseconds to wait for the query before it fails.',required: false,defaultValue: 30000,+ advanced: true,}),connection_timeout_ms: Property.Number({- displayName: 'Connection Timeout (ms)',- description:- 'An integer indicating the maximum number of milliseconds to wait for a connection to be established before timing out.',+ displayName: 'Connection Timeout',+ description: 'Milliseconds to wait for the connection before it fails.',required: false,defaultValue: 30000,+ advanced: true,}),application_name: Property.ShortText({displayName: 'Application Name',- description:- 'A string indicating the name of the client application connecting to the server.',+ description: "A name that identifies this step in the server's activity list.",required: false,+ advanced: true,}),},async run(context) {@@ -59,15 +68,11 @@ export const runQuery = createAction({${query}`const args = context.propsValue.args || [];- return new Promise((resolve, reject) => {- client.query(queryWithMetadata, args, function (error: any, results: { rows: unknown }) {- if (error) {- client.end();- return reject(error);- }- resolve(results.rows);- client.end();- });- });+ try {+ const result = await client.query(queryWithMetadata, args);+ return result.rows;+ } finally {+ await client.end();+ }},});diff --git a/packages/pieces/community/postgres/src/lib/actions/update-row.ts b/packages/pieces/community/postgres/src/lib/actions/update-row.tsindex 8bf95fe82e3..4b2337c9f50 100644--- a/packages/pieces/community/postgres/src/lib/actions/update-row.ts+++ b/packages/pieces/community/postgres/src/lib/actions/update-row.ts@@ -1,4 +1,4 @@-import { createAction, Property } from '@activepieces/pieces-framework';+import { createAction, MarkdownVariant, Property } from '@activepieces/pieces-framework';import { postgresAuth } from '../..';import { pgClient, postgresCommon, postgresUtils } from '../common';import { updateRowOutputSchema } from '../output-schemas';@@ -15,8 +15,28 @@ export const updateRow = createAction({description: 'Updates every row in a PostgreSQL table whose search column equals a given value, setting the supplied column-to-value pairs, and returns how many rows changed. Use to modify existing records matched by a single column. Enable Return Updated Rows to also get the rows themselves back, but leave it off when the update can match many rows. Idempotent: re-running with the same input writes the same values and has no additional effect.',idempotent: true,},+ propertyGroups: [+ {+ key: 'match',+ display: 'section',+ label: 'Rows to update',+ icon: 'filter',+ props: ['table', 'search_column', 'search_value'],+ },+ {+ key: 'changes',+ display: 'section',+ label: 'Changes',+ icon: 'text',+ props: ['changes_info', 'values'],+ },+ ],props: {table: postgresCommon.table,+ changes_info: Property.MarkDown({+ value: 'Columns you leave out keep their current value.',+ variant: MarkdownVariant.INFO,+ }),values: Property.Object({displayName: 'Values',description: 'Column names mapped to their new values.',@@ -33,9 +53,10 @@ export const updateRow = createAction({}),return_rows: Property.Checkbox({displayName: 'Return Updated Rows',- description: 'Return every updated row in the output. Leave off when the update can match a large number of rows — the row count is always returned.',+ description: 'Return every updated row. The row count is always returned.',required: false,defaultValue: false,+ advanced: true,}),},async run(context) {diff --git a/packages/pieces/community/postgres/src/lib/common.ts b/packages/pieces/community/postgres/src/lib/common.tsindex fe517ad2246..4dbdc4c9ac6 100644--- a/packages/pieces/community/postgres/src/lib/common.ts+++ b/packages/pieces/community/postgres/src/lib/common.ts@@ -1,4 +1,4 @@-import { AppConnectionValueForAuthProperty, Property } from "@activepieces/pieces-framework";+import { AppConnectionValueForAuthProperty, MarkdownVariant, Property } from "@activepieces/pieces-framework";import { postgresAuth } from "..";import { Client } from "pg";import format from "pg-format";@@ -72,8 +72,8 @@ const qualifiedName = (table: PostgresTable): string => format('%I.%I', table.taconst quoteIdentifier = (name: string): string => name === '*' ? name : format.ident(name);export const warningMarkdown = Property.MarkDown({- value: `- **DO NOT** insert dynamic input directly into the condition. Use **$1**, **$2**, etc. in the condition and pass the values in Arguments for parameterized queries to prevent **SQL injection.**`,+ value: 'Never type dynamic values into the condition. Write $1, $2 and put the values in Arguments to prevent SQL injection.',+ variant: MarkdownVariant.WARNING,});export const postgresCommon = {@@ -150,7 +150,7 @@ export const postgresCommon = {columns: Property.MultiSelectDropdown<string, false, typeof postgresAuth>({auth: postgresAuth,displayName: 'Columns',- description: 'The columns to return. Leave empty to return every column.',+ description: 'Leave empty to return every column.',required: false,refreshers: ['table'],options: async ({ auth, table }) => {diff --git a/packages/pieces/community/postgres/src/lib/triggers/new-row.ts b/packages/pieces/community/postgres/src/lib/triggers/new-row.tsindex 03e4ffe6bec..f6c4c3cf965 100644--- a/packages/pieces/community/postgres/src/lib/triggers/new-row.ts+++ b/packages/pieces/community/postgres/src/lib/triggers/new-row.ts@@ -1,5 +1,5 @@-import { createTrigger, TriggerStrategy, Property, AppConnectionValueForAuthProperty } from '@activepieces/pieces-framework';+import { createTrigger, TriggerStrategy, Property, AppConnectionValueForAuthProperty, MarkdownVariant } from '@activepieces/pieces-framework';import { DedupeStrategy, Polling, pollingHelper } from '@activepieces/pieces-common';import crypto from 'crypto';import { postgresAuth } from '../..';@@ -23,8 +23,8 @@ const polling: Polling<AppConnectionValueForAuthProperty<typeof postgresAuth>, {const result = await client.query(query);const items = result.rows.map(function (row) {const rowHash = crypto.createHash('md5').update(JSON.stringify(row)).digest('hex');- const isTimestamp = dayjs(row[propsValue.order_by]).isValid();- const orderValue = isTimestamp ? dayjs(row[propsValue.order_by]).toISOString() : row[propsValue.order_by];+ const value = row[propsValue.order_by];+ const orderValue = value instanceof Date && dayjs(value).isValid() ? dayjs(value).toISOString() : value;return {id: orderValue + '|' + rowHash,data: row,@@ -72,23 +72,25 @@ export const newRow = createTrigger({classification: 'READ',auth: postgresAuth,displayName: 'New Row',- description: 'triggered when a new row is added',+ description: 'Triggers when a new row is added to a table',aiMetadata: {description: 'Fires when a new row appears in a selected PostgreSQL table, detected by polling and ordering on a chosen column (such as a created timestamp or auto-incrementing ID). Each event represents one newly inserted row and carries that row\'s data.',},props: {description: Property.MarkDown({- value: `**NOTE:** The trigger fetches the latest rows using the provided order by column (newest first), and then will keep polling until the previous last row is reached.`,+ value: 'Each check reads rows in the order below and stops at the last row it already saw.',+ variant: MarkdownVariant.INFO,}),table: postgresCommon.table,order_by: postgresCommon.column({- displayName: 'Column to order by',- description: 'Use something like a created timestamp or an auto-incrementing ID.',+ displayName: 'Order By Column',+ description: 'Use a created timestamp or an auto-increment ID.',}),order_direction: Property.StaticDropdown<OrderDirection>({displayName: 'Order Direction',- description: 'The direction to sort by such that the newest rows are fetched first.',+ description: 'Descending when newer rows have larger values, like dates and IDs.',required: true,+ display: 'cards',options: {options: [{@@ -104,6 +106,10 @@ export const newRow = createTrigger({defaultValue: 'DESC',}),},+ propertyGroups: [+ { key: 'table', display: 'section', label: 'What to watch', icon: 'inbox', props: ['table'] },+ { key: 'order', display: 'section', label: 'Finding new rows', icon: 'sliders', props: ['description', 'order_by', 'order_direction'] },+ ],sampleData: {},type: TriggerStrategy.POLLING,async test(context) {