Yohei-Shiina преди 3 години
родител
ревизия
b8e9e50fbd
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      packages/app/src/interfaces/rehype.ts

+ 5 - 0
packages/app/src/interfaces/rehype.ts

@@ -4,3 +4,8 @@ export const RehypeSanitizeOption = {
 } as const;
 
 export type RehypeSanitizeOption = typeof RehypeSanitizeOption[keyof typeof RehypeSanitizeOption];
+
+export type RehypeSanitizeOptionConfig = {
+  isEnabledXssPrevention: boolean,
+  // Todo add types for custom sanitize option at https://redmine.weseek.co.jp/issues/109763
+}