All files / components/atajo/atajo-notes-and-flags atajo-notes-and-flags.structure.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 0/0
100% Lines 3/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49  2x   2x                                               2x                                          
import { iConfig } from "./atajo-notes-and-flags.interface";
import Util from "../../../services/util";
 
export var defaultNote: iConfig = {
  title: 'Default Note',
  uuid: Util.generateUUID(),
  type: 'note',
  completed: false,
  sections: [
    {
      title: 'Note Details',
      fields: [
        { id: 'note_title', label: 'Note title', type: 'text', isTitle: true },
        { id: 'assign_to', label: 'Assign to', type: 'text' },
        { id: 'comments', label: 'Comments', type: 'textarea' }
      ]
    },
    {
      title: 'Note Details',
      fields: [
        { id: 'caller', label: 'Caller', type: 'text', value: 'Angelina Mosher', isDisabled: true },
        { id: 'duration', label: 'Caller duration', type: 'text', value: '00:22', isDisabled: true },
      ]
    }
  ]
}
 
export var defaultFlag: iConfig = {
  title: 'Default Flag',
  uuid: Util.generateUUID(),
  type: 'flag',
  completed: false,
  sections: [
    {
      title: 'Flag Details',
      fields: [
        { id: 'flag_title', label: 'Flag title', type: 'text', isTitle: true },
        { id: 'comments', label: 'Comments', type: 'textarea' }
      ]
    },
    {
      title: 'Note Details',
      fields: [
        { id: 'caller', label: 'Caller', type: 'text', value: 'Angelina Mosher', isDisabled: true },
        { id: 'duration', label: 'Caller duration', type: 'text', value: '00:22', isDisabled: true },
      ]
    }
  ]
}