@coast/core-api-types 1.2.370 → 1.2.372
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/api/AuditGql.d.ts +4 -0
- package/dist/models/{messaging/Mention.js → api/AuditGql.js} +1 -1
- package/dist/models/api/AuditGql.js.map +1 -0
- package/dist/models/mentions/api/ListMentionsInputGql.d.ts +3 -0
- package/dist/models/mentions/api/ListMentionsInputGql.js +3 -0
- package/dist/models/mentions/api/ListMentionsInputGql.js.map +1 -0
- package/dist/models/mentions/api/ListMentionsResultGql.d.ts +5 -0
- package/dist/models/mentions/api/ListMentionsResultGql.js +3 -0
- package/dist/models/mentions/api/ListMentionsResultGql.js.map +1 -0
- package/dist/models/mentions/api/MentionGql.d.ts +11 -0
- package/dist/models/mentions/api/MentionGql.js +3 -0
- package/dist/models/mentions/api/MentionGql.js.map +1 -0
- package/dist/models/mentions/api/MentionGqlAdapter.d.ts +2 -0
- package/dist/models/mentions/api/MentionGqlAdapter.js +3 -0
- package/dist/models/mentions/api/MentionGqlAdapter.js.map +1 -0
- package/dist/models/mentions/persistence/MentionEntity.d.ts +16 -0
- package/dist/models/mentions/persistence/MentionEntity.js +3 -0
- package/dist/models/mentions/persistence/MentionEntity.js.map +1 -0
- package/dist/models/mentions/persistence/MentionEntityAdapter.d.ts +2 -0
- package/dist/models/mentions/persistence/MentionEntityAdapter.js +3 -0
- package/dist/models/mentions/persistence/MentionEntityAdapter.js.map +1 -0
- package/dist/models/messaging/ThreadMessage.d.ts +2 -1
- package/dist/models/persistence/AuditEntity.d.ts +4 -0
- package/dist/models/persistence/AuditEntity.js +3 -0
- package/dist/models/persistence/AuditEntity.js.map +1 -0
- package/dist/models/workflow-template/components/related-card/RelatedCardComponent.d.ts +2 -0
- package/package.json +2 -2
- package/dist/models/messaging/Mention.d.ts +0 -12
- package/dist/models/messaging/Mention.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditGql.js","sourceRoot":"","sources":["../../../src/models/api/AuditGql.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListMentionsInputGql.js","sourceRoot":"","sources":["../../../../src/models/mentions/api/ListMentionsInputGql.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListMentionsResultGql.js","sourceRoot":"","sources":["../../../../src/models/mentions/api/ListMentionsResultGql.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
|
|
2
|
+
import { MentionId } from '@coast/core-types/mentions/MentionId';
|
|
3
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
|
+
import { AuditGql } from '../../api/AuditGql';
|
|
5
|
+
import { ThreadMessage } from '../../messaging/ThreadMessage';
|
|
6
|
+
export interface MentionGql extends AuditGql {
|
|
7
|
+
id: MentionId;
|
|
8
|
+
userId: UserId;
|
|
9
|
+
channelId: WorkspaceId;
|
|
10
|
+
message: ThreadMessage;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionGql.js","sourceRoot":"","sources":["../../../../src/models/mentions/api/MentionGql.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionGqlAdapter.js","sourceRoot":"","sources":["../../../../src/models/mentions/api/MentionGqlAdapter.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
+
import { WorkspaceId } from '@coast/core-types/channel/WorkspaceId';
|
|
3
|
+
import { MentionId } from '@coast/core-types/mentions/MentionId';
|
|
4
|
+
import { MentionEntityType } from '@coast/core-types/messaging/MentionEntityType';
|
|
5
|
+
import { UserId } from '@coast/core-types/user/UserId';
|
|
6
|
+
import { ThreadMessage } from '../../messaging/ThreadMessage';
|
|
7
|
+
import { AuditEntity } from '../../persistence/AuditEntity';
|
|
8
|
+
export interface MentionEntity extends AuditEntity {
|
|
9
|
+
id: MentionId;
|
|
10
|
+
userId: UserId;
|
|
11
|
+
entityType: MentionEntityType;
|
|
12
|
+
entityId: number;
|
|
13
|
+
channelId: WorkspaceId;
|
|
14
|
+
businessId: BusinessId;
|
|
15
|
+
message: ThreadMessage;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionEntity.js","sourceRoot":"","sources":["../../../../src/models/mentions/persistence/MentionEntity.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MentionEntityAdapter.js","sourceRoot":"","sources":["../../../../src/models/mentions/persistence/MentionEntityAdapter.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CardReminderEventType } from '@coast/core-types/card/card-reminder/CardReminderEventType';
|
|
2
2
|
import { EntityEventType } from '@coast/core-types/card/EntityEventType';
|
|
3
|
+
import { Message } from '@coast/core-types/messages/Message';
|
|
3
4
|
import { LegacyMessageSubType } from '@coast/core-types/messaging/LegacyMessageSubtype';
|
|
4
5
|
import { ThreadMessageType } from '@coast/core-types/messaging/ThreadMessageType';
|
|
5
6
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
@@ -7,7 +8,7 @@ import { Audit } from '../application/Audit';
|
|
|
7
8
|
import { Indexable } from '../search/Indexable';
|
|
8
9
|
import { Thread } from './Thread';
|
|
9
10
|
import { ThreadMessageMeta } from './ThreadMessageMeta';
|
|
10
|
-
export interface ThreadMessage extends Indexable, Audit {
|
|
11
|
+
export interface ThreadMessage extends Indexable, Message, Audit {
|
|
11
12
|
channelId?: number;
|
|
12
13
|
content: string;
|
|
13
14
|
deletedAt?: Date;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuditEntity.js","sourceRoot":"","sources":["../../../src/models/persistence/AuditEntity.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
|
+
import { RelatedCardComponentType } from '@coast/core-types/workflow-template/components/related-card/RelatedCardComponentType';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
4
|
import { Defaultable } from '../Defaultable';
|
|
4
5
|
import { InputComponent } from '../InputComponent';
|
|
@@ -9,5 +10,6 @@ export interface RelatedCardComponent extends Defaultable<RelatedCardDefault>, I
|
|
|
9
10
|
hasQuantity?: boolean;
|
|
10
11
|
limit?: number;
|
|
11
12
|
listDefault?: ListWorkflowEntitiesDefault;
|
|
13
|
+
relatedCardType?: RelatedCardComponentType;
|
|
12
14
|
workflowTemplateId?: WorkflowTemplateId;
|
|
13
15
|
}
|
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.372",
|
|
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.89",
|
|
27
27
|
"@coast/core-utils": "0.0.25",
|
|
28
28
|
"@coast/schemas": "^4.0.2",
|
|
29
29
|
"@coast/service-common": "^2.0.81",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
|
-
import { MentionEntityType } from '@coast/core-types/messaging/MentionEntityType';
|
|
3
|
-
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
|
-
import { Audit } from '../application/Audit';
|
|
5
|
-
export interface Mention extends Audit {
|
|
6
|
-
id: number;
|
|
7
|
-
userId: UserId;
|
|
8
|
-
entityType: MentionEntityType;
|
|
9
|
-
entityId: number;
|
|
10
|
-
channelId: number;
|
|
11
|
-
businessId: BusinessId;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Mention.js","sourceRoot":"","sources":["../../../src/models/messaging/Mention.ts"],"names":[],"mappings":""}
|