Minor fixes and upgrades.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
/.rpt2_cache/
|
||||
package-lock.json
|
||||
/dist
|
||||
/.yarn/
|
||||
|
||||
.env
|
||||
.envrc
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@
|
||||
"vis-timeline": "^7.7.0",
|
||||
"vis-util": "^5.0.2",
|
||||
"xss": "^1.0.14",
|
||||
"zod": "^3.19.0"
|
||||
"zod": "^3.20.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.19.0",
|
||||
|
||||
@@ -27,7 +27,7 @@ export const getRecordingsSummary = async (
|
||||
clientID: string,
|
||||
camera_name: string,
|
||||
): Promise<RecordingSummary> => {
|
||||
return await homeAssistantWSRequest(
|
||||
return (await homeAssistantWSRequest(
|
||||
hass,
|
||||
recordingSummarySchema,
|
||||
{
|
||||
@@ -37,7 +37,8 @@ export const getRecordingsSummary = async (
|
||||
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
||||
},
|
||||
true,
|
||||
);
|
||||
// See: https://github.com/colinhacks/zod/pull/1752
|
||||
)) as RecordingSummary;
|
||||
};
|
||||
|
||||
export interface NativeFrigateRecordingSegmentsQuery {
|
||||
|
||||
@@ -18,3 +18,7 @@
|
||||
:host::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
frigate-card-select {
|
||||
padding: 5px;
|
||||
}
|
||||
@@ -5,7 +5,3 @@
|
||||
// shadow DOM, so copy them into the host.
|
||||
@extend :root;
|
||||
}
|
||||
|
||||
gr-select {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user