randex 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/custom/index.d.ts +20 -20
- package/package.json +1 -1
package/lib/custom/index.d.ts
CHANGED
|
@@ -20,26 +20,26 @@ export declare class Randex {
|
|
|
20
20
|
static arrayItem<T>(array: T[], defaultValue: T): T;
|
|
21
21
|
static array<T>(array: T[], count: number): T[];
|
|
22
22
|
static bool(): boolean;
|
|
23
|
-
static email(options?: RandexEmailOptions):
|
|
24
|
-
static email(prefixLength: RandexLength, lowDomainLength?: RandexLength, hightDomainLength?: RandexLength):
|
|
25
|
-
static email(domain: string):
|
|
26
|
-
static fileName(options?: RandexFileNameOptions):
|
|
27
|
-
static fileName(fileNameLength: RandexLength, extensionLength?: RandexLength):
|
|
28
|
-
static fileName(fileNameLength: RandexLength, extension: string):
|
|
29
|
-
static fileName(extension: string):
|
|
30
|
-
static fullName(options?: RandexFullNameOptions):
|
|
31
|
-
static fullName(length: RandexLength):
|
|
32
|
-
static fullName(alphabet?: RandexAlphabet):
|
|
33
|
-
static fullName(alphabet: RandexAlphabet, length: RandexLength):
|
|
34
|
-
static fullName(alphabet: RandexAlphabet, firstLength: RandexLength, secondLength: RandexLength):
|
|
35
|
-
static singleName(options?: RandexWordOptions):
|
|
36
|
-
static singleName(length: RandexLength):
|
|
37
|
-
static singleName(alphabet?: RandexAlphabet):
|
|
38
|
-
static singleName(alphabet: RandexAlphabet, length: RandexLength):
|
|
39
|
-
static word(options?: RandexWordOptions):
|
|
40
|
-
static word(length: RandexLength):
|
|
41
|
-
static word(alphabet?: RandexAlphabet):
|
|
42
|
-
static word(alphabet: RandexAlphabet, length: RandexLength):
|
|
23
|
+
static email(options?: RandexEmailOptions): string;
|
|
24
|
+
static email(prefixLength: RandexLength, lowDomainLength?: RandexLength, hightDomainLength?: RandexLength): string;
|
|
25
|
+
static email(domain: string): string;
|
|
26
|
+
static fileName(options?: RandexFileNameOptions): string;
|
|
27
|
+
static fileName(fileNameLength: RandexLength, extensionLength?: RandexLength): string;
|
|
28
|
+
static fileName(fileNameLength: RandexLength, extension: string): string;
|
|
29
|
+
static fileName(extension: string): string;
|
|
30
|
+
static fullName(options?: RandexFullNameOptions): string;
|
|
31
|
+
static fullName(length: RandexLength): string;
|
|
32
|
+
static fullName(alphabet?: RandexAlphabet): string;
|
|
33
|
+
static fullName(alphabet: RandexAlphabet, length: RandexLength): string;
|
|
34
|
+
static fullName(alphabet: RandexAlphabet, firstLength: RandexLength, secondLength: RandexLength): string;
|
|
35
|
+
static singleName(options?: RandexWordOptions): string;
|
|
36
|
+
static singleName(length: RandexLength): string;
|
|
37
|
+
static singleName(alphabet?: RandexAlphabet): string;
|
|
38
|
+
static singleName(alphabet: RandexAlphabet, length: RandexLength): string;
|
|
39
|
+
static word(options?: RandexWordOptions): string;
|
|
40
|
+
static word(length: RandexLength): string;
|
|
41
|
+
static word(alphabet?: RandexAlphabet): string;
|
|
42
|
+
static word(alphabet: RandexAlphabet, length: RandexLength): string;
|
|
43
43
|
static numberArray(length: RandexLength, count: number): number[];
|
|
44
44
|
private static getNumberBase;
|
|
45
45
|
private static getNumberValue;
|