2020-09-14 22:27:40 -06:00
|
|
|
/*
|
|
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// see settings.md for documentation on conventions
|
|
|
|
|
export enum UIFeature {
|
2020-09-18 11:33:02 -06:00
|
|
|
AdvancedEncryption = "UIFeature.advancedEncryption",
|
2020-09-15 08:55:03 -06:00
|
|
|
URLPreviews = "UIFeature.urlPreviews",
|
2020-09-16 11:38:50 +01:00
|
|
|
Widgets = "UIFeature.widgets",
|
2020-09-16 13:40:27 +01:00
|
|
|
Voip = "UIFeature.voip",
|
2020-09-16 10:59:14 +01:00
|
|
|
Feedback = "UIFeature.feedback",
|
2020-09-17 11:55:10 +01:00
|
|
|
Registration = "UIFeature.registration",
|
|
|
|
|
PasswordReset = "UIFeature.passwordReset",
|
|
|
|
|
Deactivate = "UIFeature.deactivate",
|
2020-09-16 16:06:17 +01:00
|
|
|
ShareQRCode = "UIFeature.shareQrCode",
|
|
|
|
|
ShareSocial = "UIFeature.shareSocial",
|
2020-09-16 14:45:34 +01:00
|
|
|
IdentityServer = "UIFeature.identityServer",
|
2020-09-17 13:25:18 +01:00
|
|
|
ThirdPartyID = "UIFeature.thirdPartyId",
|
2020-09-16 11:26:15 +01:00
|
|
|
Flair = "UIFeature.flair",
|
2020-09-16 12:55:04 +01:00
|
|
|
Communities = "UIFeature.communities",
|
2020-09-16 12:14:33 +01:00
|
|
|
AdvancedSettings = "UIFeature.advancedSettings",
|
2020-10-27 19:20:25 -06:00
|
|
|
RoomHistorySettings = "UIFeature.roomHistorySettings",
|
2022-01-31 12:54:14 +01:00
|
|
|
TimelineEnableRelativeDates = "UIFeature.timelineEnableRelativeDates",
|
2020-09-14 22:27:40 -06:00
|
|
|
}
|
2021-10-08 16:04:26 -06:00
|
|
|
|
|
|
|
|
export enum UIComponent {
|
|
|
|
|
InviteUsers = "UIComponent.sendInvites",
|
|
|
|
|
CreateRooms = "UIComponent.roomCreation",
|
2022-02-09 17:21:40 +01:00
|
|
|
CreateSpaces = "UIComponent.spaceCreation",
|
2021-10-08 16:04:26 -06:00
|
|
|
}
|