UNPKG

@itwin/presentation-backend

Version:

Backend of iTwin.js Presentation library

31 lines 1.33 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /** @packageDocumentation * @module Core */ import { ClassRegistry, Schema, Schemas } from "@itwin/core-backend"; import * as RulesetElements from "./RulesetElements.js"; /** @internal */ export class PresentationRules extends Schema { static get schemaName() { return "PresentationRules"; } /** Registers this schema and it's elements' classes */ static registerSchema() { if (this !== Schemas.getRegisteredSchema(PresentationRules.schemaName)) { Schemas.registerSchema(PresentationRules); ClassRegistry.registerModule(RulesetElements, this); } } } /** @internal */ /* c8 ignore next 5 */ (function (PresentationRules) { let CodeSpec; (function (CodeSpec) { CodeSpec["Ruleset"] = "PresentationRules:Ruleset"; })(CodeSpec = PresentationRules.CodeSpec || (PresentationRules.CodeSpec = {})); })(PresentationRules || (PresentationRules = {})); //# sourceMappingURL=PresentationRulesDomain.js.map