mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 22:54:05 -08:00
443c2a4d51
* ⚡ introduce versioned nodes * Export versioned nodes for separate process run * Add bse node for versioned nodes * fix node name for versioned nodes * extend node from nodeVersionedType * improve nodes base and flow to FE * revert lib es2019 to es2017 * include version in key to prevent duplicate key * handle type versions on FE * clean up * cleanup nodes base * add type versions in getNodeParameterOptions * cleanup * code review * code review + add default version to node type description * remove node default types from store * 💄 cleanups * Draft for migrated Mattermost node * First version of Mattermost node versioned according to node standards * Correcting deactivate operations name to match currently used one * ✨ Create utility types * ⚡ Simplify Mattermost types * ⚡ Rename exports for consistency * ⚡ Type channel properties * ⚡ Type message properties * ⚡ Type reaction properties * ⚡ Type user properties * ⚡ Add type import to router * 🐛 Add missing key * 🔨 Adjust typo in operation name * 🔨 Inline exports for channel properties * 🔨 Inline exports for message properties * 🔨 Inline exports for reaction properties * 🔨 Inline exports for user properties * 🔨 Inline exports for load options * 👕 Fix lint issue * 🔨 Inline export for description * 🔨 Rename descriptions for clarity * 🔨 Refactor imports/exports for methods * 🔨 Refactor latest version retrieval * 🔥 Remove unneeded else clause When the string literal union is exhausted, the resource key becomes never, so TS disallows wrong key usage. * ✨ Add overloads to getNodeParameter * ⚡ Improve overload * 🔥 Remove superfluous INodeVersions type * 🔨 Relocate pre-existing interface * 🔥 Remove JSDoc arg descriptions * ⚡ Minor reformatting in transport file * ⚡ Fix API call function type * Created first draft for Axios requests * Working version of mattermost node with Axios * Work in progress for replacing request library * Improvements to request translations * Fixed sending files via multipart / form-data * Fixing translation from request to axios and loading node parameter options * Improved typing for new http helper * Added ignore any for specific lines for linting * Fixed follow redirects changes on http request node and manual execution of previously existing workflow with older node versions * Adding default headers according to body on httpRequest helper * Spec error handling and fixed workflows with older node versions * Showcase how to export errors in a standard format * Merging master * Refactored mattermost node to keep files in a uniform structure. Also fix bugs with merges * Reverting changes to http request node * Changed nullish comparison and removed repeated code from nodes * Renamed queryString back to qs and simplified node output * Simplified some comparisons * Changed header names to be uc first * Added default user agent to requests and patch http method support * Fixed indentation, remove unnecessary file and console log * Fixed mattermost node name * Fixed lint issues * Further fix linting issues * Further fix lint issues * Fixed http request helper's return type Co-authored-by: ahsan-virani <[email protected]> Co-authored-by: Iván Ovejero <[email protected]>
1 line
8.6 KiB
XML
1 line
8.6 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="85" height="85" style="-ms-transform:rotate(360deg);-webkit-transform:rotate(360deg)" transform="rotate(360)"><path d="M42.642.004l.538.011-5.753 6.8c-10.65 1.925-19.847 9.197-23.46 19.874-5.378 15.885 3.635 33.29 20.131 38.874 16.496 5.584 34.228-2.767 39.605-18.651 3.55-10.487.828-21.636-6.179-29.61l-.312-.349-.442-8.926c14.507 10.53 21.161 29.638 15.111 47.51-7.446 21.995-31.312 33.788-53.306 26.343C6.58 74.434-5.215 50.568 2.23 28.574 8.23 10.852 24.89-.247 42.641.004zM190.4 28.314c5.554 0 9.893 1.335 13.017 4.006 3.124 2.67 4.686 6.941 4.686 12.815v24.03c-1.87.588-4.14 1.149-6.81 1.683-2.669.534-5.686.8-9.05.8-2.724 0-5.22-.239-7.49-.72-2.27-.48-4.22-1.282-5.846-2.403a11.318 11.318 0 01-3.767-4.325c-.88-1.763-1.32-3.925-1.32-6.489 0-2.563.547-4.712 1.641-6.448a12.659 12.659 0 014.245-4.165c1.736-1.042 3.672-1.789 5.808-2.243a30.728 30.728 0 016.408-.68c1.549 0 3.257.08 5.127.24v-.962c0-1.28-.214-2.323-.641-3.124a4.783 4.783 0 00-1.762-1.881c-.748-.455-1.67-.762-2.763-.922a25.3 25.3 0 00-3.646-.24c-2.883 0-5.954.56-9.21 1.682-.75-1.389-1.31-2.698-1.683-3.926-.373-1.228-.561-2.696-.561-4.406 2.35-.8 4.7-1.387 7.048-1.76 2.35-.375 4.54-.562 6.569-.562zm-30.328-12.202c2.198 0 4.309.161 6.334.483l2.95 54.57c-2.197.323-4.28.484-6.247.484a34.82 34.82 0 01-5.813-.483l-1.563-39.455-12.67 27.27c-.81.107-1.648.202-2.517.281-.867.081-1.734.12-2.603.12-.752 0-1.503-.025-2.255-.08a18.942 18.942 0 01-2.344-.322l-11.8-27.835-1.215 40.02a31.291 31.291 0 01-5.381.484c-1.851 0-3.76-.16-5.727-.483l2.43-54.57a48.504 48.504 0 016.681-.484c2.257 0 4.484.161 6.682.483l14.319 29.718 14.751-29.718c1.794-.322 3.789-.483 5.988-.483zm130.834 12.202c2.883 0 5.447.507 7.689 1.522 2.243 1.014 4.152 2.404 5.727 4.166 1.576 1.761 2.765 3.858 3.566 6.287.8 2.43 1.2 5.034 1.2 7.81 0 1.015-.039 2.017-.12 3.005a25.251 25.251 0 01-.28 2.363h-26.594c.215 3.203 1.335 5.526 3.365 6.968 2.029 1.442 4.699 2.163 8.01 2.163 1.816 0 3.671-.174 5.567-.522a31.577 31.577 0 005.407-1.48c.588 1.068 1.095 2.348 1.522 3.844.427 1.494.667 3.097.72 4.806-4.165 1.602-8.864 2.403-14.098 2.403-3.844 0-7.141-.534-9.892-1.602-2.75-1.068-4.992-2.55-6.728-4.446-1.736-1.895-3.018-4.151-3.845-6.769-.828-2.616-1.24-5.472-1.24-8.57 0-3.043.425-5.9 1.28-8.57.853-2.672 2.122-4.994 3.805-6.97 1.682-1.976 3.765-3.538 6.248-4.686 2.483-1.148 5.38-1.722 8.69-1.722zm136.092 0c3.364 0 6.3.561 8.81 1.682 2.51 1.123 4.592 2.657 6.25 4.606 1.654 1.95 2.882 4.26 3.684 6.929.8 2.67 1.201 5.527 1.201 8.57 0 3.045-.4 5.874-1.201 8.491-.802 2.617-2.03 4.9-3.685 6.848-1.657 1.95-3.739 3.473-6.249 4.567-2.51 1.094-5.446 1.642-8.81 1.642-3.365 0-6.289-.548-8.77-1.642-2.485-1.094-4.54-2.617-6.17-4.567-1.628-1.948-2.856-4.231-3.684-6.848-.828-2.617-1.241-5.446-1.241-8.49 0-3.044.413-5.902 1.241-8.571.828-2.67 2.056-4.98 3.685-6.929 1.628-1.95 3.684-3.483 6.168-4.606 2.482-1.12 5.406-1.682 8.77-1.682zm41.277 0c2.082 0 4.138.187 6.167.561a39.33 39.33 0 016.168 1.682 21.827 21.827 0 01-.802 4.325c-.426 1.496-.933 2.804-1.52 3.926a31.632 31.632 0 00-4.247-1.402 19.458 19.458 0 00-4.885-.601c-1.816 0-3.23.28-4.246.841-1.015.56-1.521 1.455-1.521 2.683 0 1.175.36 2.003 1.08 2.484.721.48 1.75.935 3.084 1.361l4.566 1.363c1.496.426 2.844.947 4.045 1.561 1.201.615 2.23 1.376 3.084 2.283.855.908 1.522 2.03 2.002 3.364.481 1.335.722 2.964.722 4.886 0 1.976-.414 3.819-1.242 5.527-.827 1.71-2.03 3.191-3.604 4.445-1.576 1.256-3.485 2.244-5.728 2.964-2.242.722-4.78 1.082-7.61 1.082a47.4 47.4 0 01-3.523-.12 28.05 28.05 0 01-3.084-.4 36.158 36.158 0 01-2.924-.681 35.455 35.455 0 01-3.124-1.042 23.06 23.06 0 01.76-4.365 27.54 27.54 0 011.563-4.286c1.763.695 3.431 1.215 5.007 1.562 1.575.348 3.217.521 4.926.521.748 0 1.561-.067 2.442-.2a8.974 8.974 0 002.444-.72 5.791 5.791 0 001.882-1.363c.508-.56.76-1.295.76-2.203 0-1.281-.387-2.203-1.16-2.764-.776-.56-1.857-1.055-3.244-1.481l-4.967-1.442c-2.991-.855-5.327-2.123-7.008-3.805-1.683-1.681-2.524-4.206-2.524-7.57 0-4.058 1.455-7.234 4.365-9.531 2.911-2.297 6.876-3.445 11.896-3.445zM256.952 17.18v12.095h9.693c.16.801.267 1.522.32 2.163.054.641.08 1.308.08 2.003 0 .747-.026 1.468-.08 2.162a21.984 21.984 0 01-.32 2.323h-9.693v16.261c0 1.655.135 2.99.402 4.005.267 1.014.654 1.815 1.16 2.404a3.828 3.828 0 001.883 1.2c.747.214 1.63.321 2.643.321.802 0 1.59-.067 2.364-.2.774-.134 1.455-.253 2.042-.36a15.65 15.65 0 01.8 3.163c.162 1.095.242 2.07.242 2.924 0 .588-.014 1.081-.04 1.483a15.83 15.83 0 01-.12 1.16c-2.457.589-4.993.88-7.61.88-4.86 0-8.571-1.134-11.134-3.402-2.564-2.27-3.846-5.969-3.846-11.095V37.926h-5.206l-.401-1.602 14.98-19.144h1.841zm-30.052 0v12.095h9.692c.16.801.267 1.522.321 2.163.052.641.079 1.308.079 2.003 0 .747-.027 1.468-.079 2.162a22.255 22.255 0 01-.321 2.323H226.9v16.261c0 1.655.134 2.99.401 4.005.266 1.014.654 1.815 1.16 2.404a3.832 3.832 0 001.883 1.2c.748.214 1.63.321 2.643.321.802 0 1.589-.067 2.364-.2.774-.134 1.455-.253 2.042-.36a15.69 15.69 0 01.802 3.163c.16 1.095.24 2.07.24 2.924 0 .588-.014 1.081-.04 1.483-.027.399-.067.788-.121 1.16a32.55 32.55 0 01-7.609.88c-4.86 0-8.572-1.134-11.134-3.402-2.563-2.27-3.845-5.969-3.845-11.095V37.926h-5.207l-.4-1.602 14.979-19.144h1.842zm107.84 11.614c.534 0 1.148.027 1.842.081.694.053 1.201.133 1.522.24.106.534.187 1.148.24 1.842.055.694.08 1.416.08 2.164 0 .907-.04 1.895-.12 2.963a21.374 21.374 0 01-.44 3.043 11.003 11.003 0 00-1.962-.16h-1.322c-.909 0-1.922.094-3.045.28-1.12.188-2.189.682-3.204 1.484-1.015.8-1.855 2.001-2.522 3.604-.668 1.602-1.002 3.845-1.002 6.729v19.705c-.961.159-1.922.266-2.884.319a48.116 48.116 0 01-5.567 0 29.813 29.813 0 01-2.923-.32V29.276c.8-.16 1.562-.28 2.282-.36.722-.08 1.509-.12 2.364-.12.801 0 1.59.054 2.362.16.775.107 1.536.24 2.283.4.161.268.308.654.441 1.162.134.508.254 1.042.361 1.602.107.561.199 1.121.28 1.683l.2 1.401c1.175-1.655 2.618-3.138 4.325-4.445 1.71-1.309 3.846-1.964 6.408-1.964zm55.395-.48c4.7 0 8.157 1.296 10.373 3.886 2.216 2.589 3.324 6.635 3.324 12.135v26.353c-1.922.32-3.818.48-5.687.48-1.869 0-3.765-.16-5.686-.48v-23.39c0-2.884-.362-5.1-1.083-6.647-.72-1.55-2.175-2.324-4.365-2.324-.908 0-1.802.134-2.682.4-.883.267-1.683.76-2.404 1.482-.72.72-1.308 1.736-1.763 3.045-.454 1.306-.68 3.004-.68 5.085v22.349a34.61 34.61 0 01-5.688.48 34.61 34.61 0 01-5.688-.48v-23.39c0-2.884-.36-5.1-1.08-6.647-.722-1.55-2.176-2.324-4.366-2.324a9.66 9.66 0 00-2.724.4c-.907.267-1.721.788-2.443 1.562-.72.774-1.295 1.856-1.721 3.245-.428 1.387-.642 3.203-.642 5.446v21.708c-1.922.32-3.817.48-5.687.48-1.869 0-3.764-.16-5.686-.48V29.275a21.73 21.73 0 012.242-.36c.748-.08 1.575-.12 2.484-.12a21 21 0 012.402.12c.695.08 1.415.2 2.163.36.16.267.307.655.44 1.162.134.507.254 1.042.361 1.602.107.56.2 1.108.28 1.642.081.534.147.988.201 1.361.427-.8.988-1.601 1.682-2.403.694-.8 1.522-1.52 2.483-2.162a13.483 13.483 0 013.244-1.562c1.201-.4 2.55-.601 4.045-.601 6.461 0 10.6 2.457 12.416 7.37 1.067-1.977 2.576-3.698 4.526-5.167 1.948-1.469 4.419-2.203 7.41-2.203zm110.33-11.134v12.095h9.692a19.3 19.3 0 01.321 2.163c.053.641.08 1.308.08 2.003a28.3 28.3 0 01-.08 2.162 21.72 21.72 0 01-.32 2.323h-9.692v16.261c0 1.655.134 2.99.4 4.005.267 1.014.654 1.815 1.161 2.404a3.832 3.832 0 001.883 1.2c.747.214 1.63.321 2.643.321.801 0 1.588-.067 2.364-.2.773-.134 1.454-.253 2.041-.36a15.52 15.52 0 01.801 3.163 20.184 20.184 0 01.2 4.407 14.81 14.81 0 01-.119 1.16c-2.456.589-4.992.88-7.61.88-4.86 0-8.57-1.134-11.134-3.402-2.563-2.27-3.845-5.969-3.845-11.095V37.926h-5.206l-.401-1.602 14.979-19.144h1.843zm-73.467 20.025c-2.937 0-5.06 1.108-6.368 3.325-1.31 2.216-1.964 5.407-1.964 9.572 0 4.165.655 7.356 1.964 9.572 1.309 2.216 3.43 3.324 6.368 3.324 2.99 0 5.14-1.108 6.447-3.324 1.309-2.216 1.963-5.407 1.963-9.572 0-4.165-.654-7.356-1.963-9.572-1.307-2.217-3.457-3.325-6.447-3.325zM192.963 51.304c-2.616 0-4.686.466-6.208 1.401-1.522.935-2.283 2.443-2.283 4.526 0 1.389.295 2.456.882 3.204.587.747 1.295 1.295 2.122 1.641a8.705 8.705 0 002.643.642c.936.08 1.75.12 2.443.12.802 0 1.603-.067 2.403-.2a135.91 135.91 0 002.084-.361V51.704c-.641-.107-1.335-.2-2.084-.28-.747-.08-1.413-.12-2.002-.12zM54.976 3.885c.195.067.353.19.467.343l.063.096.024.038.02.044c.056.106.103.226.125.375.04.271.06.882.07 1.53l.003.392.002.386v.699c-.001.368-.004.633-.004.687v.01l.165 6.222.244 7.18.305 12.48v.084c-.003.726-.154 5.933-3.85 9.553-3.98 3.9-8.868 3.542-12.048 2.466-3.18-1.077-7.28-3.763-8.074-9.278-.778-5.41 2.663-9.825 2.793-9.99l.003-.004 7.823-9.728 4.556-5.555 3.91-4.842s1.795-2.404 2.306-2.9c.068-.066.137-.116.205-.157l.102-.055.075-.038.013-.005a.973.973 0 01.702-.033zm235.77 33.08c-2.67 0-4.7.747-6.088 2.243-1.388 1.495-2.215 3.605-2.483 6.329h16.18c-.106-2.564-.814-4.633-2.123-6.208-1.308-1.576-3.137-2.365-5.487-2.365z" fill="#0058CC"/><path fill="rgba(0, 0, 0, 0)" d="M0 0h512v85H0z"/></svg> |