1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 23:04:21 +00:00

🔧 Export more types from contexts

This commit is contained in:
Steffo 2021-10-06 17:17:16 +02:00
parent 9a26b1953e
commit 919cc3a4cb
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 5 additions and 5 deletions

View file

@ -57,9 +57,9 @@ type AuthorizationBrowse = {
// Composition
type AuthorizationState = AuthorizationUnselected | AuthorizationLoggingIn | AuthorizationLoggedIn | AuthorizationGuest
export type AuthorizationState = AuthorizationUnselected | AuthorizationLoggingIn | AuthorizationLoggedIn | AuthorizationGuest
type AuthorizationAction = AuthorizationClear | AuthorizationLogInStart | AuthorizationLogInSuccess | AuthorizationLogInFailure | AuthorizationBrowse
type AuthorizationContextData = ContextData<AuthorizationState, AuthorizationAction> | undefined
export type AuthorizationContextData = ContextData<AuthorizationState, AuthorizationAction> | undefined
// Definitions

View file

@ -31,7 +31,7 @@ type InstanceDeselect = {
// Composition
type InstanceState = InstanceSelected | InstanceNotSelected
export type InstanceState = InstanceSelected | InstanceNotSelected
type InstanceAction = InstanceSelect | InstanceDeselect
export type InstanceContextData = ContextData<InstanceState, InstanceAction> | undefined

View file

@ -25,9 +25,9 @@ type ThemeReset = {
// Composition
type ThemeState = ThemeSelected
export type ThemeState = ThemeSelected
type ThemeAction = ThemeSet | ThemeReset
type ThemeContextData = ContextData<ThemeState, ThemeAction> | undefined
export type ThemeContextData = ContextData<ThemeState, ThemeAction> | undefined
// Definitions