5f3d1f89df
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
24 lines
491 B
TypeScript
24 lines
491 B
TypeScript
import {
|
|
EventMetadataCategories,
|
|
EventMetadataKeyType,
|
|
EventMetadataType,
|
|
} from "./enums";
|
|
|
|
export interface IEventMetadata {
|
|
key: string;
|
|
title?: string;
|
|
value: string;
|
|
type: EventMetadataType;
|
|
}
|
|
|
|
export interface IEventMetadataDescription extends IEventMetadata {
|
|
icon?: string;
|
|
placeholder?: string;
|
|
description: string;
|
|
choices?: Record<string, string>;
|
|
keyType: EventMetadataKeyType;
|
|
pattern?: RegExp;
|
|
label: string;
|
|
category: EventMetadataCategories;
|
|
}
|