synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
147 lines • 3.97 kB
TypeScript
declare const mockQueryResponseData: {
concreteType: "org.sagebionetworks.repo.model.table.QueryResultBundle";
queryResult: {
concreteType: "org.sagebionetworks.repo.model.table.QueryResult";
queryResults: {
concreteType: string;
tableId: string;
etag: string;
headers: ({
name: string;
columnType: "INTEGER";
id: string;
} | {
name: string;
columnType: "STRING";
id: string;
} | {
name: string;
columnType: "ENTITYID";
id: string;
} | {
name: string;
columnType: "DATE";
id: string;
} | {
name: string;
columnType: "USERID";
id: string;
} | {
name: string;
columnType: "BOOLEAN";
id: string;
})[];
rows: {
rowId: number;
versionNumber: number;
values: (string | null)[];
}[];
};
};
selectColumns: ({
name: string;
columnType: "INTEGER";
id: string;
} | {
name: string;
columnType: "STRING";
id: string;
} | {
name: string;
columnType: "ENTITYID";
id: string;
} | {
name: string;
columnType: "DATE";
id: string;
} | {
name: string;
columnType: "USERID";
id: string;
} | {
name: string;
columnType: "BOOLEAN";
id: string;
})[];
columnModels: ({
id: string;
name: string;
columnType: "INTEGER";
facetType: "range";
maximumSize?: undefined;
} | {
id: string;
name: string;
columnType: "STRING";
maximumSize: number;
facetType: "enumeration";
} | {
id: string;
name: string;
columnType: "STRING";
maximumSize: number;
facetType?: undefined;
} | {
id: string;
name: string;
columnType: "ENTITYID";
facetType: "enumeration";
maximumSize?: undefined;
} | {
id: string;
name: string;
columnType: "DATE";
facetType: "range";
maximumSize?: undefined;
} | {
id: string;
name: string;
columnType: "USERID";
facetType: "enumeration";
maximumSize?: undefined;
} | {
id: string;
name: string;
columnType: "BOOLEAN";
facetType: "enumeration";
maximumSize?: undefined;
})[];
facets: ({
concreteType: "org.sagebionetworks.repo.model.table.FacetColumnResultRange";
columnName: string;
facetType: "range";
columnMin: string;
selectedMin: string;
selectedMax: string;
columnMax: string;
facetValues?: undefined;
} | {
concreteType: "org.sagebionetworks.repo.model.table.FacetColumnResultValues";
columnName: string;
facetType: "enumeration";
facetValues: ({
value: string;
count: number;
isSelected: true;
} | {
value: string;
count: number;
isSelected: false;
})[];
columnMin?: undefined;
selectedMin?: undefined;
selectedMax?: undefined;
columnMax?: undefined;
} | {
concreteType: "org.sagebionetworks.repo.model.table.FacetColumnResultRange";
columnName: string;
facetType: "range";
columnMin: string;
columnMax: string;
selectedMin?: undefined;
selectedMax?: undefined;
facetValues?: undefined;
})[];
};
export default mockQueryResponseData;
//# sourceMappingURL=mockQueryResponseData.d.ts.map