Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 600 Bytes

create-node.md

File metadata and controls

28 lines (21 loc) · 600 Bytes

Create component in modules/board/components.

Add the action to board-toolbar.component.html.

Add the new node to apps/web/src/app/app-node.ts.

import { ESTIMATION_CONFIG } from './modules/board/components/estimation';

registerNode('estimation', ESTIMATION_CONFIG);

Add the validator in libs/board-commons/src/lib/validators.

Register the API validator to newValidators in the apps/api/src/app/validation.ts file.

const validations = {
  // ...
  newValidators: [
    // ...
    {
      type: 'estimation',
      validator: ESTIMATION_VALIDATOR,
    },
  ],
};