package storage

type PresignResult struct {
	URL       string `json:"url"`
	FileKey   string `json:"file_key"`
	ExpiresIn int    `json:"expires_in"`
}

type PurposeMapping struct {
	Prefix      string
	ContentType string
}

var PurposeMappings = map[string]PurposeMapping{
	"iot_import": {Prefix: "imports", ContentType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},
	"export":     {Prefix: "exports", ContentType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},
	"attachment": {Prefix: "attachments", ContentType: ""},
}
