Skip to content

Commit

Permalink
Fixing missing OdataBatch typings
Browse files Browse the repository at this point in the history
  • Loading branch information
janhommes committed Sep 26, 2019
1 parent 67cd681 commit da55343
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "o.js",
"description": "o.js is a isomorphic Odata Javascript library to simplify the request of data. The main goal is to build a standalone, lightweight and easy to understand Odata lib.",
"version": "1.0.3",
"version": "1.0.4",
"main": "dist/cjs/o.js",
"browser": "dist/umd/o.js",
"module": "dist/es2015/o.js",
Expand Down
7 changes: 0 additions & 7 deletions src/OdataBatchConfig.ts

This file was deleted.

11 changes: 9 additions & 2 deletions src/OdataConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import { OdataBatchConfig } from "./OdataBatchConfig";
import { OHandler } from './OHandler';
import { OHandler } from "./OHandler";

export interface OdataBatchConfig {
endpoint?: string;
headers?: Headers;
boundaryPrefix?: string;
useChangset: boolean;
changsetBoundaryPrefix?: string;
}

export type OdataConfig = RequestInit & {
/**
Expand Down
1 change: 0 additions & 1 deletion src/o.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export function o(rootUrl: string | URL, config: OdataConfig | any = {}) {
* Default exports
*/
export * from "./OBatch";
export * from "./OdataBatchConfig";
export * from "./OdataConfig";
export * from "./OdataQuery";
export * from "./OHandler";
Expand Down

0 comments on commit da55343

Please sign in to comment.