Yohei-Shiina %!s(int64=3) %!d(string=hai) anos
pai
achega
b8e9e50fbd
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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
+}