src/lib/shared/interfaces/preset-action.interface.ts
IPresetAction used to define the action to be performed on the presets in the inbox.
Example :import { IPresetAction } from '@talenra/inbox';presetAction: IPresetAction = { presets: [ { identifier: '121bd936-ce20-4ea9-9dc1-6cdaf61f9c3d', name: 'Meine Inbox', changeable: false, selectedAttributes: [ { identifier: 'case.caseTypeName', defaultAttribute: 'main' }, { identifier: 'case.caseID', defaultAttribute: 'detail' }, ], children: [ { name: 'View 1', numberMainAttributesChosenByUser: 4, selectedAttributes: [ { identifier: 'case.caseTypeName', defaultAttribute: 'main' }, { identifier: 'case.caseID', defaultAttribute: 'main' }, { identifier: 'processStep', defaultAttribute: 'detail' }, { identifier: 'insuree.lastNameOrgName', defaultAttribute: 'detail' }, { identifier: 'case.caseStartDate', defaultAttribute: 'detail' }, { identifier: 'member.lastNameOrgName', defaultAttribute: 'detail' }, { identifier: 'insuree.socialSecurityNumber', defaultAttribute: 'detail' }, { identifier: 'case.casePriority', defaultAttribute: 'main' }, ], sortAttributes: [ { identifier: 'case.caseTypeName', sort: 'asc' }, { identifier: 'insuree.socialSecurityNumber', sort: 'desc' }, ], filterAttributes: [ { identifier: 'case.caseTypeName', value: ['Direkt eingegangene Beschwerde'], }, { identifier: 'case.caseStartDate', value: [new Date('01.15.2020'), new Date('12.30.2023')], }, { identifier: 'case.casePriority', value: [1, 2] }, ], iconAttributes: [], }, { name: 'View 2', numberMainAttributesChosenByUser: 4, selectedAttributes: [ { identifier: 'case.caseTypeName', defaultAttribute: 'main' }, { identifier: 'case.caseID', defaultAttribute: 'main' }, { identifier: 'processStep', defaultAttribute: 'detail' }, { identifier: 'insuree.lastNameOrgName', defaultAttribute: 'detail' }, { identifier: 'case.caseStartDate', defaultAttribute: 'detail' }, { identifier: 'member.lastNameOrgName', defaultAttribute: 'detail' }, ], sortAttributes: [{ identifier: 'case.caseTypeName', sort: 'asc' }], filterAttributes: [ { identifier: 'case.caseTypeName', value: ['Direkt eingegangene Beschwerde'], }, ], iconAttributes: [], }, ], } ], operation: 'create', groupName: 'Meine Inbox', presetName: 'View 2', groupIdentifier: '121bd936-ce20-4ea9-9dc1-6cdaf61f9c3d', };
Properties |
|
| groupIdentifier |
groupIdentifier:
|
Type : string
|
|
The identifier of the group which has been updated. |
| groupName |
groupName:
|
Type : string
|
|
The group name of the preset which has been updated or created. |
| newPresetName |
newPresetName:
|
Type : string
|
| Optional |
|
The new preset name which has been updated or created. |
| operation |
operation:
|
Type : TPresetOperations
|
|
The operation to be performed on the presets. |
| presetName |
presetName:
|
Type : string
|
| Optional |
|
The preset name of the preset which has been updated or created. |
| presets |
presets:
|
Type : IPreset[]
|
|
The updated presets. |