From 0780c09c018962b8775f5b52ca631e88e13cb14b Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 18 Apr 2023 21:48:33 +0200 Subject: [PATCH] Defined the constants for the String+Path extension. --- Sources/Extensions/String+Path.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Sources/Extensions/String+Path.swift diff --git a/Sources/Extensions/String+Path.swift b/Sources/Extensions/String+Path.swift new file mode 100644 index 0000000..fbd2a7f --- /dev/null +++ b/Sources/Extensions/String+Path.swift @@ -0,0 +1,10 @@ +extension String { + enum Path { + static let amiibo = "/api/amiibo/" + static let type = "/api/type" + static let gameSeries = "/api/gameseries" + static let series = "/api/amiiboseries" + static let character = "/api/character" + static let lastUpdated = "/api/lastupdated" + } +}