@s1am0nd/asyncapi-react-component
Version:
A React component for AsyncAPI specification.
13 lines • 531 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PayloadType = exports.isFetchingSchemaInterface = void 0;
function isFetchingSchemaInterface(schema) {
return schema.url !== undefined;
}
exports.isFetchingSchemaInterface = isFetchingSchemaInterface;
var PayloadType;
(function (PayloadType) {
PayloadType["PUBLISH"] = "publish";
PayloadType["SUBSCRIBE"] = "subscribe";
})(PayloadType = exports.PayloadType || (exports.PayloadType = {}));
//# sourceMappingURL=types.js.map