@datalayer/core
Version:
**Datalayer Core**
43 lines (42 loc) • 1.11 kB
TypeScript
import { ITranslator } from '@jupyterlab/translation';
import { CommandRegistry } from '@lumino/commands';
import type { IMultiServiceManager, IDatalayerSessionContext } from '../../api';
import { RuntimeTransfer } from './RuntimeTransfer';
/**
* {@link RuntimePickerNotebook} properties
*/
export interface IRuntimePickerNotebookProps {
/**
* Callback to allow the user to login
*/
logIn?: () => void;
/**
* Document session context
*/
sessionContext: IDatalayerSessionContext;
/**
* Multi service manager
*/
multiServiceManager: IMultiServiceManager;
/**
* Set the selected kernel
*/
setValue: (v: RuntimeTransfer | Error) => void;
/**
* Close the dialog
*/
close: () => void;
/**
* Command registry
*/
commands: CommandRegistry;
/**
* Application translator
*/
translator?: ITranslator;
}
/**
* Runtime Picker components for a Notebook.
*/
export declare function RuntimePickerNotebook(props: IRuntimePickerNotebookProps): JSX.Element;
export default RuntimePickerNotebook;