Browse Source

Remove outdated user fields

pull/31/head
Sacha Weatherstone 4 years ago
parent
commit
b6f1234235
  1. 10
      package.json
  2. 236
      pnpm-lock.yaml
  3. 21
      src/components/PageComponents/Config/User.tsx
  4. 11
      src/validation/config/user.ts

10
package.json

@ -24,7 +24,7 @@
"@emeraldpay/hashicon-react": "^0.5.2",
"@hookform/resolvers": "^2.9.7",
"@meshtastic/eslint-config": "^1.0.8",
"@meshtastic/meshtasticjs": "^0.6.88",
"@meshtastic/meshtasticjs": "^0.6.91",
"base64-js": "^1.5.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
@ -35,10 +35,10 @@
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.34.0",
"react-hook-form": "^7.34.2",
"react-icons": "^4.4.0",
"react-json-pretty": "^2.2.0",
"react-qrcode-logo": "^2.7.0",
"react-qrcode-logo": "^2.8.0",
"rfc4648": "^1.5.2",
"snarkdown": "^2.0.0",
"swr": "^1.3.0",
@ -48,7 +48,7 @@
"devDependencies": {
"@types/chrome": "^0.0.193",
"@types/geodesy": "^2.2.3",
"@types/node": "^18.7.1",
"@types/node": "^18.7.5",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/w3c-web-serial": "^1.0.2",
@ -60,7 +60,7 @@
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"unimported": "^1.21.0",
"vite": "^3.0.6",
"vite": "^3.0.7",
"vite-plugin-cdn-import": "^0.3.5"
}
}

236
pnpm-lock.yaml

@ -5,10 +5,10 @@ specifiers:
'@emeraldpay/hashicon-react': ^0.5.2
'@hookform/resolvers': ^2.9.7
'@meshtastic/eslint-config': ^1.0.8
'@meshtastic/meshtasticjs': ^0.6.88
'@meshtastic/meshtasticjs': ^0.6.91
'@types/chrome': ^0.0.193
'@types/geodesy': ^2.2.3
'@types/node': ^18.7.1
'@types/node': ^18.7.5
'@types/react': ^18.0.17
'@types/react-dom': ^18.0.6
'@types/w3c-web-serial': ^1.0.2
@ -25,10 +25,10 @@ specifiers:
prettier: ^2.7.1
react: ^18.2.0
react-dom: ^18.2.0
react-hook-form: ^7.34.0
react-hook-form: ^7.34.2
react-icons: ^4.4.0
react-json-pretty: ^2.2.0
react-qrcode-logo: ^2.7.0
react-qrcode-logo: ^2.8.0
rfc4648: ^1.5.2
rollup-plugin-visualizer: ^5.7.1
snarkdown: ^2.0.0
@ -37,7 +37,7 @@ specifiers:
tslib: ^2.4.0
typescript: ^4.7.4
unimported: ^1.21.0
vite: ^3.0.6
vite: ^3.0.7
vite-plugin-cdn-import: ^0.3.5
vite-plugin-environment: ^1.1.2
zustand: 4.0.0
@ -45,9 +45,9 @@ specifiers:
dependencies:
'@arcgis/core': 4.24.7
'@emeraldpay/hashicon-react': 0.5.2
'@hookform/resolvers': 2.9[email protected].0
'@hookform/resolvers': 2.9[email protected].2
'@meshtastic/eslint-config': 1.0.8
'@meshtastic/meshtasticjs': 0.6.88
'@meshtastic/meshtasticjs': 0.6.91
base64-js: 1.5.1
class-transformer: 0.5.1
class-validator: 0.13.2
@ -58,32 +58,32 @@ dependencies:
prettier: 2.7.1
react: 18.2.0
react-dom: 18.2[email protected]
react-hook-form: 7.34.0[email protected]
react-hook-form: 7.34.2[email protected]
react-icons: 4.4[email protected]
react-json-pretty: 2.2.0_biqbaboplfbrettd7655fr4n2y
react-qrcode-logo: 2.7.0_biqbaboplfbrettd7655fr4n2y
react-qrcode-logo: 2.8.0_biqbaboplfbrettd7655fr4n2y
rfc4648: 1.5.2
snarkdown: 2.0.0
swr: 1.3[email protected]
vite-plugin-environment: 1.1[email protected].6
vite-plugin-environment: 1.1[email protected].7
zustand: 4.0[email protected][email protected]
devDependencies:
'@types/chrome': 0.0.193
'@types/geodesy': 2.2.3
'@types/node': 18.7.1
'@types/node': 18.7.5
'@types/react': 18.0.17
'@types/react-dom': 18.0.6
'@types/w3c-web-serial': 1.0.2
'@types/web-bluetooth': 0.0.15
'@vitejs/plugin-react': 2.0[email protected].6
'@vitejs/plugin-react': 2.0[email protected].7
gzipper: 7.1.0
rollup-plugin-visualizer: 5.7.1
tar: 6.1.11
tslib: 2.4.0
typescript: 4.7.4
unimported: 1.21.0
vite: 3.0.6
vite: 3.0.7
vite-plugin-cdn-import: 0.3.5
packages:
@ -477,12 +477,12 @@ packages:
base64-js: 1.5.1
dev: true
/@hookform/resolvers/[email protected].0:
/@hookform/resolvers/[email protected].2:
resolution: {integrity: sha512-BloehX3MOLwuFEwT4yZnmolPjVmqyn8VsSuodLfazbCIqxBHsQ4qUZsi+bvNNCduRli1AGWFrkDLGD5QoNzsoA==}
peerDependencies:
react-hook-form: ^7.0.0
dependencies:
react-hook-form: 7.34.0[email protected]
react-hook-form: 7.34.2[email protected]
dev: false
/@humanwhocodes/config-array/0.10.4:
@ -567,15 +567,15 @@ packages:
/@meshtastic/eslint-config/1.0.8:
resolution: {integrity: sha512-Jzwaf3TyYFGeFuxLRQA5Yj5Rmz097VleFQUkswXH9nvLO81JjJbHgJWbHQ6RpxC31q/2hWV03QdaH98swpYcQA==}
dependencies:
'@typescript-eslint/eslint-plugin': 5.33.0_njno5y7ry2l2lcmiu4tywxkwnq
'@typescript-eslint/parser': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
eslint: 8.21.0
eslint-config-prettier: 8.5[email protected]1.0
eslint-import-resolver-typescript: 2.7.1_jatgrcxl4x7ywe7ak6cnjca2ae
eslint-plugin-eslint-comments: 3.2[email protected]1.0
eslint-plugin-import: 2.26.0_kaovueczjnxqno6jq2wxve7si4
eslint-plugin-react: 7.30[email protected]1.0
eslint-plugin-react-hooks: 4.6[email protected]1.0
'@typescript-eslint/eslint-plugin': 5.33.1_vsoshirnpb7xw6mr7xomgfas2i
'@typescript-eslint/parser': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
eslint: 8.22.0
eslint-config-prettier: 8.5[email protected]2.0
eslint-import-resolver-typescript: 2.7.1_2iahngt3u2tkbdlu6s4gkur3pu
eslint-plugin-eslint-comments: 3.2[email protected]2.0
eslint-plugin-import: 2.26.0_2gqszymjwfeyh2k33jicxz5f4y
eslint-plugin-react: 7.30[email protected]2.0
eslint-plugin-react-hooks: 4.6[email protected]2.0
prettier: 2.7.1
prettier-plugin-tailwindcss: 0.1[email protected]
typescript: 4.7.4
@ -584,8 +584,8 @@ packages:
- supports-color
dev: false
/@meshtastic/meshtasticjs/0.6.88:
resolution: {integrity: sha512-c/n2OXTAx3+7r8ZkRVBuV1Q8kZ3/dKv8QzliJCAnhS+VKlwePqfDTg0tdQDOQ8f2uqUpumkfc03I6gegTyI0gA==}
/@meshtastic/meshtasticjs/0.6.91:
resolution: {integrity: sha512-CnH5VB8WuthELgpquRSG7yAlfGL1cLU+HUAJ50Vef9tMIhKoH76MORm3uDAnM9yQw7VB+LKCRFUOSGtNC9CyhA==}
dependencies:
'@meshtastic/eslint-config': 1.0.8
'@protobuf-ts/runtime': 2.7.0
@ -826,8 +826,8 @@ packages:
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
dev: false
/@types/node/18.7.1:
resolution: {integrity: sha512-GKX1Qnqxo4S+Z/+Z8KKPLpH282LD7jLHWJcVryOflnsnH+BtSDfieR6ObwBMwpnNws0bUK8GI7z0unQf9bARNQ==}
/@types/node/18.7.5:
resolution: {integrity: sha512-NcKK6Ts+9LqdHJaW6HQmgr7dT/i3GOHG+pt6BiWv++5SnjtRd4NXeiuN2kA153SjhXPR/AhHIPHPbrsbpUVOww==}
dev: true
/@types/normalize-package-data/2.4.1:
@ -875,8 +875,8 @@ packages:
resolution: {integrity: sha512-w7hEHXnPMEZ+4nGKl/KDRVpxkwYxYExuHOYXyzIzCDzEZ9ZCGMAewulr9IqJu2LR4N37fcnb1XVeuZ09qgOxhA==}
dev: true
/@typescript-eslint/eslint-plugin/5.33.0_njno5y7ry2l2lcmiu4tywxkwnq:
resolution: {integrity: sha512-jHvZNSW2WZ31OPJ3enhLrEKvAZNyAFWZ6rx9tUwaessTc4sx9KmgMNhVcqVAl1ETnT5rU5fpXTLmY9YvC1DCNg==}
/@typescript-eslint/eslint-plugin/5.33.1_vsoshirnpb7xw6mr7xomgfas2i:
resolution: {integrity: sha512-S1iZIxrTvKkU3+m63YUOxYPKaP+yWDQrdhxTglVDVEVBf+aCSw85+BmJnyUaQQsk5TXFG/LpBu9fa+LrAQ91fQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
'@typescript-eslint/parser': ^5.0.0
@ -886,12 +886,12 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
'@typescript-eslint/scope-manager': 5.33.0
'@typescript-eslint/type-utils': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
'@typescript-eslint/utils': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
'@typescript-eslint/parser': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
'@typescript-eslint/scope-manager': 5.33.1
'@typescript-eslint/type-utils': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
'@typescript-eslint/utils': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
debug: 4.3.4
eslint: 8.21.0
eslint: 8.22.0
functional-red-black-tree: 1.0.1
ignore: 5.2.0
regexpp: 3.2.0
@ -902,8 +902,8 @@ packages:
- supports-color
dev: false
/@typescript-eslint/parser/5.33.0_hxadhbs2xogijvk7vq4t2azzbu:
resolution: {integrity: sha512-cgM5cJrWmrDV2KpvlcSkelTBASAs1mgqq+IUGKJvFxWrapHpaRy5EXPQz9YaKF3nZ8KY18ILTiVpUtbIac86/w==}
/@typescript-eslint/parser/5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq:
resolution: {integrity: sha512-IgLLtW7FOzoDlmaMoXdxG8HOCByTBXrB1V2ZQYSEV1ggMmJfAkMWTwUjjzagS6OkfpySyhKFkBw7A9jYmcHpZA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -912,18 +912,18 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.33.0
'@typescript-eslint/types': 5.33.0
'@typescript-eslint/typescript-estree': 5.33.0[email protected]
'@typescript-eslint/scope-manager': 5.33.1
'@typescript-eslint/types': 5.33.1
'@typescript-eslint/typescript-estree': 5.33.1[email protected]
debug: 4.3.4
eslint: 7.32.0
eslint: 8.22.0
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: true
dev: false
/@typescript-eslint/parser/5.33.0_qugx7qdu5zevzvxaiqyxfiwquq:
resolution: {integrity: sha512-cgM5cJrWmrDV2KpvlcSkelTBASAs1mgqq+IUGKJvFxWrapHpaRy5EXPQz9YaKF3nZ8KY18ILTiVpUtbIac86/w==}
/@typescript-eslint/parser/5.33.1_hxadhbs2xogijvk7vq4t2azzbu:
resolution: {integrity: sha512-IgLLtW7FOzoDlmaMoXdxG8HOCByTBXrB1V2ZQYSEV1ggMmJfAkMWTwUjjzagS6OkfpySyhKFkBw7A9jYmcHpZA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
@ -932,25 +932,25 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/scope-manager': 5.33.0
'@typescript-eslint/types': 5.33.0
'@typescript-eslint/typescript-estree': 5.33.0[email protected]
'@typescript-eslint/scope-manager': 5.33.1
'@typescript-eslint/types': 5.33.1
'@typescript-eslint/typescript-estree': 5.33.1[email protected]
debug: 4.3.4
eslint: 8.21.0
eslint: 7.32.0
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: false
dev: true
/@typescript-eslint/scope-manager/5.33.0:
resolution: {integrity: sha512-/Jta8yMNpXYpRDl8EwF/M8It2A9sFJTubDo0ATZefGXmOqlaBffEw0ZbkbQ7TNDK6q55NPHFshGBPAZvZkE8Pw==}
/@typescript-eslint/scope-manager/5.33.1:
resolution: {integrity: sha512-8ibcZSqy4c5m69QpzJn8XQq9NnqAToC8OdH/W6IXPXv83vRyEDPYLdjAlUx8h/rbusq6MkW4YdQzURGOqsn3CA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.33.0
'@typescript-eslint/visitor-keys': 5.33.0
'@typescript-eslint/types': 5.33.1
'@typescript-eslint/visitor-keys': 5.33.1
/@typescript-eslint/type-utils/5.33.0_qugx7qdu5zevzvxaiqyxfiwquq:
resolution: {integrity: sha512-2zB8uEn7hEH2pBeyk3NpzX1p3lF9dKrEbnXq1F7YkpZ6hlyqb2yZujqgRGqXgRBTHWIUG3NGx/WeZk224UKlIA==}
/@typescript-eslint/type-utils/5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq:
resolution: {integrity: sha512-X3pGsJsD8OiqhNa5fim41YtlnyiWMF/eKsEZGsHID2HcDqeSC5yr/uLOeph8rNF2/utwuI0IQoAK3fpoxcLl2g==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: '*'
@ -959,21 +959,21 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/utils': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
'@typescript-eslint/utils': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
debug: 4.3.4
eslint: 8.21.0
eslint: 8.22.0
tsutils: 3.21[email protected]
typescript: 4.7.4
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/types/5.33.0:
resolution: {integrity: sha512-nIMt96JngB4MYFYXpZ/3ZNU4GWPNdBbcB5w2rDOCpXOVUkhtNlG2mmm8uXhubhidRZdwMaMBap7Uk8SZMU/ppw==}
/@typescript-eslint/types/5.33.1:
resolution: {integrity: sha512-7K6MoQPQh6WVEkMrMW5QOA5FO+BOwzHSNd0j3+BlBwd6vtzfZceJ8xJ7Um2XDi/O3umS8/qDX6jdy2i7CijkwQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
/@typescript-eslint/typescript-estree/5.33.0[email protected]:
resolution: {integrity: sha512-tqq3MRLlggkJKJUrzM6wltk8NckKyyorCSGMq4eVkyL5sDYzJJcMgZATqmF8fLdsWrW7OjjIZ1m9v81vKcaqwQ==}
/@typescript-eslint/typescript-estree/5.33.1[email protected]:
resolution: {integrity: sha512-JOAzJ4pJ+tHzA2pgsWQi4804XisPHOtbvwUyqsuuq8+y5B5GMZs7lI1xDWs6V2d7gE/Ez5bTGojSK12+IIPtXA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
typescript: '*'
@ -981,8 +981,8 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/types': 5.33.0
'@typescript-eslint/visitor-keys': 5.33.0
'@typescript-eslint/types': 5.33.1
'@typescript-eslint/visitor-keys': 5.33.1
debug: 4.3.4
globby: 11.1.0
is-glob: 4.0.3
@ -992,32 +992,32 @@ packages:
transitivePeerDependencies:
- supports-color
/@typescript-eslint/utils/5.33.0_qugx7qdu5zevzvxaiqyxfiwquq:
resolution: {integrity: sha512-JxOAnXt9oZjXLIiXb5ZIcZXiwVHCkqZgof0O8KPgz7C7y0HS42gi75PdPlqh1Tf109M0fyUw45Ao6JLo7S5AHw==}
/@typescript-eslint/utils/5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq:
resolution: {integrity: sha512-uphZjkMaZ4fE8CR4dU7BquOV6u0doeQAr8n6cQenl/poMaIyJtBu8eys5uk6u5HiDH01Mj5lzbJ5SfeDz7oqMQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
'@types/json-schema': 7.0.11
'@typescript-eslint/scope-manager': 5.33.0
'@typescript-eslint/types': 5.33.0
'@typescript-eslint/typescript-estree': 5.33.0[email protected]
eslint: 8.21.0
'@typescript-eslint/scope-manager': 5.33.1
'@typescript-eslint/types': 5.33.1
'@typescript-eslint/typescript-estree': 5.33.1[email protected]
eslint: 8.22.0
eslint-scope: 5.1.1
eslint-utils: 3.0[email protected]1.0
eslint-utils: 3.0[email protected]2.0
transitivePeerDependencies:
- supports-color
- typescript
dev: false
/@typescript-eslint/visitor-keys/5.33.0:
resolution: {integrity: sha512-/XsqCzD4t+Y9p5wd9HZiptuGKBlaZO5showwqODii5C0nZawxWLF+Q6k5wYHBrQv96h6GYKyqqMHCSTqta8Kiw==}
/@typescript-eslint/visitor-keys/5.33.1:
resolution: {integrity: sha512-nwIxOK8Z2MPWltLKMLOEZwmfBZReqUdbEoHQXeCpa+sRVARe5twpJGHCB4dk9903Yaf0nMAlGbQfaAH92F60eg==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
'@typescript-eslint/types': 5.33.0
'@typescript-eslint/types': 5.33.1
eslint-visitor-keys: 3.3.0
/@vitejs/plugin-react/[email protected].6:
/@vitejs/plugin-react/[email protected].7:
resolution: {integrity: sha512-uINzNHmjrbunlFtyVkST6lY1ewSfz/XwLufG0PIqvLGnpk2nOIOa/1CACTDNcKi1/RwaCzJLmsXwm1NsUVV/NA==}
engines: {node: ^14.18.0 || >=16.0.0}
peerDependencies:
@ -1030,7 +1030,7 @@ packages:
'@babel/plugin-transform-react-jsx-source': 7.18.6_@[email protected]
magic-string: 0.26.2
react-refresh: 0.14.0
vite: 3.0.6
vite: 3.0.7
transitivePeerDependencies:
- supports-color
dev: true
@ -1201,8 +1201,8 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
dependencies:
caniuse-lite: 1.0.30001375
electron-to-chromium: 1.4.216
caniuse-lite: 1.0.30001376
electron-to-chromium: 1.4.220
node-releases: 2.0.6
update-browserslist-db: 1.0[email protected]
dev: true
@ -1228,8 +1228,8 @@ packages:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
/caniuse-lite/1.0.30001375:
resolution: {integrity: sha512-kWIMkNzLYxSvnjy0hL8w1NOaWNr2rn39RTAVyIwcw8juu60bZDWiF1/loOYANzjtJmy6qPgNmn38ro5Pygagdw==}
/caniuse-lite/1.0.30001376:
resolution: {integrity: sha512-I27WhtOQ3X3v3it9gNs/oTpoE5KpwmqKR5oKPA8M0G7uMXh9Ty81Q904HpKUrM30ei7zfcL5jE7AXefgbOfMig==}
dev: true
/chalk/2.4.2:
@ -1341,7 +1341,7 @@ packages:
dev: false
/concat-map/0.0.1:
resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=}
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
/convert-source-map/1.8.0:
resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==}
@ -1374,7 +1374,7 @@ packages:
dev: false
/cssfilter/0.0.10:
resolution: {integrity: sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=}
resolution: {integrity: sha512-FAaLDaplstoRsDR8XGYH51znUN0UY7nMc6Z9/fvE8EXGwvJE9hu7W2vHwx1+bd6gCYnln9nLbzxFTrcO9YQDZw==}
dev: false
/csstype/3.1.0:
@ -1505,8 +1505,8 @@ packages:
stream-shift: 1.0.1
dev: true
/electron-to-chromium/1.4.216:
resolution: {integrity: sha512-jDkyyqIy2n+dtl3isE0Y8znnN936BGobE8SDnwErubJ3zOophPDFPMr7rCoIH+EUae6T7+t1cbBggGtvVf3ZtQ==}
/electron-to-chromium/1.4.220:
resolution: {integrity: sha512-RA6Mn51gj2lyeAt/MiuVV+85tN8vt1jbWP+kx7S84htJ0MbIHGHdnVm+j+HzZQp69O6gWmhLBJ+Wpk2c445+ZA==}
dev: true
/emoji-regex/8.0.0:
@ -1794,13 +1794,13 @@ packages:
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
engines: {node: '>=10'}
/eslint-config-prettier/[email protected]1.0:
/eslint-config-prettier/[email protected]2.0:
resolution: {integrity: sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==}
hasBin: true
peerDependencies:
eslint: '>=7.0.0'
dependencies:
eslint: 8.21.0
eslint: 8.22.0
dev: false
/eslint-import-resolver-node/0.3.6:
@ -1812,7 +1812,7 @@ packages:
- supports-color
dev: false
/eslint-import-resolver-typescript/2.7.1_jatgrcxl4x7ywe7ak6cnjca2ae:
/eslint-import-resolver-typescript/2.7.1_2iahngt3u2tkbdlu6s4gkur3pu:
resolution: {integrity: sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==}
engines: {node: '>=4'}
peerDependencies:
@ -1820,8 +1820,8 @@ packages:
eslint-plugin-import: '*'
dependencies:
debug: 4.3.4
eslint: 8.21.0
eslint-plugin-import: 2.26.0_kaovueczjnxqno6jq2wxve7si4
eslint: 8.22.0
eslint-plugin-import: 2.26.0_2gqszymjwfeyh2k33jicxz5f4y
glob: 7.2.3
is-glob: 4.0.3
resolve: 1.22.1
@ -1830,7 +1830,7 @@ packages:
- supports-color
dev: false
/eslint-module-utils/2.7.4_zw4cvwcnfxxgmribiuqjo5pjku:
/eslint-module-utils/2.7.4_q4awv6cwff4yawoxcmzmesx7zi:
resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==}
engines: {node: '>=4'}
peerDependencies:
@ -1851,27 +1851,27 @@ packages:
eslint-import-resolver-webpack:
optional: true
dependencies:
'@typescript-eslint/parser': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
'@typescript-eslint/parser': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
debug: 3.2.7
eslint: 8.21.0
eslint: 8.22.0
eslint-import-resolver-node: 0.3.6
eslint-import-resolver-typescript: 2.7.1_jatgrcxl4x7ywe7ak6cnjca2ae
eslint-import-resolver-typescript: 2.7.1_2iahngt3u2tkbdlu6s4gkur3pu
transitivePeerDependencies:
- supports-color
dev: false
/eslint-plugin-eslint-comments/[email protected]1.0:
/eslint-plugin-eslint-comments/[email protected]2.0:
resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==}
engines: {node: '>=6.5.0'}
peerDependencies:
eslint: '>=4.19.1'
dependencies:
escape-string-regexp: 1.0.5
eslint: 8.21.0
eslint: 8.22.0
ignore: 5.2.0
dev: false
/eslint-plugin-import/2.26.0_kaovueczjnxqno6jq2wxve7si4:
/eslint-plugin-import/2.26.0_2gqszymjwfeyh2k33jicxz5f4y:
resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==}
engines: {node: '>=4'}
peerDependencies:
@ -1881,14 +1881,14 @@ packages:
'@typescript-eslint/parser':
optional: true
dependencies:
'@typescript-eslint/parser': 5.33.0_qugx7qdu5zevzvxaiqyxfiwquq
'@typescript-eslint/parser': 5.33.1_4rv7y5c6xz3vfxwhbrcxxi73bq
array-includes: 3.1.5
array.prototype.flat: 1.3.0
debug: 2.6.9
doctrine: 2.1.0
eslint: 8.21.0
eslint: 8.22.0
eslint-import-resolver-node: 0.3.6
eslint-module-utils: 2.7.4_zw4cvwcnfxxgmribiuqjo5pjku
eslint-module-utils: 2.7.4_q4awv6cwff4yawoxcmzmesx7zi
has: 1.0.3
is-core-module: 2.10.0
is-glob: 4.0.3
@ -1902,16 +1902,16 @@ packages:
- supports-color
dev: false
/eslint-plugin-react-hooks/[email protected]1.0:
/eslint-plugin-react-hooks/[email protected]2.0:
resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==}
engines: {node: '>=10'}
peerDependencies:
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
dependencies:
eslint: 8.21.0
eslint: 8.22.0
dev: false
/eslint-plugin-react/[email protected]1.0:
/eslint-plugin-react/[email protected]2.0:
resolution: {integrity: sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg==}
engines: {node: '>=4'}
peerDependencies:
@ -1920,7 +1920,7 @@ packages:
array-includes: 3.1.5
array.prototype.flatmap: 1.3.0
doctrine: 2.1.0
eslint: 8.21.0
eslint: 8.22.0
estraverse: 5.3.0
jsx-ast-utils: 3.3.3
minimatch: 3.1.2
@ -1956,13 +1956,13 @@ packages:
eslint-visitor-keys: 1.3.0
dev: true
/eslint-utils/[email protected]1.0:
/eslint-utils/[email protected]2.0:
resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==}
engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0}
peerDependencies:
eslint: '>=5'
dependencies:
eslint: 8.21.0
eslint: 8.22.0
eslint-visitor-keys: 2.1.0
dev: false
@ -2028,8 +2028,8 @@ packages:
- supports-color
dev: true
/eslint/8.21.0:
resolution: {integrity: sha512-/XJ1+Qurf1T9G2M5IHrsjp+xrGT73RZf23xA1z5wB1ZzzEAWSZKvRwhWxTFp1rvkvCfwcvAUNAP31bhKTTGfDA==}
/eslint/8.22.0:
resolution: {integrity: sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
dependencies:
@ -2043,7 +2043,7 @@ packages:
doctrine: 3.0.0
escape-string-regexp: 4.0.0
eslint-scope: 7.1.1
eslint-utils: 3.0[email protected]1.0
eslint-utils: 3.0[email protected]2.0
eslint-visitor-keys: 3.3.0
espree: 9.3.3
esquery: 1.4.0
@ -3256,7 +3256,7 @@ packages:
resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
/quotemeta/0.0.0:
resolution: {integrity: sha1-UdOgbuD81uO1AdvSiQQ1Gtelo4w=}
resolution: {integrity: sha512-1XGObUh7RN5b58vKuAsrlfqT+Rc4vmw8N4pP9gFCq1GFlTdV0Ex/D2Ro1Drvrqj++HPi3ig0Np17XPslELeMRA==}
dev: true
/react-dom/[email protected]:
@ -3273,8 +3273,8 @@ packages:
resolution: {integrity: sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==}
dev: false
/react-hook-form/7.34.0[email protected]:
resolution: {integrity: sha512-s0/TJ09NVlEk2JPp3yit1WnMuPNBXFmUKEQPulgDi9pYBw/ZmmAFHe6AXWq73Y+kp8ye4OcMf0Jv+i/qLPektg==}
/react-hook-form/7.34.2[email protected]:
resolution: {integrity: sha512-1lYWbEqr0GW7HHUjMScXMidGvV0BE2RJV3ap2BL7G0EJirkqpccTaawbsvBO8GZaB3JjCeFBEbnEWI1P8ZoLRQ==}
engines: {node: '>=12.22.0'}
peerDependencies:
react: ^16.8.0 || ^17 || ^18
@ -3305,8 +3305,8 @@ packages:
react-dom: 18.2[email protected]
dev: false
/react-qrcode-logo/2.7.0_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-79Ce+1GlETAbu8fQGAoHczjvXjsm044+FeVAutu9lwJ/w0hRKRRPPHQRkPmXZK4aPi/H9Fqv+7P29VYQ9Yo2dA==}
/react-qrcode-logo/2.8.0_biqbaboplfbrettd7655fr4n2y:
resolution: {integrity: sha512-dbEgjsg6C4tK6+oGmCRDlJ7urQAWqybaGBLJtp8Z6ZYvVUP302HBXk/F7VRk54yWTwzlHwig3VK6HMKCha2YFw==}
peerDependencies:
react: '>=16.4.1'
react-dom: '>=16.4.1'
@ -3914,8 +3914,8 @@ packages:
engines: {node: '>=14.0.0'}
hasBin: true
dependencies:
'@typescript-eslint/parser': 5.33.0_hxadhbs2xogijvk7vq4t2azzbu
'@typescript-eslint/typescript-estree': 5.33.0[email protected]
'@typescript-eslint/parser': 5.33.1_hxadhbs2xogijvk7vq4t2azzbu
'@typescript-eslint/typescript-estree': 5.33.1[email protected]
chalk: 4.1.2
debug: 4.3.4
eslint: 7.32.0
@ -3995,16 +3995,16 @@ packages:
- rollup
dev: true
/vite-plugin-environment/[email protected].6:
/vite-plugin-environment/[email protected].7:
resolution: {integrity: sha512-WFgM/ibceOEIuficZVaLcmJvcMZiyTkGzeS8+pzfByGYRdewqil7LSLDV1DwJfFQIx/YzcW9YRSWQG7cJ2XT1w==}
peerDependencies:
vite: '>= 2.7'
dependencies:
vite: 3.0.6
vite: 3.0.7
dev: false
/vite/3.0.6:
resolution: {integrity: sha512-pjfsWIzfUlQME/VAmU6SsjdHkTt6WAHysuqPkHDcjzNu6IGtxDSZ/VfRYOwHaCqX4M3Ivz0kxuSfAPM6gAIX+w==}
/vite/3.0.7:
resolution: {integrity: sha512-dILhvKba1mbP1wCezVQx/qhEK7/+jVn9ciadEcyKMMhZpsuAi/eWZfJRMkmYlkSFG7Qq9NvJbgFq4XOBxugJsA==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
peerDependencies:

21
src/components/PageComponents/Config/User.tsx

@ -103,27 +103,6 @@ export const User = (): JSX.Element => {
)}
/>
</FormField>
<TextInputField
label="Transmit Power"
description="This is a description."
hint="dBm"
type="number"
{...register("txPowerDbm", { valueAsNumber: true })}
/>
<TextInputField
label="Antenna Gain"
description="This is a description."
hint="dBi"
type="number"
{...register("antGainDbi", { valueAsNumber: true })}
/>
<TextInputField
label="Antenna Azimuth"
description="This is a description."
hint="°"
type="number"
{...register("antAzimuth", { valueAsNumber: true })}
/>
</Form>
);
};

11
src/validation/config/user.ts

@ -1,4 +1,4 @@
import { IsBoolean, IsInt, Length } from "class-validator";
import { IsBoolean, Length } from "class-validator";
import type { Protobuf } from "@meshtastic/meshtasticjs";
@ -16,13 +16,4 @@ export class UserValidation
@IsBoolean()
isLicensed: boolean;
@IsInt()
txPowerDbm: number;
@IsInt()
antGainDbi: number;
@IsInt()
antAzimuth: number;
}

Loading…
Cancel
Save