moysklad-api-model
Version:
Объектная модель API МойСклад для TypeScript проектов
12 lines (11 loc) • 384 B
TypeScript
import type { EntityRef } from './EntityRef';
import type { MetaType } from './MetaType';
export type CollectionPageInfo = {
readonly size: number;
readonly limit: number;
readonly offset: number;
readonly nextHref?: string;
};
export interface CollectionRef<T extends MetaType = MetaType> extends EntityRef<T> {
meta: EntityRef<T>['meta'] & CollectionPageInfo;
}