UNPKG

@elastic-suite/gally-admin-shared

Version:
42 lines (36 loc) 790 B
import { ISearchLimitations } from './textFieldTagsMultiple' export enum LimitationType { SEARCH = 'search', CATEGORY = 'category', } export interface ILimitationsTypes { label: string id?: string value: string labelAll: string } export interface IRequestTypesOptions { label: string previewLabel: string limitationType: string id: string value: string } export interface IRequestTypes { '@id'?: string '@type'?: string requestType: string applyToAll: boolean } export interface ICategoryLimitations { '@id'?: string '@type'?: string category: string } export interface IRequestType { requestTypes: IRequestTypes[] categoryLimitations: ICategoryLimitations[] searchLimitations: ISearchLimitations[] createdAt?: string updatedAt?: string }