@coast/core-api-types 1.2.355 → 1.2.357

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.
@@ -0,0 +1,9 @@
1
+ import { UserId } from '@coast/core-types/user/UserId';
2
+ import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
3
+ import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
4
+ export interface AggregateInverseRelatedCardCounts {
5
+ workflowTemplateId: WorkflowTemplateId;
6
+ relatedCardComponentId: ComponentId;
7
+ workflowEntityIds: string[];
8
+ currentUserId?: UserId;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AggregateInverseRelatedCardCounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregateInverseRelatedCardCounts.js","sourceRoot":"","sources":["../../../src/models/workflow-entity/AggregateInverseRelatedCardCounts.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface CardCount {
2
+ cardId: string;
3
+ count: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CardCount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardCount.js","sourceRoot":"","sources":["../../../src/models/workflow-entity/CardCount.ts"],"names":[],"mappings":""}
@@ -1,7 +1,9 @@
1
1
  import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
2
+ import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
2
3
  import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
3
4
  import { AbstractListWorkflowEntities } from './AbstractListWorkflowEntities';
4
5
  export interface ListWorkflowEntitiesInput extends AbstractListWorkflowEntities {
6
+ inverseRelatedCardCountsForComponentId?: ComponentId;
5
7
  viewTemplateId?: ViewTemplateId;
6
8
  workflowTemplateId: WorkflowTemplateId;
7
9
  }
@@ -1,9 +1,11 @@
1
1
  import { OffsetPaginatedResult } from '../pagination/OffsetPaginatedResult';
2
2
  import { PlanLimit } from '../plan-limits/PlanLimit';
3
+ import { CardCount } from './CardCount';
3
4
  import { EntityRefs } from './refs/EntityRefs';
4
5
  import { WorkflowEntity } from './WorkflowEntity';
5
6
  export interface ListWorkflowEntitiesResult extends OffsetPaginatedResult {
6
7
  cursor?: string;
8
+ inverseRelatedCardCounts?: CardCount[];
7
9
  entities: WorkflowEntity[];
8
10
  planLimit?: PlanLimit;
9
11
  refs?: EntityRefs;
@@ -0,0 +1,5 @@
1
+ export interface NestedTermCountsQuery {
2
+ nestedAttributeKey: string;
3
+ filterAttributeKey: string;
4
+ filterAttributeValues: string[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NestedTermCountsQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NestedTermCountsQuery.js","sourceRoot":"","sources":["../../../../src/models/workflow-entity/search/NestedTermCountsQuery.ts"],"names":[],"mappings":""}
@@ -7,6 +7,7 @@ import { RelatedCardDefault } from './RelatedCardDefault';
7
7
  export interface RelatedCardComponent extends Defaultable<RelatedCardDefault>, InputComponent<ComponentType.RELATED_CARD> {
8
8
  default?: RelatedCardDefault;
9
9
  hasQuantity?: boolean;
10
+ isParent?: boolean;
10
11
  limit?: number;
11
12
  listDefault?: ListWorkflowEntitiesDefault;
12
13
  workflowTemplateId?: WorkflowTemplateId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.355",
3
+ "version": "1.2.357",
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.72",
26
+ "@coast/core-types": "0.0.73",
27
27
  "@coast/core-utils": "0.0.24",
28
28
  "@coast/schemas": "^4.0.2",
29
29
  "@coast/service-common": "^2.0.79",