Skip to content

OfflineTable

Defined in: offline/sw/offline-table.ts:54

new OfflineTable(entities): OfflineTable

Defined in: offline/sw/offline-table.ts:57

EntityType[]

OfflineTable

getTableRequest(request): any

Defined in: offline/sw/offline-table.ts:61

Request

any


table(request): TableResponse

Defined in: offline/sw/offline-table.ts:88

Filter the entities in the table, and then paginate the results. Return in the format of a table response.

any

TableResponse


paginate(request): PaginationResponse

Defined in: offline/sw/offline-table.ts:107

Filter and paginate the entities in the table.

any

PaginationResponse


filter(request, entities?): EntityType[]

Defined in: offline/sw/offline-table.ts:146

Filter the entities in the table by the pre_filters and filters.

any

EntityType[] = ...

EntityType[]


filterEntities(entities, filter): EntityType[]

Defined in: offline/sw/offline-table.ts:164

Filter the entities in the table.

EntityType[]

DNF

EntityType[]


paginateEntities(entities, page, resultsPerPage?): EntityType[]

Defined in: offline/sw/offline-table.ts:175

Paginate the entities in the table.

EntityType[]

number

number = 15

EntityType[]


match(entity, filter): boolean

Defined in: offline/sw/offline-table.ts:186

Match the entity against the filter.

EntityType

DNF

boolean


matchClause(entity, clause): boolean

Defined in: offline/sw/offline-table.ts:196

Match the entity against the clause.

EntityType

any

boolean