frigate/web/src/routes/index.js
Nicolas Mowen 964bcc0733
Logs in UI (#4562)
* Log all services to RAM

* Gracefully handle shutdown

* Add logs route

* Remove tail

* Return logs for services

* Display log chooser with copy button

* show logs for specific services

* Clean up settings logs

* Add copy functionality to logs

* Add copy functionality to logs

* Fix merge

* Set archive count to 0

Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2022-12-08 20:15:00 -06:00

55 lines
1.4 KiB
JavaScript

export async function getCameraMap(_url, _cb, _props) {
const module = await import('./CameraMap.jsx');
return module.default;
}
export async function getCamera(_url, _cb, _props) {
const module = await import('./Camera.jsx');
return module.default;
}
export async function getCameraV2(_url, _cb, _props) {
const module = await import('./Camera_V2.jsx');
return module.default;
}
export async function getBirdseye(_url, _cb, _props) {
const module = await import('./Birdseye.jsx');
return module.default;
}
export async function getEvents(_url, _cb, _props) {
const module = await import('./Events.jsx');
return module.default;
}
export async function getRecording(_url, _cb, _props) {
const module = await import('./Recording.jsx');
return module.default;
}
export async function getSystem(_url, _cb, _props) {
const module = await import('./System.jsx');
return module.default;
}
export async function getStorage(_url, _cb, _props) {
const module = await import('./Storage.jsx');
return module.default;
}
export async function getConfig(_url, _cb, _props) {
const module = await import('./Config.jsx');
return module.default;
}
export async function getLogs(_url, _cb, _props) {
const module = await import('./Logs.jsx');
return module.default;
}
export async function getStyleGuide(_url, _cb, _props) {
const module = await import('./StyleGuide.jsx');
return module.default;
}