feat(editor): Add new telemetry event for schema preview (no-changelog) (#13930)

This commit is contained in:
Elias Meire
2025-03-17 11:14:31 +01:00
committed by GitHub
parent e157217d8c
commit 042aa39024
8 changed files with 310 additions and 6 deletions

View File

@@ -1,11 +1,12 @@
import { request } from '@/utils/apiUtils';
import type { JSONSchema7 } from 'json-schema';
import type { NodeParameterValueType } from 'n8n-workflow';
export type GetSchemaPreviewOptions = {
nodeType: string;
version: number;
resource?: string;
operation?: string;
resource?: NodeParameterValueType;
operation?: NodeParameterValueType;
};
const padVersion = (version: number) => {