-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.js.flow
121 lines (119 loc) · 3.26 KB
/
index.js.flow
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
// @flow
/* eslint-disable import/no-unresolved */
import * as Lv1 from './lv1';
import * as Lv2 from './lv2';
import * as Utilities from './utilities';
/* eslint-enable import/no-unresolved */
declare module.exports: {
...typeof Lv1,
...typeof Lv2,
...typeof Utilities,
// 以下は数が増えてきたらこのファイルにベタ書きし続けるか考える
// utilities
Ascii: {
hankakuToZenkaku: (str: string) => string,
zenkakuToHankaku: (str: string) => string,
},
Digits: {
formalize: (str?: string | number) => string,
numberize: (str: string) => number,
toPercent: (val: string | number, toFixed?: number) => string,
},
TimeString: {
createTimeString: (hour: number, min: number) => string,
getHour: (timeStr: string) => number,
getMin: (timeStr: string) => number,
convert: (str: string) => string,
},
Mins: {
strToMin: (str: string) => number,
minToStr: (min: number) => string,
},
VibesBlackColor: string,
VibesBase1Color: string,
VibesBase2Color: string,
VibesBase3Color: string,
VibesColumnColor: string,
VibesBurntColor: string,
VibesAlertColor: string,
VibesNoticeColor: string,
VibesBackgroundColor: string,
VibesPrimaryCorpColor: string,
VibesAccentCorpColor: string,
VibesLinkCorpColor: string,
VibesPrimaryHrColor: string,
VibesAccentHrColor: string,
VibesLinkHrColor: string,
Colors2021P01: string,
Colors2021P02: string,
Colors2021P03: string,
Colors2021P04: string,
Colors2021P05: string,
Colors2021P06: string,
Colors2021P07: string,
Colors2021P08: string,
Colors2021P09: string,
Colors2021P10: string,
Colors2021S01: string,
Colors2021S02: string,
Colors2021S03: string,
Colors2021S04: string,
Colors2021S05: string,
Colors2021S06: string,
Colors2021S07: string,
Colors2021S08: string,
Colors2021S09: string,
Colors2021S10: string,
Colors2021RE02: string,
Colors2021RE04: string,
Colors2021RE05: string,
Colors2021RE07: string,
Colors2021RE10: string,
Colors2021OR02: string,
Colors2021OR04: string,
Colors2021OR05: string,
Colors2021OR07: string,
Colors2021OR10: string,
Colors2021YE02: string,
Colors2021YE04: string,
Colors2021YE05: string,
Colors2021YE07: string,
Colors2021YE10: string,
Colors2021YG02: string,
Colors2021YG04: string,
Colors2021YG05: string,
Colors2021YG07: string,
Colors2021YG10: string,
Colors2021GR02: string,
Colors2021GR04: string,
Colors2021GR05: string,
Colors2021GR07: string,
Colors2021GR10: string,
Colors2021BG02: string,
Colors2021BG04: string,
Colors2021BG05: string,
Colors2021BG07: string,
Colors2021BG10: string,
Colors2021PU02: string,
Colors2021PU04: string,
Colors2021PU05: string,
Colors2021PU07: string,
Colors2021PU10: string,
Colors2021GY02: string,
Colors2021GY04: string,
Colors2021GY05: string,
Colors2021GY07: string,
Colors2021GY10: string,
Vibes2021BlackColor: string,
Vibes2021Base1Color: string,
Vibes2021Base2Color: string,
Vibes2021Base3Color: string,
Vibes2021ColumnColor: string,
Vibes2021BurntColor: string,
Vibes2021AlertColor: string,
Vibes2021NoticeColor: string,
Vibes2021BackgroundColor: string,
Vibes2021PrimaryCorpColor: string,
Vibes2021AccentCorpColor: string,
Vibes2021LinkCorpColor: string,
};