-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.ts
37 lines (35 loc) · 993 Bytes
/
settings.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
import { ISetting, SettingType } from '@rocket.chat/apps-engine/definition/settings';
export enum AppSetting {
Token = 'token',
Room = 'room',
Subdoman = 'subdomain',
}
export const settings: Array<ISetting> = [
{
id: AppSetting.Token,
type: SettingType.STRING,
packageValue: '',
required: true,
public: true,
i18nLabel: 'token',
i18nDescription: 'token_description',
},
{
id: AppSetting.Subdoman,
type: SettingType.STRING,
packageValue: '',
required: true,
public: true,
i18nLabel: 'subdomain',
i18nDescription: 'subdomain_description',
},
{
id: AppSetting.Room,
type: SettingType.STRING,
packageValue: '',
required: true,
public: true,
i18nLabel: 'room_id',
i18nDescription: 'room_description',
},
];