mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-21 12:10:32 +03:00
FBI-451: clean up
This commit is contained in:
parent
8e56a3b125
commit
f29b7aeb08
4
src/constants/languages.ts
Normal file
4
src/constants/languages.ts
Normal file
|
@ -0,0 +1,4 @@
|
|||
export const CODE_SAMPLE_LANGUAGES = {
|
||||
JSON: 'json',
|
||||
XML: 'xml',
|
||||
} as const;
|
|
@ -5,8 +5,9 @@ import { isArray, isNumeric, mergeObjects } from '../utils/helpers';
|
|||
import { setRedocLabels } from './Labels';
|
||||
import { SideNavStyleEnum } from './types';
|
||||
import type { LabelsConfigRaw, MDXComponentMeta } from './types';
|
||||
import { CODE_SAMPLE_LANGUAGES } from '../constants/languages';
|
||||
|
||||
export type CodeSamplesLanguage = 'json' | 'xml';
|
||||
export type CodeSamplesLanguage = typeof CODE_SAMPLE_LANGUAGES[keyof typeof CODE_SAMPLE_LANGUAGES];
|
||||
|
||||
export interface RedocRawOptions {
|
||||
theme?: ThemeInterface;
|
||||
|
|
Loading…
Reference in New Issue
Block a user