ui/client/features/clone/workflows/Remote
Workflows own application state/flow but never import React (WORKFLOW-001): a plain reducer.
Cockpit client (features), v0.9. Source: ui/client/features/clone/workflows/Remote.ts.
Type Aliases#
RemoteAction#
RemoteAction = {
connected:boolean;repo:boolean;type:"LOADED";url:string|null; } | {type:"SET_URL";url:string; } | {type:"BUSY"; } | {error:string;type:"FAILED"; }
Defined in: ui/client/features/clone/workflows/Remote.ts:12
RemoteFormState#
RemoteFormState =
object
Defined in: ui/client/features/clone/workflows/Remote.ts:2
Properties#
busy
busy:
boolean
Defined in: ui/client/features/clone/workflows/Remote.ts:4
connected
connected:
boolean
Defined in: ui/client/features/clone/workflows/Remote.ts:7
current
current:
string|null
Defined in: ui/client/features/clone/workflows/Remote.ts:8
error
error:
string|null
Defined in: ui/client/features/clone/workflows/Remote.ts:9
loaded
loaded:
boolean
Defined in: ui/client/features/clone/workflows/Remote.ts:5
repo
repo:
boolean
Defined in: ui/client/features/clone/workflows/Remote.ts:6
url
url:
string
Defined in: ui/client/features/clone/workflows/Remote.ts:3
Variables#
initialRemoteState#
constinitialRemoteState:RemoteFormState
Defined in: ui/client/features/clone/workflows/Remote.ts:18
Functions#
remoteReducer()#
remoteReducer(
state,action):RemoteFormState
Defined in: ui/client/features/clone/workflows/Remote.ts:20