Files
twenty_crm/front/src/modules/metadata/scopes/scope-internal-context/MetadataObjectScopeInternalContext.ts
Lucas Bordeau f1670f0cf4 Feat/metadata datatable types (#2175)
* Handled new url v2 type

* Fixed refetch queries

* wip

* Ok delete but views bug

* Fix lint

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-10-21 14:07:18 +02:00

10 lines
444 B
TypeScript

import { ScopedStateKey } from '@/ui/utilities/recoil-scope/scopes-internal/types/ScopedStateKey';
import { createScopeInternalContext } from '@/ui/utilities/recoil-scope/scopes-internal/utils/createScopeInternalContext';
type MetadataObjectScopeInternalContextProps = ScopedStateKey & {
objectNamePlural: string;
};
export const MetadataObjectScopeInternalContext =
createScopeInternalContext<MetadataObjectScopeInternalContextProps>();