-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add ObjectFetcher context and useObjectFetcher hook (#1753)
- Register a context that will fetch an object given the provided object metadata - Pass in a `VariableDescriptor` to fetch an object - On Enterprise, the `VariableDescriptor` object will be extended to include connection information (such as which query/session the variable is from) BREAKING CHANGE: - `useConnection` is moved from `jsapi-components` package to `app-utils` package - Should only be used at the app level, as there could be multiple connections - `WidgetDefinition` has been renamed to `WidgetDescriptor`
- Loading branch information
Showing
34 changed files
with
459 additions
and
227 deletions.
There are no files selected for viewing
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
File renamed without changes.
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 |
---|---|---|
@@ -1,9 +1,11 @@ | ||
export * from './AppBootstrap'; | ||
export * from './AuthBootstrap'; | ||
export * from './ConnectionBootstrap'; | ||
export * from './ConnectionContext'; | ||
export * from './FontBootstrap'; | ||
export * from './FontsLoaded'; | ||
export * from './PluginsBootstrap'; | ||
export * from './ThemeBootstrap'; | ||
export * from './useConnection'; | ||
export * from './useServerConfig'; | ||
export * from './useUser'; |
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
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
Oops, something went wrong.