Files
twenty/packages/twenty-front/src/modules/views/states/availableFieldDefinitionsScopedState.ts
2023-12-10 18:10:54 +01:00

11 lines
435 B
TypeScript

import { FieldMetadata } from '@/object-record/field/types/FieldMetadata';
import { ColumnDefinition } from '@/object-record/record-table/types/ColumnDefinition';
import { createScopedState } from '@/ui/utilities/recoil-scope/utils/createScopedState';
export const availableFieldDefinitionsScopedState = createScopedState<
ColumnDefinition<FieldMetadata>[]
>({
key: 'availableFieldDefinitionsScopedState',
defaultValue: [],
});