@coast/core-api-types 1.2.364 → 1.2.365

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.
@@ -1,5 +1,6 @@
1
1
  import { ActivityFeedEventType } from '@coast/core-types/activity-feed/ActivityFeedEventType';
2
2
  import { UserId } from '@coast/core-types/user/UserId';
3
+ import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
3
4
  import { Card } from '../card/Card';
4
5
  import { User } from '../user/User';
5
6
  export interface ActivityFeedItem {
@@ -13,4 +14,5 @@ export interface ActivityFeedItem {
13
14
  user: Partial<User>;
14
15
  cardId: string;
15
16
  card?: Partial<Card>;
17
+ workflowEntityEventId?: WorkflowEntityEventId;
16
18
  }
@@ -1,5 +1,6 @@
1
1
  import { ActivityFeedEventType } from '@coast/core-types/activity-feed/ActivityFeedEventType';
2
2
  import { UserId } from '@coast/core-types/user/UserId';
3
+ import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
3
4
  import { ActivityFeedItem } from './ActivityFeedItem';
4
5
  import { CreateCardRelation } from './CreateCardRelation';
5
6
  import { CreateUserRelation } from './CreateUserRelation';
@@ -10,4 +11,5 @@ export interface CreateActivityFeedItem extends Partial<ActivityFeedItem> {
10
11
  eventType: ActivityFeedEventType;
11
12
  user: CreateUserRelation;
12
13
  originUserId?: UserId;
14
+ workflowEntityEventId?: WorkflowEntityEventId;
13
15
  }
@@ -9,7 +9,7 @@ export interface AutomationActionAudit extends Audit {
9
9
  id: AutomationActionAuditId;
10
10
  automationId: AutomationId;
11
11
  actionId: AutomationActionId;
12
- automationEventId: WorkflowEntityEventId;
12
+ workflowEntityEventId?: WorkflowEntityEventId;
13
13
  status: AutomationActionStatus;
14
14
  result?: AnyAutomationActionAuditResult;
15
15
  }
@@ -0,0 +1,4 @@
1
+ export type AutomationAuditDetail = {
2
+ unmetConditionIds?: string[];
3
+ error?: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AutomationAuditDetail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutomationAuditDetail.js","sourceRoot":"","sources":["../../../../src/models/automations/audit/AutomationAuditDetail.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { AutomationRunAuditId } from '@coast/core-types/automations/audit/AutomationRunAuditId';
2
+ import { AutomationRunStatus } from '@coast/core-types/automations/audit/AutomationRunStatus';
3
+ import { AutomationId } from '@coast/core-types/automations/AutomationId';
4
+ import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
5
+ import type { AutomationAuditDetail } from './AutomationAuditDetail';
6
+ import { Audit } from '../../application/Audit';
7
+ export interface AutomationRunAudit extends Audit {
8
+ id: AutomationRunAuditId;
9
+ automationId: AutomationId;
10
+ workflowEntityEventId: WorkflowEntityEventId;
11
+ workflowEntityId: string;
12
+ status: AutomationRunStatus;
13
+ detail?: AutomationAuditDetail;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AutomationRunAudit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutomationRunAudit.js","sourceRoot":"","sources":["../../../../src/models/automations/audit/AutomationRunAudit.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import { UserId } from '@coast/core-types/user/UserId';
2
2
  import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
3
+ import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
3
4
  import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
4
5
  import { EntityAuditTrailEntry } from './EntityAuditTrailEntry';
5
6
  export interface EntityAuditTrailEvent {
@@ -11,4 +12,5 @@ export interface EntityAuditTrailEvent {
11
12
  originUserId?: UserId;
12
13
  workflowTemplateId: WorkflowTemplateId;
13
14
  viewTemplateId?: ViewTemplateId;
15
+ workflowEntityEventId?: WorkflowEntityEventId;
14
16
  }
@@ -1,6 +1,8 @@
1
1
  import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
2
+ import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar/ScalarKey';
2
3
  import { DynamicFilterOneOf } from './DynamicFilterOneOf';
3
4
  export interface DynamicFilterByComponent {
4
5
  componentId: ComponentId;
6
+ scalarKey?: ScalarKey;
5
7
  value: DynamicFilterOneOf;
6
8
  }
@@ -1,6 +1,8 @@
1
1
  import { ComponentId } from '@coast/core-types/workflow-template/components/ComponentId';
2
+ import { ScalarKey } from '@coast/core-types/workflow-template/components/scalar/ScalarKey';
2
3
  import { FilterOneOf } from './FilterOneOf';
3
4
  export interface FilterOneOfByComponent {
4
5
  componentId: ComponentId;
6
+ scalarKey?: ScalarKey;
5
7
  value: FilterOneOf;
6
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.364",
3
+ "version": "1.2.365",
4
4
  "description": "Facilitates the generation of core-api-types npm package",
5
5
  "exports": {
6
6
  "./*": {
@@ -23,10 +23,10 @@
23
23
  "author": "Coast Engineering",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@coast/core-types": "0.0.78",
27
- "@coast/core-utils": "0.0.24",
26
+ "@coast/core-types": "0.0.82",
27
+ "@coast/core-utils": "0.0.25",
28
28
  "@coast/schemas": "^4.0.2",
29
- "@coast/service-common": "^2.0.79",
29
+ "@coast/service-common": "^2.0.81",
30
30
  "@paradoxical-io/types": "^2.1.0",
31
31
  "@types/json-schema": "^7.0.15",
32
32
  "json-schema": "^0.4.0",