This commit is contained in:
Rogee
2025-01-15 15:55:49 +08:00
parent 9002862415
commit 13566cfa38
13 changed files with 1092 additions and 872 deletions

View File

@@ -1,5 +1,31 @@
package fields
// swagger:enum UserStatus
type MediaAsset struct {
Type MediaAssetType `json:"type"`
Hash string `json:"hash"`
Mark *string `json:"mark,omitempty"`
}
// swagger:enum MediaAssetType
// ENUM(
// Unknown = "unknown",
// Poster = "poster",
// Image = "image",
// Video = "video",
// Audio = "audio",
// Document = "document",
// Other = "other"
// )
type MediaAssetType string
// swagger:enum PostStage
// ENUM( Pending, Processing, Completed, Deleted)
type PostStage int16
// swagger:enum PostStatus
// ENUM( Pending, Verified, Blocked)
type UserStatus int16
type PostStatus int16
// swagger:enum PostType
// ENUM( Article, Picture, Video, Audio)
type PostType int16