Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WPKit #817

Merged
merged 2 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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