@coast/core-api-types 1.2.374 → 1.2.376
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.
- package/dist/models/messaging/MessageMetaGql.d.ts +0 -2
- package/dist/models/messaging/MessageMetaInputGql.d.ts +0 -2
- package/dist/models/messaging/persistence/MessageEntity.d.ts +2 -2
- package/package.json +2 -2
- package/dist/models/messaging/ThreadMessageMentionTokenInput.d.ts +0 -8
- package/dist/models/messaging/ThreadMessageMentionTokenInput.js +0 -3
- package/dist/models/messaging/ThreadMessageMentionTokenInput.js.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
1
|
import { MessageAttachmentGql } from './MessageAttachmentGql';
|
|
3
2
|
import { MessageReactionGql } from './MessageReactionGql';
|
|
4
3
|
import { Token } from './Token';
|
|
@@ -7,6 +6,5 @@ export interface MessageMetaGql {
|
|
|
7
6
|
cardId?: string;
|
|
8
7
|
reactions?: MessageReactionGql[];
|
|
9
8
|
tokens?: Token[];
|
|
10
|
-
userIds?: UserId[];
|
|
11
9
|
uuid?: string;
|
|
12
10
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
2
|
import { MessageAttachmentGql } from './MessageAttachmentGql';
|
|
3
3
|
import { MessageReactionGql } from './MessageReactionGql';
|
|
4
|
-
import { ThreadMessageMentionTokenInput } from './ThreadMessageMentionTokenInput';
|
|
5
4
|
import { Token } from './Token';
|
|
6
5
|
export interface MessageMetaInputGql {
|
|
7
6
|
attachments?: MessageAttachmentGql[];
|
|
8
7
|
cardId?: string;
|
|
9
8
|
channelName?: string;
|
|
10
|
-
mentions?: ThreadMessageMentionTokenInput[];
|
|
11
9
|
reactions?: MessageReactionGql[];
|
|
12
10
|
tokens?: Token[];
|
|
13
11
|
userIds?: UserId[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MessageMeta } from '@coast/core-types/messages/MessageMeta';
|
|
1
2
|
import { CardReminderEventType } from '@coast/core-types/card/card-reminder/CardReminderEventType';
|
|
2
3
|
import { EntityEventType } from '@coast/core-types/card/EntityEventType';
|
|
3
4
|
import { Message } from '@coast/core-types/messages/Message';
|
|
@@ -6,7 +7,6 @@ import { ThreadMessageType } from '@coast/core-types/messaging/ThreadMessageType
|
|
|
6
7
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
7
8
|
import { AuditEntity } from '../../persistence/AuditEntity';
|
|
8
9
|
import { Indexable } from '../../search/Indexable';
|
|
9
|
-
import { MessageMetaGql } from '../MessageMetaGql';
|
|
10
10
|
import { Thread } from '../Thread';
|
|
11
11
|
export interface MessageEntity extends Indexable, Message, AuditEntity {
|
|
12
12
|
channelId?: number;
|
|
@@ -16,7 +16,7 @@ export interface MessageEntity extends Indexable, Message, AuditEntity {
|
|
|
16
16
|
fromSms: boolean;
|
|
17
17
|
id: number;
|
|
18
18
|
isImportant: boolean;
|
|
19
|
-
meta:
|
|
19
|
+
meta: MessageMeta;
|
|
20
20
|
senderId: UserId;
|
|
21
21
|
subType?: CardReminderEventType | EntityEventType | LegacyMessageSubType;
|
|
22
22
|
thread?: Promise<Thread>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.376",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.92",
|
|
27
27
|
"@coast/core-utils": "0.0.25",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.81",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MentionTokenType } from '@coast/core-types/messaging/MentionTokenType';
|
|
2
|
-
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
-
export interface ThreadMessageMentionTokenInput {
|
|
4
|
-
type: MentionTokenType;
|
|
5
|
-
start: number;
|
|
6
|
-
end: number;
|
|
7
|
-
userId: UserId;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadMessageMentionTokenInput.js","sourceRoot":"","sources":["../../../src/models/messaging/ThreadMessageMentionTokenInput.ts"],"names":[],"mappings":""}
|