@hosterai/types 0.0.4 → 0.0.5

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.
@@ -16,21 +16,17 @@ interface BaseMenuDto {
16
16
  * Menu item with URL (no submenu)
17
17
  */
18
18
  export interface MenuDtoWithUrl extends BaseMenuDto {
19
- type: 'url';
20
19
  /**
21
20
  * The URL associated with the tab.
22
21
  * The requests coming from the hoster will be signed
23
22
  * with jwt, which will contain information about the company
24
23
  */
25
24
  url: string;
26
- submenu?: never;
27
25
  }
28
26
  /**
29
27
  * Menu item with submenu (no URL)
30
28
  */
31
29
  export interface MenuDtoWithSubmenu extends BaseMenuDto {
32
- type: 'submenu';
33
- url?: never;
34
30
  /**
35
31
  * The list of tabs that will appear in the submenu and as a navigation bar above the main content
36
32
  * In case of only one tab, there will be neither a submenu nor a navigation bar.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hosterai/types",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {