feat(web/context): allow custom metadata order

This commit is contained in:
Luke
2022-05-08 13:18:09 +02:00
parent 62d4812f24
commit a784726267
3 changed files with 12 additions and 4 deletions

View File

@@ -3,7 +3,10 @@ export interface Option {
title?: string;
description?: string;
arrow?: boolean;
metadata?: string[] | { [key: string]: any };
metadata?:
| string[]
| { [key: string]: any }
| { label: string; value: any }[];
event?: string;
serverEvent?: string;
args?: any;