@aristid/leav-types 1.12.0-cbe931d4 → 1.12.0-de0e4bca

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,5 +1,4 @@
1
1
  import { type INotification } from './notification';
2
- import { type IRecord } from './record';
3
2
  import { type ITask } from './tasksManager';
4
3
  export declare enum TriggerNames {
5
4
  APPLICATION_EVENT = "APPLICATION_EVENT",
@@ -8,7 +7,6 @@ export declare enum TriggerNames {
8
7
  TASK = "TASK",
9
8
  TREE_EVENT = "TREE_EVENT",
10
9
  RECORD_UPDATE = "RECORD_UPDATE",
11
- RECORD_NEW_COMMENT = "RECORD_NEW_COMMENT",
12
10
  NOTIFICATION = "NOTIFICATION"
13
11
  }
14
12
  export interface IPubSubNotificationData {
@@ -18,9 +16,3 @@ export interface IPubSubNotificationData {
18
16
  export interface IPubSubTaskData {
19
17
  task: ITask;
20
18
  }
21
- export interface IPubSubRecordNewCommentData {
22
- recordNewComment: {
23
- record: IRecord;
24
- comment: IRecord;
25
- };
26
- }
@@ -102,7 +102,6 @@ export interface IRecordUpdateEventFilters {
102
102
  libraries?: string[];
103
103
  records?: string[];
104
104
  }
105
- export type IRecordCommentEventFilters = IRecordUpdateEventFilters;
106
105
  export interface IRecordFilterLight {
107
106
  field?: string;
108
107
  value?: string;
@@ -6,7 +6,6 @@ import { type IValueDomain } from '../value/valueDomain';
6
6
  import { type IUserDomain } from '../user/userDomain';
7
7
  import { type i18n } from 'i18next';
8
8
  import { type IConfig } from '../../_types/config';
9
- import { type IEventsManagerDomain } from '../../domain/eventsManager/eventsManagerDomain';
10
9
  export interface IDiscussionDomain {
11
10
  postDiscussionComment(params: {
12
11
  params?: IPostDiscussionCommentParams;
@@ -18,8 +17,7 @@ export interface IDiscussionDomainDeps {
18
17
  'core.domain.record': IRecordDomain;
19
18
  'core.domain.value': IValueDomain;
20
19
  'core.domain.user': IUserDomain;
21
- 'core.domain.eventsManager': IEventsManagerDomain;
22
20
  translator: i18n;
23
21
  config: IConfig;
24
22
  }
25
- export default function ({ 'core.domain.notification': notificationDomain, 'core.domain.record': recordDomain, 'core.domain.value': valueDomain, 'core.domain.user': userDomain, 'core.domain.eventsManager': eventsManagerDomain, translator, config, }: IDiscussionDomainDeps): IDiscussionDomain;
23
+ export default function ({ 'core.domain.notification': notificationDomain, 'core.domain.record': recordDomain, 'core.domain.value': valueDomain, 'core.domain.user': userDomain, translator, config, }: IDiscussionDomainDeps): IDiscussionDomain;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aristid/leav-types",
3
- "version": "1.12.0-cbe931d4",
3
+ "version": "1.12.0-de0e4bca",
4
4
  "description": "Shared Leav types",
5
5
  "scripts": {
6
6
  "tscheck": "",