Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Or
Class Or
Hierarchy
Query
ReducingPolicy
Or
Index
Constructors
constructor
Properties
body
lookup_
steps
params
policies
steps
type_
name
Methods
_get
Match
Expressions
_get
Restricting
Query
_is
Unwind
Stage
add
Query
check
check
All
Policies
checker
Function
dump
get
Restricting
Query
is
Item
Sensitive
lookup
match
to
Pipeline
allow
deny
from
Custom
Pipeline
from
Definition
from
Single
Match
Constructors
constructor
new
Or
(
...
queries
:
Query
[]
)
:
Or
Parameters
Rest
...
queries:
Query
[]
Returns
Or
Properties
body
body
:
any
lookup_
steps
lookup_
steps
:
QueryStep
[]
params
params
:
any
policies
policies
:
Policy
[]
steps
steps
:
QueryStep
[]
Static
type_
name
type_
name
:
string
= "or"
Methods
_get
Match
Expressions
_get
Match
Expressions
(
)
:
Query
[]
Returns
Query
[]
_get
Restricting
Query
_get
Restricting
Query
(
context
:
Context
)
:
Promise
<
Or
|
AllowAll
>
Parameters
context:
Context
Returns
Promise
<
Or
|
AllowAll
>
_is
Unwind
Stage
_is
Unwind
Stage
(
stages
:
QueryStage
[]
, i
:
number
)
:
any
Parameters
stages:
QueryStage
[]
i:
number
Returns
any
add
Query
add
Query
(
query
:
Query
)
:
void
Parameters
query:
Query
Returns
void
check
check
(
context
:
Context
, sealious_response
?:
SealiousResponse
)
:
Promise
<
PolicyDecision
|
null
>
Parameters
context:
Context
Optional
sealious_response:
SealiousResponse
Returns
Promise
<
PolicyDecision
|
null
>
check
All
Policies
check
All
Policies
(
context
:
Context
, response
?:
SealiousResponse
)
:
Promise
<
PolicyDecision
[]
>
Parameters
context:
Context
Optional
response:
SealiousResponse
Returns
Promise
<
PolicyDecision
[]
>
checker
Function
checker
Function
(
context
:
Context
, response
:
SealiousResponse
)
:
Promise
<
{
allowed
:
boolean
;
reason
:
string
}
>
Parameters
context:
Context
response:
SealiousResponse
Returns
Promise
<
{
allowed
:
boolean
;
reason
:
string
}
>
dump
dump
(
)
:
QueryStep
[]
Returns
QueryStep
[]
get
Restricting
Query
get
Restricting
Query
(
context
:
Context
)
:
Promise
<
Query
>
Parameters
context:
Context
Returns
Promise
<
Query
>
is
Item
Sensitive
is
Item
Sensitive
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
lookup
lookup
(
body
:
LookupBody
)
:
string
Parameters
body:
LookupBody
Returns
string
match
match
(
body
:
{}
)
:
void
Parameters
body:
{}
[
key:
string
]:
any
Returns
void
to
Pipeline
to
Pipeline
(
)
:
any
[]
Returns
any
[]
Static
allow
allow
(
reason
:
string
)
:
{
allowed
:
boolean
;
reason
:
string
}
Parameters
reason:
string
Returns
{
allowed
:
boolean
;
reason
:
string
}
allowed
:
boolean
reason
:
string
Static
deny
deny
(
reason
:
string
)
:
{
allowed
:
boolean
;
reason
:
string
}
Parameters
reason:
string
Returns
{
allowed
:
boolean
;
reason
:
string
}
allowed
:
boolean
reason
:
string
Static
from
Custom
Pipeline
from
Custom
Pipeline
(
stages
:
QueryStage
[]
)
:
Query
Parameters
stages:
QueryStage
[]
Returns
Query
Static
from
Definition
from
Definition
(
definition
:
PolicyDefinition
)
:
Policy
Parameters
definition:
PolicyDefinition
Returns
Policy
Static
from
Single
Match
from
Single
Match
(
body
:
any
)
:
Query
Parameters
body:
any
Returns
Query
Globals
Or
constructor
body
lookup_
steps
params
policies
steps
type_
name
_get
Match
Expressions
_get
Restricting
Query
_is
Unwind
Stage
add
Query
check
check
All
Policies
checker
Function
dump
get
Restricting
Query
is
Item
Sensitive
lookup
match
to
Pipeline
allow
deny
from
Custom
Pipeline
from
Definition
from
Single
Match
Generated using
TypeDoc