1
0
forked from Kieran/snort
snort4/packages/app/custom.d.ts

58 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-05-19 14:41:01 +00:00
/// <reference types="@webbtc/webln-types" />
2023-01-16 22:04:10 +00:00
declare module "*.jpg" {
2023-02-07 19:47:57 +00:00
const value: unknown;
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;
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;
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;
}
declare module "translations/*.json" {
const value: Record<string, string>;
export default value;
}
2023-07-13 21:44:26 +00:00
declare module "emojilib" {
const value: Record<string, string>;
2023-07-18 15:14:38 +00:00
export default value;
2023-08-29 13:56:46 +00:00
}
declare const CONFIG: {
appName: string;
appNameCapitalized: string;
appTitle: string;
hostname: string;
nip05Domain: string;
favicon: string;
appleTouchIconUrl: string;
httpCache: string;
animalNamePlaceholders: boolean;
2023-10-17 09:54:34 +00:00
defaultZapPoolFee?: number;
features: {
2023-10-17 09:54:34 +00:00
analytics: boolean;
subscriptions: boolean;
2023-10-17 09:54:34 +00:00
deck: boolean;
zapPool: boolean;
};
2023-10-17 09:59:25 +00:00
eventLinkPrefix: NostrPrefix;
2023-10-17 18:50:11 +00:00
profileLinkPrefix: NostrPrefix;
};