package request

import (
	"web-qudo-be/utils/paginator"
)

type MediaLibraryRegisterRequest struct {
	PublicURL        string  `json:"public_url" validate:"required"`
	ObjectKey        *string `json:"object_key"`
	OriginalFilename *string `json:"original_filename"`
	FileCategory     *string `json:"file_category"`
	SizeBytes        *int64  `json:"size_bytes"`
	SourceType       string  `json:"source_type" validate:"required"`
	SourceLabel      *string `json:"source_label"`
	ArticleFileID    *uint   `json:"article_file_id"`
}

type MediaLibraryQueryRequest struct {
	Q string                `json:"q"`
	SourceType *string               `json:"source_type"`
	Pagination *paginator.Pagination `json:"pagination"`
}
