shinkansen-signals 1.1.201 → 1.1.203

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shinkansen-signals",
3
- "version": "1.1.201",
3
+ "version": "1.1.203",
4
4
  "description": "Shinkansen Signals",
5
5
  "keywords": [
6
6
  "Shinkansen",
package/src/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare module '#signals' {
2
- export { default as Signals } from '#signals/signals'
2
+ export type { default as Signals } from '#signals/signals'
3
3
  }
4
4
 
5
5
  declare module 'shinkansen-signals' {
@@ -1,5 +1,127 @@
1
1
  declare module '#signals/signals' {
2
- const signals: Record<string, string>
2
+ export const ALPHA: string
3
+ export const OMEGA: string
4
+
5
+ export const EMBARK: string
6
+ export const DEBARK: string
7
+
8
+ export const CONFIRM: string
9
+
10
+ export const INDEX: string
11
+
12
+ export const ALPHA_STAGE: string
13
+ export const OMEGA_STAGE: string
14
+
15
+ export const EMBARK_STAGE: string
16
+ export const DEBARK_STAGE: string
17
+
18
+ export const CONFIRM_STAGE: string
19
+
20
+ export const ALPHA_PATTERN: string
21
+ export const OMEGA_PATTERN: string
22
+
23
+ export const EMBARK_PATTERN: string
24
+ export const DEBARK_PATTERN: string
25
+
26
+ export const CONFIRM_PATTERN: string
27
+
28
+ export const ENTER_ALPHA: string
29
+ export const LEAVE_ALPHA: string
30
+
31
+ export const CHANGE_ALPHA: string
32
+ export const REMAIN_ALPHA: string
33
+
34
+ export const ENTER_OMEGA: string
35
+ export const LEAVE_OMEGA: string
36
+
37
+ export const CHANGE_OMEGA: string
38
+ export const REMAIN_OMEGA: string
39
+
40
+ export const ENTER_ALPHA_ENTER_OMEGA: string
41
+ export const LEAVE_ALPHA_LEAVE_OMEGA: string
42
+
43
+ export const CHANGE_ALPHA_ENTER_OMEGA: string
44
+ export const CHANGE_ALPHA_LEAVE_OMEGA: string
45
+
46
+ export const REMAIN_ALPHA_ENTER_OMEGA: string
47
+ export const REMAIN_ALPHA_LEAVE_OMEGA: string
48
+
49
+ export const CHANGE_ALPHA_CHANGE_OMEGA: string
50
+ export const CHANGE_ALPHA_REMAIN_OMEGA: string
51
+
52
+ export const REMAIN_ALPHA_CHANGE_OMEGA: string
53
+ export const REMAIN_ALPHA_REMAIN_OMEGA: string
54
+
55
+ export const EXCEPTION: string
56
+
57
+ export const FAILURE: number
58
+ export const SUCCESS: number
59
+ export const IN_PROGRESS: number
60
+ export const UNKNOWN: number
61
+ export const COMPLETE: number
62
+
63
+ const signals: {
64
+ ALPHA: string,
65
+ OMEGA: string,
66
+
67
+ EMBARK: string,
68
+ DEBARK: string,
69
+
70
+ CONFIRM: string,
71
+
72
+ INDEX: string,
73
+
74
+ ALPHA_STAGE: string,
75
+ OMEGA_STAGE: string,
76
+
77
+ EMBARK_STAGE: string,
78
+ DEBARK_STAGE: string,
79
+
80
+ CONFIRM_STAGE: string,
81
+
82
+ ALPHA_PATTERN: string,
83
+ OMEGA_PATTERN: string,
84
+
85
+ EMBARK_PATTERN: string,
86
+ DEBARK_PATTERN: string,
87
+
88
+ CONFIRM_PATTERN: string,
89
+
90
+ ENTER_ALPHA: string,
91
+ LEAVE_ALPHA: string,
92
+
93
+ CHANGE_ALPHA: string,
94
+ REMAIN_ALPHA: string,
95
+
96
+ ENTER_OMEGA: string,
97
+ LEAVE_OMEGA: string,
98
+
99
+ CHANGE_OMEGA: string,
100
+ REMAIN_OMEGA: string,
101
+
102
+ ENTER_ALPHA_ENTER_OMEGA: string,
103
+ LEAVE_ALPHA_LEAVE_OMEGA: string,
104
+
105
+ CHANGE_ALPHA_ENTER_OMEGA: string,
106
+ CHANGE_ALPHA_LEAVE_OMEGA: string,
107
+
108
+ REMAIN_ALPHA_ENTER_OMEGA: string,
109
+ REMAIN_ALPHA_LEAVE_OMEGA: string,
110
+
111
+ CHANGE_ALPHA_CHANGE_OMEGA: string,
112
+ CHANGE_ALPHA_REMAIN_OMEGA: string,
113
+
114
+ REMAIN_ALPHA_CHANGE_OMEGA: string,
115
+ REMAIN_ALPHA_REMAIN_OMEGA: string,
116
+
117
+ EXCEPTION: string,
118
+
119
+ FAILURE: number,
120
+ SUCCESS: number,
121
+ IN_PROGRESS: number,
122
+ UNKNOWN: number,
123
+ COMPLETE: number
124
+ }
3
125
 
4
126
  export default signals
5
127
  }