Skip to content

Commit c2792d2

Browse files
author
lukasz.klejszta
committed
feat: generate
1 parent 80ffac6 commit c2792d2

File tree

156 files changed

+632
-28
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+632
-28
lines changed

packages/falso/src/lib/accessory.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import { data } from './accessory.json';
1616
*
1717
*
1818
* @automaticallyGeneratedExamples
19+
* @example
20+
* Sunglasses
21+
* Apron
22+
* Necklace
1923
*/
2024

2125
export function randAccessory<Options extends FakeOptions = never>(

packages/falso/src/lib/account.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ export interface AccountOptions extends FakeOptions {
2323
*
2424
* @automaticallyGeneratedExamples
2525
* @example
26-
* 473138897
27-
* 937452680
28-
* 108248170
26+
* 316396831
27+
* 336461842
28+
* 864320942
2929
*/
3030

3131
export function randAccount<Options extends AccountOptions = never>(

packages/falso/src/lib/airline.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import { data } from './airline.json';
1616
*
1717
*
1818
* @automaticallyGeneratedExamples
19+
* @example
20+
* Aeroflot
21+
* Air Canada
22+
* Air Europa
1923
*/
2024

2125
export function randAirline<Options extends FakeOptions = never>(

packages/falso/src/lib/airport.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export interface Airport {
2323
*
2424
*
2525
* @automaticallyGeneratedExamples
26+
* @example
27+
* [object Object]
28+
* [object Object]
29+
* [object Object]
2630
*/
2731

2832
export function randAirport<Options extends FakeOptions = never>(

packages/falso/src/lib/alpha-numeric.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ import { randNumber } from './number';
1818
*
1919
*
2020
* @automaticallyGeneratedExamples
21+
* @example
22+
* o
23+
* e
24+
* 9
2125
*/
2226

2327
export function randAlphaNumeric<Options extends FakeOptions = never>(

packages/falso/src/lib/alpha.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import { alphaChars } from './sequence';
1616
*
1717
*
1818
* @automaticallyGeneratedExamples
19+
* @example
20+
* g
21+
* g
22+
* l
1923
*/
2024

2125
export function randAlpha<Options extends FakeOptions = never>(

packages/falso/src/lib/american-football-team.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import { data } from './american-football-team.json';
1616
*
1717
*
1818
* @automaticallyGeneratedExamples
19+
* @example
20+
* Arizona Cardinals
21+
* Atlanta Falcons
22+
* Baltimore Ravens
1923
*/
2024

2125
export function randAmericanFootballTeam<Options extends FakeOptions = never>(

packages/falso/src/lib/amount.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ export interface RandomAmountOptions extends RandomInRangeOptions, FakeOptions {
3737
* randAmount({ length: 10 })
3838
*
3939
* @automaticallyGeneratedExamples
40+
* @example
41+
* 8672.63
42+
* 3284.82
43+
* 9879.79
4044
*/
4145

4246
export function randAmount<

packages/falso/src/lib/animal-type.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ import { data } from './animal-type.json';
1616
*
1717
*
1818
* @automaticallyGeneratedExamples
19+
* @example
20+
* bird
21+
* cetacean
22+
* rabbit
1923
*/
2024

2125
export function randAnimalType<Options extends FakeOptions = never>(

packages/falso/src/lib/avatar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ interface AvatarOptions extends FakeOptions {
2323
*
2424
*
2525
* @automaticallyGeneratedExamples
26+
* @example
27+
* https://i.pravatar.cc/100
28+
* https://i.pravatar.cc/100
29+
* https://i.pravatar.cc/100
2630
*/
2731

2832
export function randAvatar<Options extends AvatarOptions = never>(

0 commit comments

Comments
 (0)