/
index.ts
60 lines (57 loc) · 1.81 KB
/
index.ts
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
import { Meteor } from 'meteor/meteor';
import _ from 'underscore';
import { Base } from './models/_Base';
import Avatars from './models/Avatars';
import Uploads from './models/Uploads';
import UserDataFiles from './models/UserDataFiles';
import { Roles } from './models/Roles';
import { Subscriptions as subscriptions } from './models/Subscriptions';
import { Users as users } from './models/Users';
import { CachedChannelList } from './models/CachedChannelList';
import { CachedChatRoom } from './models/CachedChatRoom';
import { CachedChatSubscription } from './models/CachedChatSubscription';
import { CachedUserList } from './models/CachedUserList';
import { ChatRoom } from './models/ChatRoom';
import { ChatSubscription } from './models/ChatSubscription';
import { ChatMessage } from './models/ChatMessage';
import { RoomRoles } from './models/RoomRoles';
import { UserAndRoom } from './models/UserAndRoom';
import { UserRoles } from './models/UserRoles';
import { AuthzCachedCollection, ChatPermissions } from './models/ChatPermissions';
import { WebdavAccounts } from './models/WebdavAccounts';
import CustomSounds from './models/CustomSounds';
import EmojiCustom from './models/EmojiCustom';
/** @deprecated */
const Users = _.extend({}, users, Meteor.users);
/** @deprecated */
const Subscriptions = _.extend({}, subscriptions, ChatSubscription);
/** @deprecated */
const Messages = _.extend({}, ChatMessage) as typeof ChatMessage;
/** @deprecated */
const Rooms = _.extend({}, ChatRoom);
export {
Base,
Avatars,
Uploads,
UserDataFiles,
Roles,
Subscriptions,
Users,
Messages,
CachedChannelList,
CachedChatRoom,
CachedChatSubscription,
CachedUserList,
ChatRoom,
RoomRoles,
UserAndRoom,
UserRoles,
AuthzCachedCollection,
ChatPermissions,
ChatMessage,
ChatSubscription,
Rooms,
CustomSounds,
EmojiCustom,
WebdavAccounts,
};