mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Update NPS Value Survey (#9638)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in> Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
@@ -2517,11 +2517,21 @@ export interface IUserManagementSettings {
|
||||
authenticationMethod: AuthenticationMethod;
|
||||
}
|
||||
|
||||
export type NpsSurveyRespondedState = { lastShownAt: number; responded: true };
|
||||
export type NpsSurveyWaitingState = {
|
||||
lastShownAt: number;
|
||||
waitingForResponse: true;
|
||||
ignoredCount: number;
|
||||
};
|
||||
export type NpsSurveyState = NpsSurveyRespondedState | NpsSurveyWaitingState;
|
||||
|
||||
export interface IUserSettings {
|
||||
isOnboarded?: boolean;
|
||||
firstSuccessfulWorkflowId?: string;
|
||||
userActivated?: boolean;
|
||||
userActivatedAt?: number;
|
||||
allowSSOManualLogin?: boolean;
|
||||
npsSurvey?: NpsSurveyState;
|
||||
}
|
||||
|
||||
export interface IPublicApiSettings {
|
||||
|
||||
Reference in New Issue
Block a user