Files
radicle-explorer/module.d.ts
T
Sebastian Martinez 544cdca396 Improve the ResponseParseError description
In case of a `ResponseParseError` instead of comparing the versions of
httpd and the web client strictly, we should make sure to check if httpd
fulfills the web clients version requirement (to be the same major
version) and else fallback to a more verbose error about the different
versions.
2024-12-04 22:11:36 +01:00

20 lines
410 B
TypeScript

declare module "virtual:*" {
const config: {
nodes: {
requiredApiVersion: string;
fallbackPublicExplorer: string;
defaultHttpdPort: number;
defaultLocalHttpdPort: number;
defaultHttpdScheme: string;
};
source: {
commitsPerPage: number;
};
reactions: string[];
supportWebsite: string;
preferredSeeds: BaseUrl[];
};
export default config;
}