2
0

feat(settings): Add create result on page refresh option

This commit is contained in:
Baptiste Arnaud
2022-03-07 18:21:01 +01:00
parent e3e07ddd4d
commit 260819f124
5 changed files with 91 additions and 2 deletions

View File

@ -6,6 +6,7 @@ export type Settings = {
export type GeneralSettings = {
isBrandingEnabled: boolean
isNewResultOnRefreshEnabled?: boolean
}
export type TypingEmulation = {
@ -22,7 +23,7 @@ export type Metadata = {
}
export const defaultSettings: Settings = {
general: { isBrandingEnabled: true },
general: { isBrandingEnabled: true, isNewResultOnRefreshEnabled: false },
typingEmulation: { enabled: true, speed: 300, maxDelay: 1.5 },
metadata: {
description: