Skip to content

Commit f13e60a

Browse files
ArrayOpen now supports json as well
1 parent 04b998d commit f13e60a

15 files changed

Lines changed: 191 additions & 107 deletions

File tree

lib/TileDBQuery/TileDBQuery.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,6 @@ export declare class TileDBQuery {
261261
ReadQuery(namespace: string, arrayName: string, body: QueryData, arraySchema?: ArraySchema): AsyncGenerator<{}, void, unknown>;
262262
private getResultsFromArrayBuffer;
263263
private throwError;
264-
ArrayOpen(namespace: string, array: string, queryType: Querytype): Promise<ArrayData>;
264+
ArrayOpen(namespace: string, array: string, queryType: Querytype, contentType?: string | undefined): Promise<ArrayData>;
265265
}
266266
export default TileDBQuery;

lib/TileDBQuery/TileDBQuery.js

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/TileDBQuery/TileDBQuery.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import responseTypes from "./responseTypes";
2+
export default responseTypes;

lib/constants/responseTypes/index.js

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/constants/responseTypes/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
declare const responseTypes: {
2+
"application/json": string;
3+
"application/capnp": string;
4+
};
5+
export default responseTypes;

lib/constants/responseTypes/responseTypes.js

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/constants/responseTypes/responseTypes.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)