From 7aeecdb6569b34c41614077ce08102a02950fd1c Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Fri, 20 Jan 2023 00:32:06 +0100 Subject: [PATCH] feat: add InjectionKey exports --- src/keys.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/keys.ts diff --git a/src/keys.ts b/src/keys.ts new file mode 100644 index 0000000..f9f16b4 --- /dev/null +++ b/src/keys.ts @@ -0,0 +1,6 @@ +import type { InjectionKey, Ref } from "vue"; + +export const isWarnKey: InjectionKey> = Symbol("isWarnKey"); +export const nsfwKey: InjectionKey> = Symbol("nsfwKey"); +export const showModalKey: InjectionKey = Symbol("showModalKey"); +export const modalResultKey: InjectionKey = Symbol("modalResultKey");