(
props: React.PropsWithChildren<{
connection?: ExecutorServerConnectionInput;
/**
* The org scope the atom registry is keyed to — pass the console URL's org
* slug on org-scoped hosts (cloud) so cached query results can never
* survive an org change. Hosts without org scoping leave it unset.
*/
scopeKey?: string | null;
onHandledError?: FrontendErrorReporter;
}>,
)
| 34 | } |
| 35 | |
| 36 | export const ExecutorProvider = ( |
| 37 | props: React.PropsWithChildren<{ |
| 38 | connection?: ExecutorServerConnectionInput; |
| 39 | /** |
| 40 | * The org scope the atom registry is keyed to — pass the console URL's org |
| 41 | * slug on org-scoped hosts (cloud) so cached query results can never |
| 42 | * survive an org change. Hosts without org scoping leave it unset. |
| 43 | */ |
| 44 | scopeKey?: string | null; |
| 45 | onHandledError?: FrontendErrorReporter; |
| 46 | }>, |
| 47 | ) => ( |
| 48 | <FrontendErrorReporterProvider reporter={props.onHandledError}> |
| 49 | <ExecutorServerConnectionProvider connection={props.connection}> |
| 50 | <ExecutorRegistryProvider scopeKey={props.scopeKey}> |
| 51 | {props.children} |
| 52 | </ExecutorRegistryProvider> |
| 53 | </ExecutorServerConnectionProvider> |
| 54 | </FrontendErrorReporterProvider> |
| 55 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected