From 9d34d12111ec7b1a617cc6c78b0b14c1cd0de654 Mon Sep 17 00:00:00 2001 From: Luke De Feo Date: Thu, 27 Apr 2023 07:28:41 -0700 Subject: [PATCH] Added custom attributes to metadata typing Summary: These replace tags, and are KV instead. They allow us to send framework specific data that arent common enough to be promoted to the top level, similar to hidden attributes. They will be needed for bloks Reviewed By: lblasa Differential Revision: D45079134 fbshipit-source-id: e4962bd56f0c24608504367f50cd796fd3d79fcd --- desktop/plugins/public/ui-debugger/types.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/plugins/public/ui-debugger/types.tsx b/desktop/plugins/public/ui-debugger/types.tsx index 556fcfe69..e0c742e70 100644 --- a/desktop/plugins/public/ui-debugger/types.tsx +++ b/desktop/plugins/public/ui-debugger/types.tsx @@ -114,7 +114,7 @@ export type Metadata = { namespace: string; name: string; mutable: boolean; - tags?: string[]; + customAttributes?: Record; }; export type Bounds = {