UNPKG
wechaty-grpc
Version:
latest (1.0.1)
next (1.5.2)
1.5.2
1.3.0
1.1.1
1.0.1
1.0.0
0.33.6
0.33.4
0.33.3
0.33.1
0.31.13
0.31.12
0.31.11
0.31.10
0.31.5
0.31.3
0.31.2
0.31.1
0.29.50
0.29.49
0.29.48
0.29.47
0.29.46
0.29.38
0.29.37
0.29.36
0.29.35
0.29.33
0.29.32
0.29.22
0.29.21
0.29.19
0.27.12
0.27.10
0.27.9
0.27.8
0.27.7
0.27.6
0.25.1
0.23.14
0.23.13
0.23.12
0.23.11
0.23.10
0.23.9
0.23.5
0.21.2
0.21.1
0.20.19
0.20.18
0.20.17
0.20.16
0.20.15
0.20.14
0.20.13
0.20.12
0.20.11
0.20.9
0.20.8
0.20.7
0.20.5
0.20.4
0.20.1
gRPC for Wechaty
github.com/wechaty/grpc
wechaty/grpc
wechaty-grpc
/
src
/
config.ts
20 lines
(15 loc)
•
274 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import
{ packageJson }
from
'./package-json.js'
const
VERSION
= packageJson.
version
||
'0.0.0'
enum
MajorVersionEnum
{ v0 =
'v0'
,
// v1 = 'v1',
}
export
type
ApiStore
= { [key
in
MajorVersionEnum
]: {
file
:
string
,
data
:
string
, } }
export
{
VERSION
, }