From bdffeefa0a34d67c16cdee86de0ec3faadb65b4e Mon Sep 17 00:00:00 2001 From: 0t4u <61939142+0t4u@users.noreply.github.com> Date: Sun, 3 Nov 2024 22:11:12 +0000 Subject: [PATCH] chore: export validHookLocation so it gets documented --- src/etc/hooks.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/etc/hooks.tsx b/src/etc/hooks.tsx index f8d3e49..fbaa4ce 100644 --- a/src/etc/hooks.tsx +++ b/src/etc/hooks.tsx @@ -24,7 +24,7 @@ export function injectSelectJs(app: Application) { type ValidHookLocation = keyof RendererHooks | 'false'; -const validHookLocations: ValidHookLocation[] = [ +export const validHookLocations: ValidHookLocation[] = [ 'head.begin', 'head.end', 'body.begin', @@ -40,6 +40,7 @@ const validHookLocations: ValidHookLocation[] = [ 'comment.beforeTags', 'comment.afterTags', ] as const; + /** * Injects the new `select` dropdown into the HTML * @param app