renderer.ts 600 B

123456789101112131415161718192021
  1. import { XssOptionConfig } from '~/services/xss/xssOption';
  2. // export type GrowiHydratedEnv = {
  3. // DRAWIO_URI: string | null,
  4. // HACKMD_URI: string | null,
  5. // NO_CDN: string | null,
  6. // GROWI_CLOUD_URI: string | null,
  7. // GROWI_APP_ID_FOR_GROWI_CLOUD: string | null,
  8. // }
  9. export type RendererConfig = {
  10. isEnabledLinebreaks: boolean,
  11. isEnabledLinebreaksInComments: boolean,
  12. adminPreferredIndentSize: number,
  13. isIndentSizeForced: boolean,
  14. highlightJsStyleBorder: boolean,
  15. isAllReplyShown: boolean,
  16. plantumlUri: string | null,
  17. blockdiagUri: string | null,
  18. } & XssOptionConfig;