Record types library module.
Requires
Methods
-
<static> buildLibrary(libraryDef)
-
Build record types library using the provided definitions. This is a shortcut function that allows creating record types libraries that do not use any extensions.
Parameters:
Name Type Description libraryDef
Object Library definition object. Throws:
-
If any record type definitions are found invalid.
Returns:
Record types library. -
-
<static> with( [extensions])
-
Create record types library builder with the specified extensions.
Parameters:
Name Type Argument Description extensions
module:x2node-records.Extension <optional>
<repeatable>
Extensions. Returns:
Record types library builder.