1cf08c797f
* Convert metadata tables to camelCase * datasourcemetadataid to datasourceid * refactor metadata folders * fix command * move commands out of metadata * fix seed * rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE * fix field-metadata * Fix * Fix * remove logs --------- Co-authored-by: Charles Bochet <charles@twenty.com>
12 lines
321 B
TypeScript
12 lines
321 B
TypeScript
import { atomFamily } from 'recoil';
|
|
|
|
import { FieldInitialValue } from '../types/FieldInitialValue';
|
|
|
|
export const entityFieldInitialValueFamilyState = atomFamily<
|
|
FieldInitialValue | undefined,
|
|
{ entityId: string; fieldMetadataId: string }
|
|
>({
|
|
key: 'entityFieldInitialValueFamilyState',
|
|
default: undefined,
|
|
});
|