| 1 | package wire |
| 2 | |
| 3 | import "amadan.net/oficina/equipo/internal/copydesk" |
| 4 | |
| 5 | type CopyDispatch struct { |
| 6 | Edits []copydesk.Feedback `json:"edits,omitempty"` |
| 7 | References []copydesk.Reference `json:"references,omitempty"` |
| 8 | Owner string `json:"owner"` |
| 9 | Delegation int64 `json:"delegation"` |
| 10 | Compared string `json:"compared"` |
| 11 | Remaining int64 `json:"remaining"` |
| 12 | Records []copydesk.Record `json:"records,omitempty"` |
| 13 | Notes []copydesk.Feedback `json:"notes,omitempty"` |
| 14 | Failure *copydesk.Input `json:"failure,omitempty"` |
| 15 | Recovery bool `json:"recovery,omitempty"` |
| 16 | } |
| 17 | type CopyResult struct { |
| 18 | Suggestions bool `json:"suggestions,omitempty"` |
| 19 | Owner string `json:"owner"` |
| 20 | Delegation int64 `json:"delegation"` |
| 21 | Input string `json:"input"` |
| 22 | Compared string `json:"compared"` |
| 23 | Extraction copydesk.Extraction `json:"extraction"` |
| 24 | Review copydesk.Review `json:"review"` |
| 25 | Signature *copydesk.Signature `json:"signature,omitempty"` |
| 26 | Tokens int64 `json:"tokens"` |
| 27 | UsageKnown bool `json:"usage_known"` |
| 28 | } |
| 29 | |
| 30 | type CopyFlag struct { |
| 31 | ID string `json:"id"` |
| 32 | Key string `json:"key"` |
| 33 | Text string `json:"text"` |
| 34 | Flag string `json:"flag"` |
| 35 | } |
| 36 | |
| 37 | type CopyAttempt struct { |
| 38 | Step string `json:"step"` |
| 39 | Attempt int64 `json:"attempt"` |
| 40 | Candidate string `json:"candidate"` |
| 41 | } |
| 42 | type CopyRepeat struct { |
| 43 | Before CopyAttempt `json:"before"` |
| 44 | After CopyAttempt `json:"after"` |
| 45 | Signature copydesk.Signature `json:"signature"` |
| 46 | } |
| 47 | |