@valon-technologies/gestalt
Preparing search index...
@valon-technologies/gestalt
OperationOptions
Interface OperationOptions<In, Out>
Operation definition accepted by
operation
and
definePlugin
.
interface
OperationOptions
<
In
,
Out
>
{
id
:
string
;
method
?:
string
;
title
?:
string
;
description
?:
string
;
allowedRoles
?:
string
[]
;
tags
?:
string
[]
;
readOnly
?:
boolean
;
visible
?:
boolean
;
input
?:
Schema
<
In
>
;
output
?:
Schema
<
Out
>
;
handler
:
(
input
:
In
,
request
:
Request
)
=>
MaybePromise
<
Out
|
Response
<
Out
>
>
;
}
Type Parameters
In
Out
Hierarchy (
View Summary
)
OperationOptions
OperationDefinition
Index
Properties
id
method?
title?
description?
allowed
Roles?
tags?
read
Only?
visible?
input?
output?
handler
Properties
id
id
:
string
Optional
method
method
?:
string
Optional
title
title
?:
string
Optional
description
description
?:
string
Optional
allowed
Roles
allowedRoles
?:
string
[]
Optional
tags
tags
?:
string
[]
Optional
read
Only
readOnly
?:
boolean
Optional
visible
visible
?:
boolean
Optional
input
input
?:
Schema
<
In
>
Optional
output
output
?:
Schema
<
Out
>
handler
handler
:
(
input
:
In
,
request
:
Request
)
=>
MaybePromise
<
Out
|
Response
<
Out
>
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
method
title
description
allowed
Roles
tags
read
Only
visible
input
output
handler
@valon-technologies/gestalt
Loading...
Operation definition accepted by operation and definePlugin.