Minor fixes and upgrades.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
/.rpt2_cache/
|
/.rpt2_cache/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
/dist
|
/dist
|
||||||
|
/.yarn/
|
||||||
|
|
||||||
.env
|
.env
|
||||||
.envrc
|
.envrc
|
||||||
|
|||||||
+1
-1
@@ -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",
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -18,3 +18,7 @@
|
|||||||
:host::-webkit-scrollbar {
|
:host::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
frigate-card-select {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
@@ -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;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user