snort/packages/app/custom.d.ts
Martti Malmi be3f46c7f1
Some checks failed
continuous-integration/drone/push Build is failing
disable notification graph in iris
2023-12-18 17:05:04 +02:00

91 lines
1.8 KiB
TypeScript

/// <reference types="@webbtc/webln-types" />
declare module "*.jpg" {
const value: unknown;
export default value;
}
declare module "*.svg" {
const value: unknown;
export default value;
}
declare module "*.webp" {
const value: string;
export default value;
}
declare module "*.png" {
const value: string;
export default value;
}
declare module "*.css" {
const stylesheet: CSSStyleSheet;
export default stylesheet;
}
declare module "translations/*.json" {
const value: Record<string, string>;
export default value;
}
declare module "*.md" {
const value: string;
export default value;
}
declare module "emojilib" {
const value: Record<string, string>;
export default value;
}
declare const CONFIG: {
appName: string;
appNameCapitalized: string;
appTitle: string;
hostname: string;
nip05Domain: string;
favicon: string;
appleTouchIconUrl: string;
navLogo: string | null;
httpCache: string;
animalNamePlaceholders: boolean;
defaultZapPoolFee: number;
features: {
analytics: boolean;
subscriptions: boolean;
deck: boolean;
zapPool: boolean;
notificationGraph: boolean;
};
signUp: {
moderation: boolean;
defaultFollows: Array<string>;
};
media: {
bypassImgProxyError: boolean;
preferLargeMedia: boolean;
};
// Filter urls from nav sidebar
hideFromNavbar: Array<string>;
// Limit deck to certain subscriber tier
deckSubKind?: number;
showDeck?: boolean;
// Create toast notifications when publishing notes
noteCreatorToast: boolean;
eventLinkPrefix: NostrPrefix;
profileLinkPrefix: NostrPrefix;
defaultRelays: Record<string, RelaySettings>;
};
/**
* Single relay (Debug)
*/
declare const SINGLE_RELAY: string | undefined;
/**
* Build git hash
*/
declare const __SNORT_VERSION__: string;