aboutsummaryrefslogtreecommitdiff
path: root/src/lib/types.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/types.ts')
-rw-r--r--src/lib/types.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/types.ts b/src/lib/types.ts
index da073e6..2070e0b 100644
--- a/src/lib/types.ts
+++ b/src/lib/types.ts
@@ -4,7 +4,7 @@ import { GetStaticPathsResult } from 'next';
export interface Adapter {
getStaticMarkdownPaths: (cdn: string) => Promise<GetStaticPathsResult['paths']>;
getMarkdownSource: (cdn: string, path: string[]) => Promise<string>;
- getEmojiFileNames: (cdn: string) => Promise<string[]>;
+ getEmojiFileNames: (cdn: string, emojiRootPath: string) => Promise<string[]>;
}
export interface BenzinConfig {
@@ -12,4 +12,5 @@ export interface BenzinConfig {
adapter: Adapter;
title: string;
faviconPath: string;
+ emojiRootPath: string;
}