treepathupdater.ts 580 B

123456789101112131415161718192021
  1. /* -----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. import { Token } from '@lumino/coreutils';
  6. /**
  7. * The tree path updater token.
  8. */
  9. export const ITreePathUpdater = new Token<ITreePathUpdater>(
  10. '@jupyterlab/application:ITreePathUpdater'
  11. );
  12. /**
  13. * A function to call to update the tree path.
  14. */
  15. export interface ITreePathUpdater {
  16. (treePath: string): void;
  17. }