mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-22 11:49:03 +03:00
CI / AMD64 Build (push) Waiting to run
CI / ARM Build (push) Waiting to run
CI / Jetson Jetpack 6 (push) Waiting to run
CI / AMD64 Extra Build (push) Blocked by required conditions
CI / ARM Extra Build (push) Blocked by required conditions
CI / Synaptics Build (push) Blocked by required conditions
CI / Assemble and push default build (push) Blocked by required conditions
* add ptz presets and default role widgets * language tweaks * fix width in triggers view * tweak iOS PWA message in notifications settings * deprecate ui.date_style and ui.time_style these have been unused since date/time formatting has been pushed to i18n * add config migrator to remove date_style and time_style * remove date_style and time_style from reference config * fix camera list scrolling in state classification wizard on mobile
39 lines
877 B
TypeScript
39 lines
877 B
TypeScript
import type { SectionConfigOverrides } from "./types";
|
|
|
|
const proxy: SectionConfigOverrides = {
|
|
base: {
|
|
sectionDocs: "/configuration/authentication#proxy",
|
|
restartRequired: [],
|
|
fieldOrder: [
|
|
"header_map",
|
|
"logout_url",
|
|
"auth_secret",
|
|
"default_role",
|
|
"separator",
|
|
],
|
|
advancedFields: ["header_map", "auth_secret", "separator"],
|
|
liveValidate: true,
|
|
uiSchema: {
|
|
logout_url: {
|
|
"ui:options": { size: "lg" },
|
|
},
|
|
auth_secret: {
|
|
"ui:widget": "password",
|
|
"ui:options": { size: "md" },
|
|
},
|
|
default_role: {
|
|
"ui:widget": "defaultRole",
|
|
"ui:options": { size: "sm" },
|
|
},
|
|
header_map: {
|
|
"ui:after": { render: "ProxyRoleMap" },
|
|
},
|
|
"header_map.role_map": {
|
|
"ui:widget": "hidden",
|
|
},
|
|
},
|
|
},
|
|
};
|
|
|
|
export default proxy;
|