mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🔧 Export more types from contexts
This commit is contained in:
parent
8eb5f3780a
commit
2e15843702
3 changed files with 5 additions and 5 deletions
|
@ -57,9 +57,9 @@ type AuthorizationBrowse = {
|
||||||
|
|
||||||
// Composition
|
// Composition
|
||||||
|
|
||||||
type AuthorizationState = AuthorizationUnselected | AuthorizationLoggingIn | AuthorizationLoggedIn | AuthorizationGuest
|
export type AuthorizationState = AuthorizationUnselected | AuthorizationLoggingIn | AuthorizationLoggedIn | AuthorizationGuest
|
||||||
type AuthorizationAction = AuthorizationClear | AuthorizationLogInStart | AuthorizationLogInSuccess | AuthorizationLogInFailure | AuthorizationBrowse
|
type AuthorizationAction = AuthorizationClear | AuthorizationLogInStart | AuthorizationLogInSuccess | AuthorizationLogInFailure | AuthorizationBrowse
|
||||||
type AuthorizationContextData = ContextData<AuthorizationState, AuthorizationAction> | undefined
|
export type AuthorizationContextData = ContextData<AuthorizationState, AuthorizationAction> | undefined
|
||||||
|
|
||||||
|
|
||||||
// Definitions
|
// Definitions
|
||||||
|
|
|
@ -31,7 +31,7 @@ type InstanceDeselect = {
|
||||||
|
|
||||||
// Composition
|
// Composition
|
||||||
|
|
||||||
type InstanceState = InstanceSelected | InstanceNotSelected
|
export type InstanceState = InstanceSelected | InstanceNotSelected
|
||||||
type InstanceAction = InstanceSelect | InstanceDeselect
|
type InstanceAction = InstanceSelect | InstanceDeselect
|
||||||
export type InstanceContextData = ContextData<InstanceState, InstanceAction> | undefined
|
export type InstanceContextData = ContextData<InstanceState, InstanceAction> | undefined
|
||||||
|
|
||||||
|
|
|
@ -25,9 +25,9 @@ type ThemeReset = {
|
||||||
|
|
||||||
// Composition
|
// Composition
|
||||||
|
|
||||||
type ThemeState = ThemeSelected
|
export type ThemeState = ThemeSelected
|
||||||
type ThemeAction = ThemeSet | ThemeReset
|
type ThemeAction = ThemeSet | ThemeReset
|
||||||
type ThemeContextData = ContextData<ThemeState, ThemeAction> | undefined
|
export type ThemeContextData = ContextData<ThemeState, ThemeAction> | undefined
|
||||||
|
|
||||||
|
|
||||||
// Definitions
|
// Definitions
|
||||||
|
|
Loading…
Reference in a new issue