23 lines
913 B
Swift
23 lines
913 B
Swift
//
|
|
// https://mczachurski.dev
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
|
// Licensed under the Apache License 2.0.
|
|
//
|
|
|
|
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"]
|
|
|
|
public static let statusScheme = "status-vernissage"
|
|
public static let statusCallbackPart = "statuses"
|
|
public static let statusUri = "\(AppConstants.statusScheme)://\(statusCallbackPart)"
|
|
|
|
public static let imagePipelineCacheName = "dev.mczachurski.Vernissage.DataCache"
|
|
public static let coreDataPersistantContainerName = "Vernissage"
|
|
}
|