mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(core): Use class-validator with XSS check for survey answers (#10490)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
@@ -2789,3 +2789,23 @@ export type Functionality = 'regular' | 'configuration-node' | 'pairedItem';
|
||||
export type Result<T, E> = { ok: true; result: T } | { ok: false; error: E };
|
||||
|
||||
export type CallbackManager = CallbackManagerLC;
|
||||
|
||||
export type IPersonalizationSurveyAnswersV4 = {
|
||||
version: 'v4';
|
||||
personalization_survey_submitted_at: string;
|
||||
personalization_survey_n8n_version: string;
|
||||
automationGoalDevops?: string[] | null;
|
||||
automationGoalDevopsOther?: string | null;
|
||||
companyIndustryExtended?: string[] | null;
|
||||
otherCompanyIndustryExtended?: string[] | null;
|
||||
companySize?: string | null;
|
||||
companyType?: string | null;
|
||||
automationGoalSm?: string[] | null;
|
||||
automationGoalSmOther?: string | null;
|
||||
usageModes?: string[] | null;
|
||||
email?: string | null;
|
||||
role?: string | null;
|
||||
roleOther?: string | null;
|
||||
reportedSource?: string | null;
|
||||
reportedSourceOther?: string | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user