feat: add Text field preview in settings (#2389)

Closes #2325
This commit is contained in:
Thaïs
2023-11-09 08:25:46 +01:00
committed by GitHub
parent 4efbe4d798
commit 1f5492b4a7
23 changed files with 461 additions and 540 deletions

View File

@ -6,9 +6,9 @@ import { FieldMetadata } from '../types/FieldMetadata';
export type GenericFieldContextType = {
fieldDefinition: FieldDefinition<FieldMetadata>;
// TODO: add better typing for mutation web-hook
useUpdateEntityMutation: () => [(params: any) => void, any];
useUpdateEntityMutation?: () => [(params: any) => void, any];
entityId: string;
recoilScopeId: string;
recoilScopeId?: string;
hotkeyScope: string;
};