Preparing search index...
The search index is not available
Entity
Entity
@expo/entity
AlwaysSkipPrivacyPolicyRule
Class AlwaysSkipPrivacyPolicyRule<TFields, TID, TViewerContext, TEntity, TSelectedFields>
A no-op policy rule that always skips.
Type Parameters
TFields
extends
object
TID
extends
NonNullable
<
TFields
[
TSelectedFields
]
>
TViewerContext
extends
ViewerContext
TEntity
extends
ReadonlyEntity
<
TFields
,
TID
,
TViewerContext
,
TSelectedFields
>
TSelectedFields
extends
keyof
TFields
=
keyof
TFields
Hierarchy (
view full
)
PrivacyPolicyRule
<
TFields
,
TID
,
TViewerContext
,
TEntity
,
TSelectedFields
>
AlwaysSkipPrivacyPolicyRule
Index
Constructors
constructor
Methods
evaluate
Async
Constructors
constructor
new
Always
Skip
Privacy
Policy
Rule
<
TFields
,
TID
,
TViewerContext
,
TEntity
,
TSelectedFields
>
(
)
:
AlwaysSkipPrivacyPolicyRule
<
TFields
,
TID
,
TViewerContext
,
TEntity
,
TSelectedFields
>
Type Parameters
TFields
extends
object
TID
extends
{}
TViewerContext
extends
ViewerContext
TEntity
extends
ReadonlyEntity
<
TFields
,
TID
,
TViewerContext
,
TSelectedFields
>
TSelectedFields
extends
string
|
number
|
symbol
=
keyof
TFields
Returns
AlwaysSkipPrivacyPolicyRule
<
TFields
,
TID
,
TViewerContext
,
TEntity
,
TSelectedFields
>
Methods
evaluate
Async
evaluate
Async
(
_viewerContext
,
_queryContext
,
_evaluationContext
,
_entity
)
:
Promise
<
RuleEvaluationResult
>
Parameters
_viewerContext
:
TViewerContext
_queryContext
:
EntityQueryContext
_evaluationContext
:
EntityPrivacyPolicyEvaluationContext
<
TFields
,
TID
,
TViewerContext
,
TEntity
,
TSelectedFields
>
_entity
:
TEntity
Returns
Promise
<
RuleEvaluationResult
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
evaluate
Async
Entity
Loading...
A no-op policy rule that always skips.