@stoplight/graphite
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
ITask
Handler
Api
resolver
run
Task
task
get
Node
ById
get
Node
ByUri
set
Source
Node
Diagnostics
Hierarchy
object
INodeFinder
ITaskHandlerApi
Index
Properties
resolver
run
Task
task
Methods
get
Node
ById
get
Node
ByUri
set
Source
Node
Diagnostics
Properties
resolver
resolver
:
Resolver
run
Task
run
Task
:
function
Type declaration
(
task
:
GraphTask
)
:
Promise
<
void
>
Parameters
task:
GraphTask
Returns
Promise
<
void
>
Optional
task
task
:
GraphTask
Methods
get
Node
ById
get
Node
ById
(
id
:
string
)
:
Optional
<
NodeInstance
>
Parameters
id:
string
Returns
Optional
<
NodeInstance
>
get
Node
ByUri
get
Node
ByUri
(
uri
:
string
)
:
Optional
<
NodeInstance
>
Parameters
uri:
string
Returns
Optional
<
NodeInstance
>
set
Source
Node
Diagnostics
set
Source
Node
Diagnostics
(
id
:
string
, diagnostics
:
IDiagnostic
[]
, trace
?:
ITraceData
)
:
void
Parameters
id:
string
diagnostics:
IDiagnostic
[]
Optional
trace:
ITraceData
Returns
void