RocketChat/Rocket.Chat

View on GitHub
packages/core-typings/src/ILivechatCustomField.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { IRocketChatRecord } from './IRocketChatRecord';

export interface ILivechatCustomField extends IRocketChatRecord {
    label: string;
    scope: 'visitor' | 'room';
    visibility: string;
    type?: string;
    regexp?: string;
    required?: boolean;
    defaultValue?: string;
    options?: string;
    public?: boolean;
    searchable?: boolean;
}