mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-02 17:57:06 +02:00
Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
import snakeCase from 'lodash/snakeCase';
|
|
|
|
export function getHighlightedInputKey(nodeName: string): string {
|
|
return `input_${snakeCase(nodeName)}`;
|
|
}
|
|
|
|
export function getHighlightedResponseKey(nodeName: string): string {
|
|
return `response_${snakeCase(nodeName)}`;
|
|
}
|
|
|
|
export const HIGHLIGHTED_SESSION_KEY = 'session_id';
|