Minor fixes and upgrades.

This commit is contained in:
Dermot Duffy
2023-02-06 20:31:02 -08:00
parent c86a091546
commit aa6d990ee8
6 changed files with 5491 additions and 3410 deletions
+1
View File
@@ -2,6 +2,7 @@
/.rpt2_cache/ /.rpt2_cache/
package-lock.json package-lock.json
/dist /dist
/.yarn/
.env .env
.envrc .envrc
+1 -1
View File
@@ -43,7 +43,7 @@
"vis-timeline": "^7.7.0", "vis-timeline": "^7.7.0",
"vis-util": "^5.0.2", "vis-util": "^5.0.2",
"xss": "^1.0.14", "xss": "^1.0.14",
"zod": "^3.19.0" "zod": "^3.20.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.19.0", "@babel/core": "^7.19.0",
+3 -2
View File
@@ -27,7 +27,7 @@ export const getRecordingsSummary = async (
clientID: string, clientID: string,
camera_name: string, camera_name: string,
): Promise<RecordingSummary> => { ): Promise<RecordingSummary> => {
return await homeAssistantWSRequest( return (await homeAssistantWSRequest(
hass, hass,
recordingSummarySchema, recordingSummarySchema,
{ {
@@ -37,7 +37,8 @@ export const getRecordingsSummary = async (
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone, timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
}, },
true, true,
); // See: https://github.com/colinhacks/zod/pull/1752
)) as RecordingSummary;
}; };
export interface NativeFrigateRecordingSegmentsQuery { export interface NativeFrigateRecordingSegmentsQuery {
+4
View File
@@ -18,3 +18,7 @@
:host::-webkit-scrollbar { :host::-webkit-scrollbar {
display: none; display: none;
} }
frigate-card-select {
padding: 5px;
}
-4
View File
@@ -5,7 +5,3 @@
// shadow DOM, so copy them into the host. // shadow DOM, so copy them into the host.
@extend :root; @extend :root;
} }
gr-select {
padding: 5px;
}
+5482 -3403
View File
File diff suppressed because it is too large Load Diff