2023-01-29 19:11:44 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
public struct AppConstants {
|
|
|
|
public static let oauthApplicationName = "Vernissage"
|
|
|
|
public static let oauthScheme = "oauth-vernissage"
|
|
|
|
public static let oauthCallbackPart = "oauth-callback"
|
|
|
|
public static let oauthRedirectUri = "\(AppConstants.oauthScheme)://\(oauthCallbackPart)/pixelfed"
|
|
|
|
public static let oauthScopes = ["read", "write", "follow", "push"]
|
2023-03-11 18:30:33 +01:00
|
|
|
|
|
|
|
public static let statusScheme = "status-vernissage"
|
|
|
|
public static let statusCallbackPart = "statuses"
|
|
|
|
public static let statusUri = "\(AppConstants.statusScheme)://\(statusCallbackPart)"
|
|
|
|
|
2023-01-29 19:11:44 +01:00
|
|
|
public static let imagePipelineCacheName = "dev.mczachurski.Vernissage.DataCache"
|
|
|
|
public static let coreDataPersistantContainerName = "Vernissage"
|
|
|
|
}
|