apiuikit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +44 -0
- package/dist/App.d.ts +2 -0
- package/dist/apiuikit.cjs.js +1 -0
- package/dist/apiuikit.css +1 -0
- package/dist/apiuikit.es.js +12 -0
- package/dist/components/Authorization.d.ts +27 -0
- package/dist/components/Bindings.d.ts +7 -0
- package/dist/components/ChannelAddress.d.ts +10 -0
- package/dist/components/CodeBlock.d.ts +6 -0
- package/dist/components/ContentTab.d.ts +9 -0
- package/dist/components/CopyButton.d.ts +6 -0
- package/dist/components/DefinitionListItem.d.ts +16 -0
- package/dist/components/Examples.d.ts +6 -0
- package/dist/components/InfoMetadata.d.ts +2 -0
- package/dist/components/Markdown.d.ts +5 -0
- package/dist/components/Navigation.d.ts +21 -0
- package/dist/components/Reply.d.ts +10 -0
- package/dist/components/Section.d.ts +11 -0
- package/dist/components/SidePanel.d.ts +10 -0
- package/dist/components/TabToggle.d.ts +11 -0
- package/dist/components/Tabs.d.ts +17 -0
- package/dist/components/Tag.d.ts +7 -0
- package/dist/components/VerticalNavigation.d.ts +7 -0
- package/dist/components/schema/ExpandToggle.d.ts +8 -0
- package/dist/components/schema/SchemaCaseDetail.d.ts +6 -0
- package/dist/components/schema/SchemaConstraints.d.ts +10 -0
- package/dist/components/schema/SchemaFieldMeta.d.ts +11 -0
- package/dist/components/schema/SchemaIfThenElseBranch.d.ts +11 -0
- package/dist/components/schema/SchemaMapBranch.d.ts +8 -0
- package/dist/components/schema/SchemaNode.d.ts +18 -0
- package/dist/components/schema/SchemaNotBranch.d.ts +12 -0
- package/dist/components/schema/SchemaTab.d.ts +9 -0
- package/dist/components/schema/SchemaTree.d.ts +8 -0
- package/dist/components/schema/SchemaTreeBranch.d.ts +8 -0
- package/dist/components/schema/SchemaTreeRow.d.ts +18 -0
- package/dist/components/schema/SchemaTypeLabel.d.ts +8 -0
- package/dist/components/schema/SchemaUnionBranch.d.ts +12 -0
- package/dist/components/schema/depthColors.d.ts +20 -0
- package/dist/components/schema/index.d.ts +10 -0
- package/dist/components/schema/schemaDisplayUtils.d.ts +10 -0
- package/dist/components/schema/schemaUtils.d.ts +74 -0
- package/dist/components/schema/tests/SchemaTab.test.d.ts +1 -0
- package/dist/components/schema/tests/schemaUtils.test.d.ts +1 -0
- package/dist/config/config.d.ts +62 -0
- package/dist/config/default.d.ts +2 -0
- package/dist/config/index.d.ts +2 -0
- package/dist/containers/AsyncAPI/AsyncAPI.d.ts +12 -0
- package/dist/containers/AsyncAPI/AsyncAPIRenderer.d.ts +8 -0
- package/dist/containers/AsyncAPI/Layout.d.ts +7 -0
- package/dist/containers/AsyncAPI/tests/AsyncAPI.test.d.ts +1 -0
- package/dist/containers/AsyncAPI/tests/AsyncAPIRenderer.test.d.ts +1 -0
- package/dist/containers/Information/Information.d.ts +4 -0
- package/dist/containers/Messages/Message.d.ts +8 -0
- package/dist/containers/Messages/MessageDetails.d.ts +9 -0
- package/dist/containers/Messages/Messages.d.ts +7 -0
- package/dist/containers/Operation/Operation.d.ts +7 -0
- package/dist/containers/Operation/Operations.d.ts +8 -0
- package/dist/containers/Schema/SchemaViewer.d.ts +7 -0
- package/dist/containers/Schema/Schemas.d.ts +7 -0
- package/dist/containers/Server/Server.d.ts +2 -0
- package/dist/containers/Server/Servers.d.ts +6 -0
- package/dist/contants.d.ts +26 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts/useSpec.d.ts +14 -0
- package/dist/helpers/avro/avroSchemaParser.d.ts +8 -0
- package/dist/helpers/avro/avroToJsonSchema.d.ts +4 -0
- package/dist/helpers/avro/index.d.ts +3 -0
- package/dist/helpers/avro/tests/avroToJsonSchema.test.d.ts +1 -0
- package/dist/helpers/avro/types.d.ts +70 -0
- package/dist/helpers/avro/validateAvroStructure.d.ts +2 -0
- package/dist/helpers/bindingsSelector.d.ts +2 -0
- package/dist/helpers/classNames.d.ts +1 -0
- package/dist/helpers/common.d.ts +6 -0
- package/dist/helpers/formatEnumDescription.d.ts +3 -0
- package/dist/helpers/marked.d.ts +3 -0
- package/dist/helpers/parser.d.ts +10 -0
- package/dist/helpers/protobuf/googleTypes.d.ts +1 -0
- package/dist/helpers/protobuf/index.d.ts +10 -0
- package/dist/helpers/protobuf/pathUtils.d.ts +13 -0
- package/dist/helpers/protobuf/primitiveTypes.d.ts +16 -0
- package/dist/helpers/protobuf/protoToJsonSchema.d.ts +7 -0
- package/dist/helpers/protobuf/protobufSchemaParser.d.ts +9 -0
- package/dist/helpers/protobuf/protocGenValidate.d.ts +3 -0
- package/dist/helpers/protobuf/protovalidate.d.ts +8 -0
- package/dist/helpers/protobuf/tests/protoToJsonSchema.test.d.ts +1 -0
- package/dist/helpers/protobuf/tests/protobufSchemaParser.test.d.ts +1 -0
- package/dist/helpers/protobuf/validateProtobufStructure.d.ts +5 -0
- package/dist/helpers/schemaFormat.d.ts +53 -0
- package/dist/helpers/schemaParserRegistry.d.ts +18 -0
- package/dist/helpers/tests/schemaFormat.test.d.ts +1 -0
- package/dist/icons/ArrowDown.d.ts +5 -0
- package/dist/icons/ArrowRight.d.ts +5 -0
- package/dist/icons/AtSymbol.d.ts +5 -0
- package/dist/icons/BookOpen.d.ts +4 -0
- package/dist/icons/Check.d.ts +5 -0
- package/dist/icons/Clipboard.d.ts +5 -0
- package/dist/icons/Connection.d.ts +5 -0
- package/dist/icons/ExternalLink.d.ts +5 -0
- package/dist/icons/Globe.d.ts +5 -0
- package/dist/icons/IconWrapper.d.ts +6 -0
- package/dist/icons/Link.d.ts +4 -0
- package/dist/icons/Message.d.ts +5 -0
- package/dist/icons/Operation.d.ts +5 -0
- package/dist/icons/Scale.d.ts +6 -0
- package/dist/icons/Schema.d.ts +5 -0
- package/dist/icons/Server.d.ts +4 -0
- package/dist/icons/ShieldCheck.d.ts +4 -0
- package/dist/icons/SideBar.d.ts +6 -0
- package/dist/icons/Tag.d.ts +5 -0
- package/dist/icons/Variable.d.ts +4 -0
- package/dist/index-BNxgjuJI.cjs +107 -0
- package/dist/index-CCaYgYrJ.js +15316 -0
- package/dist/index-Dg7zwvip.cjs +155 -0
- package/dist/index-aiNXwruk.js +25414 -0
- package/dist/index.d.ts +10 -0
- package/dist/main.d.ts +0 -0
- package/dist/stories/AsyncAPI.stories.d.ts +8 -0
- package/dist/stories/AsyncAPIRenderer.stories.d.ts +11 -0
- package/dist/stories/Button.d.ts +14 -0
- package/dist/stories/Button.stories.d.ts +23 -0
- package/dist/stories/Information.stories.d.ts +8 -0
- package/dist/stories/SchemaTree.stories.d.ts +23 -0
- package/dist/stories/Server.stories.d.ts +9 -0
- package/dist/types/asyncapi/AnySchemaObject.d.ts +60 -0
- package/dist/types/asyncapi/ApiKey.d.ts +9 -0
- package/dist/types/asyncapi/ApiKeyHttpSecurityScheme.d.ts +10 -0
- package/dist/types/asyncapi/ApiKeyHttpSecuritySchemeIn.d.ts +6 -0
- package/dist/types/asyncapi/ApiKeyHttpSecuritySchemeType.d.ts +4 -0
- package/dist/types/asyncapi/ApiKeyIn.d.ts +5 -0
- package/dist/types/asyncapi/ApiKeyType.d.ts +4 -0
- package/dist/types/asyncapi/AsymmetricEncryption.d.ts +7 -0
- package/dist/types/asyncapi/AsymmetricEncryptionType.d.ts +4 -0
- package/dist/types/asyncapi/AsyncApi_3Dot_0Dot_0SchemaDot.d.ts +18 -0
- package/dist/types/asyncapi/BearerHttpSecurityScheme.d.ts +10 -0
- package/dist/types/asyncapi/BearerHttpSecuritySchemeScheme.d.ts +4 -0
- package/dist/types/asyncapi/BearerHttpSecuritySchemeType.d.ts +4 -0
- package/dist/types/asyncapi/BindingsMinusAmqpMinus_0Dot_3Dot_0MinusOperationDeliveryMode.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusAnypointmqMinus_0Dot_0Dot_1MinusChannelDestinationType.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusGooglepubsubMinus_0Dot_2Dot_0MinusChannelMessageStoragePolicy.d.ts +4 -0
- package/dist/types/asyncapi/BindingsMinusGooglepubsubMinus_0Dot_2Dot_0MinusChannelSchemaSettings.d.ts +8 -0
- package/dist/types/asyncapi/BindingsMinusGooglepubsubMinus_0Dot_2Dot_0MinusMessageSchema.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusHttpMinus_0Dot_3Dot_0MinusOperationMethod.d.ts +12 -0
- package/dist/types/asyncapi/BindingsMinusJmsMinus_0Dot_0Dot_1MinusChannelDestinationType.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusJmsMinus_0Dot_0Dot_1MinusServerProperty.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusKafkaMinus_0Dot_5Dot_0MinusChannelTopicConfiguration.d.ts +14 -0
- package/dist/types/asyncapi/BindingsMinusKafkaMinus_0Dot_5Dot_0MinusChannelTopicConfigurationCleanupDotPolicyItem.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusKafkaMinus_0Dot_5Dot_0MinusMessageSchemaIdLocation.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusMqttMinus_0Dot_2Dot_0MinusMessagePayloadFormatIndicator.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusMqttMinus_0Dot_2Dot_0MinusOperationQos.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusMqttMinus_0Dot_2Dot_0MinusServerLastWill.d.ts +9 -0
- package/dist/types/asyncapi/BindingsMinusMqttMinus_0Dot_2Dot_0MinusServerLastWillQos.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusPulsarMinus_0Dot_1Dot_0MinusChannelPersistence.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusPulsarMinus_0Dot_1Dot_0MinusChannelRetention.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusChannelOrdering.d.ts +7 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusChannelOrderingType.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusChannelPolicy.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusChannelStatement.d.ts +8 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusChannelStatementEffect.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationConsumer.d.ts +17 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationConsumerFilterPolicyScope.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationConsumerProtocol.d.ts +12 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationDeliveryPolicy.d.ts +13 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationDeliveryPolicyBackoffFunction.d.ts +7 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationIdentifier.d.ts +9 -0
- package/dist/types/asyncapi/BindingsMinusSnsMinus_0Dot_1Dot_0MinusOperationRedrivePolicy.d.ts +7 -0
- package/dist/types/asyncapi/BindingsMinusSolaceMinus_0Dot_4Dot_0MinusOperationDestinationsItemDeliveryMode.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSolaceMinus_0Dot_4Dot_0MinusOperationDestinationsItemOneOf_0.d.ts +9 -0
- package/dist/types/asyncapi/BindingsMinusSolaceMinus_0Dot_4Dot_0MinusOperationDestinationsItemOneOf_0Queue.d.ts +10 -0
- package/dist/types/asyncapi/BindingsMinusSolaceMinus_0Dot_4Dot_0MinusOperationDestinationsItemOneOf_0QueueAccessType.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSolaceMinus_0Dot_4Dot_0MinusOperationDestinationsItemOneOf_1.d.ts +8 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelIdentifier.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelPolicy.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelQueue.d.ts +19 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelQueueDeduplicationScope.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelQueueFifoThroughputLimit.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelRedrivePolicy.d.ts +7 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelStatement.d.ts +8 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusChannelStatementEffect.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationIdentifier.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationPolicy.d.ts +6 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationQueue.d.ts +20 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationQueueDeduplicationScope.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationQueueFifoThroughputLimit.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationRedrivePolicy.d.ts +7 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationStatement.d.ts +8 -0
- package/dist/types/asyncapi/BindingsMinusSqsMinus_0Dot_2Dot_0MinusOperationStatementEffect.d.ts +5 -0
- package/dist/types/asyncapi/BindingsMinusWebsocketsMinus_0Dot_1Dot_0MinusChannelMethod.d.ts +5 -0
- package/dist/types/asyncapi/Channel.d.ts +20 -0
- package/dist/types/asyncapi/ChannelBindingsObject.d.ts +31 -0
- package/dist/types/asyncapi/ChannelBindingsObjectAmqp.d.ts +6 -0
- package/dist/types/asyncapi/ChannelBindingsObjectAmqpBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectAnypointmq.d.ts +9 -0
- package/dist/types/asyncapi/ChannelBindingsObjectAnypointmqBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectGooglepubsub.d.ts +12 -0
- package/dist/types/asyncapi/ChannelBindingsObjectGooglepubsubBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectIbmmq.d.ts +6 -0
- package/dist/types/asyncapi/ChannelBindingsObjectIbmmqBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectJms.d.ts +9 -0
- package/dist/types/asyncapi/ChannelBindingsObjectJmsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectKafka.d.ts +11 -0
- package/dist/types/asyncapi/ChannelBindingsObjectKafkaBindingVersion.d.ts +6 -0
- package/dist/types/asyncapi/ChannelBindingsObjectPulsar.d.ts +15 -0
- package/dist/types/asyncapi/ChannelBindingsObjectPulsarBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectSns.d.ts +12 -0
- package/dist/types/asyncapi/ChannelBindingsObjectSnsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ChannelBindingsObjectSqs.d.ts +9 -0
- package/dist/types/asyncapi/ChannelBindingsObjectSqsBindingVersion.d.ts +5 -0
- package/dist/types/asyncapi/ChannelBindingsObjectWs.d.ts +12 -0
- package/dist/types/asyncapi/ChannelBindingsObjectWsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/Components.d.ts +54 -0
- package/dist/types/asyncapi/Contact.d.ts +7 -0
- package/dist/types/asyncapi/CoreSchemaMetaMinusSchemaObject.d.ts +52 -0
- package/dist/types/asyncapi/CorrelationId.d.ts +6 -0
- package/dist/types/asyncapi/ExternalDocs.d.ts +6 -0
- package/dist/types/asyncapi/Info.d.ts +19 -0
- package/dist/types/asyncapi/JsonMinusSchemaMinusDraftMinus_07MinusSchemaSimpleTypes.d.ts +10 -0
- package/dist/types/asyncapi/License.d.ts +6 -0
- package/dist/types/asyncapi/MessageBindingsObject.d.ts +28 -0
- package/dist/types/asyncapi/MessageBindingsObjectAmqp.d.ts +8 -0
- package/dist/types/asyncapi/MessageBindingsObjectAmqpBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/MessageBindingsObjectAnypointmq.d.ts +9 -0
- package/dist/types/asyncapi/MessageBindingsObjectAnypointmqBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/MessageBindingsObjectGooglepubsub.d.ts +10 -0
- package/dist/types/asyncapi/MessageBindingsObjectGooglepubsubBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/MessageBindingsObjectHttp.d.ts +9 -0
- package/dist/types/asyncapi/MessageBindingsObjectHttpBindingVersion.d.ts +5 -0
- package/dist/types/asyncapi/MessageBindingsObjectIbmmq.d.ts +6 -0
- package/dist/types/asyncapi/MessageBindingsObjectIbmmqBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/MessageBindingsObjectJms.d.ts +8 -0
- package/dist/types/asyncapi/MessageBindingsObjectJmsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/MessageBindingsObjectKafka.d.ts +13 -0
- package/dist/types/asyncapi/MessageBindingsObjectKafkaBindingVersion.d.ts +6 -0
- package/dist/types/asyncapi/MessageBindingsObjectMqtt.d.ts +13 -0
- package/dist/types/asyncapi/MessageBindingsObjectMqttBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/MessageObject.d.ts +25 -0
- package/dist/types/asyncapi/MessageTrait.d.ts +22 -0
- package/dist/types/asyncapi/MultiFormatSchemaElseSchemaFormatAnyOf_1.d.ts +8 -0
- package/dist/types/asyncapi/MultiFormatSchemaElseSchemaFormatAnyOf_2.d.ts +10 -0
- package/dist/types/asyncapi/Oauth2Flows.d.ts +10 -0
- package/dist/types/asyncapi/Oauth2FlowsFlows.d.ts +11 -0
- package/dist/types/asyncapi/Oauth2FlowsFlowsAuthorizationCode.d.ts +8 -0
- package/dist/types/asyncapi/Oauth2FlowsFlowsClientCredentials.d.ts +8 -0
- package/dist/types/asyncapi/Oauth2FlowsFlowsImplicit.d.ts +8 -0
- package/dist/types/asyncapi/Oauth2FlowsFlowsPassword.d.ts +8 -0
- package/dist/types/asyncapi/Oauth2FlowsType.d.ts +4 -0
- package/dist/types/asyncapi/OpenIdConnect.d.ts +9 -0
- package/dist/types/asyncapi/OpenIdConnectType.d.ts +4 -0
- package/dist/types/asyncapi/Operation.d.ts +35 -0
- package/dist/types/asyncapi/OperationAction.d.ts +5 -0
- package/dist/types/asyncapi/OperationBindingsObject.d.ts +28 -0
- package/dist/types/asyncapi/OperationBindingsObjectAmqp.d.ts +16 -0
- package/dist/types/asyncapi/OperationBindingsObjectAmqpBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/OperationBindingsObjectHttp.d.ts +10 -0
- package/dist/types/asyncapi/OperationBindingsObjectHttpBindingVersion.d.ts +5 -0
- package/dist/types/asyncapi/OperationBindingsObjectKafka.d.ts +9 -0
- package/dist/types/asyncapi/OperationBindingsObjectKafkaBindingVersion.d.ts +6 -0
- package/dist/types/asyncapi/OperationBindingsObjectMqtt.d.ts +12 -0
- package/dist/types/asyncapi/OperationBindingsObjectMqttBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/OperationBindingsObjectNats.d.ts +7 -0
- package/dist/types/asyncapi/OperationBindingsObjectNatsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/OperationBindingsObjectSns.d.ts +12 -0
- package/dist/types/asyncapi/OperationBindingsObjectSnsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/OperationBindingsObjectSolace.d.ts +11 -0
- package/dist/types/asyncapi/OperationBindingsObjectSolaceBindingVersion.d.ts +6 -0
- package/dist/types/asyncapi/OperationBindingsObjectSqs.d.ts +8 -0
- package/dist/types/asyncapi/OperationBindingsObjectSqsBindingVersion.d.ts +5 -0
- package/dist/types/asyncapi/OperationReply.d.ts +9 -0
- package/dist/types/asyncapi/OperationReplyAddress.d.ts +6 -0
- package/dist/types/asyncapi/OperationTrait.d.ts +27 -0
- package/dist/types/asyncapi/Parameter.d.ts +9 -0
- package/dist/types/asyncapi/Reference.d.ts +5 -0
- package/dist/types/asyncapi/SaslGssapiSecurityScheme.d.ts +7 -0
- package/dist/types/asyncapi/SaslGssapiSecuritySchemeType.d.ts +4 -0
- package/dist/types/asyncapi/SaslPlainSecurityScheme.d.ts +7 -0
- package/dist/types/asyncapi/SaslPlainSecuritySchemeType.d.ts +4 -0
- package/dist/types/asyncapi/SaslScramSecurityScheme.d.ts +7 -0
- package/dist/types/asyncapi/SaslScramSecuritySchemeType.d.ts +5 -0
- package/dist/types/asyncapi/SchemaObject.d.ts +58 -0
- package/dist/types/asyncapi/Server.d.ts +33 -0
- package/dist/types/asyncapi/ServerBindingsObject.d.ts +27 -0
- package/dist/types/asyncapi/ServerBindingsObjectIbmmq.d.ts +11 -0
- package/dist/types/asyncapi/ServerBindingsObjectIbmmqBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ServerBindingsObjectJms.d.ts +10 -0
- package/dist/types/asyncapi/ServerBindingsObjectJmsBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ServerBindingsObjectKafka.d.ts +8 -0
- package/dist/types/asyncapi/ServerBindingsObjectKafkaBindingVersion.d.ts +6 -0
- package/dist/types/asyncapi/ServerBindingsObjectMqtt.d.ts +15 -0
- package/dist/types/asyncapi/ServerBindingsObjectMqttBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ServerBindingsObjectPulsar.d.ts +7 -0
- package/dist/types/asyncapi/ServerBindingsObjectPulsarBindingVersion.d.ts +4 -0
- package/dist/types/asyncapi/ServerBindingsObjectSolace.d.ts +9 -0
- package/dist/types/asyncapi/ServerBindingsObjectSolaceBindingVersion.d.ts +6 -0
- package/dist/types/asyncapi/ServerVariable.d.ts +8 -0
- package/dist/types/asyncapi/SymmetricEncryption.d.ts +7 -0
- package/dist/types/asyncapi/SymmetricEncryptionType.d.ts +4 -0
- package/dist/types/asyncapi/Tag.d.ts +9 -0
- package/dist/types/asyncapi/UserPassword.d.ts +7 -0
- package/dist/types/asyncapi/UserPasswordType.d.ts +4 -0
- package/dist/types/asyncapi/X509.d.ts +7 -0
- package/dist/types/asyncapi/X509Type.d.ts +4 -0
- package/dist/types/schema.d.ts +36 -0
- package/dist/utils/hasRef.d.ts +4 -0
- package/dist/utils/scrollLock.d.ts +12 -0
- package/dist/utils/tests/hasRef.test.d.ts +1 -0
- package/dist/utils/tests/theme.test.d.ts +1 -0
- package/dist/utils/tests/useElementRect.test.d.ts +1 -0
- package/dist/utils/theme.d.ts +2 -0
- package/dist/utils/useAutoHideOnScroll.d.ts +16 -0
- package/dist/utils/useElementRect.d.ts +7 -0
- package/dist/vite.svg +1 -0
- package/package.json +108 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { CoreSchemaMetaMinusSchemaObject } from './CoreSchemaMetaMinusSchemaObject';
|
|
2
|
+
import { AnySchemaObject } from './AnySchemaObject';
|
|
3
|
+
import { JsonMinusSchemaMinusDraftMinus_07MinusSchemaSimpleTypes } from './JsonMinusSchemaMinusDraftMinus_07MinusSchemaSimpleTypes';
|
|
4
|
+
import { Reference } from './Reference';
|
|
5
|
+
import { ExternalDocs } from './ExternalDocs';
|
|
6
|
+
interface SchemaObject {
|
|
7
|
+
'$id'?: string;
|
|
8
|
+
'$schema'?: string;
|
|
9
|
+
'$ref'?: string;
|
|
10
|
+
'$comment'?: string;
|
|
11
|
+
'title'?: string;
|
|
12
|
+
'description'?: string;
|
|
13
|
+
'default'?: any;
|
|
14
|
+
'readOnly'?: boolean;
|
|
15
|
+
'writeOnly'?: boolean;
|
|
16
|
+
'examples'?: any[];
|
|
17
|
+
'multipleOf'?: number;
|
|
18
|
+
'maximum'?: number;
|
|
19
|
+
'exclusiveMaximum'?: number;
|
|
20
|
+
'minimum'?: number;
|
|
21
|
+
'exclusiveMinimum'?: number;
|
|
22
|
+
'maxLength'?: number;
|
|
23
|
+
'minLength'?: number;
|
|
24
|
+
'pattern'?: string;
|
|
25
|
+
'additionalItems'?: CoreSchemaMetaMinusSchemaObject | boolean;
|
|
26
|
+
'items'?: any | (AnySchemaObject | boolean)[];
|
|
27
|
+
'maxItems'?: number;
|
|
28
|
+
'minItems'?: number;
|
|
29
|
+
'uniqueItems'?: boolean;
|
|
30
|
+
'contains'?: AnySchemaObject | boolean;
|
|
31
|
+
'maxProperties'?: number;
|
|
32
|
+
'minProperties'?: number;
|
|
33
|
+
'required'?: string[];
|
|
34
|
+
'additionalProperties'?: CoreSchemaMetaMinusSchemaObject | boolean;
|
|
35
|
+
'definitions'?: Map<string, AnySchemaObject | boolean>;
|
|
36
|
+
'properties'?: Map<string, AnySchemaObject | boolean>;
|
|
37
|
+
'patternProperties'?: Map<string, AnySchemaObject | boolean>;
|
|
38
|
+
'dependencies'?: Map<string, any | string[]>;
|
|
39
|
+
'propertyNames'?: AnySchemaObject | boolean;
|
|
40
|
+
'const'?: any;
|
|
41
|
+
'enum'?: any[];
|
|
42
|
+
'type'?: JsonMinusSchemaMinusDraftMinus_07MinusSchemaSimpleTypes | JsonMinusSchemaMinusDraftMinus_07MinusSchemaSimpleTypes[];
|
|
43
|
+
'format'?: string;
|
|
44
|
+
'contentMediaType'?: string;
|
|
45
|
+
'contentEncoding'?: string;
|
|
46
|
+
'if'?: CoreSchemaMetaMinusSchemaObject | boolean;
|
|
47
|
+
'then'?: CoreSchemaMetaMinusSchemaObject | boolean;
|
|
48
|
+
'else'?: CoreSchemaMetaMinusSchemaObject | boolean;
|
|
49
|
+
'allOf'?: (AnySchemaObject | boolean)[];
|
|
50
|
+
'anyOf'?: (AnySchemaObject | boolean)[];
|
|
51
|
+
'oneOf'?: (AnySchemaObject | boolean)[];
|
|
52
|
+
'not'?: AnySchemaObject | boolean;
|
|
53
|
+
'discriminator'?: string;
|
|
54
|
+
'externalDocs'?: Reference | ExternalDocs;
|
|
55
|
+
'deprecated'?: boolean;
|
|
56
|
+
'reserved_additionalProperties'?: Map<string, any | any>;
|
|
57
|
+
}
|
|
58
|
+
export { SchemaObject };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Reference } from './Reference';
|
|
2
|
+
import { ServerVariable } from './ServerVariable';
|
|
3
|
+
import { UserPassword } from './UserPassword';
|
|
4
|
+
import { ApiKey } from './ApiKey';
|
|
5
|
+
import { X509 } from './X509';
|
|
6
|
+
import { SymmetricEncryption } from './SymmetricEncryption';
|
|
7
|
+
import { AsymmetricEncryption } from './AsymmetricEncryption';
|
|
8
|
+
import { BearerHttpSecurityScheme } from './BearerHttpSecurityScheme';
|
|
9
|
+
import { ApiKeyHttpSecurityScheme } from './ApiKeyHttpSecurityScheme';
|
|
10
|
+
import { Oauth2Flows } from './Oauth2Flows';
|
|
11
|
+
import { OpenIdConnect } from './OpenIdConnect';
|
|
12
|
+
import { SaslPlainSecurityScheme } from './SaslPlainSecurityScheme';
|
|
13
|
+
import { SaslScramSecurityScheme } from './SaslScramSecurityScheme';
|
|
14
|
+
import { SaslGssapiSecurityScheme } from './SaslGssapiSecurityScheme';
|
|
15
|
+
import { Tag } from './Tag';
|
|
16
|
+
import { ExternalDocs } from './ExternalDocs';
|
|
17
|
+
import { ServerBindingsObject } from './ServerBindingsObject';
|
|
18
|
+
interface Server {
|
|
19
|
+
'host': string;
|
|
20
|
+
'pathname'?: string;
|
|
21
|
+
'title'?: string;
|
|
22
|
+
'summary'?: string;
|
|
23
|
+
'description'?: string;
|
|
24
|
+
'protocol': string;
|
|
25
|
+
'protocolVersion'?: string;
|
|
26
|
+
'variables'?: Map<string, Reference | ServerVariable>;
|
|
27
|
+
'security'?: (Reference | UserPassword | ApiKey | X509 | SymmetricEncryption | AsymmetricEncryption | any | BearerHttpSecurityScheme | ApiKeyHttpSecurityScheme | Oauth2Flows | OpenIdConnect | SaslPlainSecurityScheme | SaslScramSecurityScheme | SaslGssapiSecurityScheme)[];
|
|
28
|
+
'tags'?: (Reference | Tag)[];
|
|
29
|
+
'externalDocs'?: Reference | ExternalDocs;
|
|
30
|
+
'bindings'?: Reference | ServerBindingsObject;
|
|
31
|
+
'additionalProperties'?: Map<string, any>;
|
|
32
|
+
}
|
|
33
|
+
export { Server };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ServerBindingsObjectMqtt } from './ServerBindingsObjectMqtt';
|
|
2
|
+
import { ServerBindingsObjectKafka } from './ServerBindingsObjectKafka';
|
|
3
|
+
import { ServerBindingsObjectJms } from './ServerBindingsObjectJms';
|
|
4
|
+
import { ServerBindingsObjectIbmmq } from './ServerBindingsObjectIbmmq';
|
|
5
|
+
import { ServerBindingsObjectSolace } from './ServerBindingsObjectSolace';
|
|
6
|
+
import { ServerBindingsObjectPulsar } from './ServerBindingsObjectPulsar';
|
|
7
|
+
interface ServerBindingsObject {
|
|
8
|
+
'http'?: any;
|
|
9
|
+
'ws'?: any;
|
|
10
|
+
'amqp'?: any;
|
|
11
|
+
'amqp1'?: any;
|
|
12
|
+
'mqtt'?: ServerBindingsObjectMqtt;
|
|
13
|
+
'kafka'?: ServerBindingsObjectKafka;
|
|
14
|
+
'anypointmq'?: any;
|
|
15
|
+
'nats'?: any;
|
|
16
|
+
'jms'?: ServerBindingsObjectJms;
|
|
17
|
+
'sns'?: any;
|
|
18
|
+
'sqs'?: any;
|
|
19
|
+
'stomp'?: any;
|
|
20
|
+
'redis'?: any;
|
|
21
|
+
'ibmmq'?: ServerBindingsObjectIbmmq;
|
|
22
|
+
'solace'?: ServerBindingsObjectSolace;
|
|
23
|
+
'googlepubsub'?: any;
|
|
24
|
+
'pulsar'?: ServerBindingsObjectPulsar;
|
|
25
|
+
'additionalProperties'?: Map<string, any>;
|
|
26
|
+
}
|
|
27
|
+
export { ServerBindingsObject };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ServerBindingsObjectIbmmqBindingVersion } from './ServerBindingsObjectIbmmqBindingVersion';
|
|
2
|
+
interface ServerBindingsObjectIbmmq {
|
|
3
|
+
'bindingVersion'?: ServerBindingsObjectIbmmqBindingVersion;
|
|
4
|
+
'groupId'?: string;
|
|
5
|
+
'ccdtQueueManagerName'?: string;
|
|
6
|
+
'cipherSpec'?: string;
|
|
7
|
+
'multiEndpointServer'?: boolean;
|
|
8
|
+
'heartBeatInterval'?: number;
|
|
9
|
+
'additionalProperties'?: Map<string, any>;
|
|
10
|
+
}
|
|
11
|
+
export { ServerBindingsObjectIbmmq };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServerBindingsObjectJmsBindingVersion } from './ServerBindingsObjectJmsBindingVersion';
|
|
2
|
+
import { BindingsMinusJmsMinus_0Dot_0Dot_1MinusServerProperty } from './BindingsMinusJmsMinus_0Dot_0Dot_1MinusServerProperty';
|
|
3
|
+
interface ServerBindingsObjectJms {
|
|
4
|
+
'bindingVersion'?: ServerBindingsObjectJmsBindingVersion;
|
|
5
|
+
'jmsConnectionFactory'?: string;
|
|
6
|
+
'properties'?: BindingsMinusJmsMinus_0Dot_0Dot_1MinusServerProperty[];
|
|
7
|
+
'clientID'?: string;
|
|
8
|
+
'additionalProperties'?: Map<string, any>;
|
|
9
|
+
}
|
|
10
|
+
export { ServerBindingsObjectJms };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServerBindingsObjectKafkaBindingVersion } from './ServerBindingsObjectKafkaBindingVersion';
|
|
2
|
+
interface ServerBindingsObjectKafka {
|
|
3
|
+
'bindingVersion'?: ServerBindingsObjectKafkaBindingVersion;
|
|
4
|
+
'schemaRegistryUrl'?: string;
|
|
5
|
+
'schemaRegistryVendor'?: string;
|
|
6
|
+
'additionalProperties'?: Map<string, any>;
|
|
7
|
+
}
|
|
8
|
+
export { ServerBindingsObjectKafka };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ServerBindingsObjectMqttBindingVersion } from './ServerBindingsObjectMqttBindingVersion';
|
|
2
|
+
import { BindingsMinusMqttMinus_0Dot_2Dot_0MinusServerLastWill } from './BindingsMinusMqttMinus_0Dot_2Dot_0MinusServerLastWill';
|
|
3
|
+
import { SchemaObject } from './SchemaObject';
|
|
4
|
+
import { Reference } from './Reference';
|
|
5
|
+
interface ServerBindingsObjectMqtt {
|
|
6
|
+
'bindingVersion'?: ServerBindingsObjectMqttBindingVersion;
|
|
7
|
+
'clientId'?: string;
|
|
8
|
+
'cleanSession'?: boolean;
|
|
9
|
+
'lastWill'?: BindingsMinusMqttMinus_0Dot_2Dot_0MinusServerLastWill;
|
|
10
|
+
'keepAlive'?: number;
|
|
11
|
+
'sessionExpiryInterval'?: number | SchemaObject | boolean | Reference;
|
|
12
|
+
'maximumPacketSize'?: number | SchemaObject | boolean | Reference;
|
|
13
|
+
'additionalProperties'?: Map<string, any>;
|
|
14
|
+
}
|
|
15
|
+
export { ServerBindingsObjectMqtt };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ServerBindingsObjectPulsarBindingVersion } from './ServerBindingsObjectPulsarBindingVersion';
|
|
2
|
+
interface ServerBindingsObjectPulsar {
|
|
3
|
+
'bindingVersion'?: ServerBindingsObjectPulsarBindingVersion;
|
|
4
|
+
'tenant'?: string;
|
|
5
|
+
'additionalProperties'?: Map<string, any>;
|
|
6
|
+
}
|
|
7
|
+
export { ServerBindingsObjectPulsar };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ServerBindingsObjectSolaceBindingVersion } from './ServerBindingsObjectSolaceBindingVersion';
|
|
2
|
+
interface ServerBindingsObjectSolace {
|
|
3
|
+
'bindingVersion'?: ServerBindingsObjectSolaceBindingVersion;
|
|
4
|
+
'msgVpn'?: string;
|
|
5
|
+
'clientName'?: string;
|
|
6
|
+
'msvVpn'?: string;
|
|
7
|
+
'additionalProperties'?: Map<string, any>;
|
|
8
|
+
}
|
|
9
|
+
export { ServerBindingsObjectSolace };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Info } from './asyncapi/Info';
|
|
2
|
+
import { MessageObject } from './asyncapi/MessageObject';
|
|
3
|
+
import { Operation } from './asyncapi/Operation';
|
|
4
|
+
import { Server } from './asyncapi/Server';
|
|
5
|
+
export interface SchemaNodeData {
|
|
6
|
+
type?: string | string[];
|
|
7
|
+
format?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
enum?: unknown[];
|
|
10
|
+
const?: unknown;
|
|
11
|
+
required?: string[];
|
|
12
|
+
readOnly?: boolean;
|
|
13
|
+
writeOnly?: boolean;
|
|
14
|
+
deprecated?: boolean;
|
|
15
|
+
properties?: Record<string, SchemaNodeData>;
|
|
16
|
+
items?: SchemaNodeData | SchemaNodeData[];
|
|
17
|
+
allOf?: SchemaNodeData[];
|
|
18
|
+
oneOf?: SchemaNodeData[];
|
|
19
|
+
anyOf?: SchemaNodeData[];
|
|
20
|
+
not?: SchemaNodeData | boolean;
|
|
21
|
+
$ref?: string;
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
type AsyncAPISchemaDefinition = SchemaNodeData;
|
|
25
|
+
export interface AsyncAPIDocumentData extends Record<string, unknown> {
|
|
26
|
+
info: Info;
|
|
27
|
+
servers?: Record<string, Server>;
|
|
28
|
+
operations?: Record<string, Operation>;
|
|
29
|
+
components?: {
|
|
30
|
+
messages?: Record<string, MessageObject>;
|
|
31
|
+
schemas?: Record<string, AsyncAPISchemaDefinition>;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export declare const isSchemaRecord: (value: unknown) => value is Record<string, unknown>;
|
|
35
|
+
export declare const asSchemaNode: (value: unknown) => SchemaNodeData | null;
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Walks up from `from` to find the nearest ancestor that actually scrolls.
|
|
3
|
+
* Falls back to the document root so embedding the widget in a plain,
|
|
4
|
+
* non-scrolling page still locks the page scroll as expected.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getScrollLockTarget(from: Element | null): HTMLElement;
|
|
7
|
+
/**
|
|
8
|
+
* Locks scroll on `target` and pads it to compensate for the scrollbar
|
|
9
|
+
* that disappears, so surrounding content doesn't shift. Returns a
|
|
10
|
+
* function that restores the original styles.
|
|
11
|
+
*/
|
|
12
|
+
export declare function lockScroll(target: HTMLElement): () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type AutoHideMode = "docked" | "pinned" | "hidden";
|
|
2
|
+
/**
|
|
3
|
+
* Drives a "show on scroll up" element anchored to the top of `element`.
|
|
4
|
+
*
|
|
5
|
+
* - "docked": `element`'s top edge is still at/below the viewport top — render
|
|
6
|
+
* the target in its normal in-flow position.
|
|
7
|
+
* - "hidden": scrolled past the top and the last scroll moved down — keep the
|
|
8
|
+
* target off-screen.
|
|
9
|
+
* - "pinned": scrolled past the top but the last scroll moved up, or
|
|
10
|
+
* `forceVisible` is set — pin the target to the viewport top.
|
|
11
|
+
*
|
|
12
|
+
* Scroll direction is derived from `element`'s own bounding rect, so it works
|
|
13
|
+
* regardless of which ancestor scroll container actually scrolls (same reason
|
|
14
|
+
* useElementRect listens in the capture phase).
|
|
15
|
+
*/
|
|
16
|
+
export declare function useAutoHideOnScroll(element: HTMLElement | null, forceVisible: boolean): AutoHideMode;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tracks `element`'s viewport-relative bounding rect (via getBoundingClientRect),
|
|
3
|
+
* updating on resize and on scroll of any ancestor scroll container. Only
|
|
4
|
+
* observes while `active` is true, so callers can opt out when not needed
|
|
5
|
+
* (e.g. while a panel using this for positioning is closed).
|
|
6
|
+
*/
|
|
7
|
+
export declare function useElementRect(element: HTMLElement | null, active: boolean): DOMRect | null;
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "apiuikit",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A React UI library for rendering your API specifications",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/AceTheCreator/aui.git"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "./dist/apiuikit.cjs.js",
|
|
12
|
+
"module": "./dist/apiuikit.es.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/apiuikit.es.js",
|
|
18
|
+
"require": "./dist/apiuikit.cjs.js"
|
|
19
|
+
},
|
|
20
|
+
"./style.css": "./dist/apiuikit.css"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"THIRD_PARTY_NOTICES.md"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev": "vite",
|
|
28
|
+
"build": "vite build",
|
|
29
|
+
"watch": "vite build --watch",
|
|
30
|
+
"prepublishOnly": "vite build",
|
|
31
|
+
"typecheck": "node scripts/typecheck.mjs",
|
|
32
|
+
"typecheck:strict": "tsc -b",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"test:watch": "vitest",
|
|
35
|
+
"lint": "eslint .",
|
|
36
|
+
"preview": "vite preview",
|
|
37
|
+
"storybook": "storybook dev -p 6006",
|
|
38
|
+
"build-storybook": "storybook build",
|
|
39
|
+
"generate:models": "tsx src/scripts/generateAsyncAPIModel.ts"
|
|
40
|
+
},
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@asyncapi/specs": "^6.8.1",
|
|
43
|
+
"@json-schema-tools/reference-resolver": "^1.2.6",
|
|
44
|
+
"highlight.js": "^11.11.1",
|
|
45
|
+
"isomorphic-dompurify": "^2.24.0",
|
|
46
|
+
"json-schema-faker": "^0.6.2",
|
|
47
|
+
"json-schema-resolver": "^3.0.0",
|
|
48
|
+
"marked": "^15.0.11",
|
|
49
|
+
"marked-highlight": "^2.2.1",
|
|
50
|
+
"protobufjs": "^7.4.0",
|
|
51
|
+
"react-markdown": "^9.0.3",
|
|
52
|
+
"react-syntax-highlighter": "^15.6.1",
|
|
53
|
+
"remark-gfm": "^4.0.1"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@asyncapi/parser": "^3.6.0",
|
|
57
|
+
"react": ">=18",
|
|
58
|
+
"react-dom": ">=18"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"@asyncapi/parser": {
|
|
62
|
+
"optional": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@asyncapi/modelina": "^5.10.1",
|
|
67
|
+
"@chromatic-com/storybook": "^3.2.3",
|
|
68
|
+
"@eslint/js": "^9.17.0",
|
|
69
|
+
"@storybook/addon-a11y": "^8.6.18",
|
|
70
|
+
"@storybook/addon-essentials": "^8.6.18",
|
|
71
|
+
"@storybook/addon-interactions": "^8.6.18",
|
|
72
|
+
"@storybook/addon-onboarding": "^8.6.18",
|
|
73
|
+
"@storybook/blocks": "^8.6.18",
|
|
74
|
+
"@storybook/react": "^8.6.18",
|
|
75
|
+
"@storybook/react-vite": "^8.6.18",
|
|
76
|
+
"@storybook/test": "^8.6.18",
|
|
77
|
+
"@tailwindcss/forms": "^0.5.11",
|
|
78
|
+
"@tailwindcss/postcss": "^4.3.2",
|
|
79
|
+
"@tailwindcss/typography": "^0.5.20",
|
|
80
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
81
|
+
"@testing-library/react": "^16.3.2",
|
|
82
|
+
"@types/react": "^19.0.0",
|
|
83
|
+
"@types/react-dom": "^19.0.0",
|
|
84
|
+
"@types/react-syntax-highlighter": "^15.5.13",
|
|
85
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
86
|
+
"eslint": "^9.17.0",
|
|
87
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
88
|
+
"eslint-plugin-react-refresh": "^0.4.16",
|
|
89
|
+
"eslint-plugin-storybook": "^0.11.2",
|
|
90
|
+
"globals": "^15.14.0",
|
|
91
|
+
"jsdom": "^29.1.1",
|
|
92
|
+
"marked-linkify-it": "^3.1.12",
|
|
93
|
+
"postcss": "^8.4.49",
|
|
94
|
+
"storybook": "^8.6.18",
|
|
95
|
+
"tailwindcss": "^4.3.2",
|
|
96
|
+
"tsx": "^4.21.0",
|
|
97
|
+
"typescript": "~5.6.2",
|
|
98
|
+
"typescript-eslint": "^8.18.2",
|
|
99
|
+
"vite": "^6.0.5",
|
|
100
|
+
"vite-plugin-dts": "^5.0.3",
|
|
101
|
+
"vitest": "^4.1.10"
|
|
102
|
+
},
|
|
103
|
+
"eslintConfig": {
|
|
104
|
+
"extends": [
|
|
105
|
+
"plugin:storybook/recommended"
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|