@omnia/fx-models 8.0.99-dev → 8.0.100-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.
package/Dictionary.d.ts CHANGED
@@ -1,20 +1,20 @@
1
1
  export type DictionarySupportedKeys = string | number | symbol;
2
2
  export interface IDictionary<TValue> {
3
3
  /**
4
- * Returns the value of the key, or null if it does not exist.
5
- */
4
+ * Returns the value of the key, or null if it does not exist.
5
+ */
6
6
  getValue(key: DictionarySupportedKeys): TValue | null;
7
7
  /**
8
- * Get the value of the specified key, or use the supplied factory to create and set the value if it doesn't exist.
9
- */
8
+ * Get the value of the specified key, or use the supplied factory to create and set the value if it doesn't exist.
9
+ */
10
10
  getOrSetInitialValue(key: DictionarySupportedKeys, initialValueFactory: () => TValue): TValue;
11
11
  /**
12
- * Changes the value of the key.
13
- */
12
+ * Changes the value of the key.
13
+ */
14
14
  setValue(key: DictionarySupportedKeys, value: TValue): void;
15
15
  /**
16
- * All keys.
17
- */
16
+ * All keys.
17
+ */
18
18
  keys: DictionarySupportedKeys[];
19
19
  }
20
20
  export declare class Dictionary<TValue> implements IDictionary<TValue> {
@@ -2,44 +2,44 @@ import { AdminNavigationBuiltInCategory, BladeSizes, IIcon } from "../";
2
2
  import { GuidValue } from "@omnia/fx-models/internal-do-not-import-from-here/shared/models";
3
3
  export interface AdminNavigationNode {
4
4
  /**
5
- * The id of the navigation node
6
- */
5
+ * The id of the navigation node
6
+ */
7
7
  id: GuidValue;
8
8
  /**
9
- * The title of the navigation node
10
- */
9
+ * The title of the navigation node
10
+ */
11
11
  title: string;
12
12
  /**
13
- * The icon
14
- */
13
+ * The icon
14
+ */
15
15
  icon: IIcon;
16
16
  /**
17
- * The component with manifest id that will be rendered when selected
18
- */
17
+ * The component with manifest id that will be rendered when selected
18
+ */
19
19
  componentManifestId: GuidValue;
20
20
  /**
21
- * The url segment will append after manifest id in url.
22
- */
21
+ * The url segment will append after manifest id in url.
22
+ */
23
23
  customUrlSegment?: string;
24
24
  /**
25
- * Tooltip to show when hover on element
26
- */
25
+ * Tooltip to show when hover on element
26
+ */
27
27
  tooltip?: string;
28
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
- */
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
43
  securityRole?: "AlwaysAuthorized" | GuidValue;
44
44
  }
45
45
  export interface NavigationNodeInitializeMessage {
package/docs/Api.d.ts CHANGED
@@ -2,6 +2,7 @@ type Doc = {
2
2
  type: string;
3
3
  description: string;
4
4
  required?: boolean;
5
+ defaultValue?: any;
5
6
  };
6
7
  export type ComponentDoc = {
7
8
  props?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-models",
3
3
  "license": "MIT",
4
- "version": "8.0.99-dev",
4
+ "version": "8.0.100-dev",
5
5
  "description": "Provide Omnia Fx Models Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"