@coast/core-api-types 1.2.371 → 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.
Files changed (28) hide show
  1. package/dist/models/api/AuditGql.d.ts +4 -0
  2. package/dist/models/{messaging/Mention.js → api/AuditGql.js} +1 -1
  3. package/dist/models/api/AuditGql.js.map +1 -0
  4. package/dist/models/mentions/api/ListMentionsInputGql.d.ts +3 -0
  5. package/dist/models/mentions/api/ListMentionsInputGql.js +3 -0
  6. package/dist/models/mentions/api/ListMentionsInputGql.js.map +1 -0
  7. package/dist/models/mentions/api/ListMentionsResultGql.d.ts +5 -0
  8. package/dist/models/mentions/api/ListMentionsResultGql.js +3 -0
  9. package/dist/models/mentions/api/ListMentionsResultGql.js.map +1 -0
  10. package/dist/models/mentions/api/MentionGql.d.ts +11 -0
  11. package/dist/models/mentions/api/MentionGql.js +3 -0
  12. package/dist/models/mentions/api/MentionGql.js.map +1 -0
  13. package/dist/models/mentions/api/MentionGqlAdapter.d.ts +2 -0
  14. package/dist/models/mentions/api/MentionGqlAdapter.js +3 -0
  15. package/dist/models/mentions/api/MentionGqlAdapter.js.map +1 -0
  16. package/dist/models/mentions/persistence/MentionEntity.d.ts +16 -0
  17. package/dist/models/mentions/persistence/MentionEntity.js +3 -0
  18. package/dist/models/mentions/persistence/MentionEntity.js.map +1 -0
  19. package/dist/models/mentions/persistence/MentionEntityAdapter.d.ts +2 -0
  20. package/dist/models/mentions/persistence/MentionEntityAdapter.js +3 -0
  21. package/dist/models/mentions/persistence/MentionEntityAdapter.js.map +1 -0
  22. package/dist/models/messaging/ThreadMessage.d.ts +2 -1
  23. package/dist/models/persistence/AuditEntity.d.ts +4 -0
  24. package/dist/models/persistence/AuditEntity.js +3 -0
  25. package/dist/models/persistence/AuditEntity.js.map +1 -0
  26. package/package.json +2 -2
  27. package/dist/models/messaging/Mention.d.ts +0 -12
  28. package/dist/models/messaging/Mention.js.map +0 -1
@@ -0,0 +1,4 @@
1
+ export interface AuditGql {
2
+ createdAt: Date;
3
+ updatedAt: Date;
4
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Mention.js.map
3
+ //# sourceMappingURL=AuditGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuditGql.js","sourceRoot":"","sources":["../../../src/models/api/AuditGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
2
+ export interface ListMentionsInputGql extends OffsetPaginatedRequest {
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListMentionsInputGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListMentionsInputGql.js","sourceRoot":"","sources":["../../../../src/models/mentions/api/ListMentionsInputGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { OffsetPaginatedResult } from '../../pagination/OffsetPaginatedResult';
2
+ import { MentionGql } from './MentionGql';
3
+ export interface ListMentionsResultGql extends OffsetPaginatedResult {
4
+ mentions: MentionGql[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ListMentionsResultGql.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MentionGql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MentionGql.js","sourceRoot":"","sources":["../../../../src/models/mentions/api/MentionGql.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export interface MentionGqlAdapter {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MentionGqlAdapter.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MentionEntity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MentionEntity.js","sourceRoot":"","sources":["../../../../src/models/mentions/persistence/MentionEntity.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export interface MentionEntityAdapter {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MentionEntityAdapter.js.map
@@ -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,4 @@
1
+ export interface AuditEntity {
2
+ createdAt: Date;
3
+ updatedAt: Date;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AuditEntity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuditEntity.js","sourceRoot":"","sources":["../../../src/models/persistence/AuditEntity.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.371",
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.88",
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":""}