@coast/core-api-types 1.2.94 → 1.2.96

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.
@@ -4,6 +4,7 @@ import { BusinessId } from '../business/BusinessId';
4
4
  import { CardDefinition } from '../card/card-definition/CardDefinition';
5
5
  import { WorkspaceFocus } from '../card/WorkspaceFocus';
6
6
  import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
7
+ import { ChannelSlug } from './ChannelSlug';
7
8
  import { ChannelType } from './ChannelType';
8
9
  import { RelatedChannelAssociation } from './RelatedChannelAssociation';
9
10
  export interface Channel extends Audit {
@@ -26,7 +27,7 @@ export interface Channel extends Audit {
26
27
  orderCategory: number;
27
28
  parentId: number;
28
29
  relatedChannelAssociations?: RelatedChannelAssociation[];
29
- slug: string;
30
+ slug: ChannelSlug;
30
31
  smsRepliable: boolean;
31
32
  taskUpdatedAt: Date;
32
33
  type: ChannelType;
@@ -0,0 +1,2 @@
1
+ import { Brand } from '@paradoxical-io/types';
2
+ export type ChannelSlug = Brand<string, 'ChannelSlug'>;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ChannelSlug.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChannelSlug.js","sourceRoot":"","sources":["../../../src/models/channel/ChannelSlug.ts"],"names":[],"mappings":""}
@@ -2,6 +2,7 @@ import { BusinessId } from '../business/BusinessId';
2
2
  import { WorkspaceFocus } from '../card/WorkspaceFocus';
3
3
  import { WorkflowTemplateId } from '../workflow-template/WorkflowTemplateId';
4
4
  import { Channel } from './Channel';
5
+ import { ChannelSlug } from './ChannelSlug';
5
6
  import { ChannelType } from './ChannelType';
6
7
  import { CreateChannelChannelMembership } from './CreateChannelChannelMembership';
7
8
  export interface CreateChannel extends Partial<Omit<Channel, 'channelMemberships'>> {
@@ -14,7 +15,7 @@ export interface CreateChannel extends Partial<Omit<Channel, 'channelMemberships
14
15
  description?: string;
15
16
  imageUrl?: string;
16
17
  name: string;
17
- slug?: string;
18
+ slug?: ChannelSlug;
18
19
  type: ChannelType;
19
20
  visible?: boolean;
20
21
  workflowTemplateId?: WorkflowTemplateId;
@@ -0,0 +1,2 @@
1
+ export interface EntityFieldsBuilder {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=EntityFieldsBuilder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFieldsBuilder.js","sourceRoot":"","sources":["../../../src/models/utils/EntityFieldsBuilder.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { CreateWorkflowEntity } from './CreateWorkflowEntity';
2
+ export type CreateWorkflowEntityInternal = CreateWorkflowEntity & {
3
+ id: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateWorkflowEntityInternal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateWorkflowEntityInternal.js","sourceRoot":"","sources":["../../../../src/models/workflow-template/entities/CreateWorkflowEntityInternal.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.94",
3
+ "version": "1.2.96",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {