@enonic-types/lib-admin 8.0.0-B4 → 8.0.0-B5

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 (2) hide show
  1. package/admin.d.ts +3 -3
  2. package/package.json +2 -2
package/admin.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare function getToolUrl(application: string, tool: string): string;
20
20
  */
21
21
  export declare function getHomeToolUrl(params?: GetHomeToolUrlParams): string;
22
22
  export interface GetHomeToolUrlParams {
23
- type: HomeToolUrlType;
23
+ type?: HomeToolUrlType;
24
24
  }
25
25
  export type HomeToolUrlType = 'server' | 'absolute';
26
26
  /**
@@ -46,7 +46,7 @@ export interface WidgetUrlParams {
46
46
  *
47
47
  * Returns the URL for a widget.
48
48
  *
49
- * @param {object} [params] Parameter object
49
+ * @param {object} params Parameter object
50
50
  * @param {string} params.application Application to reference to a widget.
51
51
  * @param {string} params.widget Name of the widget.
52
52
  * @param {string} [params.type=server] URL type. Either `server` (server-relative URL) or `absolute`.
@@ -64,7 +64,7 @@ export interface ExtensionUrlParams {
64
64
  /**
65
65
  * Returns the URL for an extension.
66
66
  *
67
- * @param {object} [params] Parameter object
67
+ * @param {object} params Parameter object
68
68
  * @param {string} params.application Application to reference to an extension.
69
69
  * @param {string} params.extension Name of the extension.
70
70
  * @param {string} [params.type=server] URL type. Either `server` (server-relative URL) or `absolute`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic-types/lib-admin",
3
- "version": "8.0.0-B4",
3
+ "version": "8.0.0-B5",
4
4
  "description": "Type definitions for lib-admin.",
5
5
  "types": "admin.d.ts",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/enonic/xp/tree/master#readme",
29
29
  "dependencies": {
30
- "@enonic-types/core": "8.0.0-B4"
30
+ "@enonic-types/core": "8.0.0-B5"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"