server/backend_actions_api.ts

Declarations
#

3 declarations

view source

BackendActionsApi
#

server/backend_actions_api.ts view source

BackendActionsApi

filer_change

type (input: ActionInputs['filer_change']) => Promise<void>

completion_progress

type (input: ActionInputs['completion_progress']) => Promise<void>

ollama_progress

type (input: ActionInputs['ollama_progress']) => Promise<void>

create_backend_actions_api
#

handle_filer_change
#

server/backend_actions_api.ts view source

(change: WatcherChange, disknode: Disknode, backend: Backend, dir: string, filer: Filer): void

Handle file system changes and notify clients.

change

type WatcherChange

disknode

type Disknode

backend

type Backend

dir

type string

filer

type Filer

returns

void

Depends on
#

Imported by
#