-
-
Notifications
You must be signed in to change notification settings - Fork 126
/
default.ts
36 lines (35 loc) · 896 Bytes
/
default.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { ConfigInterface } from './config';
import {
PUBLISH_LABEL_DEFAULT_TEXT,
RECEIVE_TEXT_LABEL_DEFAULT_TEXT,
REPLIER_LABEL_DEFAULT_TEXT,
REQUEST_LABEL_DEFAULT_TEXT,
SEND_LABEL_DEFAULT_TEXT,
SUBSCRIBE_LABEL_DEFAULT_TEXT,
} from '../constants';
export const defaultConfig: ConfigInterface = {
schemaID: '',
show: {
sidebar: false,
info: true,
servers: true,
operations: true,
messages: true,
messageExamples: false,
schemas: true,
errors: true,
},
expand: {
messageExamples: false,
},
sidebar: {
showServers: 'byDefault',
showOperations: 'byDefault',
},
publishLabel: PUBLISH_LABEL_DEFAULT_TEXT,
subscribeLabel: SUBSCRIBE_LABEL_DEFAULT_TEXT,
sendLabel: SEND_LABEL_DEFAULT_TEXT,
receiveLabel: RECEIVE_TEXT_LABEL_DEFAULT_TEXT,
requestLabel: REQUEST_LABEL_DEFAULT_TEXT,
replyLabel: REPLIER_LABEL_DEFAULT_TEXT,
};