@gmb/bitmark-parser-generator 1.1.1 → 1.2.1
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/dist/browser/bitmark-parser-generator-antlr.min.js +1 -1
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/cjs/ast/BaseBuilder.js +22 -22
- package/dist/cjs/ast/BaseBuilder.js.map +1 -1
- package/dist/cjs/ast/Builder.js +190 -79
- package/dist/cjs/ast/Builder.js.map +1 -1
- package/dist/cjs/ast/rules/NodeValidator.js +2 -4
- package/dist/cjs/ast/rules/NodeValidator.js.map +1 -1
- package/dist/cjs/config/bits/_errorBitConfig.js +1 -1
- package/dist/cjs/config/bits/_errorBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/appLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/appLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/articleBitConfig.js +2 -77
- package/dist/cjs/config/bits/articleBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/articleEmbedBitConfig.js +1 -1
- package/dist/cjs/config/bits/articleEmbedBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/articleLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/articleLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/audioBitConfig.js +1 -1
- package/dist/cjs/config/bits/audioBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/audioEmbedBitConfig.js +1 -1
- package/dist/cjs/config/bits/audioEmbedBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/audioLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/audioLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/bitAliasBitConfig.js +1 -1
- package/dist/cjs/config/bits/bitAliasBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/bookBitConfig.js +2 -35
- package/dist/cjs/config/bits/bookBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/botActionResponseBitConfig.js +1 -1
- package/dist/cjs/config/bits/botActionResponseBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/botActionSendBitConfig.js +1 -1
- package/dist/cjs/config/bits/botActionSendBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/browserImageBitConfig.js +1 -1
- package/dist/cjs/config/bits/browserImageBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/card1BitConfig.js +1 -1
- package/dist/cjs/config/bits/card1BitConfig.js.map +1 -1
- package/dist/cjs/config/bits/chapterBitConfig.js +1 -1
- package/dist/cjs/config/bits/chapterBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/clozeAndMultipleChoiceTextBitConfig.js +1 -1
- package/dist/cjs/config/bits/clozeAndMultipleChoiceTextBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/clozeBitConfig.js +3 -2
- package/dist/cjs/config/bits/clozeBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/codeBitConfig.js +1 -1
- package/dist/cjs/config/bits/codeBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/conversationBitConfig.js +2 -8
- package/dist/cjs/config/bits/conversationBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/documentBitConfig.js +1 -1
- package/dist/cjs/config/bits/documentBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/documentDownloadBitConfig.js +1 -1
- package/dist/cjs/config/bits/documentDownloadBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/documentEmbedBitConfig.js +1 -1
- package/dist/cjs/config/bits/documentEmbedBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/documentLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/documentLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/essayBitConfig.js +1 -1
- package/dist/cjs/config/bits/essayBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/{clozeInstructionGroupedBitConfig.js → exampleBitConfig.js} +6 -4
- package/dist/cjs/config/bits/exampleBitConfig.js.map +1 -0
- package/dist/cjs/config/bits/flashcardBitConfig.js +7 -3
- package/dist/cjs/config/bits/flashcardBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/focusImageBitConfig.js +1 -1
- package/dist/cjs/config/bits/focusImageBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/generic/cardSetBitConfigs.js +15 -1
- package/dist/cjs/config/bits/generic/cardSetBitConfigs.js.map +1 -1
- package/dist/cjs/config/bits/generic/chainBitConfigs.js +21 -1
- package/dist/cjs/config/bits/generic/chainBitConfigs.js.map +1 -1
- package/dist/cjs/config/bits/generic/standardBitConfigs.js +18 -0
- package/dist/cjs/config/bits/generic/standardBitConfigs.js.map +1 -1
- package/dist/cjs/config/bits/highlightTextBitConfig.js +1 -1
- package/dist/cjs/config/bits/highlightTextBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/imageBitConfig.js +2 -10
- package/dist/cjs/config/bits/imageBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/imageLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/imageLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/internalLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/internalLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/interviewBitConfig.js +1 -1
- package/dist/cjs/config/bits/interviewBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/learningPathBitConfig.js +3 -48
- package/dist/cjs/config/bits/learningPathBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/markBitConfig.js +3 -2
- package/dist/cjs/config/bits/markBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/matchBitConfig.js +4 -32
- package/dist/cjs/config/bits/matchBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/multipleChoice1BitConfig.js +1 -1
- package/dist/cjs/config/bits/multipleChoice1BitConfig.js.map +1 -1
- package/dist/cjs/config/bits/multipleChoiceBitConfig.js +1 -1
- package/dist/cjs/config/bits/multipleChoiceBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/multipleChoiceTextBitConfig.js +1 -1
- package/dist/cjs/config/bits/multipleChoiceTextBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/multipleResponse1BitConfig.js +1 -1
- package/dist/cjs/config/bits/multipleResponse1BitConfig.js.map +1 -1
- package/dist/cjs/config/bits/multipleResponseBitConfig.js +1 -1
- package/dist/cjs/config/bits/multipleResponseBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/photoBitConfig.js +1 -1
- package/dist/cjs/config/bits/photoBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/quoteBitConfig.js +1 -1
- package/dist/cjs/config/bits/quoteBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/ratingBitConfig.js +1 -1
- package/dist/cjs/config/bits/ratingBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/releaseNoteBitConfig.js +1 -1
- package/dist/cjs/config/bits/releaseNoteBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/sampleSolutionBitConfig.js +1 -1
- package/dist/cjs/config/bits/sampleSolutionBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/screenshotBitConfig.js +1 -1
- package/dist/cjs/config/bits/screenshotBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/sequenceBitConfig.js +1 -1
- package/dist/cjs/config/bits/sequenceBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/stillImageFilmBitConfig.js +1 -1
- package/dist/cjs/config/bits/stillImageFilmBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/stillImageFilmEmbedBitConfig.js +1 -1
- package/dist/cjs/config/bits/stillImageFilmEmbedBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/stillImageFilmLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/stillImageFilmLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/surveyAnonymousBitConfig.js +1 -1
- package/dist/cjs/config/bits/surveyAnonymousBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/surveyBitConfig.js +1 -1
- package/dist/cjs/config/bits/surveyBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/tocBitConfig.js +1 -1
- package/dist/cjs/config/bits/tocBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/trueFalse1BitConfig.js +1 -1
- package/dist/cjs/config/bits/trueFalse1BitConfig.js.map +1 -1
- package/dist/cjs/config/bits/trueFalseBitConfig.js +1 -1
- package/dist/cjs/config/bits/trueFalseBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/vendorPadletEmbedBitConfig.js +1 -1
- package/dist/cjs/config/bits/vendorPadletEmbedBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/videoBitConfig.js +2 -6
- package/dist/cjs/config/bits/videoBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/videoEmbedBitConfig.js +1 -1
- package/dist/cjs/config/bits/videoEmbedBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/videoLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/videoLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/bits/websiteLinkBitConfig.js +1 -1
- package/dist/cjs/config/bits/websiteLinkBitConfig.js.map +1 -1
- package/dist/cjs/config/config.js +10 -26
- package/dist/cjs/config/config.js.map +1 -1
- package/dist/cjs/config/properties/colorPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/colorPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/colorTagPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/colorTagPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/iconPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/iconPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/iconTagPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/iconTagPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/indicationPropertyConfig.js +9 -0
- package/dist/cjs/config/properties/indicationPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/markPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/markPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/tagPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/tagPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/targetPropertyConfig.js +8 -0
- package/dist/cjs/config/properties/targetPropertyConfig.js.map +1 -0
- package/dist/cjs/config/properties/typePropertyConfig.js +9 -0
- package/dist/cjs/config/properties/typePropertyConfig.js.map +1 -0
- package/dist/cjs/generated/build-info.js +1 -1
- package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js +325 -340
- package/dist/cjs/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -1
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js +118 -25
- package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/cjs/generator/json/JsonGenerator.js +124 -66
- package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/model/ast/NodeType.js +31 -5
- package/dist/cjs/model/ast/NodeType.js.map +1 -1
- package/dist/cjs/model/enum/BitType.js +404 -84
- package/dist/cjs/model/enum/BitType.js.map +1 -1
- package/dist/cjs/model/enum/BodyBitType.js +1 -0
- package/dist/cjs/model/enum/BodyBitType.js.map +1 -1
- package/dist/cjs/model/enum/CardSetType.js +1 -0
- package/dist/cjs/model/enum/CardSetType.js.map +1 -1
- package/dist/cjs/model/enum/PropertyKey.js +10 -0
- package/dist/cjs/model/enum/PropertyKey.js.map +1 -1
- package/dist/cjs/model/enum/TagType.js +1 -0
- package/dist/cjs/model/enum/TagType.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js +21 -2
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js +24 -13
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js +2 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js +27 -18
- package/dist/cjs/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +151 -30
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +16 -7
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +43 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +37 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js +12 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js.map +1 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js +2 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +7 -0
- package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +3 -2
- package/dist/cjs/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +3 -3
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +11 -11
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/cjs/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
- package/dist/cjs/parser/json/JsonParser.js +63 -10
- package/dist/cjs/parser/json/JsonParser.js.map +1 -1
- package/dist/cjs/utils/BitUtils.js +1 -1
- package/dist/cjs/utils/BitUtils.js.map +1 -1
- package/dist/esm/ast/BaseBuilder.js +22 -22
- package/dist/esm/ast/BaseBuilder.js.map +1 -1
- package/dist/esm/ast/Builder.js +191 -80
- package/dist/esm/ast/Builder.js.map +1 -1
- package/dist/esm/ast/rules/NodeValidator.js +3 -5
- package/dist/esm/ast/rules/NodeValidator.js.map +1 -1
- package/dist/esm/config/bits/_errorBitConfig.js +2 -2
- package/dist/esm/config/bits/_errorBitConfig.js.map +1 -1
- package/dist/esm/config/bits/appLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/appLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/articleBitConfig.js +3 -78
- package/dist/esm/config/bits/articleBitConfig.js.map +1 -1
- package/dist/esm/config/bits/articleEmbedBitConfig.js +2 -2
- package/dist/esm/config/bits/articleEmbedBitConfig.js.map +1 -1
- package/dist/esm/config/bits/articleLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/articleLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/audioBitConfig.js +2 -2
- package/dist/esm/config/bits/audioBitConfig.js.map +1 -1
- package/dist/esm/config/bits/audioEmbedBitConfig.js +2 -2
- package/dist/esm/config/bits/audioEmbedBitConfig.js.map +1 -1
- package/dist/esm/config/bits/audioLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/audioLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/bitAliasBitConfig.js +2 -2
- package/dist/esm/config/bits/bitAliasBitConfig.js.map +1 -1
- package/dist/esm/config/bits/bookBitConfig.js +3 -36
- package/dist/esm/config/bits/bookBitConfig.js.map +1 -1
- package/dist/esm/config/bits/botActionResponseBitConfig.js +2 -2
- package/dist/esm/config/bits/botActionResponseBitConfig.js.map +1 -1
- package/dist/esm/config/bits/botActionSendBitConfig.js +2 -2
- package/dist/esm/config/bits/botActionSendBitConfig.js.map +1 -1
- package/dist/esm/config/bits/browserImageBitConfig.js +2 -2
- package/dist/esm/config/bits/browserImageBitConfig.js.map +1 -1
- package/dist/esm/config/bits/card1BitConfig.js +2 -2
- package/dist/esm/config/bits/card1BitConfig.js.map +1 -1
- package/dist/esm/config/bits/chapterBitConfig.js +2 -2
- package/dist/esm/config/bits/chapterBitConfig.js.map +1 -1
- package/dist/esm/config/bits/clozeAndMultipleChoiceTextBitConfig.js +2 -2
- package/dist/esm/config/bits/clozeAndMultipleChoiceTextBitConfig.js.map +1 -1
- package/dist/esm/config/bits/clozeBitConfig.js +4 -3
- package/dist/esm/config/bits/clozeBitConfig.js.map +1 -1
- package/dist/esm/config/bits/codeBitConfig.js +2 -2
- package/dist/esm/config/bits/codeBitConfig.js.map +1 -1
- package/dist/esm/config/bits/conversationBitConfig.js +3 -9
- package/dist/esm/config/bits/conversationBitConfig.js.map +1 -1
- package/dist/esm/config/bits/documentBitConfig.js +2 -2
- package/dist/esm/config/bits/documentBitConfig.js.map +1 -1
- package/dist/esm/config/bits/documentDownloadBitConfig.js +2 -2
- package/dist/esm/config/bits/documentDownloadBitConfig.js.map +1 -1
- package/dist/esm/config/bits/documentEmbedBitConfig.js +2 -2
- package/dist/esm/config/bits/documentEmbedBitConfig.js.map +1 -1
- package/dist/esm/config/bits/documentLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/documentLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/essayBitConfig.js +2 -2
- package/dist/esm/config/bits/essayBitConfig.js.map +1 -1
- package/dist/esm/config/bits/exampleBitConfig.js +13 -0
- package/dist/esm/config/bits/exampleBitConfig.js.map +1 -0
- package/dist/esm/config/bits/flashcardBitConfig.js +8 -4
- package/dist/esm/config/bits/flashcardBitConfig.js.map +1 -1
- package/dist/esm/config/bits/focusImageBitConfig.js +2 -2
- package/dist/esm/config/bits/focusImageBitConfig.js.map +1 -1
- package/dist/esm/config/bits/generic/cardSetBitConfigs.js +14 -1
- package/dist/esm/config/bits/generic/cardSetBitConfigs.js.map +1 -1
- package/dist/esm/config/bits/generic/chainBitConfigs.js +19 -1
- package/dist/esm/config/bits/generic/chainBitConfigs.js.map +1 -1
- package/dist/esm/config/bits/generic/standardBitConfigs.js +18 -0
- package/dist/esm/config/bits/generic/standardBitConfigs.js.map +1 -1
- package/dist/esm/config/bits/highlightTextBitConfig.js +2 -2
- package/dist/esm/config/bits/highlightTextBitConfig.js.map +1 -1
- package/dist/esm/config/bits/imageBitConfig.js +3 -11
- package/dist/esm/config/bits/imageBitConfig.js.map +1 -1
- package/dist/esm/config/bits/imageLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/imageLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/internalLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/internalLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/interviewBitConfig.js +2 -2
- package/dist/esm/config/bits/interviewBitConfig.js.map +1 -1
- package/dist/esm/config/bits/learningPathBitConfig.js +4 -49
- package/dist/esm/config/bits/learningPathBitConfig.js.map +1 -1
- package/dist/esm/config/bits/markBitConfig.js +4 -3
- package/dist/esm/config/bits/markBitConfig.js.map +1 -1
- package/dist/esm/config/bits/matchBitConfig.js +5 -33
- package/dist/esm/config/bits/matchBitConfig.js.map +1 -1
- package/dist/esm/config/bits/multipleChoice1BitConfig.js +2 -2
- package/dist/esm/config/bits/multipleChoice1BitConfig.js.map +1 -1
- package/dist/esm/config/bits/multipleChoiceBitConfig.js +2 -2
- package/dist/esm/config/bits/multipleChoiceBitConfig.js.map +1 -1
- package/dist/esm/config/bits/multipleChoiceTextBitConfig.js +2 -2
- package/dist/esm/config/bits/multipleChoiceTextBitConfig.js.map +1 -1
- package/dist/esm/config/bits/multipleResponse1BitConfig.js +2 -2
- package/dist/esm/config/bits/multipleResponse1BitConfig.js.map +1 -1
- package/dist/esm/config/bits/multipleResponseBitConfig.js +2 -2
- package/dist/esm/config/bits/multipleResponseBitConfig.js.map +1 -1
- package/dist/esm/config/bits/photoBitConfig.js +2 -2
- package/dist/esm/config/bits/photoBitConfig.js.map +1 -1
- package/dist/esm/config/bits/quoteBitConfig.js +2 -2
- package/dist/esm/config/bits/quoteBitConfig.js.map +1 -1
- package/dist/esm/config/bits/ratingBitConfig.js +2 -2
- package/dist/esm/config/bits/ratingBitConfig.js.map +1 -1
- package/dist/esm/config/bits/releaseNoteBitConfig.js +2 -2
- package/dist/esm/config/bits/releaseNoteBitConfig.js.map +1 -1
- package/dist/esm/config/bits/sampleSolutionBitConfig.js +2 -2
- package/dist/esm/config/bits/sampleSolutionBitConfig.js.map +1 -1
- package/dist/esm/config/bits/screenshotBitConfig.js +2 -2
- package/dist/esm/config/bits/screenshotBitConfig.js.map +1 -1
- package/dist/esm/config/bits/sequenceBitConfig.js +2 -2
- package/dist/esm/config/bits/sequenceBitConfig.js.map +1 -1
- package/dist/esm/config/bits/stillImageFilmBitConfig.js +2 -2
- package/dist/esm/config/bits/stillImageFilmBitConfig.js.map +1 -1
- package/dist/esm/config/bits/stillImageFilmEmbedBitConfig.js +2 -2
- package/dist/esm/config/bits/stillImageFilmEmbedBitConfig.js.map +1 -1
- package/dist/esm/config/bits/stillImageFilmLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/stillImageFilmLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/surveyAnonymousBitConfig.js +2 -2
- package/dist/esm/config/bits/surveyAnonymousBitConfig.js.map +1 -1
- package/dist/esm/config/bits/surveyBitConfig.js +2 -2
- package/dist/esm/config/bits/surveyBitConfig.js.map +1 -1
- package/dist/esm/config/bits/tocBitConfig.js +2 -2
- package/dist/esm/config/bits/tocBitConfig.js.map +1 -1
- package/dist/esm/config/bits/trueFalse1BitConfig.js +2 -2
- package/dist/esm/config/bits/trueFalse1BitConfig.js.map +1 -1
- package/dist/esm/config/bits/trueFalseBitConfig.js +2 -2
- package/dist/esm/config/bits/trueFalseBitConfig.js.map +1 -1
- package/dist/esm/config/bits/vendorPadletEmbedBitConfig.js +2 -2
- package/dist/esm/config/bits/vendorPadletEmbedBitConfig.js.map +1 -1
- package/dist/esm/config/bits/videoBitConfig.js +3 -7
- package/dist/esm/config/bits/videoBitConfig.js.map +1 -1
- package/dist/esm/config/bits/videoEmbedBitConfig.js +2 -2
- package/dist/esm/config/bits/videoEmbedBitConfig.js.map +1 -1
- package/dist/esm/config/bits/videoLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/videoLinkBitConfig.js.map +1 -1
- package/dist/esm/config/bits/websiteLinkBitConfig.js +2 -2
- package/dist/esm/config/bits/websiteLinkBitConfig.js.map +1 -1
- package/dist/esm/config/config.js +10 -26
- package/dist/esm/config/config.js.map +1 -1
- package/dist/esm/config/properties/colorPropertyConfig.js +7 -0
- package/dist/esm/config/properties/colorPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/colorTagPropertyConfig.js +6 -0
- package/dist/esm/config/properties/colorTagPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/iconPropertyConfig.js +7 -0
- package/dist/esm/config/properties/iconPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/iconTagPropertyConfig.js +7 -0
- package/dist/esm/config/properties/iconTagPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/indicationPropertyConfig.js +7 -0
- package/dist/esm/config/properties/indicationPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/markPropertyConfig.js +6 -0
- package/dist/esm/config/properties/markPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/tagPropertyConfig.js +6 -0
- package/dist/esm/config/properties/tagPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/targetPropertyConfig.js +6 -0
- package/dist/esm/config/properties/targetPropertyConfig.js.map +1 -0
- package/dist/esm/config/properties/typePropertyConfig.js +7 -0
- package/dist/esm/config/properties/typePropertyConfig.js.map +1 -0
- package/dist/esm/generated/build-info.js +1 -1
- package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js +325 -340
- package/dist/esm/generated/parser/bitmark/bitmark-peggy-parser.js.map +1 -1
- package/dist/esm/generator/bitmark/BitmarkGenerator.js +119 -26
- package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
- package/dist/esm/generator/json/JsonGenerator.js +125 -67
- package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/model/ast/NodeType.js +31 -5
- package/dist/esm/model/ast/NodeType.js.map +1 -1
- package/dist/esm/model/enum/BitType.js +401 -83
- package/dist/esm/model/enum/BitType.js.map +1 -1
- package/dist/esm/model/enum/BodyBitType.js +1 -0
- package/dist/esm/model/enum/BodyBitType.js.map +1 -1
- package/dist/esm/model/enum/CardSetType.js +1 -0
- package/dist/esm/model/enum/CardSetType.js.map +1 -1
- package/dist/esm/model/enum/PropertyKey.js +10 -0
- package/dist/esm/model/enum/PropertyKey.js.map +1 -1
- package/dist/esm/model/enum/TagType.js +1 -0
- package/dist/esm/model/enum/TagType.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js +21 -2
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserHelper.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js +25 -14
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js +2 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserTypes.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js +28 -19
- package/dist/esm/parser/bitmark/peg/BitmarkPegParserValidator.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js +152 -31
- package/dist/esm/parser/bitmark/peg/contentProcessors/CardContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js +17 -8
- package/dist/esm/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js +40 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js +34 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js +9 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.js.map +1 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js +2 -2
- package/dist/esm/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +7 -0
- package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js +4 -3
- package/dist/esm/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js +4 -4
- package/dist/esm/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js +12 -12
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.js.map +1 -1
- package/dist/esm/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.js.map +1 -1
- package/dist/esm/parser/json/JsonParser.js +64 -11
- package/dist/esm/parser/json/JsonParser.js.map +1 -1
- package/dist/esm/utils/BitUtils.js +2 -2
- package/dist/esm/utils/BitUtils.js.map +1 -1
- package/dist/types/ast/BaseBuilder.d.ts +8 -8
- package/dist/types/ast/Builder.d.ts +81 -8
- package/dist/types/ast/Builder.d.ts.map +1 -1
- package/dist/types/ast/rules/NodeValidator.d.ts.map +1 -1
- package/dist/types/config/bits/exampleBitConfig.d.ts +2 -0
- package/dist/types/config/bits/exampleBitConfig.d.ts.map +1 -0
- package/dist/types/config/bits/generic/cardSetBitConfigs.d.ts +2 -1
- package/dist/types/config/bits/generic/cardSetBitConfigs.d.ts.map +1 -1
- package/dist/types/config/bits/generic/chainBitConfigs.d.ts +3 -1
- package/dist/types/config/bits/generic/chainBitConfigs.d.ts.map +1 -1
- package/dist/types/config/bits/generic/standardBitConfigs.d.ts.map +1 -1
- package/dist/types/config/config.d.ts +10 -26
- package/dist/types/config/config.d.ts.map +1 -1
- package/dist/types/config/properties/colorPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/colorPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/colorTagPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/colorTagPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/iconPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/iconPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/iconTagPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/iconTagPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/indicationPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/indicationPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/markPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/markPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/tagPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/tagPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/targetPropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/targetPropertyConfig.d.ts.map +1 -0
- package/dist/types/config/properties/typePropertyConfig.d.ts +2 -0
- package/dist/types/config/properties/typePropertyConfig.d.ts.map +1 -0
- package/dist/types/generated/parser/bitmark/bitmark-peggy-parser.d.ts.map +1 -1
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +15 -5
- package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
- package/dist/types/generator/json/JsonGenerator.d.ts +7 -4
- package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
- package/dist/types/generator/text/TextGenerator.d.ts +2 -2
- package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/model/ast/NodeType.d.ts +54 -6
- package/dist/types/model/ast/NodeType.d.ts.map +1 -1
- package/dist/types/model/ast/Nodes.d.ts +39 -3
- package/dist/types/model/ast/Nodes.d.ts.map +1 -1
- package/dist/types/model/enum/BitType.d.ts +243 -167
- package/dist/types/model/enum/BitType.d.ts.map +1 -1
- package/dist/types/model/enum/BodyBitType.d.ts +3 -0
- package/dist/types/model/enum/BodyBitType.d.ts.map +1 -1
- package/dist/types/model/enum/CardSetType.d.ts +2 -0
- package/dist/types/model/enum/CardSetType.d.ts.map +1 -1
- package/dist/types/model/enum/PropertyKey.d.ts +18 -0
- package/dist/types/model/enum/PropertyKey.d.ts.map +1 -1
- package/dist/types/model/enum/TagType.d.ts +2 -0
- package/dist/types/model/enum/TagType.d.ts.map +1 -1
- package/dist/types/model/json/BitJson.d.ts +30 -7
- package/dist/types/model/json/BitJson.d.ts.map +1 -1
- package/dist/types/model/json/BodyBitJson.d.ts +8 -1
- package/dist/types/model/json/BodyBitJson.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserHelper.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +15 -7
- package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts +10 -10
- package/dist/types/parser/bitmark/peg/BitmarkPegParserValidator.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/BookChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/CardContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/ClozeTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/CommentTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/DefaultTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/ExampleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/GapChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/ItemLeadTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts +6 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkChainContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkConfigChainContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.d.ts +5 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/MarkTagContentProcessor.d.ts.map +1 -0
- package/dist/types/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/PartnerChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/ReferenceTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts +3 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/ResourceContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts +3 -3
- package/dist/types/parser/bitmark/peg/contentProcessors/TitleTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseChainContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts +2 -2
- package/dist/types/parser/bitmark/peg/contentProcessors/TrueFalseTagContentProcessor.d.ts.map +1 -1
- package/dist/types/parser/json/JsonParser.d.ts +3 -0
- package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
- package/dist/types/utils/BitUtils.d.ts +2 -2
- package/dist/types/utils/BitUtils.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/config/bits/anchorBitConfig.js +0 -11
- package/dist/cjs/config/bits/anchorBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/bitBookEndingBitConfig.js +0 -11
- package/dist/cjs/config/bits/bitBookEndingBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/bitBookSummaryBitConfig.js +0 -11
- package/dist/cjs/config/bits/bitBookSummaryBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionAnnounceBitConfig.js +0 -11
- package/dist/cjs/config/bits/botActionAnnounceBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionRatingNumberBitConfig.js +0 -11
- package/dist/cjs/config/bits/botActionRatingNumberBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionRemindBitConfig.js +0 -11
- package/dist/cjs/config/bits/botActionRemindBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionSaveBitConfig.js +0 -11
- package/dist/cjs/config/bits/botActionSaveBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botActionTrueFalseBitConfig.js +0 -11
- package/dist/cjs/config/bits/botActionTrueFalseBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/botInterviewBitConfig.js +0 -11
- package/dist/cjs/config/bits/botInterviewBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/chapterSubjectMatterBitConfig.js +0 -11
- package/dist/cjs/config/bits/chapterSubjectMatterBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/chatBitConfig.js +0 -11
- package/dist/cjs/config/bits/chatBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/clozeInstructionGroupedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/clozeSolutionGroupedBitConfig.js +0 -13
- package/dist/cjs/config/bits/clozeSolutionGroupedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/conclusionBitConfig.js +0 -12
- package/dist/cjs/config/bits/conclusionBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/documentUploadBitConfig.js +0 -11
- package/dist/cjs/config/bits/documentUploadBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/flashcard1BitConfig.js +0 -11
- package/dist/cjs/config/bits/flashcard1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/footNoteBitConfig.js +0 -12
- package/dist/cjs/config/bits/footNoteBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/groupBornBitConfig.js +0 -11
- package/dist/cjs/config/bits/groupBornBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/groupDiedBitConfig.js +0 -11
- package/dist/cjs/config/bits/groupDiedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/interviewInstructionGroupedBitConfig.js +0 -15
- package/dist/cjs/config/bits/interviewInstructionGroupedBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/question1BitConfig.js +0 -12
- package/dist/cjs/config/bits/question1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/recordAudioBitConfig.js +0 -11
- package/dist/cjs/config/bits/recordAudioBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/stickyNoteBitConfig.js +0 -12
- package/dist/cjs/config/bits/stickyNoteBitConfig.js.map +0 -1
- package/dist/cjs/config/bits/survey1BitConfig.js +0 -12
- package/dist/cjs/config/bits/survey1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/surveyAnonymous1BitConfig.js +0 -12
- package/dist/cjs/config/bits/surveyAnonymous1BitConfig.js.map +0 -1
- package/dist/cjs/config/bits/takePictureBitConfig.js +0 -11
- package/dist/cjs/config/bits/takePictureBitConfig.js.map +0 -1
- package/dist/esm/config/bits/anchorBitConfig.js +0 -9
- package/dist/esm/config/bits/anchorBitConfig.js.map +0 -1
- package/dist/esm/config/bits/bitBookEndingBitConfig.js +0 -9
- package/dist/esm/config/bits/bitBookEndingBitConfig.js.map +0 -1
- package/dist/esm/config/bits/bitBookSummaryBitConfig.js +0 -9
- package/dist/esm/config/bits/bitBookSummaryBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionAnnounceBitConfig.js +0 -9
- package/dist/esm/config/bits/botActionAnnounceBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionRatingNumberBitConfig.js +0 -9
- package/dist/esm/config/bits/botActionRatingNumberBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionRemindBitConfig.js +0 -9
- package/dist/esm/config/bits/botActionRemindBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionSaveBitConfig.js +0 -9
- package/dist/esm/config/bits/botActionSaveBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botActionTrueFalseBitConfig.js +0 -9
- package/dist/esm/config/bits/botActionTrueFalseBitConfig.js.map +0 -1
- package/dist/esm/config/bits/botInterviewBitConfig.js +0 -9
- package/dist/esm/config/bits/botInterviewBitConfig.js.map +0 -1
- package/dist/esm/config/bits/chapterSubjectMatterBitConfig.js +0 -9
- package/dist/esm/config/bits/chapterSubjectMatterBitConfig.js.map +0 -1
- package/dist/esm/config/bits/chatBitConfig.js +0 -9
- package/dist/esm/config/bits/chatBitConfig.js.map +0 -1
- package/dist/esm/config/bits/clozeInstructionGroupedBitConfig.js +0 -11
- package/dist/esm/config/bits/clozeInstructionGroupedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/clozeSolutionGroupedBitConfig.js +0 -11
- package/dist/esm/config/bits/clozeSolutionGroupedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/conclusionBitConfig.js +0 -10
- package/dist/esm/config/bits/conclusionBitConfig.js.map +0 -1
- package/dist/esm/config/bits/documentUploadBitConfig.js +0 -9
- package/dist/esm/config/bits/documentUploadBitConfig.js.map +0 -1
- package/dist/esm/config/bits/flashcard1BitConfig.js +0 -9
- package/dist/esm/config/bits/flashcard1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/footNoteBitConfig.js +0 -10
- package/dist/esm/config/bits/footNoteBitConfig.js.map +0 -1
- package/dist/esm/config/bits/groupBornBitConfig.js +0 -9
- package/dist/esm/config/bits/groupBornBitConfig.js.map +0 -1
- package/dist/esm/config/bits/groupDiedBitConfig.js +0 -9
- package/dist/esm/config/bits/groupDiedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/interviewInstructionGroupedBitConfig.js +0 -13
- package/dist/esm/config/bits/interviewInstructionGroupedBitConfig.js.map +0 -1
- package/dist/esm/config/bits/question1BitConfig.js +0 -10
- package/dist/esm/config/bits/question1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/recordAudioBitConfig.js +0 -9
- package/dist/esm/config/bits/recordAudioBitConfig.js.map +0 -1
- package/dist/esm/config/bits/stickyNoteBitConfig.js +0 -10
- package/dist/esm/config/bits/stickyNoteBitConfig.js.map +0 -1
- package/dist/esm/config/bits/survey1BitConfig.js +0 -10
- package/dist/esm/config/bits/survey1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/surveyAnonymous1BitConfig.js +0 -10
- package/dist/esm/config/bits/surveyAnonymous1BitConfig.js.map +0 -1
- package/dist/esm/config/bits/takePictureBitConfig.js +0 -9
- package/dist/esm/config/bits/takePictureBitConfig.js.map +0 -1
- package/dist/types/config/bits/anchorBitConfig.d.ts +0 -2
- package/dist/types/config/bits/anchorBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/bitBookEndingBitConfig.d.ts +0 -2
- package/dist/types/config/bits/bitBookEndingBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/bitBookSummaryBitConfig.d.ts +0 -2
- package/dist/types/config/bits/bitBookSummaryBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionAnnounceBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionAnnounceBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionRatingNumberBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionRatingNumberBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionRemindBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionRemindBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionSaveBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionSaveBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botActionTrueFalseBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botActionTrueFalseBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/botInterviewBitConfig.d.ts +0 -2
- package/dist/types/config/bits/botInterviewBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/chapterSubjectMatterBitConfig.d.ts +0 -2
- package/dist/types/config/bits/chapterSubjectMatterBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/chatBitConfig.d.ts +0 -2
- package/dist/types/config/bits/chatBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/clozeInstructionGroupedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/clozeInstructionGroupedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/clozeSolutionGroupedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/clozeSolutionGroupedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/conclusionBitConfig.d.ts +0 -2
- package/dist/types/config/bits/conclusionBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/documentUploadBitConfig.d.ts +0 -2
- package/dist/types/config/bits/documentUploadBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/flashcard1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/flashcard1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/footNoteBitConfig.d.ts +0 -2
- package/dist/types/config/bits/footNoteBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/groupBornBitConfig.d.ts +0 -2
- package/dist/types/config/bits/groupBornBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/groupDiedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/groupDiedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/interviewInstructionGroupedBitConfig.d.ts +0 -2
- package/dist/types/config/bits/interviewInstructionGroupedBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/question1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/question1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/recordAudioBitConfig.d.ts +0 -2
- package/dist/types/config/bits/recordAudioBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/stickyNoteBitConfig.d.ts +0 -2
- package/dist/types/config/bits/stickyNoteBitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/survey1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/survey1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/surveyAnonymous1BitConfig.d.ts +0 -2
- package/dist/types/config/bits/surveyAnonymous1BitConfig.d.ts.map +0 -1
- package/dist/types/config/bits/takePictureBitConfig.d.ts +0 -2
- package/dist/types/config/bits/takePictureBitConfig.d.ts.map +0 -1
|
@@ -1,86 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ExampleType } from '../../model/enum/ExampleType';
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
3
2
|
import { TagType } from '../../model/enum/TagType';
|
|
4
3
|
import { TAGS_CHAIN_ANY_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
5
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
6
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
7
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.article, {
|
|
8
7
|
tags: Object.assign(Object.assign(Object.assign({}, TAGS_DEFAULT), { [TagType.Title]: {} }), TAGS_CHAIN_ANY_RESOURCE),
|
|
9
8
|
resourceAttachmentAllowed: true,
|
|
10
9
|
bodyAllowed: true,
|
|
11
|
-
};
|
|
12
|
-
const ARTICLE_WITH_EXAMPLE_CONFIG = Object.assign(Object.assign({}, ARTICLE_CONFIG), { rootExampleType: ExampleType.string });
|
|
13
|
-
BitType.setMetadata(BitType.article, ARTICLE_CONFIG);
|
|
14
|
-
// Aliases
|
|
15
|
-
BitType.setMetadata(BitType.appAiPrompt, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
16
|
-
BitType.setMetadata(BitType.aiPrompt, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
17
|
-
BitType.setMetadata(BitType.articleAi, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
18
|
-
BitType.setMetadata(BitType.articleAttachment, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
19
|
-
BitType.setMetadata(BitType.assignment, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
20
|
-
BitType.setMetadata(BitType.audioTranscript, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
21
|
-
BitType.setMetadata(BitType.bitmarkExample, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
22
|
-
BitType.setMetadata(BitType.blogArticle, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
23
|
-
BitType.setMetadata(BitType.bug, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
24
|
-
BitType.setMetadata(BitType.checklist, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
25
|
-
BitType.setMetadata(BitType.correction, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
26
|
-
BitType.setMetadata(BitType.cookPreparation, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
27
|
-
BitType.setMetadata(BitType.cookStep, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
28
|
-
BitType.setMetadata(BitType.cookIngredients, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
29
|
-
BitType.setMetadata(BitType.cookRemark, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
30
|
-
BitType.setMetadata(BitType.cookVariation, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
31
|
-
BitType.setMetadata(BitType.cookInsert, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
32
|
-
BitType.setMetadata(BitType.cookArrangement, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
33
|
-
BitType.setMetadata(BitType.cookPracticeAdvise, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
34
|
-
BitType.setMetadata(BitType.cookPlate, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
35
|
-
BitType.setMetadata(BitType.cookRecommendation, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
36
|
-
BitType.setMetadata(BitType.cookPersonalRecommendation, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
37
|
-
BitType.setMetadata(BitType.cookSideDrink, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
38
|
-
BitType.setMetadata(BitType.cookSideDish, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
39
|
-
BitType.setMetadata(BitType.cookTimer, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
40
|
-
BitType.setMetadata(BitType.danger, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
41
|
-
BitType.setMetadata(BitType.details1, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
42
|
-
BitType.setMetadata(BitType.details, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
43
|
-
BitType.setMetadata(BitType.editorial, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
44
|
-
BitType.setMetadata(BitType.example, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
45
|
-
BitType.setMetadata(BitType.editorNote, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
46
|
-
BitType.setMetadata(BitType.featured, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
47
|
-
BitType.setMetadata(BitType.help, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
48
|
-
BitType.setMetadata(BitType.hint, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
49
|
-
BitType.setMetadata(BitType.info, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
50
|
-
BitType.setMetadata(BitType.langLearningOutcomes, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
51
|
-
BitType.setMetadata(BitType.langEnablingLanguageSkills, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
52
|
-
BitType.setMetadata(BitType.langLifeSkills, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
53
|
-
BitType.setMetadata(BitType.langEnglishAroundWorld, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
54
|
-
BitType.setMetadata(BitType.langGoodToKnow, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
55
|
-
BitType.setMetadata(BitType.langLearningGoal, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
56
|
-
BitType.setMetadata(BitType.langLearningStrategy, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
57
|
-
BitType.setMetadata(BitType.langLikeALocal, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
58
|
-
BitType.setMetadata(BitType.langMaterial, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
59
|
-
BitType.setMetadata(BitType.langUsefulPhrases, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
60
|
-
BitType.setMetadata(BitType.langLevelDown, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
61
|
-
BitType.setMetadata(BitType.langLevelUp, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
62
|
-
BitType.setMetadata(BitType.langExtraActivity, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
63
|
-
BitType.setMetadata(BitType.langVideoScript, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
64
|
-
BitType.setMetadata(BitType.langAudioScript, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
65
|
-
BitType.setMetadata(BitType.langVocabulary, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
66
|
-
BitType.setMetadata(BitType.langHomework, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
67
|
-
BitType.setMetadata(BitType.langTeacherNote, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
68
|
-
BitType.setMetadata(BitType.langTeacherPronunciation, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
69
|
-
BitType.setMetadata(BitType.message, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
70
|
-
BitType.setMetadata(BitType.newspaperArticle, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
71
|
-
BitType.setMetadata(BitType.note, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
72
|
-
BitType.setMetadata(BitType.noteAi, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
73
|
-
BitType.setMetadata(BitType.notebookArticle, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
74
|
-
BitType.setMetadata(BitType.page, ARTICLE_CONFIG);
|
|
75
|
-
BitType.setMetadata(BitType.preparationNote, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
76
|
-
BitType.setMetadata(BitType.releaseNotesSummary, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
77
|
-
BitType.setMetadata(BitType.remark, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
78
|
-
BitType.setMetadata(BitType.selfAssessment, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
79
|
-
BitType.setMetadata(BitType.sideNote, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
80
|
-
BitType.setMetadata(BitType.statement, ARTICLE_CONFIG);
|
|
81
|
-
BitType.setMetadata(BitType.summary, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
82
|
-
BitType.setMetadata(BitType.summaryAi, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
83
|
-
BitType.setMetadata(BitType.videoTranscript, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
84
|
-
BitType.setMetadata(BitType.warning, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
85
|
-
BitType.setMetadata(BitType.workbookArticle, ARTICLE_WITH_EXAMPLE_CONFIG);
|
|
10
|
+
});
|
|
86
11
|
//# sourceMappingURL=articleBitConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/articleBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"articleBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/articleBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,OAAO,EAAE;IAChE,IAAI,gDACC,YAAY,KACf,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,EAAE,KAChB,uBAAuB,CAC3B;IACD,yBAAyB,EAAE,IAAI;IAC/B,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_ARTICLE_EMBED_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.articleEmbed, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_ARTICLE_EMBED_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.articleEmbed,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleEmbedBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/articleEmbedBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"articleEmbedBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/articleEmbedBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,YAAY,EAAE;IACrE,IAAI,kCACC,YAAY,GACZ,iCAAiC,CACrC;IACD,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,YAAY;IACvC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_ARTICLE_LINK_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.articleLink, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_ARTICLE_LINK_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.articleLink,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleLinkBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/articleLinkBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"articleLinkBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/articleLinkBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,WAAW,EAAE;IACpE,IAAI,kCACC,YAAY,GACZ,gCAAgC,CACpC;IACD,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,WAAW;IACtC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_AUDIO_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.audio, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_AUDIO_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.audio,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audioBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/audioBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"audioBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/audioBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,KAAK,EAAE;IAC9D,IAAI,kCAAO,YAAY,GAAK,yBAAyB,CAAE;IACvD,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_AUDIO_EMBED_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.audioEmbed, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_AUDIO_EMBED_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.audioEmbed,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audioEmbedBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/audioEmbedBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"audioEmbedBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/audioEmbedBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,UAAU,EAAE;IACnE,IAAI,kCAAO,YAAY,GAAK,+BAA+B,CAAE;IAC7D,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,UAAU;IACrC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_AUDIO_LINK_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.audioLink, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_AUDIO_LINK_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.audioLink,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audioLinkBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/audioLinkBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"audioLinkBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/audioLinkBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,SAAS,EAAE;IAClE,IAAI,kCAAO,YAAY,GAAK,8BAA8B,CAAE;IAC5D,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,SAAS;IACpC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { TagType } from '../../model/enum/TagType';
|
|
3
3
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
4
4
|
// Set metadata on the bit types to describe specific behaviour
|
|
5
|
-
|
|
5
|
+
RootBitType.setMetadata(RootBitType.bitAlias, {
|
|
6
6
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), { [TagType.Reference]: {}, [TagType.Anchor]: {} }),
|
|
7
7
|
resourceAttachmentAllowed: false,
|
|
8
8
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitAliasBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/bitAliasBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"bitAliasBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/bitAliasBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,QAAQ,EAAE;IACjE,IAAI,kCACC,YAAY,KACf,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,EAAE,EACvB,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,GACrB;IACD,yBAAyB,EAAE,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,48 +1,15 @@
|
|
|
1
1
|
import { INFINITE_COUNT } from '../../model/config/TagData';
|
|
2
|
-
import {
|
|
2
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
3
3
|
import { PropertyKey } from '../../model/enum/PropertyKey';
|
|
4
4
|
import { TagType } from '../../model/enum/TagType';
|
|
5
5
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
6
6
|
// Set metadata on the bit types to describe specific behaviour
|
|
7
|
-
|
|
7
|
+
RootBitType.setMetadata(RootBitType.book, {
|
|
8
8
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), { [PropertyKey.spaceId]: {
|
|
9
9
|
isProperty: true,
|
|
10
10
|
maxCount: INFINITE_COUNT,
|
|
11
11
|
}, [TagType.Title]: { maxCount: 2 }, [PropertyKey.subtype]: { isProperty: true }, [PropertyKey.coverImage]: { isProperty: true }, [PropertyKey.publisher]: { isProperty: true }, [PropertyKey.subject]: { isProperty: true }, [PropertyKey.author]: { isProperty: true }, [PropertyKey.theme]: { isProperty: true } }),
|
|
12
12
|
resourceAttachmentAllowed: false,
|
|
13
13
|
bodyAllowed: true,
|
|
14
|
-
};
|
|
15
|
-
BitType.setMetadata(BitType.book, BOOK_CONFIG);
|
|
16
|
-
// Book aliases
|
|
17
|
-
BitType.setMetadata(BitType.bookAcknowledgments, BOOK_CONFIG);
|
|
18
|
-
BitType.setMetadata(BitType.bookAddendum, BOOK_CONFIG);
|
|
19
|
-
BitType.setMetadata(BitType.bookAfterword, BOOK_CONFIG);
|
|
20
|
-
BitType.setMetadata(BitType.bookAppendix, BOOK_CONFIG);
|
|
21
|
-
BitType.setMetadata(BitType.bookArticle, BOOK_CONFIG);
|
|
22
|
-
BitType.setMetadata(BitType.bookAutherBio, BOOK_CONFIG);
|
|
23
|
-
BitType.setMetadata(BitType.bookBibliography, BOOK_CONFIG);
|
|
24
|
-
BitType.setMetadata(BitType.bookComingSoon, BOOK_CONFIG);
|
|
25
|
-
BitType.setMetadata(BitType.bookConclusion, BOOK_CONFIG);
|
|
26
|
-
BitType.setMetadata(BitType.bookCopyright, BOOK_CONFIG);
|
|
27
|
-
BitType.setMetadata(BitType.bookCopyrightPermissions, BOOK_CONFIG);
|
|
28
|
-
BitType.setMetadata(BitType.bookDedication, BOOK_CONFIG);
|
|
29
|
-
BitType.setMetadata(BitType.bookEndnotes, BOOK_CONFIG);
|
|
30
|
-
BitType.setMetadata(BitType.bookEpigraph, BOOK_CONFIG);
|
|
31
|
-
BitType.setMetadata(BitType.bookEpilogue, BOOK_CONFIG);
|
|
32
|
-
BitType.setMetadata(BitType.bookForword, BOOK_CONFIG);
|
|
33
|
-
BitType.setMetadata(BitType.bookFrontispiece, BOOK_CONFIG);
|
|
34
|
-
BitType.setMetadata(BitType.bookImprint, BOOK_CONFIG);
|
|
35
|
-
BitType.setMetadata(BitType.bookIncitingIncident, BOOK_CONFIG);
|
|
36
|
-
BitType.setMetadata(BitType.bookIntroduction, BOOK_CONFIG);
|
|
37
|
-
BitType.setMetadata(BitType.bookListOfContributors, BOOK_CONFIG);
|
|
38
|
-
BitType.setMetadata(BitType.bookNotes, BOOK_CONFIG);
|
|
39
|
-
BitType.setMetadata(BitType.bookPostscript, BOOK_CONFIG);
|
|
40
|
-
BitType.setMetadata(BitType.bookPreface, BOOK_CONFIG);
|
|
41
|
-
BitType.setMetadata(BitType.bookPrologue, BOOK_CONFIG);
|
|
42
|
-
BitType.setMetadata(BitType.bookReadMore, BOOK_CONFIG);
|
|
43
|
-
BitType.setMetadata(BitType.bookReferenceList, BOOK_CONFIG);
|
|
44
|
-
BitType.setMetadata(BitType.bookRequestForABookReview, BOOK_CONFIG);
|
|
45
|
-
BitType.setMetadata(BitType.bookSummary, BOOK_CONFIG);
|
|
46
|
-
BitType.setMetadata(BitType.bookTeaser, BOOK_CONFIG);
|
|
47
|
-
BitType.setMetadata(BitType.bookTitle, BOOK_CONFIG);
|
|
14
|
+
});
|
|
48
15
|
//# sourceMappingURL=bookBitConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/bookBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"bookBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/bookBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,IAAI,EAAE;IAC7D,IAAI,kCACC,YAAY,KACf,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE;YACrB,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE,cAAc;SACzB,EACD,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,EAChC,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAC3C,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAC9C,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAC7C,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAC3C,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAC1C,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAC1C;IACD,yBAAyB,EAAE,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { CARD_SET_BOT_ACTION_RESPONSES } from './generic/cardSetBitConfigs';
|
|
3
3
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
4
4
|
// Set metadata on the bit types to describe specific behaviour
|
|
5
|
-
|
|
5
|
+
RootBitType.setMetadata(RootBitType.botActionResponse, {
|
|
6
6
|
tags: Object.assign({}, TAGS_DEFAULT),
|
|
7
7
|
resourceAttachmentAllowed: false,
|
|
8
8
|
cardSet: CARD_SET_BOT_ACTION_RESPONSES,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"botActionResponseBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/botActionResponseBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"botActionResponseBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/botActionResponseBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,6BAA6B,EAAE,MAAM,6BAA6B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,iBAAiB,EAAE;IAC1E,IAAI,oBAAO,YAAY,CAAE;IACzB,yBAAyB,EAAE,KAAK;IAChC,OAAO,EAAE,6BAA6B;IACtC,WAAW,EAAE,IAAI;IACjB,aAAa,EAAE,IAAI;CACpB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { PropertyKey } from '../../model/enum/PropertyKey';
|
|
3
3
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
4
4
|
// Set metadata on the bit types to describe specific behaviour
|
|
5
|
-
|
|
5
|
+
RootBitType.setMetadata(RootBitType.botActionSend, {
|
|
6
6
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), { [PropertyKey.date]: { isProperty: true } }),
|
|
7
7
|
resourceAttachmentAllowed: false,
|
|
8
8
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"botActionSendBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/botActionSendBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"botActionSendBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/botActionSendBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,aAAa,EAAE;IACtE,IAAI,kCACC,YAAY,KACf,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GACzC;IACD,yBAAyB,EAAE,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { PropertyKey } from '../../model/enum/PropertyKey';
|
|
3
3
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
4
4
|
import { TAGS_CHAIN_IMAGE_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
5
5
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
6
6
|
// Set metadata on the bit types to describe specific behaviour
|
|
7
|
-
|
|
7
|
+
RootBitType.setMetadata(RootBitType.browserImage, {
|
|
8
8
|
tags: Object.assign(Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_IMAGE_RESOURCE), { [PropertyKey.focusX]: { isProperty: true }, [PropertyKey.focusY]: { isProperty: true } }),
|
|
9
9
|
resourceAttachmentAllowed: false,
|
|
10
10
|
resourceType: ResourceType.image,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserImageBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/browserImageBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"browserImageBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/browserImageBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,YAAY,EAAE;IACrE,IAAI,gDACC,YAAY,GACZ,yBAAyB,KAC5B,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAC1C,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GAC3C;IACD,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { TAGS_CHAIN_ANY_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
3
3
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
4
4
|
// Set metadata on the bit types to describe specific behaviour
|
|
5
|
-
|
|
5
|
+
RootBitType.setMetadata(RootBitType.card1, {
|
|
6
6
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_ANY_RESOURCE),
|
|
7
7
|
resourceAttachmentAllowed: true,
|
|
8
8
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card1BitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/card1BitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"card1BitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/card1BitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,KAAK,EAAE;IAC9D,IAAI,kCAAO,YAAY,GAAK,uBAAuB,CAAE;IACrD,yBAAyB,EAAE,IAAI;IAC/B,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { TagType } from '../../model/enum/TagType';
|
|
3
3
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
4
4
|
// Set metadata on the bit types to describe specific behaviour
|
|
5
|
-
|
|
5
|
+
RootBitType.setMetadata(RootBitType.chapter, {
|
|
6
6
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), { [TagType.Anchor]: {}, [TagType.Title]: {} }),
|
|
7
7
|
resourceAttachmentAllowed: false,
|
|
8
8
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chapterBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/chapterBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"chapterBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/chapterBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,OAAO,EAAE;IAChE,IAAI,kCACC,YAAY,KACf,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,EAAE,EACpB,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,EAAE,GACpB;IACD,yBAAyB,EAAE,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { TAGS_CHAIN_GAP, TAGS_CHAIN_TRUE_FALSE } from './generic/chainBitConfigs';
|
|
3
3
|
import { TAGS_CHAIN_ANY_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.clozeAndMultipleChoiceText, {
|
|
7
7
|
tags: Object.assign(Object.assign(Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_GAP), TAGS_CHAIN_TRUE_FALSE), TAGS_CHAIN_ANY_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: true,
|
|
9
9
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clozeAndMultipleChoiceTextBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/clozeAndMultipleChoiceTextBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"clozeAndMultipleChoiceTextBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/clozeAndMultipleChoiceTextBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,0BAA0B,EAAE;IACnF,IAAI,8DAAO,YAAY,GAAK,cAAc,GAAK,qBAAqB,GAAK,uBAAuB,CAAE;IAClG,yBAAyB,EAAE,IAAI;IAC/B,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { TAGS_CHAIN_GAP } from './generic/chainBitConfigs';
|
|
3
3
|
import { TAGS_CHAIN_ANY_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
const CLOZE_CONFIG = {
|
|
7
7
|
tags: Object.assign(Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_GAP), TAGS_CHAIN_ANY_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: true,
|
|
9
9
|
bodyAllowed: true,
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
|
+
RootBitType.setMetadata(RootBitType.cloze, CLOZE_CONFIG);
|
|
11
12
|
//# sourceMappingURL=clozeBitConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clozeBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/clozeBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"clozeBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/clozeBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,MAAM,YAAY,GAAwB;IACxC,IAAI,gDAAO,YAAY,GAAK,cAAc,GAAK,uBAAuB,CAAE;IACxE,yBAAyB,EAAE,IAAI;IAC/B,WAAW,EAAE,IAAI;CAClB,CAAC;AAEF,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { PropertyKey } from '../../model/enum/PropertyKey';
|
|
3
3
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
4
4
|
// Set metadata on the bit types to describe specific behaviour
|
|
5
|
-
|
|
5
|
+
RootBitType.setMetadata(RootBitType.code, {
|
|
6
6
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), { [PropertyKey.computerLanguage]: { isProperty: true } }),
|
|
7
7
|
resourceAttachmentAllowed: false,
|
|
8
8
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/codeBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"codeBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/codeBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,IAAI,EAAE;IAC7D,IAAI,kCACC,YAAY,KACf,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GACrD;IACD,yBAAyB,EAAE,KAAK;IAChC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { TAGS_CHAIN_PARTNER } from './generic/chainBitConfigs';
|
|
3
3
|
import { TAGS_CHAIN_ANY_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.conversationLeft1, {
|
|
7
7
|
tags: Object.assign(Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_PARTNER), TAGS_CHAIN_ANY_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: true,
|
|
9
9
|
bodyAllowed: true,
|
|
10
|
-
};
|
|
11
|
-
BitType.setMetadata(BitType.conversationLeft1, CONVERSATION_CONFIG);
|
|
12
|
-
BitType.setMetadata(BitType.conversationLeft1Scream, CONVERSATION_CONFIG);
|
|
13
|
-
BitType.setMetadata(BitType.conversationLeft1Thought, CONVERSATION_CONFIG);
|
|
14
|
-
BitType.setMetadata(BitType.conversationRight1, CONVERSATION_CONFIG);
|
|
15
|
-
BitType.setMetadata(BitType.conversationRight1Scream, CONVERSATION_CONFIG);
|
|
16
|
-
BitType.setMetadata(BitType.conversationRight1Thought, CONVERSATION_CONFIG);
|
|
10
|
+
});
|
|
17
11
|
//# sourceMappingURL=conversationBitConfig.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/conversationBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"conversationBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/conversationBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,iBAAiB,EAAE;IAC1E,IAAI,gDAAO,YAAY,GAAK,kBAAkB,GAAK,uBAAuB,CAAE;IAC5E,yBAAyB,EAAE,IAAI;IAC/B,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_DOCUMENT_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.document, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_DOCUMENT_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.document,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"documentBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,QAAQ,EAAE;IACjE,IAAI,kCAAO,YAAY,GAAK,4BAA4B,CAAE;IAC1D,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,QAAQ;IACnC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_DOCUMENT_DOWNLOAD_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.documentDownload, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_DOCUMENT_DOWNLOAD_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.documentDownload,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentDownloadBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentDownloadBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"documentDownloadBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentDownloadBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,qCAAqC,EAAE,MAAM,mCAAmC,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,gBAAgB,EAAE;IACzE,IAAI,kCAAO,YAAY,GAAK,qCAAqC,CAAE;IACnE,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,gBAAgB;IAC3C,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_DOCUMENT_EMBED_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.documentEmbed, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_DOCUMENT_EMBED_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.documentEmbed,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentEmbedBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentEmbedBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"documentEmbedBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentEmbedBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,kCAAkC,EAAE,MAAM,mCAAmC,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,aAAa,EAAE;IACtE,IAAI,kCAAO,YAAY,GAAK,kCAAkC,CAAE;IAChE,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,aAAa;IACxC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ResourceType } from '../../model/enum/ResourceType';
|
|
3
3
|
import { TAGS_CHAIN_DOCUMENT_LINK_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
4
4
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
5
5
|
// Set metadata on the bit types to describe specific behaviour
|
|
6
|
-
|
|
6
|
+
RootBitType.setMetadata(RootBitType.documentLink, {
|
|
7
7
|
tags: Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_DOCUMENT_LINK_RESOURCE),
|
|
8
8
|
resourceAttachmentAllowed: false,
|
|
9
9
|
resourceType: ResourceType.documentLink,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documentLinkBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentLinkBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"documentLinkBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/documentLinkBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,YAAY,EAAE;IACrE,IAAI,kCAAO,YAAY,GAAK,iCAAiC,CAAE;IAC/D,yBAAyB,EAAE,KAAK;IAChC,YAAY,EAAE,YAAY,CAAC,YAAY;IACvC,WAAW,EAAE,IAAI;CAClB,CAAC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RootBitType } from '../../model/enum/BitType';
|
|
2
2
|
import { ExampleType } from '../../model/enum/ExampleType';
|
|
3
3
|
import { PropertyKey } from '../../model/enum/PropertyKey';
|
|
4
4
|
import { TAGS_CHAIN_ANY_RESOURCE } from './generic/resourceChainBitConfigs';
|
|
5
5
|
import { TAGS_DEFAULT } from './generic/standardBitConfigs';
|
|
6
6
|
// Set metadata on the bit types to describe specific behaviour
|
|
7
|
-
|
|
7
|
+
RootBitType.setMetadata(RootBitType.essay, {
|
|
8
8
|
tags: Object.assign(Object.assign(Object.assign({}, TAGS_DEFAULT), TAGS_CHAIN_ANY_RESOURCE), { [PropertyKey.sampleSolution]: { isProperty: true } }),
|
|
9
9
|
resourceAttachmentAllowed: true,
|
|
10
10
|
bodyAllowed: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"essayBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/essayBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"essayBitConfig.js","sourceRoot":"","sources":["../../../../src/config/bits/essayBitConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuB,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,+DAA+D;AAE/D,WAAW,CAAC,WAAW,CAAsB,WAAW,CAAC,KAAK,EAAE;IAC9D,IAAI,gDACC,YAAY,GACZ,uBAAuB,KAC1B,CAAC,WAAW,CAAC,cAAc,CAAC,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,GACnD;IACD,yBAAyB,EAAE,IAAI;IAC/B,WAAW,EAAE,IAAI;IACjB,eAAe,EAAE,WAAW,CAAC,MAAM;CACpC,CAAC,CAAC"}
|