@advjs/monorepo / @advjs/client / useSettingsStore
Variable: useSettingsStore
const
useSettingsStore:StoreDefinition
<"@advjs/client/settings"
,Pick
<{resetSettings
: () =>void
;speech
: {error
:ShallowRef
<undefined
|SpeechSynthesisErrorEvent
,undefined
|SpeechSynthesisErrorEvent
>;isPlaying
:ShallowRef
<boolean
,boolean
>;isSupported
:ComputedRef
<boolean
>;speak
: () =>void
;status
:ShallowRef
<UseSpeechSynthesisStatus
,UseSpeechSynthesisStatus
>;stop
: () =>void
;toggle
: (value?
) =>void
;utterance
:ComputedRef
<SpeechSynthesisUtterance
>; };speechContent
:Ref
<string
,string
>;storage
:RemovableRef
<SettingOptions
>;toggleFullScreen
: () =>Promise
<void
>; },"speech"
|"storage"
|"speechContent"
>,Pick
<{resetSettings
: () =>void
;speech
: {error
:ShallowRef
<undefined
|SpeechSynthesisErrorEvent
,undefined
|SpeechSynthesisErrorEvent
>;isPlaying
:ShallowRef
<boolean
,boolean
>;isSupported
:ComputedRef
<boolean
>;speak
: () =>void
;status
:ShallowRef
<UseSpeechSynthesisStatus
,UseSpeechSynthesisStatus
>;stop
: () =>void
;toggle
: (value?
) =>void
;utterance
:ComputedRef
<SpeechSynthesisUtterance
>; };speechContent
:Ref
<string
,string
>;storage
:RemovableRef
<SettingOptions
>;toggleFullScreen
: () =>Promise
<void
>; },never
>,Pick
<{resetSettings
: () =>void
;speech
: {error
:ShallowRef
<undefined
|SpeechSynthesisErrorEvent
,undefined
|SpeechSynthesisErrorEvent
>;isPlaying
:ShallowRef
<boolean
,boolean
>;isSupported
:ComputedRef
<boolean
>;speak
: () =>void
;status
:ShallowRef
<UseSpeechSynthesisStatus
,UseSpeechSynthesisStatus
>;stop
: () =>void
;toggle
: (value?
) =>void
;utterance
:ComputedRef
<SpeechSynthesisUtterance
>; };speechContent
:Ref
<string
,string
>;storage
:RemovableRef
<SettingOptions
>;toggleFullScreen
: () =>Promise
<void
>; },"resetSettings"
|"toggleFullScreen"
>>
Defined in: packages/client/stores/settings/index.ts:10