@omnia/fx-models 8.0.18-dev → 8.0.19-dev

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.
Files changed (40) hide show
  1. package/Enums.d.ts +1 -0
  2. package/Enums.js +1 -0
  3. package/admin/AdminModels.d.ts +42 -0
  4. package/enterprise-properties/EnterprisePropertyItemSettings.d.ts +2 -1
  5. package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.d.ts +17 -0
  6. package/internal-do-not-import-from-here/velcron/core/models/VelcronPropertyEditorDefinitions.js +13 -1
  7. package/package.json +1 -1
  8. package/properties/PropertyValue.d.ts +1 -0
  9. package/properties/PropertyValue.js +3 -0
  10. package/properties/definitions/TagsPropertyDefinition.d.ts +1 -0
  11. package/properties/definitions/TermSetPropertyDefinition.d.ts +3 -0
  12. package/properties/definitions/TermSetPropertyDefinition.js +3 -0
  13. package/properties/values/BirthdayPropertyValue.d.ts +1 -0
  14. package/properties/values/BirthdayPropertyValue.js +3 -0
  15. package/properties/values/BooleanPropertyValue.d.ts +1 -0
  16. package/properties/values/BooleanPropertyValue.js +3 -0
  17. package/properties/values/DatePropertyValue.d.ts +4 -0
  18. package/properties/values/DatePropertyValue.js +3 -0
  19. package/properties/values/DateTimePropertyValue.d.ts +1 -0
  20. package/properties/values/DateTimePropertyValue.js +3 -0
  21. package/properties/values/EmailPropertyValue.d.ts +1 -0
  22. package/properties/values/EmailPropertyValue.js +3 -0
  23. package/properties/values/HtmlPropertyValue.d.ts +1 -0
  24. package/properties/values/HtmlPropertyValue.js +3 -0
  25. package/properties/values/IdentityPropertyValue.d.ts +1 -0
  26. package/properties/values/IdentityPropertyValue.js +3 -0
  27. package/properties/values/ImagePropertyValue.d.ts +1 -0
  28. package/properties/values/ImagePropertyValue.js +3 -0
  29. package/properties/values/IntegerPropertyValue.d.ts +1 -0
  30. package/properties/values/IntegerPropertyValue.js +3 -0
  31. package/properties/values/LanguagePropertyValue.d.ts +1 -0
  32. package/properties/values/LanguagePropertyValue.js +3 -0
  33. package/properties/values/LinkPropertyValue.d.ts +1 -0
  34. package/properties/values/LinkPropertyValue.js +3 -0
  35. package/properties/values/TagsPropertyValue.d.ts +1 -0
  36. package/properties/values/TagsPropertyValue.js +3 -0
  37. package/properties/values/TextPropertyValue.d.ts +1 -0
  38. package/properties/values/TextPropertyValue.js +3 -0
  39. package/ux/AdminApi.d.ts +16 -2
  40. package/ux/InternalAdminApi.d.ts +22 -3
package/Enums.d.ts CHANGED
@@ -632,6 +632,7 @@ export declare enum ImageResolution {
632
632
  Large = 1920
633
633
  }
634
634
  export declare enum BladeSizes {
635
+ extrasmall = 4,
635
636
  small = 5,
636
637
  medium = 10,
637
638
  extramedium = 12,
package/Enums.js CHANGED
@@ -566,6 +566,7 @@ var ImageResolution;
566
566
  })(ImageResolution = exports.ImageResolution || (exports.ImageResolution = {}));
567
567
  var BladeSizes;
568
568
  (function (BladeSizes) {
569
+ BladeSizes[BladeSizes["extrasmall"] = 4] = "extrasmall";
569
570
  BladeSizes[BladeSizes["small"] = 5] = "small";
570
571
  BladeSizes[BladeSizes["medium"] = 10] = "medium";
571
572
  BladeSizes[BladeSizes["extramedium"] = 12] = "extramedium";
@@ -1,5 +1,47 @@
1
1
  import { AdminNavigationBuiltInCategory, BladeSizes, IIcon } from "../";
2
2
  import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
+ export interface AdminNavigationNode {
4
+ /**
5
+ * The id of the navigation node
6
+ */
7
+ id: GuidValue;
8
+ /**
9
+ * The title of the navigation node
10
+ */
11
+ title: string;
12
+ /**
13
+ * The icon
14
+ */
15
+ icon: IIcon;
16
+ /**
17
+ * The component with manifest id that will be rendered when selected
18
+ */
19
+ componentManifestId: GuidValue;
20
+ /**
21
+ * The url segment will append after manifest id in url.
22
+ */
23
+ customUrlSegment?: string;
24
+ /**
25
+ * Tooltip to show when hover on element
26
+ */
27
+ tooltip?: string;
28
+ /**
29
+ * Show or Hide node in Omnia Admin by checking permission with input security role id on current context
30
+ *
31
+ * If SecurityRole is undefined, and the Category is Tenant scope, then it requires Tenant Admin permission in current context.
32
+ * If SecurityRole is undefined, and the Category is Business Profile scope, then it requires Business Profile Admin permission in current context.
33
+ * If SecurityRole is undefined, and the Category is App Instance scope, then it requires App Instance Amin permission in current context.
34
+ * If SecurityRole is undefined, and the Category is not one of the Built-in scopes, then it requires Tenant Admin permission.
35
+ *
36
+ * If SecurityRole is any role, and the Category is Tenant scope, then it requires either Tenant Admin or the role permission in current context.
37
+ * If SecurityRole is any role, and the Category is Business Profile scope, then it requires either Business Profile Admin or the role permission in current context.
38
+ * If SecurityRole is any role, and the Category is App Instance scope, then it requires either App Instance Admin or the role permission in current context.
39
+ * If SecurityRole is any role, and the Category is not one of the Built-in scopes, then it requires the role permission in current context.
40
+ *
41
+ * If securityRole is set to "AlwaysAuthorized", then it does not require any permission.
42
+ */
43
+ securityRole?: "AlwaysAuthorized" | GuidValue;
44
+ }
3
45
  export interface NavigationNodeInitializeMessage {
4
46
  readonly key: string;
5
47
  state: NavigationNodeReactiveState;
@@ -1,4 +1,4 @@
1
- import { GuidValue, MultilingualString, PropertyIndexedType } from "../";
1
+ import { GuidValue, MultilingualString, PromotedTagOptions, PropertyIndexedType } from "../";
2
2
  import { RichTextEditorExtension } from "../../ux/richtexteditor";
3
3
  export interface EnterprisePropertyItemSettings {
4
4
  type: PropertyIndexedType;
@@ -36,6 +36,7 @@ export interface EnterprisePropertyLanguageItemSettings extends EnterpriseProper
36
36
  export interface EnterprisePropertyTagsItemSettings extends EnterprisePropertyItemSettings {
37
37
  type: PropertyIndexedType.Tags;
38
38
  allowMultipleValues: boolean;
39
+ promotedTagOptions?: PromotedTagOptions;
39
40
  }
40
41
  export interface EnterprisePropertyPersonItemSettings extends EnterprisePropertyItemSettings {
41
42
  type: PropertyIndexedType.Person;
@@ -83,8 +83,25 @@ export interface VelcronState {
83
83
  styling?: VelcronStylingState;
84
84
  colorSchema?: VelcronColorSchemaState;
85
85
  content?: VelcronContentState;
86
+ header?: VelcronHeaderState;
86
87
  properties?: VelcronPropertiesState;
87
88
  }
89
+ export interface VelcronHeaderState {
90
+ title?: VelcronTextState;
91
+ icon?: string;
92
+ }
93
+ export declare const VelcronHeaderStateBinding: {
94
+ title: {
95
+ text: string;
96
+ typography: {
97
+ editor: any;
98
+ type: any;
99
+ size: any;
100
+ toned: any;
101
+ };
102
+ };
103
+ icon: string;
104
+ };
88
105
  export interface VelcronTextState {
89
106
  text: string;
90
107
  typography?: VelcronTypographyState;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuiltInPropertyEditorTypes = void 0;
3
+ exports.VelcronHeaderStateBinding = exports.BuiltInPropertyEditorTypes = void 0;
4
4
  var BuiltInPropertyEditorTypes;
5
5
  (function (BuiltInPropertyEditorTypes) {
6
6
  BuiltInPropertyEditorTypes["text"] = "text";
@@ -14,3 +14,15 @@ var BuiltInPropertyEditorTypes;
14
14
  BuiltInPropertyEditorTypes["typography"] = "typography";
15
15
  BuiltInPropertyEditorTypes["color-schema-type"] = "color-schema-type";
16
16
  })(BuiltInPropertyEditorTypes = exports.BuiltInPropertyEditorTypes || (exports.BuiltInPropertyEditorTypes = {}));
17
+ exports.VelcronHeaderStateBinding = {
18
+ title: {
19
+ text: "{{header.title.text}}",
20
+ typography: {
21
+ editor: "header.title.typography",
22
+ type: "{{header.title.typography.type}}",
23
+ size: "{{header.title.typography.size}}",
24
+ toned: "{{header.title.typography.toned}}",
25
+ }
26
+ },
27
+ icon: "{{header.icon}}"
28
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.18-dev",
4
+ "version": "8.0.19-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -10,4 +10,5 @@ export declare class PropertyValueBinding<TPropertyDefinition extends PropertyDe
10
10
  export declare abstract class PropertyValue {
11
11
  containValue?(other: PropertyValue): boolean;
12
12
  appendValue?(other: PropertyValue): PropertyValue;
13
+ getValue(): any;
13
14
  }
@@ -22,5 +22,8 @@ class PropertyValue {
22
22
  //Replace to the new value if the property isn't a term set property
23
23
  return this;
24
24
  }
25
+ getValue() {
26
+ return this;
27
+ }
25
28
  }
26
29
  exports.PropertyValue = PropertyValue;
@@ -5,6 +5,7 @@ export declare class TagsDisplaySettings extends PropertyDisplaySettingsBase {
5
5
  inline?: boolean;
6
6
  }
7
7
  export declare class TagsEditorSettings extends PropertyEditorSettingsBase {
8
+ allowMultipleValues?: boolean;
8
9
  }
9
10
  export declare class TagsPropertyDefinition extends PropertyDefinition<TagsPropertyValue, TagsDisplaySettings, TagsEditorSettings> {
10
11
  id: Guid;
@@ -13,6 +13,8 @@ export type SharePointTermSetPropertyEditorSettings = {
13
13
  locks?: PropertyLockStatusType<Omit<SharePointTermSetPropertyEditorSettings, "locks">>;
14
14
  multiple?: boolean;
15
15
  required?: boolean;
16
+ lcid?: number;
17
+ isEnterpriseKeyword?: boolean;
16
18
  };
17
19
  export declare const sharePointTermSetPropertyDefinitionId: Guid;
18
20
  export declare class SharePointTermSetPropertyValue extends PropertyValue {
@@ -20,6 +22,7 @@ export declare class SharePointTermSetPropertyValue extends PropertyValue {
20
22
  constructor(termIds: Guid[]);
21
23
  containValue(other: SharePointTermSetPropertyValue): boolean;
22
24
  appendValue(other: SharePointTermSetPropertyValue): SharePointTermSetPropertyValue;
25
+ getValue: () => string[];
23
26
  }
24
27
  export declare class SharePointTermSetPropertyDefinition extends PropertyDefinition<SharePointTermSetPropertyValue, SharePointTermSetPropertyDisplaySettings, SharePointTermSetPropertyEditorSettings, SharePointTermSetPropertySetupSettings> {
25
28
  id: Guid;
@@ -9,6 +9,9 @@ class SharePointTermSetPropertyValue extends PropertyValue_1.PropertyValue {
9
9
  constructor(termIds) {
10
10
  super();
11
11
  this.termIds = termIds;
12
+ this.getValue = () => {
13
+ return this.termIds.map(termId => termId.toString());
14
+ };
12
15
  }
13
16
  containValue(other) {
14
17
  if (this?.termIds?.length == 0)
@@ -3,4 +3,5 @@ export declare class BirthdayPropertyValue extends PropertyValue {
3
3
  timeZoneId: string;
4
4
  birthday: string;
5
5
  constructor(birthday: Date, timeZoneId: string);
6
+ getValue: () => string;
6
7
  }
@@ -6,6 +6,9 @@ class BirthdayPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(birthday, timeZoneId) {
7
7
  super();
8
8
  this.timeZoneId = timeZoneId;
9
+ this.getValue = () => {
10
+ return this.birthday;
11
+ };
9
12
  this.birthday = birthday.toJSON();
10
13
  }
11
14
  }
@@ -2,4 +2,5 @@ import { PropertyValue } from "../PropertyValue";
2
2
  export declare class BooleanPropertyValue extends PropertyValue {
3
3
  boolean: boolean;
4
4
  constructor(boolean: boolean);
5
+ getValue: () => boolean;
5
6
  }
@@ -6,6 +6,9 @@ class BooleanPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(boolean) {
7
7
  super();
8
8
  this.boolean = boolean;
9
+ this.getValue = () => {
10
+ return this.boolean;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.BooleanPropertyValue = BooleanPropertyValue;
@@ -3,4 +3,8 @@ export declare class DatePropertyValue extends PropertyValue {
3
3
  date: string;
4
4
  timeZoneId: string;
5
5
  constructor(date: Date, timeZoneId: string);
6
+ getValue: () => {
7
+ date: string;
8
+ timeZoneId: string;
9
+ };
6
10
  }
@@ -5,6 +5,9 @@ const PropertyValue_1 = require("../PropertyValue");
5
5
  class DatePropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(date, timeZoneId) {
7
7
  super();
8
+ this.getValue = () => {
9
+ return { date: this.date, timeZoneId: this.timeZoneId };
10
+ };
8
11
  this.date = date.toJSON();
9
12
  this.timeZoneId = timeZoneId.toString();
10
13
  }
@@ -3,4 +3,5 @@ export declare class DateTimePropertyValue extends PropertyValue {
3
3
  timeZoneId: string;
4
4
  dateTime: string;
5
5
  constructor(dateTime: Date, timeZoneId: string);
6
+ getValue: () => string;
6
7
  }
@@ -6,6 +6,9 @@ class DateTimePropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(dateTime, timeZoneId) {
7
7
  super();
8
8
  this.timeZoneId = timeZoneId;
9
+ this.getValue = () => {
10
+ return this.dateTime;
11
+ };
9
12
  this.dateTime = dateTime.toJSON();
10
13
  }
11
14
  }
@@ -2,4 +2,5 @@ import { PropertyValue } from "../PropertyValue";
2
2
  export declare class EmailPropertyValue extends PropertyValue {
3
3
  email: string;
4
4
  constructor(email: string);
5
+ getValue: () => string;
5
6
  }
@@ -6,6 +6,9 @@ class EmailPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(email) {
7
7
  super();
8
8
  this.email = email;
9
+ this.getValue = () => {
10
+ return this.email;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.EmailPropertyValue = EmailPropertyValue;
@@ -2,4 +2,5 @@ import { PropertyValue } from "../PropertyValue";
2
2
  export declare class HtmlPropertyValue extends PropertyValue {
3
3
  html: string;
4
4
  constructor(html: string);
5
+ getValue: () => string;
5
6
  }
@@ -6,6 +6,9 @@ class HtmlPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(html) {
7
7
  super();
8
8
  this.html = html;
9
+ this.getValue = () => {
10
+ return this.html;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.HtmlPropertyValue = HtmlPropertyValue;
@@ -3,4 +3,5 @@ import { PropertyValue } from "../PropertyValue";
3
3
  export declare class IdentityPropertyValue extends PropertyValue {
4
4
  identities: Identity[];
5
5
  constructor(identities: Identity[]);
6
+ getValue(): Identity[];
6
7
  }
@@ -7,5 +7,8 @@ class IdentityPropertyValue extends PropertyValue_1.PropertyValue {
7
7
  super();
8
8
  this.identities = identities;
9
9
  }
10
+ getValue() {
11
+ return this.identities;
12
+ }
10
13
  }
11
14
  exports.IdentityPropertyValue = IdentityPropertyValue;
@@ -4,4 +4,5 @@ export declare class ImagePropertyValue extends PropertyValue {
4
4
  image: MediaPickerImage;
5
5
  queryValue: number;
6
6
  constructor(image: MediaPickerImage);
7
+ getValue: () => MediaPickerImage;
7
8
  }
@@ -6,6 +6,9 @@ class ImagePropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(image) {
7
7
  super();
8
8
  this.image = image;
9
+ this.getValue = () => {
10
+ return this.image;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.ImagePropertyValue = ImagePropertyValue;
@@ -2,4 +2,5 @@ import { PropertyValue } from "../PropertyValue";
2
2
  export declare class IntegerPropertyValue extends PropertyValue {
3
3
  integer: number;
4
4
  constructor(integer: number);
5
+ getValue: () => number;
5
6
  }
@@ -6,6 +6,9 @@ class IntegerPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(integer) {
7
7
  super();
8
8
  this.integer = integer;
9
+ this.getValue = () => {
10
+ return this.integer;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.IntegerPropertyValue = IntegerPropertyValue;
@@ -3,4 +3,5 @@ import { PropertyValue } from "../PropertyValue";
3
3
  export declare class LanguagePropertyValue extends PropertyValue {
4
4
  language: LanguageTags;
5
5
  constructor(language: LanguageTags);
6
+ getValue: () => LanguageTags;
6
7
  }
@@ -6,6 +6,9 @@ class LanguagePropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(language) {
7
7
  super();
8
8
  this.language = language;
9
+ this.getValue = () => {
10
+ return this.language;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.LanguagePropertyValue = LanguagePropertyValue;
@@ -2,4 +2,5 @@ import { PropertyValue } from "../PropertyValue";
2
2
  export declare class LinkPropertyValue extends PropertyValue {
3
3
  link: string;
4
4
  constructor(link: string);
5
+ getValue: () => string;
5
6
  }
@@ -6,6 +6,9 @@ class LinkPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(link) {
7
7
  super();
8
8
  this.link = link;
9
+ this.getValue = () => {
10
+ return this.link;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.LinkPropertyValue = LinkPropertyValue;
@@ -3,4 +3,5 @@ import { PropertyValue } from "../PropertyValue";
3
3
  export declare class TagsPropertyValue extends PropertyValue {
4
4
  tags: Array<Tag>;
5
5
  constructor(tags: Array<Tag>);
6
+ getValue: () => Tag[];
6
7
  }
@@ -6,6 +6,9 @@ class TagsPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(tags) {
7
7
  super();
8
8
  this.tags = tags;
9
+ this.getValue = () => {
10
+ return this.tags;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.TagsPropertyValue = TagsPropertyValue;
@@ -2,4 +2,5 @@ import { PropertyValue } from "../PropertyValue";
2
2
  export declare class TextPropertyValue extends PropertyValue {
3
3
  text: string;
4
4
  constructor(text: string);
5
+ getValue: () => string;
5
6
  }
@@ -6,6 +6,9 @@ class TextPropertyValue extends PropertyValue_1.PropertyValue {
6
6
  constructor(text) {
7
7
  super();
8
8
  this.text = text;
9
+ this.getValue = () => {
10
+ return this.text;
11
+ };
9
12
  }
10
13
  }
11
14
  exports.TextPropertyValue = TextPropertyValue;
package/ux/AdminApi.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { NavigationNode, NavigationNodeInitializeMessage } from "../admin";
2
- import { ApiPath } from "../Extends";
1
+ import { Guid, GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
2
+ import { AdminNavigationNode, NavigationNode, NavigationNodeInitializeMessage } from "../admin";
3
+ import { ApiPath, IExtendApiManifestWithConfiguration } from "../Extends";
3
4
  import { IMessageBusTopicPublishSubscriber, NavigationMenuNode } from "../Messaging";
4
5
  export interface IRegisterAdminNavigationNode {
5
6
  registerNavigationNode: (nodes: NavigationNode | NavigationNode[]) => void;
@@ -7,6 +8,10 @@ export interface IRegisterAdminNavigationNode {
7
8
  export interface IRegisterAdminNavigationMenuNode {
8
9
  registerNavigationMenuNode: (nodes: NavigationMenuNode | NavigationMenuNode[]) => void;
9
10
  }
11
+ export interface INavigationNodeRegistration {
12
+ registerToCategory(node: AdminNavigationNode, category: string, weight?: number): void;
13
+ registerToParentNode(node: AdminNavigationNode, parentNodeId: Guid, weight?: number): void;
14
+ }
10
15
  export interface IAdminApi {
11
16
  registration: {
12
17
  navigationNode: Promise<IRegisterAdminNavigationNode>;
@@ -15,6 +20,9 @@ export interface IAdminApi {
15
20
  events: {
16
21
  initializeNavigationNode: Promise<IMessageBusTopicPublishSubscriber<NavigationNodeInitializeMessage>>;
17
22
  };
23
+ navigations: {
24
+ registrations: Promise<INavigationNodeRegistration>;
25
+ };
18
26
  }
19
27
  declare module "./UxApi" {
20
28
  interface IOmniaUxApi {
@@ -29,6 +37,12 @@ declare module "./UxApi" {
29
37
  events: {
30
38
  initializeNavigationNode: ApiPath;
31
39
  };
40
+ navigations: {
41
+ registrations: IExtendApiManifestWithConfiguration<{
42
+ category?: string;
43
+ parentNodeId?: GuidValue;
44
+ }>;
45
+ };
32
46
  };
33
47
  }
34
48
  }
@@ -1,9 +1,28 @@
1
- import { NavigationNode } from "../admin";
1
+ import { AdminNavigationBuiltInCategory, GuidValue } from "@omnia/fx-models";
2
+ import { AdminNavigationNode, NavigationNode } from "../admin";
2
3
  import { NavigationMenuNode, IMessageBusTopicSubscription } from "../Messaging";
3
- import { IRegisterAdminNavigationNode, IRegisterAdminNavigationMenuNode } from "./AdminApi";
4
- export interface IInternalAdminApi extends IRegisterAdminNavigationNode, IRegisterAdminNavigationMenuNode {
4
+ import { IRegisterAdminNavigationNode, IRegisterAdminNavigationMenuNode, INavigationNodeRegistration } from "./AdminApi";
5
+ export interface AdminNavigationNodeRegistration {
6
+ node: AdminNavigationNode;
7
+ /**
8
+ * This influence the order of the navigation nodes, be nice, use ordering with gap -100, 0, 100, 200
9
+ So other extensions etc can inject between
10
+ */
11
+ weight: number;
12
+ }
13
+ export interface IInternalAdminApi extends IRegisterAdminNavigationNode, IRegisterAdminNavigationMenuNode, INavigationNodeRegistration {
5
14
  getNavigationNodes: () => NavigationNode[];
6
15
  getNavigationMenuNodes: () => NavigationMenuNode[];
7
16
  onNavigationNodesChange: () => IMessageBusTopicSubscription<NavigationNode[]>;
8
17
  onNavigationMenuNodesChange: () => IMessageBusTopicSubscription<NavigationMenuNode[]>;
18
+ getNavigationNodeRegistrationsByCategory(category: string | AdminNavigationBuiltInCategory): Promise<AdminNavigationNodeRegistration[]>;
19
+ getNavigationNodeRegistrationsByParentNodeId(parentId: GuidValue): Promise<AdminNavigationNodeRegistration[]>;
20
+ onNavigationNodeRegistrationToParentAdded: () => IMessageBusTopicSubscription<{
21
+ parentNodeId: GuidValue;
22
+ node: AdminNavigationNodeRegistration;
23
+ }>;
24
+ onNavigationNodeRegistrationToCategoryAdded: () => IMessageBusTopicSubscription<{
25
+ category: string;
26
+ node: AdminNavigationNodeRegistration;
27
+ }>;
9
28
  }