@websolutespa/bom-core 0.1.1 → 0.1.2

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @websolutespa/bom-core
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified: MockMenuService.
8
+
3
9
  ## 0.1.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -102,6 +102,7 @@ type ICategoryItem = ICategory & {
102
102
  items: ICategory[];
103
103
  };
104
104
  type ICategorized = {
105
+ abstract?: ILocalizable;
105
106
  category: IEquatable | ICategory;
106
107
  id: IEquatable;
107
108
  isDefault?: boolean;
@@ -221,37 +222,34 @@ type PageProps<T extends ICategorized = ICategorized> = {
221
222
  };
222
223
 
223
224
  type IMenuBase = {
225
+ abstract?: ILocalizable;
226
+ customClass?: string;
224
227
  id: IEquatable;
225
- abstract?: string;
226
- media?: IMedia;
227
228
  items?: IMenuItem[];
229
+ media?: IMedia;
230
+ title: ILocalizable;
228
231
  };
229
232
  type IMenuCategory = IMenuBase & {
230
233
  type: 'category';
231
- title: ILocalizable;
232
234
  href: string;
233
235
  category: IEquatable;
234
236
  };
235
237
  type IMenuGroup = IMenuBase & {
236
238
  type: 'group';
237
- title: ILocalizable;
238
239
  };
239
240
  type IMenuLink = IMenuBase & {
240
241
  type: 'link';
241
- title: ILocalizable;
242
242
  href: string;
243
243
  target: string;
244
244
  };
245
245
  type IMenuRoute = IMenuBase & {
246
246
  type: 'route';
247
- title: ILocalizable;
248
247
  href: string;
249
248
  page: IEquatable;
250
249
  schema: string;
251
250
  };
252
251
  type IMenuPage = IMenuBase & {
253
252
  type: 'page';
254
- title: ILocalizable;
255
253
  href: string;
256
254
  page: IEquatable;
257
255
  schema: string;
@@ -270,6 +268,7 @@ type IMenu = {
270
268
  */
271
269
  type IUndecoratedMenuBase = {
272
270
  abstract?: ILocalizable;
271
+ customClass?: string;
273
272
  id?: string;
274
273
  items: IUndecoratedMenuItem[];
275
274
  markets?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websolutespa/bom-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Core module of the BOM Repository",
5
5
  "keywords": [
6
6
  "bom",