2023-05-19 14:41:01 +00:00
|
|
|
/// <reference types="@webbtc/webln-types" />
|
2024-01-22 15:00:17 +00:00
|
|
|
/// <reference types="vite/client" />
|
2023-05-19 14:41:01 +00:00
|
|
|
|
2023-01-16 22:04:10 +00:00
|
|
|
declare module "*.jpg" {
|
2023-02-07 19:47:57 +00:00
|
|
|
const value: unknown;
|
2023-02-07 20:04:50 +00:00
|
|
|
export default value;
|
2023-01-16 22:04:10 +00:00
|
|
|
}
|
2023-01-25 18:08:53 +00:00
|
|
|
|
|
|
|
declare module "*.svg" {
|
2023-02-07 19:47:57 +00:00
|
|
|
const value: unknown;
|
2023-02-07 20:04:50 +00:00
|
|
|
export default value;
|
2023-01-25 18:08:53 +00:00
|
|
|
}
|
2023-01-31 09:43:14 +00:00
|
|
|
|
|
|
|
declare module "*.webp" {
|
2023-02-07 19:47:57 +00:00
|
|
|
const value: string;
|
2023-02-07 20:04:50 +00:00
|
|
|
export default value;
|
|
|
|
}
|
2023-02-09 12:26:54 +00:00
|
|
|
|
2023-03-02 15:23:53 +00:00
|
|
|
declare module "*.png" {
|
|
|
|
const value: string;
|
|
|
|
export default value;
|
|
|
|
}
|
|
|
|
|
2023-03-03 20:34:18 +00:00
|
|
|
declare module "*.css" {
|
|
|
|
const stylesheet: CSSStyleSheet;
|
|
|
|
export default stylesheet;
|
|
|
|
}
|
|
|
|
|
2023-02-15 11:31:02 +00:00
|
|
|
declare module "translations/*.json" {
|
|
|
|
const value: Record<string, string>;
|
|
|
|
export default value;
|
|
|
|
}
|
2023-07-13 21:44:26 +00:00
|
|
|
|
2023-11-02 17:39:42 +00:00
|
|
|
declare module "*.md" {
|
|
|
|
const value: string;
|
|
|
|
export default value;
|
|
|
|
}
|
|
|
|
|
2023-07-13 21:44:26 +00:00
|
|
|
declare module "emojilib" {
|
2023-08-26 21:48:15 +00:00
|
|
|
const value: Record<string, string>;
|
2023-07-18 15:14:38 +00:00
|
|
|
export default value;
|
2023-08-29 13:56:46 +00:00
|
|
|
}
|
2023-10-10 09:37:53 +00:00
|
|
|
|
|
|
|
declare const CONFIG: {
|
|
|
|
appName: string;
|
|
|
|
appNameCapitalized: string;
|
|
|
|
appTitle: string;
|
2023-10-12 13:45:30 +00:00
|
|
|
hostname: string;
|
2023-10-10 09:37:53 +00:00
|
|
|
nip05Domain: string;
|
2024-01-22 16:41:40 +00:00
|
|
|
icon: string;
|
2023-11-27 14:30:20 +00:00
|
|
|
navLogo: string | null;
|
2023-10-10 09:37:53 +00:00
|
|
|
httpCache: string;
|
|
|
|
animalNamePlaceholders: boolean;
|
2023-11-28 08:40:36 +00:00
|
|
|
defaultZapPoolFee: number;
|
2023-10-10 09:37:53 +00:00
|
|
|
features: {
|
2023-10-17 09:54:34 +00:00
|
|
|
analytics: boolean;
|
2023-10-10 09:37:53 +00:00
|
|
|
subscriptions: boolean;
|
2023-10-17 09:54:34 +00:00
|
|
|
deck: boolean;
|
|
|
|
zapPool: boolean;
|
2023-12-18 15:04:35 +00:00
|
|
|
notificationGraph: boolean;
|
2023-12-18 15:57:00 +00:00
|
|
|
communityLeaders: boolean;
|
2024-01-22 15:00:17 +00:00
|
|
|
nostrAddress: boolean;
|
|
|
|
pushNotifications: boolean;
|
2023-12-18 15:57:00 +00:00
|
|
|
};
|
|
|
|
defaultPreferences: {
|
2024-01-12 12:37:13 +00:00
|
|
|
hideMutedNotes: boolean;
|
2023-10-10 09:37:53 +00:00
|
|
|
};
|
2023-11-28 09:52:20 +00:00
|
|
|
signUp: {
|
|
|
|
moderation: boolean;
|
2023-12-18 07:54:46 +00:00
|
|
|
defaultFollows: Array<string>;
|
2023-11-28 09:52:20 +00:00
|
|
|
};
|
2023-12-14 12:05:26 +00:00
|
|
|
media: {
|
|
|
|
bypassImgProxyError: boolean;
|
|
|
|
preferLargeMedia: boolean;
|
|
|
|
};
|
2023-12-18 15:57:00 +00:00
|
|
|
communityLeaders?: {
|
|
|
|
list: string;
|
|
|
|
};
|
2024-01-08 11:35:10 +00:00
|
|
|
|
2023-11-29 12:05:36 +00:00
|
|
|
// Filter urls from nav sidebar
|
2023-11-30 12:45:54 +00:00
|
|
|
hideFromNavbar: Array<string>;
|
2024-01-08 11:34:36 +00:00
|
|
|
|
2023-11-29 12:07:12 +00:00
|
|
|
// Limit deck to certain subscriber tier
|
2023-11-29 12:05:36 +00:00
|
|
|
deckSubKind?: number;
|
2024-01-08 11:34:36 +00:00
|
|
|
|
2023-12-06 08:13:01 +00:00
|
|
|
showDeck?: boolean;
|
2024-01-08 11:34:36 +00:00
|
|
|
|
2023-12-02 22:44:44 +00:00
|
|
|
// Create toast notifications when publishing notes
|
2023-12-18 07:59:11 +00:00
|
|
|
noteCreatorToast: boolean;
|
2024-01-08 11:34:36 +00:00
|
|
|
|
2023-10-17 09:59:25 +00:00
|
|
|
eventLinkPrefix: NostrPrefix;
|
2023-10-17 18:50:11 +00:00
|
|
|
profileLinkPrefix: NostrPrefix;
|
2023-10-31 15:40:12 +00:00
|
|
|
defaultRelays: Record<string, RelaySettings>;
|
2024-01-11 21:04:36 +00:00
|
|
|
showPowIcon: boolean;
|
2024-01-08 11:34:36 +00:00
|
|
|
|
2024-01-04 12:05:13 +00:00
|
|
|
// Alby wallet oAuth config
|
|
|
|
alby?: {
|
|
|
|
clientId: string;
|
|
|
|
clientSecret: string;
|
|
|
|
};
|
2024-01-22 15:00:17 +00:00
|
|
|
|
|
|
|
// public chat channels for site
|
|
|
|
chatChannels?: Array<{
|
|
|
|
type: "nip28" | "telegram";
|
|
|
|
value: string;
|
|
|
|
}>;
|
2023-10-10 09:37:53 +00:00
|
|
|
};
|
2023-10-31 15:40:12 +00:00
|
|
|
|
2023-11-02 17:39:42 +00:00
|
|
|
/**
|
|
|
|
* Build git hash
|
|
|
|
*/
|
2023-11-20 21:51:23 +00:00
|
|
|
declare const __SNORT_VERSION__: string;
|