@asyncapi/react-component
Version:
A React component for AsyncAPI specification.
38 lines • 1.24 kB
JavaScript
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
var constants_1 = require("../constants");
var XExtension_1 = __importDefault(require("../components/supportedExtensions/XExtension"));
exports.defaultConfig = {
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: constants_1.PUBLISH_LABEL_DEFAULT_TEXT,
subscribeLabel: constants_1.SUBSCRIBE_LABEL_DEFAULT_TEXT,
sendLabel: constants_1.SEND_LABEL_DEFAULT_TEXT,
receiveLabel: constants_1.RECEIVE_TEXT_LABEL_DEFAULT_TEXT,
requestLabel: constants_1.REQUEST_LABEL_DEFAULT_TEXT,
replyLabel: constants_1.REPLIER_LABEL_DEFAULT_TEXT,
extensions: {
'x-x': XExtension_1.default,
},
};
//# sourceMappingURL=default.js.map
;