aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/hacker.ts
blob: f3630100bd327b05a3a26fee48f9be4d5f5dcdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import type { LocaleEntry } from './definitions';

/**
 * The possible definitions related to computers.
 */
export type HackerDefinition = LocaleEntry<{
  /**
   * Generic computer related abbreviations (e.g. `RAM`, `EXE`).
   */
  abbreviation: string[];

  /**
   * Some computer related adjectives or descriptors (e.g. `digital`, `bluetooth`)
   */
  adjective: string[];

  /**
   * Some computer related verbs for continuous actions (en: `ing` suffix; e.g. `hacking`).
   */
  ingverb: string[];

  /**
   * Some computer related nouns (e.g. `protocol`, `sensor`).
   */
  noun: string[];

  /**
   * Some phrases that will be injected with random hacker words.
   * May use any of the HackerDefinition keys wrapped in double braces
   * (e.g. `I'm {{ingverb}} {{adjective}} {{noun}}`).
   *
   * @see faker.helpers.mustache()
   */
  phrase: string[];

  /**
   * Some computer related verbs (e.g. `hack`).
   */
  verb: string[];
}>;