@beinformed/ui 1.53.0 → 1.54.1
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/CHANGELOG.md +14 -0
- package/esm/hooks/useModelCatalog.js +25 -10
- package/esm/hooks/useModelCatalog.js.map +1 -1
- package/esm/hooks/useModularUIBasic.js +9 -4
- package/esm/hooks/useModularUIBasic.js.map +1 -1
- package/esm/redux/_modularui/ModularUIActions.js +1 -0
- package/esm/redux/_modularui/ModularUIActions.js.map +1 -1
- package/esm/redux/_modularui/ModularUIMiddleware.js +2 -1
- package/esm/redux/_modularui/ModularUIMiddleware.js.map +1 -1
- package/esm/redux/_modularui/types.js.map +1 -1
- package/lib/hooks/useModelCatalog.js +25 -10
- package/lib/hooks/useModelCatalog.js.flow +23 -3
- package/lib/hooks/useModelCatalog.js.map +1 -1
- package/lib/hooks/useModularUIBasic.js +9 -4
- package/lib/hooks/useModularUIBasic.js.flow +13 -5
- package/lib/hooks/useModularUIBasic.js.map +1 -1
- package/lib/redux/_modularui/ModularUIActions.js +1 -0
- package/lib/redux/_modularui/ModularUIActions.js.flow +1 -0
- package/lib/redux/_modularui/ModularUIActions.js.map +1 -1
- package/lib/redux/_modularui/ModularUIMiddleware.js +2 -1
- package/lib/redux/_modularui/ModularUIMiddleware.js.flow +2 -0
- package/lib/redux/_modularui/ModularUIMiddleware.js.map +1 -1
- package/lib/redux/_modularui/types.js.flow +1 -0
- package/lib/redux/_modularui/types.js.map +1 -1
- package/package.json +1 -1
- package/src/hooks/useModelCatalog.js +23 -3
- package/src/hooks/useModularUIBasic.js +13 -5
- package/src/redux/_modularui/ModularUIActions.js +1 -0
- package/src/redux/_modularui/ModularUIMiddleware.js +2 -0
- package/src/redux/_modularui/types.js +1 -0
- package/types/models/concepts/ConceptDetailModel.d.ts +9 -1
- package/types/models/concepts/ConceptLinkModel.d.ts +8 -0
- package/types/models/concepts/ConceptTypeDetailModel.d.ts +19 -0
- package/types/models/content/ContentIndexModel.d.ts +3 -0
- package/types/models/links/LinkCollection.d.ts +8 -0
- package/types/redux/_modularui/types.d.ts +1 -0
|
@@ -20,10 +20,18 @@ export default class LinkCollection extends BaseCollection<LinkModel> {
|
|
|
20
20
|
* Get a link by it's key, handy for getting the self link
|
|
21
21
|
*/
|
|
22
22
|
getLinkByKey(key: string): LinkModel | null;
|
|
23
|
+
/**
|
|
24
|
+
* Indicate if a link by key exists
|
|
25
|
+
*/
|
|
26
|
+
hasLinkByKey(key: string): boolean;
|
|
23
27
|
/**
|
|
24
28
|
* Get a link by it's Href
|
|
25
29
|
*/
|
|
26
30
|
getLinkByHref(href: Href | string): LinkModel | null;
|
|
31
|
+
/**
|
|
32
|
+
* Indicate if a link by href exists
|
|
33
|
+
*/
|
|
34
|
+
hasLinkByHref(href: Href | string): boolean;
|
|
27
35
|
/**
|
|
28
36
|
* Getting the links by group key. For instance getting all 'tab' links of the web application.
|
|
29
37
|
*/
|