UNPKG

@italia-tools/faker

Version:

Italian-specific fake data generator based on Faker.js

32 lines (31 loc) 1.02 kB
import type { Faker } from "@faker-js/faker"; import { type Observable } from 'rxjs'; export declare class AddressModule { private readonly faker; private readonly placesModule; private readonly lastNameModule; private readonly streetTypes; private readonly historicalFigures; private readonly saints; private readonly importantDates; private readonly culturalReferences; private readonly geographicalReferences; constructor(faker: Faker); private getWeightedStreetType; streetName$(region?: string): Observable<string>; streetAddress$(options?: { region?: string; }): Observable<string>; completeAddress$(options?: { region?: string; }): Observable<string>; private buildingNumber; private generateApartmentDetails; streetName(region?: string): Promise<string>; streetAddress(options?: { region?: string; }): Promise<string>; completeAddress(options?: { region?: string; }): Promise<string>; }