Power search config for framework event table

Summary: Basic config, added inferred enum support for the event type.

Reviewed By: aigoncharov

Differential Revision: D51113094

fbshipit-source-id: 13acd83e7f7a5d4ee6b62641b13616cc49377e0a
This commit is contained in:
Luke De Feo
2023-11-08 10:30:55 -08:00
committed by Facebook GitHub Bot
parent e461229075
commit 03c2828630
2 changed files with 132 additions and 50 deletions

View File

@@ -51,7 +51,10 @@ export function plugin(client: PluginClient<Events, Methods>) {
const snapshot = createState<SnapshotInfo | null>(null);
const nodesAtom = createState<Map<Id, ClientNode>>(new Map());
const frameworkEvents = createDataSource<AugmentedFrameworkEvent>([], {
indices: [['nodeId']],
indices: [
['nodeId'],
['type'], //for inferred values
],
limit: 10000,
});
const frameworkEventsCustomColumns = createState<Set<string>>(new Set());