Search
Preparing search index...
The search index is not available
sealious
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
And
Class And
Hierarchy
Query
ReducingPolicy
And
Index
Constructors
constructor
Properties
aggregation_
steps
body
graph
params
policies
received_
deny_
all
steps
type_
name
Methods
_add
Dependencies
InGraph
_add
ToAggregation
Steps
_get
Restricting
Query
_is
InGraph
_is
Not
Dependency
For
Any
InGroup
_is
Unwind
Stage
_reset
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
And
(
...
queries
:
Query
[]
)
:
And
Parameters
Rest
...
queries:
Query
[]
Returns
And
Properties
aggregation_
steps
aggregation_
steps
:
{}
Type declaration
[
id:
string
]:
QueryStep
|
QueryStep
[]
body
body
:
any
graph
graph
:
Graph
params
params
:
any
policies
policies
:
Policy
[]
received_
deny_
all
received_
deny_
all
:
boolean
steps
steps
:
QueryStep
[]
Static
type_
name
type_
name
:
string
= "and"
Methods
_add
Dependencies
InGraph
_add
Dependencies
InGraph
(
id
:
string
, step
:
QueryStep
)
:
void
Parameters
id:
string
step:
QueryStep
Returns
void
_add
ToAggregation
Steps
_add
ToAggregation
Steps
(
id
:
string
, step
:
QueryStep
)
:
void
Parameters
id:
string
step:
QueryStep
Returns
void
_get
Restricting
Query
_get
Restricting
Query
(
context
:
Context
)
:
Promise
<
And
>
Parameters
context:
Context
Returns
Promise
<
And
>
_is
InGraph
_is
InGraph
(
key
:
string
)
:
boolean
Parameters
key:
string
Returns
boolean
_is
Not
Dependency
For
Any
InGroup
_is
Not
Dependency
For
Any
InGroup
(
id
:
string
, nodeGroup
:
string
[]
)
:
boolean
Parameters
id:
string
nodeGroup:
string
[]
Returns
boolean
_is
Unwind
Stage
_is
Unwind
Stage
(
stages
:
QueryStage
[]
, i
:
number
)
:
any
Parameters
stages:
QueryStage
[]
i:
number
Returns
any
_reset
_reset
(
)
:
void
Returns
void
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
(
)
:
Bluebird
<
unknown
>
Returns
Bluebird
<
unknown
>
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
And
constructor
aggregation_
steps
body
graph
params
policies
received_
deny_
all
steps
type_
name
_add
Dependencies
InGraph
_add
ToAggregation
Steps
_get
Restricting
Query
_is
InGraph
_is
Not
Dependency
For
Any
InGroup
_is
Unwind
Stage
_reset
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