synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
182 lines • 5.02 kB
TypeScript
import { AsynchronousJobStatus, QueryBundleRequest, QueryResultBundle } from '@sage-bionetworks/synapse-types';
export declare const mockQueryBundleRequest: QueryBundleRequest;
export declare const mockQueryResultBundle: {
concreteType: "org.sagebionetworks.repo.model.table.QueryResultBundle";
queryCount: number;
queryResult: {
concreteType: "org.sagebionetworks.repo.model.table.QueryResult";
queryResults: {
concreteType: string;
tableId: string;
etag: string;
headers: ({
name: string;
columnType: "ENTITYID";
id: string;
} | {
name: string;
columnType: "STRING";
id: string;
} | {
name: string;
columnType: "STRING_LIST";
id: string;
} | {
name: string;
columnType: "BOOLEAN";
id: string;
} | {
name: string;
columnType: "DATE";
id: string;
} | {
name: string;
columnType: "USERID";
id: string;
} | {
name: string;
columnType: "INTEGER";
id: string;
} | {
name: string;
columnType: "FILEHANDLEID";
id: string;
})[];
rows: {
rowId: number;
versionNumber: number;
etag: string;
values: (string | null)[];
}[];
};
};
selectColumns: ({
name: string;
columnType: "ENTITYID";
id: string;
} | {
name: string;
columnType: "STRING";
id: string;
} | {
name: string;
columnType: "STRING_LIST";
id: string;
} | {
name: string;
columnType: "BOOLEAN";
id: string;
} | {
name: string;
columnType: "DATE";
id: string;
} | {
name: string;
columnType: "USERID";
id: string;
} | {
name: string;
columnType: "INTEGER";
id: string;
} | {
name: string;
columnType: "FILEHANDLEID";
id: string;
})[];
maxRowsPerPage: number;
columnModels: ({
id: string;
name: string;
columnType: "ENTITYID";
maximumSize?: undefined;
maximumListLength?: undefined;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "STRING";
maximumSize: number;
maximumListLength?: undefined;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "STRING_LIST";
maximumSize: number;
maximumListLength: number;
facetType: "enumeration";
} | {
id: string;
name: string;
columnType: "STRING";
maximumSize: number;
facetType: "enumeration";
maximumListLength?: undefined;
} | {
id: string;
name: string;
columnType: "STRING_LIST";
maximumSize: number;
maximumListLength: number;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "BOOLEAN";
facetType: "enumeration";
maximumSize?: undefined;
maximumListLength?: undefined;
} | {
id: string;
name: string;
columnType: "BOOLEAN";
maximumSize?: undefined;
maximumListLength?: undefined;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "DATE";
maximumSize?: undefined;
maximumListLength?: undefined;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "USERID";
maximumSize?: undefined;
maximumListLength?: undefined;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "INTEGER";
maximumSize?: undefined;
maximumListLength?: undefined;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "FILEHANDLEID";
maximumSize?: undefined;
maximumListLength?: undefined;
facetType?: undefined;
})[];
facets: {
concreteType: "org.sagebionetworks.repo.model.table.FacetColumnResultValues";
columnName: string;
facetType: "enumeration";
facetValues: {
value: string;
count: number;
isSelected: false;
}[];
}[];
sumFileSizes: {
sumFileSizesBytes: number;
greaterThan: true;
};
lastUpdatedOn: string;
};
export declare const mockCompleteAsyncJob: AsynchronousJobStatus<QueryBundleRequest, QueryResultBundle>;
//# sourceMappingURL=mockFileViewQuery.d.ts.map