-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the ability to a resource to provide its own sub-tree based on …
…the requested path (Gateway)
- Loading branch information
1 parent
8d4df3e
commit 485b270
Showing
6 changed files
with
25 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
import { ResourceTreeNode } from './Types'; | ||
import { IResource, ReturnCallback } from '../../resource/IResource'; | ||
import { MethodCallArgs } from '../MethodCallArgs'; | ||
import { FSPath } from '../../manager/FSManager'; | ||
export declare function getResourceFromPath(path: FSPath | string[] | string, callbackOrRootResource: ReturnCallback<IResource> | IResource, callback?: ReturnCallback<IResource>): void; | ||
export declare function getResourceFromPath(arg: MethodCallArgs, path: FSPath | string[] | string, callbackOrRootResource: ReturnCallback<IResource> | IResource, callback?: ReturnCallback<IResource>): void; | ||
export declare function addResourceTree(_rootResource: IResource | ResourceTreeNode, _resoureceTree: ResourceTreeNode | (() => void), _callback?: (e: Error) => void): void; |
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