import { faker } from '@faker-js/faker' import randomDigitArray from './custom-faker-types/randomDigitArray' export function getItems(type = ''):any { if (type === 'product') return faker.commerce.product() if (type === 'department') return faker.commerce.department() if (type === 'price') return faker.commerce.price() if (type === 'productDescription') return faker.commerce.productDescription() if (type === 'productMaterial') return faker.commerce.productMaterial() if (type === 'productName') return faker.commerce.productName() if (type === 'productAdjective') return faker.commerce.productAdjective() if (type === 'buildingNumber') return faker.address.buildingNumber() if (type === 'cardinalDirection') return faker.address.cardinalDirection() if (type === 'city') return faker.address.city() if (type === 'cityName') return faker.address.cityName() if (type === 'country') return faker.address.country() if (type === 'countryCode') return faker.address.countryCode() if (type === 'county') return faker.address.county() if (type === 'direction') return faker.address.direction() if (type === 'latitude') return faker.address.latitude() if (type === 'longitude') return faker.address.longitude() if (type === 'ordinalDirection') return faker.address.ordinalDirection() if (type === 'secondaryAddress') return faker.address.secondaryAddress() if (type === 'state') return faker.address.state() if (type === 'stateAbbr') return faker.address.stateAbbr() if (type === 'street') return faker.address.street() if (type === 'streetAddress') return faker.address.streetAddress() if (type === 'streetName') return faker.address.streetName() if (type === 'timeZone') return faker.address.timeZone() if (type === 'zipCode') return faker.address.zipCode() if (type === 'bear') return faker.animal.bear() if (type === 'bird') return faker.animal.bird() if (type === 'cat') return faker.animal.cat() if (type === 'cetacean') return faker.animal.cetacean() if (type === 'cow') return faker.animal.cow() if (type === 'crocodilia') return faker.animal.crocodilia() if (type === 'dog') return faker.animal.dog() if (type === 'fish') return faker.animal.fish() if (type === 'horse') return faker.animal.horse() if (type === 'insect') return faker.animal.insect() if (type === 'lion') return faker.animal.lion() if (type === 'rabbit') return faker.animal.rabbit() if (type === 'rodent') return faker.animal.rodent() if (type === 'snake') return faker.animal.snake() if (type === 'colorName') return faker.color.human() if (type === 'rgb') return faker.color.rgb() if (type === 'cmyk') return faker.color.cmyk() if (type === 'hsl') return faker.color.hsl() if (type === 'colorSpace') return faker.color.space() if (type === 'bs') return faker.company.bs() if (type === 'catchPhrase') return faker.company.catchPhrase() if (type === 'companySuffix') return faker.company.companySuffix() if (type === 'company') return faker.company.name() if (type === 'collation') return faker.database.collation() if (type === 'column') return faker.database.column() if (type === 'engine') return faker.database.engine() if (type === 'id') return faker.database.mongodbObjectId() if (type === 'type') return faker.database.type() if (type === 'json') return faker.datatype.json() if (type === 'number') return faker.datatype.number() if (type === 'float') return faker.datatype.float() if (type === 'datetime') return faker.datatype.datetime() if (type === 'uuid') return faker.datatype.uuid() if (type === 'string') return faker.datatype.string() if (type === 'boolean') return faker.datatype.boolean() if (type === 'hexadecimal') return faker.datatype.hexadecimal() if (type === 'weekday') return faker.date.weekday() if (type === 'month') return faker.date.month() if (type === 'account') return faker.finance.account() if (type === 'amount') return faker.finance.amount() if (type === 'bic') return faker.finance.bic() if (type === 'bitcoinAddress') return faker.finance.bitcoinAddress() if (type === 'creditCardCVV') return faker.finance.creditCardCVV() if (type === 'creditCardIssuer') return faker.finance.creditCardIssuer() if (type === 'creditCardNumber') return faker.finance.creditCardNumber() if (type === 'currencyCode') return faker.finance.currencyCode() if (type === 'currencyName') return faker.finance.currencyName() if (type === 'currencySymbol') return faker.finance.currencySymbol() if (type === 'ethereumAddress') return faker.finance.ethereumAddress() if (type === 'iban') return faker.finance.iban() if (type === 'litecoinAddress') return faker.finance.litecoinAddress() if (type === 'mask') return faker.finance.mask() if (type === 'pin') return faker.finance.pin() if (type === 'routingNumber') return faker.finance.routingNumber() if (type === 'transactionDescription') return faker.finance.transactionDescription() if (type === 'transactionType') return faker.finance.transactionType() if (type === 'branch') return faker.git.branch() if (type === 'commitEntry') return faker.git.commitEntry() if (type === 'commitMessage') return faker.git.commitMessage() if (type === 'commitSha') return faker.git.commitSha() if (type === 'shortSha') return faker.git.shortSha() if (type === 'abbreviation') return faker.hacker.abbreviation() if (type === 'hackAdjective') return faker.hacker.adjective() if (type === 'ingverb') return faker.hacker.ingverb() if (type === 'hackNoun') return faker.hacker.noun() if (type === 'phrase') return faker.hacker.phrase() if (type === 'hackVerb') return faker.hacker.verb() if (type === 'image') return faker.image.image() if (type === 'imageUrl') return faker.image.imageUrl() if (type === 'colorHex') return faker.internet.color() if (type === 'domainName') return faker.internet.domainName() if (type === 'domainSuffix') return faker.internet.domainSuffix() if (type === 'domainWord') return faker.internet.domainWord() if (type === 'email') return faker.internet.email() if (type === 'emoji') return faker.internet.emoji() if (type === 'exampleEmail') return faker.internet.exampleEmail() if (type === 'httpMethod') return faker.internet.httpMethod() if (type === 'httpStatusCode') return faker.internet.httpStatusCode() if (type === 'ip') return faker.internet.ip() if (type === 'ipv4') return faker.internet.ipv4() if (type === 'ipv6') return faker.internet.ipv6() if (type === 'mac') return faker.internet.mac() if (type === 'password') return faker.internet.password() if (type === 'port') return faker.internet.port() if (type === 'protocol') return faker.internet.protocol() if (type === 'url') return faker.internet.url() if (type === 'userAgent') return faker.internet.userAgent() if (type === 'userName') return faker.internet.userName() if (type === 'paragraph') return faker.lorem.paragraph() if (type === 'paragraphs') return faker.lorem.paragraphs() if (type === 'lines') return faker.lorem.lines() if (type === 'sentence') return faker.lorem.sentence() if (type === 'sentences') return faker.lorem.sentences() if (type === 'slug') return faker.lorem.slug() if (type === 'text') return faker.lorem.text() if (type === 'word') return faker.lorem.word() if (type === 'words') return faker.lorem.words() if (type === 'genre') return faker.music.genre() if (type === 'songName') return faker.music.songName() if (type === 'firstName') return faker.name.firstName() if (type === 'fullName') return faker.name.fullName() if (type === 'gender') return faker.name.gender() if (type === 'jobArea') return faker.name.jobArea() if (type === 'jobDescriptor') return faker.name.jobDescriptor() if (type === 'jobTitle') return faker.name.jobTitle() if (type === 'jobType') return faker.name.jobType() if (type === 'lastName') return faker.name.lastName() if (type === 'middleName') return faker.name.middleName() if (type === 'prefix') return faker.name.prefix() if (type === 'sex') return faker.name.sex() if (type === 'sexType') return faker.name.sexType() if (type === 'suffix') return faker.name.suffix() if (type === 'imei') return faker.phone.imei() if (type === 'phone') return faker.phone.number() if (type === 'alpha') return faker.random.alpha() if (type === 'alphaNumeric') return faker.random.alphaNumeric() if (type === 'locale') return faker.random.locale() if (type === 'numeric') return faker.random.numeric() if (type === 'chemicalElement') return faker.science.chemicalElement() if (type === 'unit') return faker.science.unit() if (type === 'commonFileExt') return faker.system.commonFileExt() if (type === 'commonFileName') return faker.system.commonFileName() if (type === 'commonFileType') return faker.system.commonFileType() if (type === 'cron') return faker.system.cron() if (type === 'directoryPath') return faker.system.directoryPath() if (type === 'fileExt') return faker.system.fileExt() if (type === 'fileName') return faker.system.fileName() if (type === 'filePath') return faker.system.filePath() if (type === 'fileType') return faker.system.fileType() if (type === 'mimeType') return faker.system.mimeType() if (type === 'networkInterface') return faker.system.networkInterface() if (type === 'semver') return faker.system.semver() if (type === 'bicycle') return faker.vehicle.bicycle() if (type === 'fuel') return faker.vehicle.fuel() if (type === 'manufacturer') return faker.vehicle.manufacturer() if (type === 'model') return faker.vehicle.model() if (type === 'vehicleType') return faker.vehicle.type() if (type === 'vehicle') return faker.vehicle.vehicle() if (type === 'vin') return faker.vehicle.vin() if (type === 'vrm') return faker.vehicle.vrm() if (type === 'adjective') return faker.word.adjective() if (type === 'adverb') return faker.word.adverb() if (type === 'conjunction') return faker.word.conjunction() if (type === 'interjection') return faker.word.interjection() if (type === 'noun') return faker.word.noun() if (type === 'preposition') return faker.word.preposition() if (type === 'verb') return faker.word.verb() if (type === 'randomDigitArray') return randomDigitArray() return undefined }