import { URL } from "../types"; /** * @additionalProperties false */ export type HomepageConfig = { /** Whether show in dashboard * * @default true */ show?: boolean; name?: string; icon?: URL | WalkxcodeIcon | ExternalIcon | TargetRelativeIconPath; description?: string; url?: URL; category?: string; widget_config?: { [key: string]: any; }; }; export type WalkxcodeIcon = `${"png" | "svg" | "webp"}/${string}/${string}.${string}`; export type ExternalIcon = `@${"selfhst" | "walkxcode"}/${string}.${string}`; export type TargetRelativeIconPath = `@target/${string}` | `/${string}`;