package.es.namespace.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-api-design-systems Show documentation
Show all versions of apidom-ns-api-design-systems Show documentation
API Design Systems 2021-05-07 namespace for ApiDOM.
The newest version!
/**
* API Design Systems 2021-05-07 specification elements.
*/
import InfoElement from "./elements/Info.mjs";
import MainElement from "./elements/Main.mjs";
import PrincipleElement from "./elements/Principle.mjs";
import RequirementElement from "./elements/Requirement.mjs";
import RequirementLevelElement from "./elements/RequirementLevel.mjs";
import ScenarioElement from "./elements/Scenario.mjs";
import StandardElement from "./elements/Standard.mjs";
import StandardIdentifierElement from "./elements/StandardIdentifier.mjs";
const apiDesignSystems = {
namespace: options => {
const {
base
} = options;
/**
* API Design Systems 2021-05-07 specification elements.
*/
base.register('info', InfoElement);
base.register('main', MainElement);
base.register('principle', PrincipleElement);
base.register('requirement', RequirementElement);
base.register('requirementLevel', RequirementLevelElement);
base.register('scenario', ScenarioElement);
base.register('standard', StandardElement);
base.register('standardIdentifier', StandardIdentifierElement);
return base;
}
};
export default apiDesignSystems;