hh-contracts 0.0.17 → 0.0.19

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.
@@ -2,14 +2,21 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ICON_KEY = void 0;
4
4
  exports.ICON_KEY = {
5
- EyeIcon: 'EyeIcon',
6
- EyeSlashIcon: 'EyeSlashIcon',
7
- ChevronRightIcon: 'ChevronRightIcon',
8
- MoonIcon: 'MoonIcon',
9
- SunIcon: 'SunIcon',
10
- LogoIcon: 'LogoIcon',
11
- HousekeepingIcon: 'HousekeepingIcon',
12
- Bars3CenterLeftIcon: 'Bars3CenterLeftIcon',
13
- CountryFlagIconGB: 'CountryFlagIconGB',
14
- CountryFlagIconRU: 'CountryFlagIconRU',
5
+ // eye: 'eye',
6
+ // eyeSlash: 'eyeSlash',
7
+ chevronDown: 'chevronDown',
8
+ moon: 'moon',
9
+ sun: 'sun',
10
+ // user: 'user',
11
+ menu: 'menu',
12
+ language: 'language',
13
+ // close: 'close',
14
+ // check: 'check',
15
+ // closeFilled: 'closeFilled',
16
+ logo: 'logo',
17
+ housekeeping: 'housekeeping',
18
+ flagGB: 'flagGB',
19
+ flagRU: 'flagRU',
20
+ radioBase: 'radioBase',
21
+ radioChecked: 'radioChecked',
15
22
  };
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NavigationItem = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const models_1 = require("../models");
6
- const NavigationItemBase = models_1.NavigationItemEntityBaseSchema.transform(({ parentId, description, iconKey, link, routeComponentKey, type, disabled, order, ...rest }) => ({
6
+ const NavigationItemBase = models_1.NavigationItemEntityBaseSchema.transform(({ parentId, description, iconKey, link, routeComponentKey, disabled, order, ...rest }) => ({
7
7
  ...rest,
8
8
  description: description || undefined,
9
9
  iconKey: iconKey || undefined,
@@ -1,14 +1,23 @@
1
1
  export const ICON_KEY = {
2
- EyeIcon: 'EyeIcon',
3
- EyeSlashIcon: 'EyeSlashIcon',
4
- ChevronRightIcon: 'ChevronRightIcon',
5
- MoonIcon: 'MoonIcon',
6
- SunIcon: 'SunIcon',
7
- LogoIcon: 'LogoIcon',
8
- HousekeepingIcon: 'HousekeepingIcon',
9
- Bars3CenterLeftIcon: 'Bars3CenterLeftIcon',
10
- CountryFlagIconGB: 'CountryFlagIconGB',
11
- CountryFlagIconRU: 'CountryFlagIconRU',
2
+ // eye: 'eye',
3
+ // eyeSlash: 'eyeSlash',
4
+ chevronDown: 'chevronDown',
5
+ moon: 'moon',
6
+ sun: 'sun',
7
+ // user: 'user',
8
+ menu: 'menu',
9
+ language: 'language',
10
+ // close: 'close',
11
+ // check: 'check',
12
+
13
+ // closeFilled: 'closeFilled',
14
+
15
+ logo: 'logo',
16
+ housekeeping: 'housekeeping',
17
+ flagGB: 'flagGB',
18
+ flagRU: 'flagRU',
19
+ radioBase: 'radioBase',
20
+ radioChecked: 'radioChecked',
12
21
  } as const;
13
22
 
14
23
  export type TIconKey = (typeof ICON_KEY)[keyof typeof ICON_KEY];
@@ -3,17 +3,7 @@ import { NavigationItemEntityBaseSchema, NavigationItemEntitySchema } from '../m
3
3
  import { TDeepOptionalize } from '../types';
4
4
 
5
5
  const NavigationItemBase = NavigationItemEntityBaseSchema.transform(
6
- ({
7
- parentId,
8
- description,
9
- iconKey,
10
- link,
11
- routeComponentKey,
12
- type,
13
- disabled,
14
- order,
15
- ...rest
16
- }) => ({
6
+ ({ parentId, description, iconKey, link, routeComponentKey, disabled, order, ...rest }) => ({
17
7
  ...rest,
18
8
  description: description || undefined,
19
9
  iconKey: iconKey || undefined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-contracts",
3
- "version": "0.0.17",
3
+ "version": "0.0.19",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {