index.ts 801 字节
Newer Older
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
1 2 3
import {
    Config
  , Sayable
4 5 6 7 8 9 10 11 12 13 14
  , log
}                         from './src/config'
import { Contact }        from './src/contact'
import { FriendRequest }  from './src/friend-request'
import { IoClient }       from './src/io-client'
import { Message }        from './src/message'
import { Puppet }         from './src/puppet'
import { PuppetWeb }      from './src/puppet-web/'
import { Room }           from './src/room'
import { UtilLib }        from './src/util-lib'
import { Wechaty }        from './src/wechaty'
15

16
const VERSION = require('./package.json').version
17 18

export {
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
19
    Config
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
20
  , Contact
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
21 22 23
  , FriendRequest
  , IoClient
  , Message
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
24 25
  , Puppet
  , PuppetWeb
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
26
  , Room
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
27
  , Sayable
Huan (李卓桓)'s avatar
Huan (李卓桓) 已提交
28
  , UtilLib
29
  , VERSION
30 31
  , Wechaty
  , log // for convenionce use npmlog with environment variable LEVEL
32
}
33