Prepare shared glossary envelopes and combined input
This commit is contained in:
@@ -20,6 +20,7 @@ const (
|
||||
SourceInputGlossaryCampaign = "narratio.input.glossary.campaign"
|
||||
SourceInputGlossarySetting = "narratio.input.glossary.setting"
|
||||
SourceInputGlossarySpells = "narratio.input.glossary.spells"
|
||||
SourceInputGlossaryCombined = "narratio.input.glossary.combined"
|
||||
SourceInputSpellCatalog = "narratio.input.spell_catalog"
|
||||
|
||||
configuredSourcePrefix = "narratio.artifact."
|
||||
@@ -216,6 +217,7 @@ var preparedInputSources = map[string]PreparedInputSourceDescriptor{
|
||||
SourceInputGlossaryCampaign: {SourceID: SourceInputGlossaryCampaign, ManifestKind: "glossary_campaign", Filename: "glossaries/campaign.yml"},
|
||||
SourceInputGlossarySetting: {SourceID: SourceInputGlossarySetting, ManifestKind: "glossary_setting", Filename: "glossaries/setting.yml"},
|
||||
SourceInputGlossarySpells: {SourceID: SourceInputGlossarySpells, ManifestKind: "glossary_spells", Filename: "glossaries/spells.yml"},
|
||||
SourceInputGlossaryCombined: {SourceID: SourceInputGlossaryCombined, ManifestKind: "glossary_combined", Filename: "glossaries/combined.yml"},
|
||||
}
|
||||
|
||||
// GlossaryInputSources returns the four shared glossary descriptors in consumer order.
|
||||
|
||||
@@ -224,6 +224,7 @@ func TestDescribePreparedInputSource(t *testing.T) {
|
||||
{source: SourceInputGlossaryCampaign, manifestKind: "glossary_campaign", filename: "glossaries/campaign.yml"},
|
||||
{source: SourceInputGlossarySetting, manifestKind: "glossary_setting", filename: "glossaries/setting.yml"},
|
||||
{source: SourceInputGlossarySpells, manifestKind: "glossary_spells", filename: "glossaries/spells.yml"},
|
||||
{source: SourceInputGlossaryCombined, manifestKind: "glossary_combined", filename: "glossaries/combined.yml"},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user