⚡ Replace PNG icons with SVG and optimize (#1890)
* 🎨 Replace PNG icons with SVG icons * ⚡ Fix size of bitbucket icon * ⚡ Optimize svgs Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ export class MySql implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'MySQL',
|
||||
name: 'mySql',
|
||||
icon: 'file:mysql.png',
|
||||
icon: 'file:mysql.svg',
|
||||
group: ['input'],
|
||||
version: 1,
|
||||
description: 'Get, add and update data in MySQL.',
|
||||
@@ -288,7 +288,7 @@ export class MySql implements INodeType {
|
||||
|
||||
const insertSQL = `INSERT ${insertPriority || ''} ${insertIgnore ? 'IGNORE' : ''} INTO ${table}(${columnString}) VALUES ${items.map(item => insertPlaceholder).join(',')};`;
|
||||
const queryItems = insertItems.reduce((collection, item) => collection.concat(Object.values(item as any)), []); // tslint:disable-line:no-any
|
||||
|
||||
|
||||
const queryResult = await connection.query(insertSQL, queryItems);
|
||||
|
||||
returnItems = this.helpers.returnJsonArray(queryResult[0] as unknown as IDataObject);
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB |
1
packages/nodes-base/nodes/MySql/mysql.svg
Normal file
1
packages/nodes-base/nodes/MySql/mysql.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 81 80" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#a" x=".5" y=".5"/><symbol id="a" overflow="visible"><path d="M73.689 60.737c-4.353-.109-7.726.327-10.556 1.524-.816.326-2.122.327-2.231 1.36.436.436.49 1.143.871 1.741.653 1.088 1.795 2.557 2.829 3.319 1.142.87 2.285 1.741 3.482 2.503 2.122 1.306 4.516 2.068 6.584 3.373 1.197.761 2.394 1.741 3.591 2.557.599.435.979 1.142 1.741 1.415v-.163c-.381-.49-.49-1.197-.87-1.741-.544-.544-1.088-1.034-1.632-1.578-1.578-2.122-3.537-3.972-5.659-5.495-1.741-1.197-5.55-2.829-6.257-4.843l-.109-.109c1.197-.109 2.612-.544 3.754-.871 1.85-.49 3.537-.381 5.441-.87a47.87 47.87 0 002.612-.762v-.489c-.979-.98-1.687-2.285-2.72-3.21-2.775-2.395-5.822-4.734-8.978-6.692-1.687-1.088-3.863-1.796-5.659-2.721-.653-.327-1.741-.49-2.122-1.034-.98-1.197-1.524-2.775-2.231-4.19-1.577-2.993-3.101-6.311-4.462-9.467-.979-2.122-1.578-4.244-2.775-6.203-5.604-9.25-11.698-14.854-21.057-20.35-2.013-1.142-4.407-1.632-6.964-2.231l-4.081-.218c-.87-.381-1.741-1.415-2.503-1.904C10.627 1.43 2.629-2.813.343 2.791c-1.469 3.536 2.177 7.018 3.428 8.814.925 1.251 2.122 2.666 2.775 4.081.381.924.489 1.904.87 2.884.871 2.394 1.687 5.06 2.829 7.291.599 1.142 1.251 2.34 2.013 3.373.435.598 1.197.871 1.36 1.85-.762 1.088-.816 2.721-1.252 4.081-1.959 6.148-1.197 13.766 1.578 18.282.87 1.36 2.938 4.353 5.713 3.21 2.448-.979 1.904-4.081 2.612-6.801.164-.653.055-1.088.381-1.523v.109l2.231 4.516c1.687 2.666 4.625 5.441 7.073 7.291 1.306.979 2.34 2.666 3.972 3.265v-.164h-.109c-.327-.49-.816-.707-1.251-1.088-.979-.979-2.068-2.176-2.829-3.265-2.285-3.047-4.299-6.42-6.094-9.903-.87-1.687-1.632-3.537-2.34-5.223-.327-.653-.327-1.632-.871-1.959-.816 1.197-2.013 2.231-2.612 3.7-1.033 2.34-1.142 5.223-1.523 8.216-.217.055-.109 0-.218.109-1.741-.436-2.34-2.231-2.993-3.754-1.632-3.863-1.904-10.066-.489-14.527.381-1.143 2.013-4.734 1.36-5.822-.326-1.034-1.415-1.632-2.013-2.448-.707-1.034-1.469-2.34-1.959-3.482-1.306-3.047-1.959-6.42-3.373-9.468-.653-1.415-1.795-2.884-2.721-4.189-1.031-1.471-2.174-2.505-2.99-4.246-.272-.598-.653-1.578-.218-2.231.109-.435.326-.598.762-.707.707-.599 2.721.163 3.428.489 2.013.816 3.7 1.578 5.387 2.721.762.544 1.578 1.578 2.557 1.85h1.143c1.741.381 3.7.109 5.332.598 2.884.925 5.495 2.285 7.835 3.754 7.128 4.516 13.004 10.937 16.976 18.608.653 1.251.925 2.394 1.523 3.7 1.143 2.666 2.557 5.387 3.7 7.998 1.142 2.557 2.231 5.169 3.863 7.291.816 1.142 4.081 1.741 5.55 2.34 1.088.489 2.775.925 3.754 1.523 1.85 1.142 3.7 2.448 5.441 3.7.871.653 3.591 2.013 3.754 3.101zM18.19 13.455a8.61 8.61 0 00-2.231.272v.109h.109c.436.87 1.197 1.469 1.741 2.231l1.252 2.612.109-.109c.762-.544 1.143-1.415 1.143-2.721-.327-.381-.381-.762-.653-1.143-.326-.544-1.034-.816-1.469-1.252z" stroke="none" fill="#00546b" fill-rule="nonzero"/></symbol></svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user