mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Personalization tweaks (#3813)
* update survey * add usage modes * update recommended * update key * update key * fix text cut off issue * delete dulicate * update placeholder * clean up keys * fix label
This commit is contained in:
@@ -523,12 +523,30 @@ export type IPersonalizationSurveyAnswersV2 = {
|
||||
companyIndustryExtended?: string[] | null;
|
||||
companySize?: string | null;
|
||||
companyType?: string | null;
|
||||
customerType?: string | null;
|
||||
mspFocus?: string[] | null;
|
||||
mspFocusOther?: string | null;
|
||||
otherAutomationGoal?: string | null;
|
||||
otherCompanyIndustryExtended?: string[] | null;
|
||||
};
|
||||
|
||||
export type IPersonalizationSurveyAnswersV3 = {
|
||||
version: 'v3';
|
||||
automationGoal?: string | null;
|
||||
otherAutomationGoal?: string | null;
|
||||
companyIndustryExtended?: string[] | null;
|
||||
otherCompanyIndustryExtended?: string[] | null;
|
||||
companySize?: string | null;
|
||||
companyType?: string | null;
|
||||
automationGoalSm?: string[] | null;
|
||||
automationGoalSmOther?: string | null;
|
||||
usageModes?: string[] | null;
|
||||
};
|
||||
|
||||
export type IPersonalizationLatestVersion = IPersonalizationSurveyAnswersV3;
|
||||
|
||||
export type IPersonalizationSurveyVersions = IPersonalizationSurveyAnswersV1 | IPersonalizationSurveyAnswersV2 | IPersonalizationSurveyAnswersV3;
|
||||
|
||||
export type IRole = 'default' | 'owner' | 'member';
|
||||
|
||||
export interface IUserResponse {
|
||||
@@ -541,7 +559,7 @@ export interface IUserResponse {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
};
|
||||
personalizationAnswers?: IPersonalizationSurveyAnswersV1 | IPersonalizationSurveyAnswersV2 | null;
|
||||
personalizationAnswers?: IPersonalizationSurveyVersions | null;
|
||||
isPending: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user