2023-01-29 19:11:44 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
2023-03-28 10:35:38 +02:00
|
|
|
// Licensed under the Apache License 2.0.
|
2023-01-29 19:11:44 +01:00
|
|
|
//
|
2023-04-01 12:10:59 +02:00
|
|
|
|
2023-01-29 19:11:44 +01:00
|
|
|
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-04-01 12:10:59 +02:00
|
|
|
|
2023-05-01 07:50:24 +02:00
|
|
|
public static let accountScheme = "account-vernissage"
|
|
|
|
public static let accountCallbackPart = "accounts"
|
|
|
|
public static let accountUri = "\(AppConstants.accountScheme)://\(accountCallbackPart)"
|
|
|
|
|
2023-01-29 19:11:44 +01:00
|
|
|
public static let imagePipelineCacheName = "dev.mczachurski.Vernissage.DataCache"
|
2023-10-24 14:04:23 +02:00
|
|
|
public static let backgroundFetcherName = "dev.mczachurski.Vernissage.NotificationFetcher"
|
2023-01-29 19:11:44 +01:00
|
|
|
public static let coreDataPersistantContainerName = "Vernissage"
|
|
|
|
}
|