package
Version:
v0.22.0
Opens a new window with list of versions in this module.
Published: Apr 27, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package transform runs MIMIRO transform scripts (TypeScript or JavaScript)
against a hub via esbuild + goja.
type LogEntry struct {
Level string `json:"level"`
Message string `json:"message"`
Timestamp time.Time `json:"ts"`
}
type Logger interface {
Log(entry LogEntry)
}
type Result struct {
Entities []*api.Entity `json:"entities"`
Logs []LogEntry `json:"logs"`
DurationMs int64 `json:"durationMs"`
}
Compile and runtime errors surface as level=error entries on Logs with
empty Entities; the error return is reserved for cancellation / timeout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.