Have got the processor plumbing working
This commit is contained in:
parent
036b683eab
commit
599c72d465
11 changed files with 185 additions and 39 deletions
|
|
@ -36,6 +36,7 @@ func (ieh *ImageEditSession) RecalcVersionIDs() {
|
|||
}
|
||||
|
||||
type ImageEditProcessor struct {
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Props json.RawMessage `json:"props"`
|
||||
|
||||
|
|
@ -46,6 +47,8 @@ type ImageEditProcessor struct {
|
|||
|
||||
func (ieh *ImageEditProcessor) SetVersionID(previousVersionID string) {
|
||||
var sb strings.Builder
|
||||
sb.WriteString(ieh.ID)
|
||||
sb.WriteString("-")
|
||||
sb.WriteString(previousVersionID)
|
||||
sb.WriteString("-")
|
||||
sb.WriteString(ieh.Type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue