apiDataSource top-level constant
DataSourceSpec
const apiDataSource
One of the project's HTTP APIs, called once per page.
Implementation
const apiDataSource = DataSourceSpec(
'api',
fields: [PaginationFields.apiId, PaginationFields.parameters, PaginationFields.itemsPath, PaginationFields.totalPath,
PaginationFields.cursorPath],
pages: true,
requires: ['api'],
doc: 'A project API, one call per page; the items, total and cursor read at their paths of the response.',
);