Skip to content

Commit

Permalink
Update WPKit (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
kean authored Aug 7, 2024
2 parents 0583ccc + 67c6e68 commit faf485f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Sources/WordPressKit/Models/RemoteBlogOptionsHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import Foundation
"blog_public",
"max_upload_size",
"is_wpcom_atomic",
"is_wpcom_staging_site",
"is_wpforteams_site",
"show_on_front",
"page_on_front",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public struct StatsTopAuthor {

public struct StatsTopPost {

public enum Kind {
@frozen public enum Kind {
case unknown
case post
case page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation

public enum SocialServiceName: String {
@frozen public enum SocialServiceName: String {
case google
case apple
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public enum SiteCreationError: Error {
/// - success: the site creation request succeeded with the accompanying result.
/// - failure: the site creation request failed due to the accompanying error.
///
public enum SiteCreationResult {
@frozen public enum SiteCreationResult {
case success(SiteCreationResponse)
case failure(SiteCreationError)
}
Expand Down

0 comments on commit faf485f

Please sign in to comment.