Manta Developers
GitHub
Menu

@manta-eu/horns-server/studio-worker

Reference for @manta-eu/horns-server/studio-worker in @manta-eu/horns-server 0.2.3.

Type Aliases

HornsStudioWorkerOptions

HornsStudioWorkerOptions = Omit<HornsWorkerOptions, "shapes" | "typecheck"> & object

Type Declaration

shapes

shapes: () => readonly Shape[]

The realm’s shapes, built by hornsShapeCatalog: a worker cannot import the SDK’s schema entry.

Returns

readonly Shape[]

typecheckFs?

optional typecheckFs?: TypecheckFs

The declarations a written view is checked against, from virtual:horns/typecheck-fs.

Functions

createHornsStudioWorker()

createHornsStudioWorker(options): ExportedHandler<Env, unknown, unknown, unknown>

Parameters

options

HornsStudioWorkerOptions

Returns

ExportedHandler<Env, unknown, unknown, unknown>

References

HornStudioAgent

Re-exports HornStudioAgent