package tasks

import "errors"

var (
	ErrNotFoundFile = errors.New("NotFoundFile")
	ErrUnknown      = errors.New("Unknown")
)

type BaseFileTaskPayload struct {
	FileId string `json:"file_id"`
}

type RemoveFileTaskPayload struct {
	BaseFileTaskPayload
}

type CompressImageTaskPayload struct {
	BaseFileTaskPayload
}

type ConvertImageTaskPayload struct {
	BaseFileTaskPayload
	TargetExt string `json:"target_ext"`
}
