@sensenet/control-mapper
    TypeScript icon, indicating that this package has built-in type declarations

    3.1.2 • Public • Published

    @sensenet/control-mapper

    This NPM package contains a control mapping tool for sensenet. This can be used for specifying relations between sensenet schemas and specified UI controls at content and field level and can be used for automatized form generation.

    NPM version NPM downloads License: GPL v2

    Install

    # Yarn
    yarn add @sensenet/control-mapper
    
    # NPM
    npm install @sensenet/control-mapper

    Usage

    import { Repository } from '@sensenet/client-core'
    import { ControlMapper } from '@sensenet/control-mapper'
    
    const repository = new Repository({
      /** repository settings */
    })
    
    const mapper = new ControlMapper(repository, ExampleDefaultControl, ExampleDefaultFieldControl)
      .setupFieldSettingDefault('NumberFieldSetting', setting => MyNumberFieldImplementation)
      .setupFieldSettingDefault('PasswordFieldSetting', setting => MyPasswordFieldImplementation)

    Install

    npm i @sensenet/control-mapper

    Homepage

    sensenet.com

    DownloadsWeekly Downloads

    84

    Version

    3.1.2

    License

    GPL-2.0

    Unpacked Size

    448 kB

    Total Files

    29

    Last publish

    Collaborators

    • kubehu
    • blaskodaniel
    • herflis
    • tusmester
    • kavics
    • vargajoe
    • pusztaie
    • taki9