Files
discogs-service/Sources/DiscogsService/Internal/Extensions/String+Constants.swift
T

34 lines
1.0 KiB
Swift
Raw Normal View History

// ===----------------------------------------------------------------------===
//
// This source file is part of the DiscogsService open source project
//
2026-03-24 01:22:53 +00:00
// Copyright (c) 2026 Röck+Cöde VoF. and the DiscogsService project authors
// Licensed under Apache license v2.0
//
// See LICENSE for license information
// See CONTRIBUTORS for the list of DiscogsService project authors
//
// SPDX-License-Identifier: Apache-2.0
//
// ===----------------------------------------------------------------------===
extension String {
/// An empty string.
static let empty = ""
2026-03-24 01:22:53 +00:00
/// A namespace for the names of parameters.
enum Parameter {
/// A name for the consumer key.
static let key = "key"
/// A name for the consumer secret.
static let secret = "secret"
/// A name for the user token.
static let token = "token"
}
2026-03-24 01:22:53 +00:00
/// A namespace for the formats of string values.
enum Format {}
2026-03-24 01:22:53 +00:00
/// A namespace for the formats of regular expression patterns.
enum Pattern {}
}