react-luminus-components 2.0.3-beta.r19-14 → 2.0.3-beta.r19-15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,11 @@
1
1
  import { default as BnfTableWrappedProps } from '../../../models/bnfTable/BnfTableWrappedProps';
2
- import { NameIdIntModel, NotificationHistoryModel, NotificationModel, NotificationTarget, NotifTargetModel } from '../../../models/index';
2
+ import { NotificationHistoryModel, NotificationModel, NotificationTarget, NotifTargetModel } from '../../../models/index';
3
3
  import { default as NotificationHistoryTableModel } from '../../../models/ui/notifications/NotificationHistoryTableModel';
4
+ import { default as NotificationKindFullModel } from './types/NotificationKindFullModel';
4
5
 
5
6
  export type Props<T> = {
6
- kinds: NameIdIntModel[];
7
+ kinds: NotificationKindFullModel[];
8
+ targetSystem: 1 | 2 | 4;
7
9
  reloadActions: (kindId: number) => Promise<Array<NotificationModel>>;
8
10
  reloadHistory: (actionId: number, templateId: number) => Promise<Array<NotificationHistoryModel>>;
9
11
  reloadRoles: (actionId: number) => Promise<Array<string>>;
@@ -13,5 +15,5 @@ export type Props<T> = {
13
15
  EmployeePicker: React.ElementType;
14
16
  BnfTableComponent: React.ComponentType<BnfTableWrappedProps<T>>;
15
17
  };
16
- declare const NotificationActions: ({ kinds, reloadActions, reloadHistory, reloadRoles, onRemoveTarget, onPostTarget, onTemplateEdit, EmployeePicker, BnfTableComponent, }: Props<NotificationHistoryTableModel>) => import("react").JSX.Element;
18
+ declare const NotificationActions: ({ kinds, targetSystem, reloadActions, reloadHistory, reloadRoles, onRemoveTarget, onPostTarget, onTemplateEdit, EmployeePicker, BnfTableComponent, }: Props<NotificationHistoryTableModel>) => import("react").JSX.Element;
17
19
  export default NotificationActions;
@@ -0,0 +1,5 @@
1
+ export default interface NotificationKindFullModel {
2
+ id: number;
3
+ name: string;
4
+ targetSystem: number;
5
+ }