@coast/core-api-types 1.2.11 → 1.2.13
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/card/Card.d.ts +2 -0
- package/dist/models/shared-link/CreateSharedCardLink.d.ts +2 -1
- package/dist/models/workflow-template/components/referenced-in/ReferencedInComponent.d.ts +2 -1
- package/dist/models/workflow-template/entities/WorkflowEntity.d.ts +2 -0
- package/dist/models/workflow-template/entities/sort/ImpliedSortKey.d.ts +2 -0
- package/dist/models/workflow-template/entities/sort/ImpliedSortKey.js +2 -0
- package/dist/models/workflow-template/entities/sort/ImpliedSortKeys.d.ts +6 -0
- package/dist/models/workflow-template/entities/sort/ImpliedSortKeys.js +2 -0
- package/dist/models/workflow-template/view-template/DuplicateViewTemplate.d.ts +5 -0
- package/dist/models/workflow-template/view-template/DuplicateViewTemplate.js +2 -0
- package/dist/models/workflow-template/view-template/UpdateViewTemplate.d.ts +2 -1
- package/dist/models/workflow-template/view-template/ViewTemplate.d.ts +2 -1
- package/dist/models/workflow-template/view-template/ViewTemplateCopyMapping.d.ts +3 -2
- package/dist/models/workflow-template/view-template/ViewTemplateId.d.ts +2 -0
- package/dist/models/workflow-template/view-template/ViewTemplateId.js +2 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import { PlanLimitEntity } from '../plan-limits/PlanLimitEntity';
|
|
|
4
4
|
import { Indexable } from '../search/Indexable';
|
|
5
5
|
import { User } from '../user/User';
|
|
6
6
|
import { UserId } from '../user/UserId';
|
|
7
|
+
import { ImpliedSortKeys } from '../workflow-template/entities/sort/ImpliedSortKeys';
|
|
7
8
|
import { WorkflowEntity } from '../workflow-template/entities/WorkflowEntity';
|
|
8
9
|
import { CardFieldStringTag } from './card-field-string-tag/CardFieldStringTag';
|
|
9
10
|
import { CardReminder } from './card-reminder/CardReminder';
|
|
@@ -34,6 +35,7 @@ export interface Card extends DataEntity, Indexable, PlanLimitEntity, WorkflowEn
|
|
|
34
35
|
fields?: CardFields;
|
|
35
36
|
deletedAt?: Date;
|
|
36
37
|
kanbanSortKey: string;
|
|
38
|
+
impliedSortKeys?: ImpliedSortKeys;
|
|
37
39
|
status: CardStatus;
|
|
38
40
|
planLimitImposed: boolean;
|
|
39
41
|
relatedCards?: RelatedCardSummary[];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { ViewTemplateId } from '../workflow-template/view-template/ViewTemplateId';
|
|
1
2
|
import { SharedCardLink } from './SharedCardLink';
|
|
2
3
|
import { SharedCardLinkType } from './SharedCardLinkType';
|
|
3
4
|
export interface CreateSharedCardLink extends Partial<SharedCardLink> {
|
|
4
5
|
channelId: number;
|
|
5
6
|
type: SharedCardLinkType;
|
|
6
7
|
cardId?: string;
|
|
7
|
-
viewTemplateId?:
|
|
8
|
+
viewTemplateId?: ViewTemplateId;
|
|
8
9
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ViewTemplateId } from '../../../workflow-template/view-template/ViewTemplateId';
|
|
1
2
|
import { Component } from '../Component';
|
|
2
3
|
export interface ReferencedInComponent extends Component {
|
|
3
4
|
referencedFromWorkflowTemplateId: string;
|
|
4
5
|
relatedCardComponentId: string;
|
|
5
|
-
referencingViewTemplateId?:
|
|
6
|
+
referencingViewTemplateId?: ViewTemplateId;
|
|
6
7
|
label?: string;
|
|
7
8
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Audit } from '../../application/Audit';
|
|
2
2
|
import { EntityFields } from './EntityFields';
|
|
3
|
+
import { ImpliedSortKeys } from './sort/ImpliedSortKeys';
|
|
3
4
|
export interface WorkflowEntity extends Audit {
|
|
4
5
|
id: string;
|
|
5
6
|
workflowTemplateId?: string;
|
|
6
7
|
channelId: number;
|
|
7
8
|
fields?: EntityFields;
|
|
9
|
+
impliedSortKeys?: ImpliedSortKeys;
|
|
8
10
|
deletedAt?: Date;
|
|
9
11
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewTemplateId } from '../../../workflow-template/view-template/ViewTemplateId';
|
|
2
|
+
import { ImpliedSortKey } from './ImpliedSortKey';
|
|
3
|
+
export interface ImpliedSortKeys {
|
|
4
|
+
defaultKey: ImpliedSortKey;
|
|
5
|
+
viewTemplateKeys: Record<ViewTemplateId, ImpliedSortKey>;
|
|
6
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CreateComponentViewOptions } from '../components/CreateComponentViewOptions';
|
|
2
2
|
import { ViewTemplate } from './ViewTemplate';
|
|
3
|
+
import { ViewTemplateId } from './ViewTemplateId';
|
|
3
4
|
export interface UpdateViewTemplate extends Partial<Omit<ViewTemplate, 'id' | 'workflowTemplateId' | 'componentsViewOptions' | 'createdAt' | 'updatedAt'>> {
|
|
4
|
-
id:
|
|
5
|
+
id: ViewTemplateId;
|
|
5
6
|
workflowTemplateId: string;
|
|
6
7
|
componentsViewOptions?: CreateComponentViewOptions[];
|
|
7
8
|
}
|
|
@@ -2,9 +2,10 @@ import { Audit } from '../../application/Audit';
|
|
|
2
2
|
import { ComponentViewOptions } from '../components/ComponentViewOptions';
|
|
3
3
|
import { CollectionCriteria } from './CollectionCriteria';
|
|
4
4
|
import { ViewSubtype } from './ViewSubtype';
|
|
5
|
+
import { ViewTemplateId } from './ViewTemplateId';
|
|
5
6
|
import { ViewType } from './ViewType';
|
|
6
7
|
export interface ViewTemplate extends Audit {
|
|
7
|
-
id:
|
|
8
|
+
id: ViewTemplateId;
|
|
8
9
|
workflowTemplateId: string;
|
|
9
10
|
name: string;
|
|
10
11
|
type: ViewType;
|