Files
radicle-explorer/module.d.ts
T
Sebastian Martinez 249f274162 Remove apiVersion in favor of deploymentId
Instead of relying on a `apiVersion` config variable that has to be
changed and semver respected we use a deployment id that is new on each
deployment to do cache busting
2024-12-05 14:21:08 +01:00

21 lines
443 B
TypeScript

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