dequoter/models.go
Leon Mika 3cb5795ca5
All checks were successful
Build / build (push) Successful in 4m27s
Added some more commands and mades some quality of life improvements
2026-01-25 11:00:40 +11:00

28 lines
530 B
Go

package main
type TextSpan struct {
Text string `json:"text"`
Pos int `json:"pos"`
Len int `json:"len"`
Append bool `json:"append"`
}
type ProcessTextRequest struct {
Action string `json:"action"`
Input []TextSpan `json:"input"`
}
type ListProcessorsResponse struct {
Name string `json:"name"`
Label string `json:"label"`
}
type SetStatusbarMessage struct {
Message string `json:"message"`
Error bool `json:"error"`
}
type ProcessTextResponse struct {
Output []TextSpan `json:"output"`
}