packageDocumentation module import { ClassRegistry , Schema , Schemas } from "@itwin/core-backend" ; import * as RulesetElements from "./RulesetElements" ; internal export class PresentationRules extends Schema { public static override get schemaName ( ) : string { return "PresentationRules" ; } /** Registers this schema and it's elements' classes */ public static registerSchema ( ) { if ( this !== Schemas . getRegisteredSchema ( PresentationRules . schemaName ) ) { Schemas . registerSchema ( PresentationRules ) ; ClassRegistry . registerModule ( RulesetElements , this ) ; } } } internal export namespace PresentationRules { export enum CodeSpec { Ruleset = "PresentationRules:Ruleset" } }