aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/properties.ts
blob: 7d037dff778b8e31d7ed604e650e1aa0a2351c88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// describe types of a propety as:
//    mystr: 'string',
//    mynum: 'number',
//    mybool: 'boolean',
const types: { [key: string]: string } = {
  hintchars: 'string',
  smoothscroll: 'boolean',
  complete: 'string',
};

// describe default values of a property
const defaults: { [key: string]: string | number | boolean } = {
  hintchars: 'abcdefghijklmnopqrstuvwxyz',
  smoothscroll: false,
  complete: 'sbh',
};

const docs: { [key: string]: string } = {
  hintchars: 'hint characters on follow mode',
  smoothscroll: 'smooth scroll',
  complete: 'which are completed at the open page',
};

export { types, defaults, docs };