@asyncapi/react-component
Version:
A React component for AsyncAPI specification.
20 lines • 789 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PluginSlot = exports.PayloadType = exports.isFetchingSchemaInterface = void 0;
function isFetchingSchemaInterface(schema) {
return schema.url !== undefined;
}
exports.isFetchingSchemaInterface = isFetchingSchemaInterface;
var PayloadType;
(function (PayloadType) {
PayloadType["SEND"] = "send";
PayloadType["RECEIVE"] = "receive";
PayloadType["REQUEST"] = "request";
PayloadType["REPLY"] = "reply";
})(PayloadType = exports.PayloadType || (exports.PayloadType = {}));
var PluginSlot;
(function (PluginSlot) {
PluginSlot["OPERATION"] = "operation";
PluginSlot["INFO"] = "info";
})(PluginSlot = exports.PluginSlot || (exports.PluginSlot = {}));
//# sourceMappingURL=types.js.map