@coast/core-api-types 1.2.1 → 1.2.3

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 (36) hide show
  1. package/dist/models/activity-feed/ActivityFeedItem.d.ts +1 -1
  2. package/dist/models/auth/ChannelMembership.d.ts +2 -2
  3. package/dist/models/business/BusinessMembership.d.ts +1 -1
  4. package/dist/models/card/Card.d.ts +1 -1
  5. package/dist/models/channel/AnyChannelUpdated.d.ts +1 -1
  6. package/dist/models/channel/ChannelAccountingUpdated.d.ts +1 -1
  7. package/dist/models/messaging/ThreadMembership.d.ts +1 -1
  8. package/dist/models/search/SearchResult.d.ts +1 -1
  9. package/dist/models/{auth → user}/User.d.ts +1 -1
  10. package/dist/models/workflow-template/entities/refs/EntityRefs.d.ts +1 -1
  11. package/package.json +5 -3
  12. /package/dist/models/{auth → business}/Business.d.ts +0 -0
  13. /package/dist/models/{auth → business}/Business.js +0 -0
  14. /package/dist/models/{auth → business}/CreateBusinessV2.d.ts +0 -0
  15. /package/dist/models/{auth → business}/CreateBusinessV2.js +0 -0
  16. /package/dist/models/{auth → business}/FindBusinesses.d.ts +0 -0
  17. /package/dist/models/{auth → business}/FindBusinesses.js +0 -0
  18. /package/dist/models/{auth → business}/UpdateBusinessV2.d.ts +0 -0
  19. /package/dist/models/{auth → business}/UpdateBusinessV2.js +0 -0
  20. /package/dist/models/{auth → user}/CreateUser.d.ts +0 -0
  21. /package/dist/models/{auth → user}/CreateUser.js +0 -0
  22. /package/dist/models/{auth → user}/CreateUserV2.d.ts +0 -0
  23. /package/dist/models/{auth → user}/CreateUserV2.js +0 -0
  24. /package/dist/models/{auth → user}/ListUsers.d.ts +0 -0
  25. /package/dist/models/{auth → user}/ListUsers.js +0 -0
  26. /package/dist/models/{auth → user}/ListUsersResult.d.ts +0 -0
  27. /package/dist/models/{auth → user}/ListUsersResult.js +0 -0
  28. /package/dist/models/{auth → user}/NotificationsPreference.d.ts +0 -0
  29. /package/dist/models/{auth → user}/NotificationsPreference.js +0 -0
  30. /package/dist/models/{auth → user}/UpdateUser.d.ts +0 -0
  31. /package/dist/models/{auth → user}/UpdateUser.js +0 -0
  32. /package/dist/models/{auth → user}/User.js +0 -0
  33. /package/dist/models/{auth → user}/UserCreationMethod.d.ts +0 -0
  34. /package/dist/models/{auth → user}/UserCreationMethod.js +0 -0
  35. /package/dist/models/{auth → user}/UserRole.d.ts +0 -0
  36. /package/dist/models/{auth → user}/UserRole.js +0 -0
@@ -1,5 +1,5 @@
1
- import { User } from '../auth/User';
2
1
  import { Card } from '../card/Card';
2
+ import { User } from '../user/User';
3
3
  import { ActivityFeedEventType } from './ActivityFeedEventType';
4
4
  export interface ActivityFeedItem {
5
5
  id: string;
@@ -1,11 +1,11 @@
1
1
  import { Audit } from '../application/Audit';
2
2
  import { DataEntity } from '../application/DataEntity';
3
3
  import { Channel } from '../channel/Channel';
4
+ import { NotificationsPreference } from '../user/NotificationsPreference';
5
+ import { User } from '../user/User';
4
6
  import { AccessLevel } from './AccessLevel';
5
7
  import { AccessLevelType } from './AccessLevelType';
6
8
  import { ChannelMembershipEntity } from './ChannelMembershipEntity';
7
- import { NotificationsPreference } from './NotificationsPreference';
8
- import { User } from './User';
9
9
  export interface ChannelMembership extends DataEntity, Audit {
10
10
  id: number;
11
11
  entityType: ChannelMembershipEntity;
@@ -1,4 +1,4 @@
1
- import { User } from '../auth/User';
1
+ import { User } from '../user/User';
2
2
  import { BusinessMembershipRole } from './BusinessMembershipRole';
3
3
  export interface BusinessMembership {
4
4
  userId: number;
@@ -1,8 +1,8 @@
1
1
  import { Audit } from '../application/Audit';
2
2
  import { DataEntity } from '../application/DataEntity';
3
- import { User } from '../auth/User';
4
3
  import { PlanLimitEntity } from '../plan-limits/PlanLimitEntity';
5
4
  import { Indexable } from '../search/Indexable';
5
+ import { User } from '../user/User';
6
6
  import { WorkflowEntity } from '../workflow-template/entities/WorkflowEntity';
7
7
  import { CardFieldStringTag } from './card-field-string-tag/CardFieldStringTag';
8
8
  import { CardReminder } from './card-reminder/CardReminder';
@@ -1,5 +1,5 @@
1
- import { User } from '../auth/User';
2
1
  import { Channel } from '../channel/Channel';
2
+ import { User } from '../user/User';
3
3
  export interface AnyChannelUpdated {
4
4
  anyChannelUpdated: {
5
5
  channel: Channel;
@@ -1,9 +1,9 @@
1
- import { User } from '../auth/User';
2
1
  import { Card } from '../card/Card';
3
2
  import { ClientEventType } from '../card/client-event/ClientEventType';
4
3
  import { EntityEventType } from '../card/EntityEventType';
5
4
  import { Channel } from '../channel/Channel';
6
5
  import { ThreadMessage } from '../messaging/ThreadMessage';
6
+ import { User } from '../user/User';
7
7
  export interface ChannelAccountingUpdated {
8
8
  channel: Channel;
9
9
  user: User;
@@ -1,6 +1,6 @@
1
1
  import { Audit } from '../application/Audit';
2
- import { User } from '../auth/User';
3
2
  import { Thread } from '../messaging/Thread';
3
+ import { User } from '../user/User';
4
4
  export interface ThreadMembership extends Audit {
5
5
  user: User;
6
6
  userId: string;
@@ -1,5 +1,5 @@
1
- import { User } from '../auth/User';
2
1
  import { Channel } from '../channel/Channel';
2
+ import { User } from '../user/User';
3
3
  import { Indexable } from './Indexable';
4
4
  import { SearchResultHighlights } from './SearchResultHighlights';
5
5
  import { SearchResultType } from './SearchResultType';
@@ -1,7 +1,7 @@
1
1
  import { Audit } from '../application/Audit';
2
+ import { ChannelMembership } from '../auth/ChannelMembership';
2
3
  import { BusinessMembership } from '../business/BusinessMembership';
3
4
  import { ThreadMembership } from '../messaging/ThreadMembership';
4
- import { ChannelMembership } from './ChannelMembership';
5
5
  import { NotificationsPreference } from './NotificationsPreference';
6
6
  import { UserCreationMethod } from './UserCreationMethod';
7
7
  import { UserRole } from './UserRole';
@@ -1,4 +1,4 @@
1
- import { User } from '../../../auth/User';
1
+ import { User } from '../../../user/User';
2
2
  import { WorkflowTemplate } from '../../WorkflowTemplate';
3
3
  import { WorkflowEntity } from '../WorkflowEntity';
4
4
  import { RecurringEntitiesSchedule } from '../recurring/RecurringEntitiesSchedule';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "core-api types package",
5
5
  "main": "./models",
6
6
  "types": "./models",
@@ -31,9 +31,11 @@
31
31
  "clean:sources": "rm -rf src/models",
32
32
  "clean:dist": "rm -rf dist",
33
33
  "generate": "ts-node src/scripts/generateTypes.ts",
34
- "build": "yarn clean:dist && tsc"
34
+ "build": "yarn clean:dist && tsc",
35
+ "strict:compile": "yarn run -T tsc-strict",
36
+ "strict:update": "yarn run -T update-strict-comments"
35
37
  },
36
38
  "publishConfig": {
37
39
  "access": "public"
38
40
  }
39
- }
41
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes