dequoter/models.go
Leon Mika d64779f660
All checks were successful
Build / build (push) Successful in 2m31s
Add cmd-k to delete current line
2026-03-14 21:52:13 +11:00

36 lines
657 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"`
}
type RequestTextProcess struct {
Action string `json:"action"`
}
type PromptRequest struct {
Label string `json:"label"`
}