-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): update corel contexts to match new lint rules (#7332)
- Loading branch information
1 parent
48468fe
commit b1ed584
Showing
10 changed files
with
60 additions
and
62 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
packages/sanity/src/_singletons/context/BundlesMetadataContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {createContext} from 'sanity/_createContext' | ||
|
||
import type {BundlesMetadataContextValue} from '../../core/releases/contexts/BundlesMetadataProvider' | ||
|
||
/** | ||
* @internal | ||
* @hidden | ||
*/ | ||
export const BundlesMetadataContext = createContext<BundlesMetadataContextValue | null>( | ||
'sanity/_singletons/context/bundles-metadata', | ||
null, | ||
) |
11 changes: 11 additions & 0 deletions
11
packages/sanity/src/_singletons/context/ReleasesTableContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import {createContext} from 'sanity/_createContext' | ||
|
||
import type {TableContextValue} from '../../core/releases/components/Table/TableProvider' | ||
|
||
/** | ||
* @internal | ||
*/ | ||
export const TableContext = createContext<TableContextValue | null>( | ||
'sanity/_singletons/context/releases-table', | ||
null, | ||
) |
18 changes: 0 additions & 18 deletions
18
packages/sanity/src/_singletons/core/releases/BundlesMetadataContext.ts
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
packages/sanity/src/_singletons/core/releases/ReleasesTableContext.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/sanity/src/core/releases/components/Table/TableHeader.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters