feat: Updates for Sendable conformance

This commit is contained in:
2024-11-09 01:16:57 -05:00
parent 529b9b0bc5
commit 79bb162434
8 changed files with 43 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ import Foundation
/// they can be loaded from the shell environment, or from a file located in the root directory.
///
/// This allows us to keep sensitve settings out of the repository.
public struct EnvVars: Codable, Equatable {
public struct EnvVars: Codable, Equatable, Sendable {
/// The current app environment.
public var appEnv: AppEnv
@@ -62,7 +62,7 @@ public struct EnvVars: Codable, Equatable {
}
/// Represents the different app environments.
public enum AppEnv: String, Codable {
public enum AppEnv: String, Codable, Sendable {
case development
case production
case staging