Add boilerplate for data table power search config and processors

Summary: Doc: https://docs.google.com/document/d/1miofxds9DJgWScj0zFyBbdpRH5Rj0T9FqiCapof5-vU/edit#heading=h.pg8svtdjlx7

Reviewed By: lblasa

Differential Revision: D49230144

fbshipit-source-id: d6e6dfb340fd23c8655e331869600cb474c8e8bc
This commit is contained in:
Andrey Goncharov
2023-09-14 04:48:12 -07:00
committed by Facebook GitHub Bot
parent f897ab9487
commit 589937bc8f
2 changed files with 22 additions and 2 deletions

View File

@@ -17,3 +17,10 @@ export type PowerSearchOperatorProcessor = (
export type PowerSearchOperatorProcessorConfig = {
[key: string]: PowerSearchOperatorProcessor;
};
export const dataTablePowerSearchOperators = {} satisfies {
[key: string]: (...args: any[]) => OperatorConfig;
};
export const dataTablePowerSearchOperatorProcessorConfig =
{} satisfies PowerSearchOperatorProcessorConfig;