@gandalan/weblibs 1.5.9 → 1.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/fluentApi.js +1 -1
- package/index.js +9 -1
- package/package.json +1 -1
package/api/fluentApi.js
CHANGED
|
@@ -134,7 +134,7 @@ export function createApi() {
|
|
|
134
134
|
*
|
|
135
135
|
* @export
|
|
136
136
|
* @param {string} url - The base URL for API requests.
|
|
137
|
-
* @param {FluentAuthManager} authManager - The authentication manager instance.
|
|
137
|
+
* @param {import("./fluentAuthManager").FluentAuthManager} authManager - The authentication manager instance.
|
|
138
138
|
* @return {FluentApi} Configured API instance for local use.
|
|
139
139
|
*/
|
|
140
140
|
export function fluentApi(url, authManager) {
|
package/index.js
CHANGED
|
@@ -11,12 +11,20 @@ export { restClient } from "./api/fluentRestClient";
|
|
|
11
11
|
// re-export all modules from the ui folder as named exports
|
|
12
12
|
export * from "./ui/index.js";
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* @typedef {import("./api/fluentApi").FluentApi} FluentApi
|
|
16
|
+
* @typedef {import("./api/fluentAuthManager").FluentAuthManager} FluentAuthManager
|
|
17
|
+
* @typedef {import("./api/fluentApi").FluentApi} IDAS
|
|
18
|
+
*/
|
|
19
|
+
|
|
14
20
|
/**
|
|
15
21
|
* @typedef {Object} NeherApp3Module
|
|
16
22
|
* @property {string} moduleName
|
|
17
23
|
* @property {(app: NeherApp3) => void} setup
|
|
18
24
|
* @property {(node : HTMLElement, props : NeherApp3Props) => function} mount Must return an unmount function
|
|
19
|
-
* @property {string?} embedUrl
|
|
25
|
+
* @property {string?} embedUrl
|
|
26
|
+
* @property {string[]} extraCSS
|
|
27
|
+
* @property {boolean} useShadowDom - If true, the app will be embedded in a shadow DOM. This is required for CSS isolation.
|
|
20
28
|
*/
|
|
21
29
|
|
|
22
30
|
/**
|