synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
27 lines (26 loc) • 713 B
TypeScript
import { EntityHeader } from './EntityHeader';
import { EntityType } from './EntityType';
export declare enum SortBy {
NAME = "NAME",
CREATED_ON = "CREATED_ON",
MODIFIED_ON = "MODIFIED_ON"
}
export declare enum Direction {
ASC = "ASC",
DESC = "DESC"
}
export declare type EntityChildrenRequest = {
parentId?: string;
nextPageToken?: string | null;
includeTypes: Array<EntityType>;
sortBy?: SortBy;
sortDirection?: Direction;
includeTotalChildCount?: boolean;
includeSumFileSizes?: boolean;
};
export declare type EntityChildrenResponse = {
page: EntityHeader[];
nextPageToken: string | null;
totalChildCount?: number;
sumFileSizesBytes?: number;
};