Skip to main content

Interface: RepoFindOptions

Defined in: service-core/src/models/RepoUtils.ts:70

The available options used for RepoUtils operations.

Extends

Properties

action?

optional action?: string

Defined in: service-core/src/models/RepoUtils.ts:76

Overrides the ACLAction checked for this operation instead of its usual default (COUNT for count(), LIST for find(), READ for findOne()). Used by callers layering a different operation on top of one of these (e.g. exists() checking ACLAction.EXISTS instead of COUNT when reusing count()).


ignoreACL?

optional ignoreACL?: boolean

Defined in: service-core/src/models/RepoUtils.ts:39

Set to true to ignore the ACL permissions check.

Inherited from

RepoOperationOptions.ignoreACL


includeDeleted?

optional includeDeleted?: boolean

Defined in: service-core/src/models/RepoUtils.ts:81

Set to true to include soft-deleted RecoverableBaseEntity rows/documents that would otherwise be excluded by default. Has no effect for a non-recoverable model class.


limit?

optional limit?: number

Defined in: service-core/src/models/RepoUtils.ts:83

The total number of resources to retrieve.


page?

optional page?: number

Defined in: service-core/src/models/RepoUtils.ts:85

The page number of the paginated results to retrieve.


pushChannels?

optional pushChannels?: string[]

Defined in: service-core/src/models/RepoUtils.ts:41

An additional list of channel names to send push notifications to.

Inherited from

RepoOperationOptions.pushChannels


recordEvent?

optional recordEvent?: boolean

Defined in: service-core/src/models/RepoUtils.ts:43

Indicates if a telemetry event should be broadcast for the request.

Inherited from

RepoOperationOptions.recordEvent


skipCache?

optional skipCache?: boolean

Defined in: service-core/src/models/RepoUtils.ts:87

Set to true to skip retrieval from the cache. Default is false.


skipPush?

optional skipPush?: boolean

Defined in: service-core/src/models/RepoUtils.ts:45

Set to true to not send a push notification.

Inherited from

RepoOperationOptions.skipPush


transaction?

optional transaction?: TransactionInfo

Defined in: service-core/src/models/RepoUtils.ts:47

The transactional session to execute the operation within.

Inherited from

RepoOperationOptions.transaction


user?

optional user?: JWTUser

Defined in: service-core/src/models/RepoUtils.ts:49

The authenticated user making the request.

Inherited from

RepoOperationOptions.user


version?

optional version?: string | number

Defined in: service-core/src/models/RepoUtils.ts:89

The desired version number of the resources to retrieve.