- Full-featured monitoring dashboard for local web apps - Real-time status tracking with uptime percentages - Visual sparklines for status history - Add/Edit/Delete apps dynamically - Categories and color coding - Auto-refresh every 30 seconds - API endpoints for apps and status management
5 lines
313 B
TypeScript
5 lines
313 B
TypeScript
declare function resolveArray<T>(value: T | T[]): T[];
|
|
declare function resolveAsArrayOrUndefined<T>(value: T | T[] | undefined | null): T extends undefined | null ? undefined : T[];
|
|
declare function getOrigin(url: string | URL): string | undefined;
|
|
export { resolveAsArrayOrUndefined, resolveArray, getOrigin };
|