Skip to content

Commit 317a107

Browse files
Absolute or relative path option for ext objects
1 parent 8f9ebea commit 317a107

28 files changed

+128
-79
lines changed

dist/amd/simplicite.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,8 @@ declare module "simplicite" {
16881688
* @param {object} [data] Optional data (for 'POST' and 'PUT' methods only)
16891689
* @param {object} [opts] Options
16901690
* @param {function} [opts.error] Error handler function
1691-
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set
1691+
* @param {string} [opts.path] Absolute or relative path (e.g. absolute '/my/mapped/upath' or relative 'my/additional/path')
1692+
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set)
16921693
* @param {function} [opts.contentType] Optional data content type (for 'POST' and 'PUT' methods only)
16931694
* @return {promise<object>} Promise to the external object content
16941695
* @function

dist/amd/simplicite.js

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

dist/amd/simplicite.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.

dist/cjs/simplicite.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Simplicite(R) platform Javascript API client module (for node.js and browser).
33
* @module simplicite
4-
* @version 2.2.26
4+
* @version 2.2.27
55
* @license Apache-2.0
66
*/
77
/**
@@ -1693,7 +1693,8 @@ declare class ExternalObject {
16931693
* @param {object} [data] Optional data (for 'POST' and 'PUT' methods only)
16941694
* @param {object} [opts] Options
16951695
* @param {function} [opts.error] Error handler function
1696-
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set
1696+
* @param {string} [opts.path] Absolute or relative path (e.g. absolute '/my/mapped/upath' or relative 'my/additional/path')
1697+
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set)
16971698
* @param {function} [opts.contentType] Optional data content type (for 'POST' and 'PUT' methods only)
16981699
* @return {promise<object>} Promise to the external object content
16991700
* @function

dist/cjs/simplicite.js

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

dist/cjs/simplicite.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.

dist/esm/simplicite.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Simplicite(R) platform Javascript API client module (for node.js and browser).
33
* @module simplicite
4-
* @version 2.2.26
4+
* @version 2.2.27
55
* @license Apache-2.0
66
*/
77
/**
@@ -1693,7 +1693,8 @@ declare class ExternalObject {
16931693
* @param {object} [data] Optional data (for 'POST' and 'PUT' methods only)
16941694
* @param {object} [opts] Options
16951695
* @param {function} [opts.error] Error handler function
1696-
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set
1696+
* @param {string} [opts.path] Absolute or relative path (e.g. absolute '/my/mapped/upath' or relative 'my/additional/path')
1697+
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set)
16971698
* @param {function} [opts.contentType] Optional data content type (for 'POST' and 'PUT' methods only)
16981699
* @return {promise<object>} Promise to the external object content
16991700
* @function

dist/esm/simplicite.js

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

dist/esm/simplicite.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.

dist/simplicite.min.js

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

dist/simplicite.min.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.

dist/umd/simplicite.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Simplicite(R) platform Javascript API client module (for node.js and browser).
33
* @module simplicite
4-
* @version 2.2.26
4+
* @version 2.2.27
55
* @license Apache-2.0
66
*/
77
/**
@@ -1693,7 +1693,8 @@ declare class ExternalObject {
16931693
* @param {object} [data] Optional data (for 'POST' and 'PUT' methods only)
16941694
* @param {object} [opts] Options
16951695
* @param {function} [opts.error] Error handler function
1696-
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set
1696+
* @param {string} [opts.path] Absolute or relative path (e.g. absolute '/my/mapped/upath' or relative 'my/additional/path')
1697+
* @param {object} [opts.method] Optional method 'GET', 'POST', 'PUT' or 'DELETE' (defaults to 'GET' if data is not set or 'POST' if data is set)
16971698
* @param {function} [opts.contentType] Optional data content type (for 'POST' and 'PUT' methods only)
16981699
* @return {promise<object>} Promise to the external object content
16991700
* @function

dist/umd/simplicite.js

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

dist/umd/simplicite.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.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ <h2>License</h2>
137137
<br class="clear">
138138

139139
<footer>
140-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Oct 20 2022 20:51:56 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
140+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sun Oct 23 2022 21:58:58 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
141141
</footer>
142142

143143
<script>prettyPrint();</script>

docs/module-simplicite-BusinessObject.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10171,7 +10171,7 @@ <h5>Returns:</h5>
1017110171
<br class="clear">
1017210172

1017310173
<footer>
10174-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Oct 20 2022 20:51:56 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
10174+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sun Oct 23 2022 21:58:58 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1017510175
</footer>
1017610176

1017710177
<script>prettyPrint();</script>

docs/module-simplicite-BusinessObjectMetadata.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ <h5>Parameters:</h5>
276276
<br class="clear">
277277

278278
<footer>
279-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Oct 20 2022 20:51:56 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
279+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sun Oct 23 2022 21:58:58 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
280280
</footer>
281281

282282
<script>prettyPrint();</script>

docs/module-simplicite-Doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2430,7 +2430,7 @@ <h5>Parameters:</h5>
24302430
<br class="clear">
24312431

24322432
<footer>
2433-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Thu Oct 20 2022 20:51:56 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
2433+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a> on Sun Oct 23 2022 21:58:58 GMT+0200 (heure d’été d’Europe centrale) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
24342434
</footer>
24352435

24362436
<script>prettyPrint();</script>

0 commit comments

Comments
 (0)