ModelSchemaCompiledItemDefinition
interface
A simplified version of ModelSchemaItemDefinition
after
compilation by the schema.
Rules fed to the schema by register
and extend
methods are defined in the
ModelSchemaItemDefinition
format.
Later on, they are compiled to ModelSchemaCompiledItemDefinition
so when you use e.g.
the getDefinition
method you get the compiled version.
The compiled version contains only the following properties:
- The
name
property, - The
is*
properties, - The
allowIn
array, - The
allowChildren
array, - The
allowAttributes
array.
Properties
-
allowAttributes : Array<string>
module:engine/model/schema~ModelSchemaCompiledItemDefinition#allowAttributes
-
allowChildren : Array<string>
module:engine/model/schema~ModelSchemaCompiledItemDefinition#allowChildren
-
allowIn : Array<string>
module:engine/model/schema~ModelSchemaCompiledItemDefinition#allowIn
-
isBlock : boolean
module:engine/model/schema~ModelSchemaCompiledItemDefinition#isBlock
-
isContent : boolean
module:engine/model/schema~ModelSchemaCompiledItemDefinition#isContent
-
isInline : boolean
module:engine/model/schema~ModelSchemaCompiledItemDefinition#isInline
-
isLimit : boolean
module:engine/model/schema~ModelSchemaCompiledItemDefinition#isLimit
-
isObject : boolean
module:engine/model/schema~ModelSchemaCompiledItemDefinition#isObject
-
isSelectable : boolean
module:engine/model/schema~ModelSchemaCompiledItemDefinition#isSelectable
-
name : string
module:engine/model/schema~ModelSchemaCompiledItemDefinition#name