Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

[MM-20581] Change Groups constant to enum #1284

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions src/constants/groups.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export default {
SYNCABLE_TYPE_TEAM: 'team',
SYNCABLE_TYPE_CHANNEL: 'channel',
};

enum Groups {
SYNCABLE_TYPE_TEAM = 'team',
SYNCABLE_TYPE_CHANNEL = 'channel',
}

export default Groups;