t×tecexpressby TeKOcloud
DEv0.7.1
API & types / VUE

TxLoadResult.

Load result with flat records and optional total count and group hierarchy.

ts
interface TxLoadResult<T> {
  data: T[]
  groups?: TxGroup<T>[]
  totalCount?: number
  groupCount?: number
}
FieldMeaning
dataRecords or event payload.
groupsResult group hierarchy.
totalCountTotal filtered record count before paging.
groupCountTop-level group count before paging.
ts
import type { TxLoadResult } from '@tekocloud.de/tecexpress'
const example: TxLoadResult<{ id: number }> = { data: [{ id: 1 }], totalCount: 1 }
console.log(example)