Skip to content

Commit

Permalink
Merge pull request #47 from roblack/add-content-media-type
Browse files Browse the repository at this point in the history
Add contentMediaType for variants object
  • Loading branch information
daneden authored Aug 15, 2022
2 parents 44617d9 + b8760c6 commit 4f375f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Types+Media.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ extension Media {
public var bitRate: Int?

/// Type of media
public var contentType: MediaType
public var contentType: String

/// URL to the media content
public var url: String
Expand Down

2 comments on commit 4f375f5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View documentation coverage after this change
Filename Coverage
Total 85.31%
Twift+API.swift 100.00%
Twift+Authentication.swift 97.62%
Twift+Blocks.swift 100.00%
Twift+Bookmarks.swift 100.00%
Twift+Errors.swift 81.25%
Twift+Follows.swift 100.00%
Twift+Likes.swift 100.00%
Twift+Lists.swift 100.00%
Twift+Media.swift 92.59%
Twift+Mutes.swift 100.00%
Twift+Retweets.swift 100.00%
Twift+Search.swift 100.00%
Twift+Spaces.swift 90.00%
Twift+Streams.swift 100.00%
Twift+Tweets.swift 84.62%
Twift+Users.swift 100.00%
Twift.swift 83.33%
Types+List.swift 93.33%
Types+Media.swift 82.86%
Types+Place.swift 76.67%
Types+Poll.swift 86.67%
Types+Spaces.swift 65.71%
Types+Stream.swift 75.00%
Types+Tweet.swift 70.33%
Types+User.swift 88.37%
Types.swift 100.00%

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View documentation coverage after this change
Filename Coverage
Total 85.31%
Twift+API.swift 100.00%
Twift+Authentication.swift 97.62%
Twift+Blocks.swift 100.00%
Twift+Bookmarks.swift 100.00%
Twift+Errors.swift 81.25%
Twift+Follows.swift 100.00%
Twift+Likes.swift 100.00%
Twift+Lists.swift 100.00%
Twift+Media.swift 92.59%
Twift+Mutes.swift 100.00%
Twift+Retweets.swift 100.00%
Twift+Search.swift 100.00%
Twift+Spaces.swift 90.00%
Twift+Streams.swift 100.00%
Twift+Tweets.swift 84.62%
Twift+Users.swift 100.00%
Twift.swift 83.33%
Types+List.swift 93.33%
Types+Media.swift 82.86%
Types+Place.swift 76.67%
Types+Poll.swift 86.67%
Types+Spaces.swift 65.71%
Types+Stream.swift 75.00%
Types+Tweet.swift 70.33%
Types+User.swift 88.37%
Types.swift 100.00%

Please sign in to comment.