Skip to content

Commit 46bcdb9

Browse files
adding esm bundles for browser and node in dist. finishing batch operation documentation closes#145. adding continue on error prefer header. separating readme files for npm and github
1 parent 16cb6ca commit 46bcdb9

18 files changed

+13501
-3551
lines changed

.github/README.md

Lines changed: 2430 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 13 additions & 2225 deletions
Large diffs are not rendered by default.

dist/browser/esm/dynamics-web-api.js

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

dist/dynamics-web-api.cjs.min.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

dist/dynamics-web-api.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ export declare class DynamicsWebApi {
347347
* @param request - An object that represents all possible options for a current request.
348348
* @returns {Promise} D365 Web Api Response
349349
*/
350-
executeBatch: (request?: BaseRequest) => Promise<any[]>;
350+
executeBatch: (request?: BatchRequest) => Promise<any[]>;
351351
/**
352352
* Creates a new instance of DynamicsWebApi. If the config is not provided, it is copied from the current instance.
353353
*
@@ -398,6 +398,9 @@ export interface BaseRequest {
398398
/**Indicates if an operation must be included in a Change Set or not. Works in Batch Operations only. By default, it's "true", except for GET operations - they are not allowed in Change Sets. */
399399
inChangeSet?: boolean;
400400
}
401+
export interface BatchRequest extends BaseRequest {
402+
continueOnError?: boolean;
403+
}
401404
export interface Request extends BaseRequest {
402405
/**A name of the Entity Collection or Entity Logical name. */
403406
collection: string;

dist/dynamics-web-api.js

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

dist/dynamics-web-api.min.js

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

0 commit comments

Comments
 (0)