feat: Adds script to generate database seeded values and removes old mock storage.
This commit is contained in:
150
Sources/SharedModels/MockHelpers.swift
Normal file
150
Sources/SharedModels/MockHelpers.swift
Normal file
@@ -0,0 +1,150 @@
|
||||
#if DEBUG
|
||||
enum RandomNames {
|
||||
|
||||
static let characterString = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
|
||||
// Static variables for first names
|
||||
static let firstNames: [String] = [
|
||||
"Oliver",
|
||||
"Emma",
|
||||
"Liam",
|
||||
"Ava",
|
||||
"Noah",
|
||||
"Sophia",
|
||||
"Elijah",
|
||||
"Isabella",
|
||||
"James",
|
||||
"Mia",
|
||||
"Benjamin",
|
||||
"Charlotte",
|
||||
"Lucas",
|
||||
"Amelia",
|
||||
"Henry",
|
||||
"Harper",
|
||||
"Alexander",
|
||||
"Evelyn",
|
||||
"William",
|
||||
"Abigail"
|
||||
]
|
||||
|
||||
// Static variables for last names
|
||||
static let lastNames: [String] = [
|
||||
"Smith",
|
||||
"Johnson",
|
||||
"Brown",
|
||||
"Williams",
|
||||
"Jones",
|
||||
"Garcia",
|
||||
"Martinez",
|
||||
"Davis",
|
||||
"Rodriguez",
|
||||
"Martins",
|
||||
"Hernandez",
|
||||
"Lopez",
|
||||
"Gonzalez",
|
||||
"Wilson",
|
||||
"Anderson",
|
||||
"Thomas",
|
||||
"Taylor",
|
||||
"Moore",
|
||||
"Jackson",
|
||||
"Martin"
|
||||
]
|
||||
|
||||
// Static variables for user names
|
||||
static let userNames: [String] = [
|
||||
"CoolCat123",
|
||||
"FastFrog99",
|
||||
"SunnySky",
|
||||
"RocketRider",
|
||||
"PixelPanda",
|
||||
"ShadowNinja",
|
||||
"ThunderWolf",
|
||||
"GoldenEagle",
|
||||
"SilverFox",
|
||||
"MightyBear",
|
||||
"IronLion",
|
||||
"BlueTiger",
|
||||
"FirePhoenix",
|
||||
"CrystalDragon",
|
||||
"NeonKnight",
|
||||
"ElectricZebra",
|
||||
"MagicUnicorn",
|
||||
"StealthShark",
|
||||
"GalaxyRanger",
|
||||
"CosmicTurtle"
|
||||
]
|
||||
|
||||
// Static variables for city names
|
||||
static let cityNames: [String] = [
|
||||
"Springfield",
|
||||
"Rivertown",
|
||||
"Sunnyvale",
|
||||
"Lakeside",
|
||||
"Hillcrest",
|
||||
"Oakwood",
|
||||
"Mapleton",
|
||||
"Pinehill",
|
||||
"Brookfield",
|
||||
"Riverbend",
|
||||
"Clearwater",
|
||||
"Greystone",
|
||||
"Westhaven",
|
||||
"Eastwood",
|
||||
"Silverlake",
|
||||
"Goldenfield",
|
||||
"Highland",
|
||||
"Cedarville",
|
||||
"Willowbrook",
|
||||
"Fairview"
|
||||
]
|
||||
|
||||
// Static variables for company names
|
||||
static let companyNames: [String] = [
|
||||
"TechNova",
|
||||
"GreenLeaf Co.",
|
||||
"Skyline Ventures",
|
||||
"Pioneer Systems",
|
||||
"Quantum Dynamics",
|
||||
"Blue Horizon",
|
||||
"NextGen Solutions",
|
||||
"Summit Enterprises",
|
||||
"FutureWorks",
|
||||
"BrightPath",
|
||||
"Eclipse Innovations",
|
||||
"Golden Gate Technologies",
|
||||
"Silverline Corp.",
|
||||
"Vertex Industries",
|
||||
"DynamicEdge",
|
||||
"CrestPoint",
|
||||
"EcoSphere",
|
||||
"PrimeSource",
|
||||
"InfinityTech",
|
||||
"TrueNorth Inc."
|
||||
]
|
||||
|
||||
// Static variables for fake emails
|
||||
static let emails: [String] = [
|
||||
"oliver.smith@example.com",
|
||||
"emma.johnson@example.org",
|
||||
"liam.brown@example.net",
|
||||
"ava.williams@example.com",
|
||||
"noah.jones@example.org",
|
||||
"sophia.garcia@example.net",
|
||||
"elijah.martinez@example.com",
|
||||
"isabella.davis@example.org",
|
||||
"james.rodriguez@example.net",
|
||||
"mia.martins@example.com",
|
||||
"benjamin.hernandez@example.org",
|
||||
"charlotte.lopez@example.net",
|
||||
"lucas.gonzalez@example.com",
|
||||
"amelia.wilson@example.org",
|
||||
"henry.anderson@example.net",
|
||||
"harper.thomas@example.com",
|
||||
"alexander.taylor@example.org",
|
||||
"evelyn.moore@example.net",
|
||||
"william.jackson@example.com",
|
||||
"abigail.martin@example.org"
|
||||
]
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user