Browse Source

update deps & protobufs

pull/141/head
Sacha Weatherstone 3 years ago
parent
commit
aa75389cfe
Failed to extract signature
  1. 30
      package.json
  2. 1770
      pnpm-lock.yaml
  3. 11
      src/components/PageComponents/ModuleConfig/ExternalNotification.tsx
  4. 3
      src/validation/moduleConfig/externalNotification.ts

30
package.json

@ -22,8 +22,8 @@
"dependencies": { "dependencies": {
"@emeraldpay/hashicon-react": "^0.5.2", "@emeraldpay/hashicon-react": "^0.5.2",
"@hookform/error-message": "^2.0.1", "@hookform/error-message": "^2.0.1",
"@hookform/resolvers": "^3.3.1", "@hookform/resolvers": "^3.3.2",
"@meshtastic/meshtasticjs": "2.2.9-0", "@meshtastic/meshtasticjs": "2.2.12-0",
"@preact/signals-react": "^1.3.6", "@preact/signals-react": "^1.3.6",
"@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-checkbox": "^1.0.4", "@radix-ui/react-checkbox": "^1.0.4",
@ -47,13 +47,13 @@
"class-variance-authority": "^0.7.0", "class-variance-authority": "^0.7.0",
"clsx": "^2.0.0", "clsx": "^2.0.0",
"cmdk": "^0.2.0", "cmdk": "^0.2.0",
"esptool-js": "^0.3.0", "esptool-js": "^0.3.1",
"geodesy": "^2.4.0", "geodesy": "^2.4.0",
"immer": "^10.0.2", "immer": "^10.0.3",
"jszip": "^3.10.1", "jszip": "^3.10.1",
"lucide-react": "^0.279.0", "lucide-react": "^0.288.0",
"mapbox-gl": "npm:empty-npm-package@^1.0.0", "mapbox-gl": "npm:empty-npm-package@^1.0.0",
"maplibre-gl": "3.3.1", "maplibre-gl": "3.5.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"react-hook-form": "^7.47.0", "react-hook-form": "^7.47.0",
@ -63,17 +63,17 @@
"tailwind-merge": "^1.14.0", "tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"timeago-react": "^3.0.6", "timeago-react": "^3.0.6",
"zustand": "4.4.1" "zustand": "4.4.4"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.6", "@tailwindcss/forms": "^0.5.6",
"@types/chrome": "^0.0.246", "@types/chrome": "^0.0.248",
"@types/geodesy": "^2.2.4", "@types/geodesy": "^2.2.6",
"@types/node": "^20.8.0", "@types/node": "^20.8.8",
"@types/react": "^18.2.24", "@types/react": "^18.2.31",
"@types/react-dom": "^18.2.8", "@types/react-dom": "^18.2.14",
"@types/w3c-web-serial": "^1.0.4", "@types/w3c-web-serial": "^1.0.5",
"@types/web-bluetooth": "^0.0.18", "@types/web-bluetooth": "^0.0.19",
"@vitejs/plugin-react": "^4.1.0", "@vitejs/plugin-react": "^4.1.0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"gzipper": "^7.2.0", "gzipper": "^7.2.0",
@ -84,7 +84,7 @@
"tar": "^6.2.0", "tar": "^6.2.0",
"tslib": "^2.6.2", "tslib": "^2.6.2",
"typescript": "^5.2.2", "typescript": "^5.2.2",
"vite": "^4.4.9", "vite": "^4.5.0",
"vite-plugin-environment": "^1.1.3", "vite-plugin-environment": "^1.1.3",
"vite-plugin-pwa": "^0.16.5" "vite-plugin-pwa": "^0.16.5"
} }

1770
pnpm-lock.yaml

File diff suppressed because it is too large

11
src/components/PageComponents/ModuleConfig/ExternalNotification.tsx

@ -180,6 +180,17 @@ export const ExternalNotification = (): JSX.Element => {
}, },
], ],
}, },
{
type: "toggle",
name: "useI2sAsBuzzer",
label: "Use I²S Pin as Buzzer",
description: "Designate I²S Pin as Buzzer Output",
disabledBy: [
{
fieldName: "enabled",
},
]
},
], ],
}, },
]} ]}

3
src/validation/moduleConfig/externalNotification.ts

@ -50,4 +50,7 @@ export class ExternalNotificationValidation
@IsInt() @IsInt()
nagTimeout: number; nagTimeout: number;
@IsBoolean()
useI2sAsBuzzer: boolean;
} }

Loading…
Cancel
Save