Implement creator studio and upload updates
This commit is contained in:
35
app/Enums/ModerationContentType.php
Normal file
35
app/Enums/ModerationContentType.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum ModerationContentType: string
|
||||
{
|
||||
case ArtworkComment = 'artwork_comment';
|
||||
case ArtworkDescription = 'artwork_description';
|
||||
case ArtworkTitle = 'artwork_title';
|
||||
case UserBio = 'user_bio';
|
||||
case UserProfileLink = 'user_profile_link';
|
||||
case CollectionTitle = 'collection_title';
|
||||
case CollectionDescription = 'collection_description';
|
||||
case StoryTitle = 'story_title';
|
||||
case StoryContent = 'story_content';
|
||||
case CardTitle = 'card_title';
|
||||
case CardText = 'card_text';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::ArtworkComment => 'Artwork Comment',
|
||||
self::ArtworkDescription => 'Artwork Description',
|
||||
self::ArtworkTitle => 'Artwork Title',
|
||||
self::UserBio => 'User Bio',
|
||||
self::UserProfileLink => 'User Profile Link',
|
||||
self::CollectionTitle => 'Collection Title',
|
||||
self::CollectionDescription => 'Collection Description',
|
||||
self::StoryTitle => 'Story Title',
|
||||
self::StoryContent => 'Story Content',
|
||||
self::CardTitle => 'Card Title',
|
||||
self::CardText => 'Card Text',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user