Vue Common Types - data - custom-store

GroupItem

An additional type for LoadResult.

import { GroupItem } from "devextreme/common/data/custom-store"
Type:

Object

isGroupItemsArray

A type guard function that checks whether LoadResult is an array of GroupItems.

import { isGroupItemsArray } from "devextreme/common/data/custom-store"

isItemsArray

A type guard function that checks whether LoadResult is an array of items.

import { isItemsArray } from "devextreme/common/data/custom-store"

isLoadResultObject

A type guard function that checks whether LoadResult is a LoadResultObject.

import { isLoadResultObject } from "devextreme/common/data/custom-store"

LoadResult

Specifies returned data of the load() method in CustomStore.

import { LoadResult } from "devextreme/common/data/custom-store"
Type:

Object

Can be an array of items, GroupItems, or a LoadResultObject.

LoadResultObject

An additional type for LoadResult.

import { LoadResultObject } from "devextreme/common/data/custom-store"
Type:

Object

Includes the following fields:

  • data
    Contains an array of items or GroupItems.

  • totalCount

  • summary

  • groupCount