Node CrowdSec Client
Preparing search index...
crowdsec-http-middleware
Decision
Class Decision<Scope, Origin, Type>
Represent a Decision .
Type Parameters
Scope
extends
string
=
"ip"
Origin
extends
string
=
APITypes
.
decisionOrigin
Type
extends
string
=
APITypes
.
decisionType
Index
Constructors
constructor
Properties
duration
end
At
id?
origin
scenario
scope
simulated?
type
until
value
Constructors
constructor
new
Decision
<
Scope
extends
string
=
"ip"
,
Origin
extends
string
=
string
,
Type
extends
string
=
string
,
>
(
decision
:
APITypes
.
Decision
,
)
:
Decision
<
Scope
,
Origin
,
Type
>
Type Parameters
Scope
extends
string
=
"ip"
Origin
extends
string
=
string
Type
extends
string
=
string
Parameters
decision
:
APITypes
.
Decision
Returns
Decision
<
Scope
,
Origin
,
Type
>
Properties
duration
duration
:
string
end
At
endAt
:
Date
Optional
id
id
?:
number
origin
origin
:
Origin
scenario
scenario
:
string
scope
scope
:
Scope
Optional
simulated
simulated
?:
boolean
type
type
:
Type
until
until
:
string
|
undefined
value
value
:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
duration
end
At
id
origin
scenario
scope
simulated
type
until
value
Node CrowdSec Client
Loading...
Represent a Decision .