feat: spec stage 1
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -52,3 +52,43 @@ func (t TenantStatus) Description() string {
|
||||
// swagger:enum TenantUserRole
|
||||
// ENUM( member, tenant_admin)
|
||||
type TenantUserRole string
|
||||
|
||||
// media_assets
|
||||
|
||||
// swagger:enum MediaAssetType
|
||||
// ENUM( video, audio, image )
|
||||
type MediaAssetType string
|
||||
|
||||
// swagger:enum MediaAssetStatus
|
||||
// ENUM( uploaded, processing, ready, failed, deleted )
|
||||
type MediaAssetStatus string
|
||||
|
||||
// contents
|
||||
|
||||
// swagger:enum ContentStatus
|
||||
// ENUM( draft, reviewing, published, unpublished, blocked )
|
||||
type ContentStatus string
|
||||
|
||||
// swagger:enum ContentVisibility
|
||||
// ENUM( public, tenant_only, private )
|
||||
type ContentVisibility string
|
||||
|
||||
// swagger:enum ContentAssetRole
|
||||
// ENUM( main, cover, preview )
|
||||
type ContentAssetRole string
|
||||
|
||||
// content_prices
|
||||
|
||||
// swagger:enum DiscountType
|
||||
// ENUM( none, percent, amount )
|
||||
type DiscountType string
|
||||
|
||||
// swagger:enum Currency
|
||||
// ENUM( CNY )
|
||||
type Currency string
|
||||
|
||||
// content_access
|
||||
|
||||
// swagger:enum ContentAccessStatus
|
||||
// ENUM( active, revoked, expired )
|
||||
type ContentAccessStatus string
|
||||
|
||||
Reference in New Issue
Block a user