UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

27 lines (26 loc) 713 B
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; };