@reltio/dashboard 1.4.2217 → 1.4.2219

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.
Files changed (18) hide show
  1. package/bundle.js +1 -1
  2. package/package.json +4 -4
  3. package/types/components/src/constants/segmantation.d.ts +14 -0
  4. package/types/components/src/features/activity-log/ActivitiesFactory/components/SegmentActivity/SegmentActivity.d.ts +8 -0
  5. package/types/components/src/features/activity-log/ActivitiesFactory/components/SegmentActivity/index.d.ts +1 -0
  6. package/types/components/src/features/activity-log/ActivityLogFilter/ActivityLogFilter.d.ts +2 -1
  7. package/types/components/src/features/activity-log/RecordUpdates/RecordUpdates.d.ts +2 -1
  8. package/types/components/src/features/activity-log/RecordUpdates/components/SegmentDeltaField/SegmentDeltaField.d.ts +7 -0
  9. package/types/components/src/features/activity-log/RecordUpdates/components/SegmentDeltaField/SegmentQueryDeltaValue.d.ts +4 -0
  10. package/types/components/src/features/activity-log/RecordUpdates/components/SegmentDeltaField/SegmentRefreshScheduleDeltaValue.d.ts +5 -0
  11. package/types/components/src/features/activity-log/RecordUpdates/components/SegmentDeltaField/index.d.ts +1 -0
  12. package/types/components/src/features/activity-log/SegmentObject/SegmentObject.d.ts +7 -0
  13. package/types/components/src/features/activity-log/SegmentObject/index.d.ts +1 -0
  14. package/types/components/src/features/activity-log/SegmentRecord/SegmentRecord.d.ts +7 -0
  15. package/types/components/src/features/activity-log/SegmentRecord/index.d.ts +1 -0
  16. package/types/components/src/features/activity-log/hooks/useSegmentReadableQuery.d.ts +2 -0
  17. package/types/components/src/features/activity-log/index.d.ts +1 -0
  18. package/types/components/src/features/activity-log/types.d.ts +5 -1
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@reltio/dashboard",
3
- "version": "1.4.2217",
3
+ "version": "1.4.2219",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "bundle.js",
6
6
  "types": "./types/index.d.ts",
7
7
  "dependencies": {
8
- "@reltio/components": "^1.4.2179",
9
- "@reltio/mdm-module": "^1.4.2027",
10
- "@reltio/mdm-sdk": "^1.4.1989",
8
+ "@reltio/components": "^1.4.2181",
9
+ "@reltio/mdm-module": "^1.4.2029",
10
+ "@reltio/mdm-sdk": "^1.4.1991",
11
11
  "object-hash": "^2.1.1"
12
12
  },
13
13
  "peerDependencies": {
@@ -13,3 +13,17 @@ export declare enum SegmentationColumnId {
13
13
  Destinations = "destinations",
14
14
  Actions = "actions"
15
15
  }
16
+ export declare enum SegmentActivityLogAttributes {
17
+ label = "configuration/segments/attributes/label",
18
+ description = "configuration/segments/attributes/description",
19
+ sharing = "configuration/segments/attributes/sharing",
20
+ schedule = "configuration/segments/attributes/schedule",
21
+ rule = "configuration/segments/attributes/rule"
22
+ }
23
+ export declare const SEGMENT_ACTIVITY_LOG_ATTRIBUTES: {
24
+ "configuration/segments/attributes/label": string;
25
+ "configuration/segments/attributes/description": string;
26
+ "configuration/segments/attributes/sharing": string;
27
+ "configuration/segments/attributes/schedule": string;
28
+ "configuration/segments/attributes/rule": string;
29
+ };
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ActivityTypes, ActivityData } from '../../../types';
3
+ type Props = {
4
+ data: ActivityData;
5
+ type: ActivityTypes;
6
+ };
7
+ export declare const SegmentActivity: ({ type, data }: Props) => React.JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export { SegmentActivity } from './SegmentActivity';
@@ -7,6 +7,7 @@ type Props = {
7
7
  entityType?: TEntityType;
8
8
  entityUri?: string;
9
9
  exportTypes?: string[];
10
+ segmentId?: string;
10
11
  };
11
- export declare const ActivityLogFilter: ({ value, entityType, entityUri, onChange, exportTypes }: Props) => React.JSX.Element;
12
+ export declare const ActivityLogFilter: ({ value, entityType, entityUri, onChange, exportTypes, segmentId }: Props) => React.JSX.Element;
12
13
  export {};
@@ -3,6 +3,7 @@ import { ActivityDelta } from '../types';
3
3
  type Props = {
4
4
  updates: ActivityDelta[];
5
5
  recordId: string;
6
+ isSegment?: boolean;
6
7
  };
7
- export declare const RecordUpdates: ({ updates, recordId }: Props) => React.JSX.Element;
8
+ export declare const RecordUpdates: ({ updates, recordId, isSegment }: Props) => React.JSX.Element;
8
9
  export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ActivityDelta } from '../../../types';
3
+ type Props = {
4
+ delta: ActivityDelta;
5
+ };
6
+ export declare const SegmentDeltaField: ({ delta }: Props) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const SegmentQueryDeltaValue: ({ value }: {
3
+ value: string;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { NewSegmentSchedule } from '@reltio/mdm-sdk';
3
+ export declare const SegmentRefreshScheduleDeltaValue: ({ value }: {
4
+ value: NewSegmentSchedule;
5
+ }) => React.JSX.Element;
@@ -0,0 +1 @@
1
+ export { SegmentDeltaField } from './SegmentDeltaField';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ActivityItem } from '../types';
3
+ type Props = {
4
+ item: ActivityItem;
5
+ };
6
+ export declare const SegmentObject: ({ item }: Props) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { SegmentObject } from './SegmentObject';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ActivityItem } from '../types';
3
+ type Props = {
4
+ item: ActivityItem;
5
+ };
6
+ export declare const SegmentRecord: ({ item }: Props) => React.JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { SegmentRecord } from './SegmentRecord';
@@ -0,0 +1,2 @@
1
+ import { ReadableQueryPrimitive, SegmentationQueryGroup } from '@reltio/mdm-sdk';
2
+ export declare const useSegmentReadableQuery: (groups: SegmentationQueryGroup[]) => ReadableQueryPrimitive[];
@@ -3,5 +3,6 @@ export { ActivityLogFilter } from './ActivityLogFilter';
3
3
  export { useActivitiesLoader } from './hooks/useActivitiesLoader';
4
4
  export { useProfileActivitiesLoader } from './hooks/useProfileActivitiesLoader';
5
5
  export { getActivityLabel } from './utils/activities';
6
+ export { buildActivitiesFilterString } from './utils/filters';
6
7
  export { ActivityTypes } from './types';
7
8
  export type { ActivitiesFilter, ActivityData } from './types';
@@ -30,7 +30,10 @@ export declare enum ActivityTypes {
30
30
  SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE = "SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE",
31
31
  GROUP_CREATED = "GROUP_CREATED",
32
32
  GROUP_REMOVED = "GROUP_REMOVED",
33
- GROUP_CHANGED = "GROUP_CHANGED"
33
+ GROUP_CHANGED = "GROUP_CHANGED",
34
+ SEGMENT_CREATE = "SEGMENT_CREATE",
35
+ SEGMENT_DELETE = "SEGMENT_DELETE",
36
+ SEGMENT_UPDATE = "SEGMENT_UPDATE"
34
37
  }
35
38
  export type ActivitiesFilter = {
36
39
  users: string[];
@@ -40,6 +43,7 @@ export type ActivitiesFilter = {
40
43
  sources?: Source[];
41
44
  entityTypes?: TEntityType[];
42
45
  entityUri?: string;
46
+ segmentId?: string;
43
47
  };
44
48
  type DeltaObject = {
45
49
  [key: string]: DeltaValue[];