@coast/core-api-types 1.2.18 → 1.2.20

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.
@@ -28,6 +28,7 @@ export declare enum EventKey {
28
28
  THREAD_MESSAGE_CREATED = "afterInsert_ThreadMessage",
29
29
  THREAD_MESSAGE_SOFT_REMOVED = "afterSoftRemove_ThreadMessage",
30
30
  THREAD_MESSAGE_UPDATED = "afterUpdate_ThreadMessage",
31
+ VIEW_TEMPLATE_CREATED = "afterInsert_ViewTemplate",
31
32
  VIEW_TEMPLATE_SOFT_REMOVED = "afterSoftRemove_ViewTemplate",
32
33
  WORKFLOW_TEMPLATE_AUTOMATION_ASSOCIATION_REMOVED = "afterRemove_WorkflowTemplateAutomationAssociation",
33
34
  WORKFLOW_TEMPLATE_CREATED = "afterInsert_WorkflowTemplate",
@@ -32,6 +32,7 @@ var EventKey;
32
32
  EventKey["THREAD_MESSAGE_CREATED"] = "afterInsert_ThreadMessage";
33
33
  EventKey["THREAD_MESSAGE_SOFT_REMOVED"] = "afterSoftRemove_ThreadMessage";
34
34
  EventKey["THREAD_MESSAGE_UPDATED"] = "afterUpdate_ThreadMessage";
35
+ EventKey["VIEW_TEMPLATE_CREATED"] = "afterInsert_ViewTemplate";
35
36
  EventKey["VIEW_TEMPLATE_SOFT_REMOVED"] = "afterSoftRemove_ViewTemplate";
36
37
  EventKey["WORKFLOW_TEMPLATE_AUTOMATION_ASSOCIATION_REMOVED"] = "afterRemove_WorkflowTemplateAutomationAssociation";
37
38
  EventKey["WORKFLOW_TEMPLATE_CREATED"] = "afterInsert_WorkflowTemplate";
@@ -0,0 +1,7 @@
1
+ import { WorkflowTemplateId } from '../../workflow-template/WorkflowTemplateId';
2
+ import { ViewTemplateId } from '../../workflow-template/view-template/ViewTemplateId';
3
+ export interface ViewTemplateSearchKey {
4
+ workflowTemplateId: WorkflowTemplateId;
5
+ viewTemplateId: ViewTemplateId;
6
+ viewTemplateIndex: number;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,8 +5,9 @@ import { DateIs } from './DateIs';
5
5
  import { DateRange } from './DateRange';
6
6
  import { DateTokenIs } from './DateTokenIs';
7
7
  import { IsEmpty } from './IsEmpty';
8
+ import { MatchesScript } from './MatchesScript';
8
9
  import { MultiMatchNumber } from './MultiMatchNumber';
9
10
  import { MultiMatchString } from './MultiMatchString';
10
11
  import { NumberIs } from './NumberIs';
11
12
  import { StringWildcard } from './StringWildcard';
12
- export type AnyComponentFilter = ContainsCurrentUser | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | NumberIs | StringWildcard | IsEmpty | MultiMatchNumber | MultiMatchString;
13
+ export type AnyComponentFilter = ContainsCurrentUser | ContainsNumber | ContainsString | DateIs | DateRange | DateTokenIs | NumberIs | StringWildcard | IsEmpty | MultiMatchNumber | MultiMatchString | MatchesScript;
@@ -0,0 +1,2 @@
1
+ export interface MatchesScript {
2
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ import { SearchFilter } from './SearchFilter';
2
+ export interface ScriptFilter extends SearchFilter {
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  import { CreateComponentViewOptions } from '../components/CreateComponentViewOptions';
2
2
  import { ViewTemplate } from './ViewTemplate';
3
- export interface CreateViewTemplate extends Omit<ViewTemplate, 'id' | 'componentsViewOptions' | 'createdAt' | 'updatedAt'> {
3
+ export interface CreateViewTemplate extends Omit<ViewTemplate, 'id' | 'componentsViewOptions' | 'createdAt' | 'updatedAt' | 'customSortingEnabled'> {
4
4
  componentsViewOptions?: CreateComponentViewOptions[];
5
+ customSortingEnabled?: boolean;
5
6
  }
@@ -1,8 +1,9 @@
1
1
  import { CreateComponentViewOptions } from '../components/CreateComponentViewOptions';
2
2
  import { ViewTemplate } from './ViewTemplate';
3
3
  import { ViewTemplateId } from './ViewTemplateId';
4
- export interface UpdateViewTemplate extends Partial<Omit<ViewTemplate, 'id' | 'workflowTemplateId' | 'componentsViewOptions' | 'createdAt' | 'updatedAt'>> {
4
+ export interface UpdateViewTemplate extends Partial<Omit<ViewTemplate, 'id' | 'workflowTemplateId' | 'componentsViewOptions' | 'createdAt' | 'updatedAt' | 'customSortingEnabled'>> {
5
5
  id: ViewTemplateId;
6
6
  workflowTemplateId: string;
7
7
  componentsViewOptions?: CreateComponentViewOptions[];
8
+ customSortingEnabled?: boolean;
8
9
  }
@@ -10,6 +10,7 @@ export interface ViewTemplate extends Audit {
10
10
  name: string;
11
11
  type: ViewType;
12
12
  subtype?: ViewSubtype;
13
+ customSortingEnabled: boolean;
13
14
  defaultHiddenComponents?: boolean;
14
15
  defaultReadonlyComponents?: boolean;
15
16
  summarizeReadonlyTags?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coast/core-api-types",
3
- "version": "1.2.18",
3
+ "version": "1.2.20",
4
4
  "description": "core-api types package",
5
5
  "main": "./models",
6
6
  "types": "./models",