@coast/core-api-types 1.2.285 → 1.2.287
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/automations/WorkflowAutomationsEvent.d.ts +1 -0
- package/dist/models/automations/WorkflowAutomationsEvent.js +1 -0
- package/dist/models/automations/action/AutomationAction.d.ts +1 -1
- package/dist/models/automations/action/audit/AutomationActionAudit.d.ts +1 -1
- package/dist/models/automations/action/settings/AutomationComponentData.d.ts +2 -2
- package/dist/models/automations/action/settings/CalculateValueActionSettings.d.ts +1 -1
- package/dist/models/automations/action/settings/SettingsWorkflowEntityField.d.ts +2 -2
- package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts +2 -2
- package/dist/models/automations/condition/Condition.d.ts +2 -2
- package/dist/models/business/ListBusinessMemberships.d.ts +5 -0
- package/dist/models/business/ListBusinessMemberships.js +3 -0
- package/dist/models/business/ListBusinessMemberships.js.map +1 -0
- package/dist/models/business/ListBusinessMembershipsResult.d.ts +5 -0
- package/dist/models/business/ListBusinessMembershipsResult.js +3 -0
- package/dist/models/business/ListBusinessMembershipsResult.js.map +1 -0
- package/dist/models/card/Card.d.ts +1 -1
- package/dist/models/card/CreateNonRecurringCard.d.ts +3 -3
- package/dist/models/card/UpdateCard.d.ts +2 -2
- package/dist/models/card/card-definition/CardDefinition.d.ts +2 -2
- package/dist/models/card/card-definition/CardFragmentTemplate.d.ts +1 -1
- package/dist/models/card/card-definition/CardUITemplate.d.ts +1 -1
- package/dist/models/card/card-definition/CreateCardDefinition.d.ts +3 -3
- package/dist/models/card/card-definition/CreateCardUITemplate.d.ts +1 -1
- package/dist/models/card/card-definition/UpdateCardDefinition.d.ts +2 -2
- package/dist/models/card/card-reminder/CardReminder.d.ts +1 -1
- package/dist/models/card/card-reminder/CreateCardReminder.d.ts +1 -1
- package/dist/models/channel/ListChannelsOrderBy.js.map +1 -1
- package/dist/models/integration/Integration.d.ts +1 -1
- package/dist/models/integration/UpdateIntegration.d.ts +1 -1
- package/dist/models/json-relations/workflow-template/WorkflowTemplateFieldLink.d.ts +1 -1
- package/dist/models/shared-link/SharedCardLink.d.ts +1 -1
- package/dist/models/user/group/ListUserGroupUserAssociations.d.ts +1 -1
- package/dist/models/view-template/ListViewTemplates.d.ts +1 -1
- package/dist/models/view-template-layout/ViewTemplateLayoutItem.d.ts +1 -1
- package/dist/models/workflow-app/bundle/public-bundle/BundleType.js.map +1 -1
- package/dist/models/workflow-app/compensations/CompensationType.js.map +1 -1
- package/dist/models/workflow-app/compensations/automations/DisableAutomationCompensation.d.ts +1 -1
- package/dist/models/workflow-app/duplication-results/DuplicationResultType.js.map +1 -1
- package/dist/models/workflow-entity/WorkflowEntity.d.ts +1 -1
- package/dist/models/workflow-entity/WorkflowEntityField.d.ts +1 -1
- package/dist/models/workflow-entity/audit-trail/CreateEntityAuditTrailEntry.d.ts +1 -1
- package/dist/models/workflow-entity/audit-trail/EntityAuditTrailEntry.d.ts +2 -2
- package/dist/models/workflow-entity/filters/FilterByComponent.d.ts +1 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesAutoExtend.d.ts +1 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesExtend.d.ts +1 -1
- package/dist/models/workflow-entity/recurring/RecurringEntitiesFieldOverrides.d.ts +1 -1
- package/dist/models/workflow-entity/recurring/UpdateRecurringEntities.d.ts +1 -1
- package/dist/models/workflow-file-operations/CreateBatchUpdateWorkflowEntitiesFile.d.ts +1 -1
- package/dist/models/workflow-template/behaviors/ViewTemplateSelector.d.ts +1 -1
- package/dist/models/workflow-template/components/ComponentViewOptions.d.ts +1 -1
- package/dist/models/workflow-template/components/PresentationComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts +1 -1
- package/dist/models/workflow-template/components/subform/SubformComponentDataValue.d.ts +1 -1
- package/dist/models/workflow-template/components/tag/CombinedTagsComponent.d.ts +1 -1
- package/dist/scripts/generateTypes.js.map +1 -1
- package/package.json +6 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AutomationActionId } from '@coast/core-types/automations/action/AutomationActionId';
|
|
2
2
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
3
3
|
import type { Automation } from '../Automation';
|
|
4
|
+
import type { AnyAutomationActionSettings } from './settings/registry/AnyAutomationActionSettings';
|
|
4
5
|
import { Condition } from '../condition/Condition';
|
|
5
|
-
import { AnyAutomationActionSettings } from './settings/registry/AnyAutomationActionSettings';
|
|
6
6
|
export interface AutomationAction<T extends AutomationActionType = AutomationActionType> {
|
|
7
7
|
automation?: Automation;
|
|
8
8
|
conditions?: Condition[];
|
|
@@ -3,8 +3,8 @@ import { AutomationActionStatus } from '@coast/core-types/automations/action/aud
|
|
|
3
3
|
import { AutomationActionId } from '@coast/core-types/automations/action/AutomationActionId';
|
|
4
4
|
import { AutomationId } from '@coast/core-types/automations/AutomationId';
|
|
5
5
|
import { WorkflowEntityEventId } from '@coast/core-types/workflow-entity/WorkflowEntityEventId';
|
|
6
|
+
import type { AnyAutomationActionAuditResult } from './AnyAutomationActionAuditResult';
|
|
6
7
|
import { Audit } from '../../../application/Audit';
|
|
7
|
-
import { AnyAutomationActionAuditResult } from './AnyAutomationActionAuditResult';
|
|
8
8
|
export interface AutomationActionAudit extends Audit {
|
|
9
9
|
id: AutomationActionAuditId;
|
|
10
10
|
automationId: AutomationId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
2
|
-
import { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
|
|
1
|
+
import type { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
2
|
+
import type { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
|
|
3
3
|
export interface AutomationComponentData {
|
|
4
4
|
dynamicData?: AnyDynamicComponentData;
|
|
5
5
|
staticData?: AnyComponentData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { ArithmeticOperator } from '@coast/core-types/automations/action/settings/ArithmeticOperator';
|
|
3
|
-
import { AnyNumberOperand } from '../../condition/operands/registry/AnyNumberOperand';
|
|
3
|
+
import type { AnyNumberOperand } from '../../condition/operands/registry/AnyNumberOperand';
|
|
4
4
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
5
5
|
export interface CalculateValueActionSettings extends AutomationActionSettings<AutomationActionType.CALCULATE_VALUE> {
|
|
6
6
|
leftOperand: AnyNumberOperand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ArrayValueOperation } from '@coast/core-types/automations/action/settings/ArrayValueOperation';
|
|
2
|
-
import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
3
|
-
import { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
|
|
2
|
+
import type { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
3
|
+
import type { AnyDynamicComponentData } from '../component-data/registry/AnyDynamicComponentData';
|
|
4
4
|
export interface SettingsWorkflowEntityField {
|
|
5
5
|
arrayValueOperation?: ArrayValueOperation;
|
|
6
6
|
componentId: string;
|
package/dist/models/automations/action/settings/UpdateRelatedCardQuantityActionSettings.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AutomationActionType } from '@coast/core-types/automations/action/AutomationActionType';
|
|
2
2
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
|
-
import { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
4
|
-
import { AnyDynamicNumberComponentData } from '../component-data/registry/AnyDynamicNumberComponentData';
|
|
3
|
+
import type { AnyComponentData } from '../../../workflow-template/components/data-registry/AnyComponentData';
|
|
4
|
+
import type { AnyDynamicNumberComponentData } from '../component-data/registry/AnyDynamicNumberComponentData';
|
|
5
5
|
import { AutomationActionSettings } from './AutomationActionSettings';
|
|
6
6
|
export interface UpdateRelatedCardQuantityActionSettings extends AutomationActionSettings<AutomationActionType.UPDATE_RELATED_CARD_QUANTITY> {
|
|
7
7
|
dynamicData?: AnyDynamicNumberComponentData;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LogicalOperator } from '@coast/core-types/automations/condition/LogicalOperator';
|
|
2
2
|
import { ComparisonOperator } from '@coast/core-types/workflow-entity/filters/ComparisonOperator';
|
|
3
|
-
import { AnyDataOperand } from './operands/registry/AnyDataOperand';
|
|
4
|
-
import { AnyOperand } from './operands/registry/AnyOperand';
|
|
3
|
+
import type { AnyDataOperand } from './operands/registry/AnyDataOperand';
|
|
4
|
+
import type { AnyOperand } from './operands/registry/AnyOperand';
|
|
5
5
|
export interface Condition {
|
|
6
6
|
comparisonOperator: ComparisonOperator;
|
|
7
7
|
id: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BusinessMembershipRole } from '@coast/core-types/business/BusinessMembershipRole';
|
|
2
|
+
import { OffsetPaginatedRequest } from '../pagination/OffsetPaginatedRequest';
|
|
3
|
+
export interface ListBusinessMemberships extends OffsetPaginatedRequest {
|
|
4
|
+
role?: BusinessMembershipRole;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListBusinessMemberships.js","sourceRoot":"","sources":["../../../src/models/business/ListBusinessMemberships.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListBusinessMembershipsResult.js","sourceRoot":"","sources":["../../../src/models/business/ListBusinessMembershipsResult.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CardStatus } from '@coast/core-types/card/CardStatus';
|
|
2
2
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
4
|
+
import type { CardFields } from './CardFields';
|
|
4
5
|
import { Audit } from '../application/Audit';
|
|
5
6
|
import { DataEntity } from '../application/DataEntity';
|
|
6
7
|
import { PlanLimitEntity } from '../plan-limits/PlanLimitEntity';
|
|
@@ -10,7 +11,6 @@ import { ImpliedSortKeys } from '../workflow-entity/sort/ImpliedSortKeys';
|
|
|
10
11
|
import { WorkflowEntity } from '../workflow-entity/WorkflowEntity';
|
|
11
12
|
import { CardFieldStringTag } from './card-field-string-tag/CardFieldStringTag';
|
|
12
13
|
import { CardReminder } from './card-reminder/CardReminder';
|
|
13
|
-
import { CardFields } from './CardFields';
|
|
14
14
|
import { EntityRecurrence } from './EntityRecurrence';
|
|
15
15
|
import { RelatedCardSummary } from './related-card/RelatedCardSummary';
|
|
16
16
|
export interface Card extends DataEntity, Indexable, PlanLimitEntity, WorkflowEntity, Audit {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import type { ImpliedSortKeys } from '../workflow-entity/sort/ImpliedSortKeys';
|
|
5
|
+
import type { CardFields } from './CardFields';
|
|
5
6
|
import { Card } from './Card';
|
|
6
7
|
import { CreateCardReminder } from './card-reminder/CreateCardReminder';
|
|
7
|
-
import { CardFields } from './CardFields';
|
|
8
8
|
export interface CreateNonRecurringCard extends DeepPartial<Card> {
|
|
9
9
|
assigneeIds?: UserId[];
|
|
10
10
|
cardDefinitionId?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
1
2
|
import { EntityRecurrenceScope } from '@coast/core-types/card/EntityRecurrenceScope';
|
|
2
3
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
3
|
-
import {
|
|
4
|
+
import type { CardFields } from './CardFields';
|
|
4
5
|
import { Card } from './Card';
|
|
5
6
|
import { UpdateCardReminder } from './card-reminder/UpdateCardReminder';
|
|
6
|
-
import { CardFields } from './CardFields';
|
|
7
7
|
import { UpdateEntityRecurrence } from './UpdateEntityRecurrence';
|
|
8
8
|
export interface UpdateCard extends DeepPartial<Card> {
|
|
9
9
|
assigneeIds?: UserId[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { TagOptions } from '@coast/schemas';
|
|
1
2
|
import { WorkspaceFocus } from '@coast/core-types/card/WorkspaceFocus';
|
|
2
|
-
import {
|
|
3
|
+
import type { CoastJSONSchema4 } from './CoastJSONSchema4';
|
|
3
4
|
import { Audit } from '../../application/Audit';
|
|
4
5
|
import { CardUITemplate } from './CardUITemplate';
|
|
5
|
-
import { CoastJSONSchema4 } from './CoastJSONSchema4';
|
|
6
6
|
export interface CardDefinition extends Audit {
|
|
7
7
|
appId?: string;
|
|
8
8
|
cardUITemplates: CardUITemplate[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { UITemplate } from '@coast/schemas';
|
|
1
2
|
import { CardUITemplateType } from '@coast/core-types/card/card-definition/CardUITemplateType';
|
|
2
|
-
import { UITemplate } from '@coast/schemas';
|
|
3
3
|
import { Audit } from '../../application/Audit';
|
|
4
4
|
import { CardDefinition } from './CardDefinition';
|
|
5
5
|
export interface CardUITemplate extends Audit {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
|
+
import type { TagOptions } from '@coast/schemas';
|
|
3
|
+
import type { JSONSchema4 } from 'json-schema';
|
|
1
4
|
import { WorkspaceFocus } from '@coast/core-types/card/WorkspaceFocus';
|
|
2
|
-
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
3
|
-
import { TagOptions } from '@coast/schemas';
|
|
4
|
-
import { JSONSchema4 } from 'json-schema';
|
|
5
5
|
import { CardDefinition } from './CardDefinition';
|
|
6
6
|
import { CreateCardUITemplate } from './CreateCardUITemplate';
|
|
7
7
|
export interface CreateCardDefinition extends DeepPartial<CardDefinition> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { UITemplate } from '@coast/schemas';
|
|
1
2
|
import { CardUITemplateType } from '@coast/core-types/card/card-definition/CardUITemplateType';
|
|
2
|
-
import { UITemplate } from '@coast/schemas';
|
|
3
3
|
import { CardUITemplate } from './CardUITemplate';
|
|
4
4
|
export interface CreateCardUITemplate extends Partial<CardUITemplate> {
|
|
5
5
|
name: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
2
|
+
import type { JSONSchema4 } from 'json-schema';
|
|
1
3
|
import { WorkspaceFocus } from '@coast/core-types/card/WorkspaceFocus';
|
|
2
|
-
import { DeepPartial } from '@coast/core-utils/DeepPartial';
|
|
3
|
-
import { JSONSchema4 } from 'json-schema';
|
|
4
4
|
import { CardDefinition } from './CardDefinition';
|
|
5
5
|
import { UpdateCardUITemplate } from './UpdateCardUITemplate';
|
|
6
6
|
export interface UpdateCardDefinition extends DeepPartial<CardDefinition> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Selector } from '@coast/schemas';
|
|
1
2
|
import { ReminderRelativeTo } from '@coast/core-types/card/card-reminder/ReminderRelativeTo';
|
|
2
|
-
import { Selector } from '@coast/schemas';
|
|
3
3
|
import { Audit } from '../../application/Audit';
|
|
4
4
|
import { Card } from '../Card';
|
|
5
5
|
export interface CardReminder extends Audit {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Selector } from '@coast/schemas';
|
|
1
2
|
import { ReminderRelativeTo } from '@coast/core-types/card/card-reminder/ReminderRelativeTo';
|
|
2
|
-
import { Selector } from '@coast/schemas';
|
|
3
3
|
import { CardReminder } from './CardReminder';
|
|
4
4
|
export interface CreateCardReminder extends Partial<CardReminder> {
|
|
5
5
|
conditionalSelector?: Selector;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListChannelsOrderBy.js","sourceRoot":"","sources":["../../../src/models/channel/ListChannelsOrderBy.ts"],"names":[],"mappings":";;;AAEA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;IACvB,8CAAuB,CAAA;IACvB,oCAAa,CAAA;AACjB,CAAC,EAJW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ListChannelsOrderBy.js","sourceRoot":"","sources":["../../../src/models/channel/ListChannelsOrderBy.ts"],"names":[],"mappings":";;;AAEA,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,8CAAuB,CAAA;IACvB,8CAAuB,CAAA;IACvB,oCAAa,CAAA;AACjB,CAAC,EAJW,mBAAmB,aAAnB,mBAAmB,GAAnB,mBAAmB,QAI9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { CardDetailTemplate, CardFormTemplate } from '@coast/schemas';
|
|
1
2
|
import { BusinessId } from '@coast/core-types/business/BusinessId';
|
|
2
3
|
import { IntegrationStatus } from '@coast/core-types/integration/IntegrationStatus';
|
|
3
4
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
|
-
import { CardDetailTemplate, CardFormTemplate } from '@coast/schemas';
|
|
5
5
|
import { Audit } from '../application/Audit';
|
|
6
6
|
import { App } from './App';
|
|
7
7
|
export interface Integration extends Audit {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CardDetailTemplate, CardFormTemplate } from '@coast/schemas';
|
|
1
2
|
import { IntegrationStatus } from '@coast/core-types/integration/IntegrationStatus';
|
|
2
|
-
import { CardDetailTemplate, CardFormTemplate } from '@coast/schemas';
|
|
3
3
|
import { Integration } from './Integration';
|
|
4
4
|
export interface UpdateIntegration extends Partial<Integration> {
|
|
5
5
|
channelId?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
|
+
import type { LinkComponentType } from './LinkComponentType';
|
|
2
3
|
import { Audit } from '../../application/Audit';
|
|
3
|
-
import { LinkComponentType } from './LinkComponentType';
|
|
4
4
|
export interface WorkflowTemplateFieldLink extends Audit {
|
|
5
5
|
componentId: string;
|
|
6
6
|
componentType: LinkComponentType;
|
|
@@ -3,8 +3,8 @@ import { SharedCardLinkType } from '@coast/core-types/shared-link/SharedCardLink
|
|
|
3
3
|
import { UserId } from '@coast/core-types/user/UserId';
|
|
4
4
|
import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
|
|
5
5
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
6
|
+
import type { EntityFields } from '../workflow-entity/EntityFields';
|
|
6
7
|
import { Audit } from '../application/Audit';
|
|
7
|
-
import { EntityFields } from '../workflow-entity/EntityFields';
|
|
8
8
|
export interface SharedCardLink extends Audit {
|
|
9
9
|
cardId?: string;
|
|
10
10
|
channelId?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Intersection } from '
|
|
1
|
+
import { Intersection } from '../../../utils/Intersection';
|
|
2
2
|
import { OffsetPaginatedRequest } from '../../pagination/OffsetPaginatedRequest';
|
|
3
3
|
import { UserGroupUserAssociation } from './UserGroupUserAssociation';
|
|
4
4
|
export interface ListUserGroupUserAssociations extends Intersection<Omit<UserGroupUserAssociation, 'userId'>, OffsetPaginatedRequest> {
|
|
@@ -3,7 +3,7 @@ import { ViewType } from '@coast/core-types/view-template/ViewType';
|
|
|
3
3
|
import { OffsetPaginatedRequest } from '../pagination/OffsetPaginatedRequest';
|
|
4
4
|
import { ListViewTemplateSort } from './ListViewTemplateSort';
|
|
5
5
|
import { ViewTemplate } from './ViewTemplate';
|
|
6
|
-
import { Intersection } from '
|
|
6
|
+
import { Intersection } from '../../utils/Intersection';
|
|
7
7
|
export interface ListViewTemplates extends Intersection<Pick<ViewTemplate, 'workflowTemplateId' | 'subtype'>, OffsetPaginatedRequest> {
|
|
8
8
|
isPublic?: boolean;
|
|
9
9
|
name?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ViewTemplateLayoutItemId } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemId';
|
|
1
|
+
import type { ViewTemplateLayoutItemId } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemId';
|
|
2
2
|
import { ViewTemplateLayoutItemType } from '@coast/core-types/view-template-layout/ViewTemplateLayoutItemType';
|
|
3
3
|
import type { ViewTemplateLayout } from './ViewTemplateLayout';
|
|
4
4
|
export interface ViewTemplateLayoutItem {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BundleType.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/BundleType.ts"],"names":[],"mappings":";;;AACA,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,qCAAuB,CAAA;IACvB,qDAAuC,CAAA;AAC3C,CAAC,EAHW,UAAU,
|
|
1
|
+
{"version":3,"file":"BundleType.js","sourceRoot":"","sources":["../../../../../src/models/workflow-app/bundle/public-bundle/BundleType.ts"],"names":[],"mappings":";;;AACA,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,qCAAuB,CAAA;IACvB,qDAAuC,CAAA;AAC3C,CAAC,EAHW,UAAU,aAAV,UAAU,GAAV,UAAU,QAGrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompensationType.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/compensations/CompensationType.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IACxB,+HAA2G,CAAA;IAC3G,qIAAiH,CAAA;IACjH,qGAAiF,CAAA;IACjF,6DAAyC,CAAA;IACzC,uEAAmD,CAAA;IACnD,iFAA6D,CAAA;IAC7D,6FAAyE,CAAA;AAC7E,CAAC,EARW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"CompensationType.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/compensations/CompensationType.ts"],"names":[],"mappings":";;;AACA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IACxB,+HAA2G,CAAA;IAC3G,qIAAiH,CAAA;IACjH,qGAAiF,CAAA;IACjF,6DAAyC,CAAA;IACzC,uEAAmD,CAAA;IACnD,iFAA6D,CAAA;IAC7D,6FAAyE,CAAA;AAC7E,CAAC,EARW,gBAAgB,aAAhB,gBAAgB,GAAhB,gBAAgB,QAQ3B"}
|
package/dist/models/workflow-app/compensations/automations/DisableAutomationCompensation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ErrorCode } from '@coast/core-types/error/ErrorCode';
|
|
1
|
+
import type { ErrorCode } from '@coast/core-types/error/ErrorCode';
|
|
2
2
|
import { AutomationReference } from '../AutomationReference';
|
|
3
3
|
import { CompensationType } from '../CompensationType';
|
|
4
4
|
export interface DisableAutomationCompensation {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DuplicationResultType.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/duplication-results/DuplicationResultType.ts"],"names":[],"mappings":";;;AACA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,sEAA6C,CAAA;IAC7C,sFAA6D,CAAA;AACjE,CAAC,EAHW,qBAAqB,
|
|
1
|
+
{"version":3,"file":"DuplicationResultType.js","sourceRoot":"","sources":["../../../../src/models/workflow-app/duplication-results/DuplicationResultType.ts"],"names":[],"mappings":";;;AACA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAC7B,sEAA6C,CAAA;IAC7C,sFAA6D,CAAA;AACjE,CAAC,EAHW,qBAAqB,aAArB,qBAAqB,GAArB,qBAAqB,QAGhC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
|
+
import type { EntityFields } from './EntityFields';
|
|
2
3
|
import { Audit } from '../application/Audit';
|
|
3
4
|
import { DataEntity } from '../application/DataEntity';
|
|
4
|
-
import { EntityFields } from './EntityFields';
|
|
5
5
|
import { ImpliedSortKeys } from './sort/ImpliedSortKeys';
|
|
6
6
|
export interface WorkflowEntity extends DataEntity, Audit {
|
|
7
7
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyComponentData } from '../workflow-template/components/data-registry/AnyComponentData';
|
|
1
|
+
import type { AnyComponentData } from '../workflow-template/components/data-registry/AnyComponentData';
|
|
2
2
|
export interface WorkflowEntityField {
|
|
3
3
|
componentId: string;
|
|
4
4
|
data: AnyComponentData;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnyComponentDataChange } from '../../workflow-template/components/AnyComponentDataChange';
|
|
1
|
+
import type { AnyComponentDataChange } from '../../workflow-template/components/AnyComponentDataChange';
|
|
2
2
|
import { EntityAuditTrailEntry } from './EntityAuditTrailEntry';
|
|
3
3
|
export interface CreateEntityAuditTrailEntry extends Omit<EntityAuditTrailEntry, 'id' | 'change' | 'newData' | 'originalData'> {
|
|
4
4
|
change: AnyComponentDataChange;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
|
-
import { AnyComponentDataChange } from '../../workflow-template/components/AnyComponentDataChange';
|
|
2
|
+
import type { AnyComponentDataChange } from '../../workflow-template/components/AnyComponentDataChange';
|
|
3
|
+
import type { TrailData } from './TrailData';
|
|
3
4
|
import { EntityAuditTrailEvent } from './EntityAuditTrailEvent';
|
|
4
|
-
import { TrailData } from './TrailData';
|
|
5
5
|
export interface EntityAuditTrailEntry {
|
|
6
6
|
componentId: string;
|
|
7
7
|
componentType: ComponentType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { AnyFilter } from './registry/AnyFilter';
|
|
1
2
|
import { FilterOneOfByComponent } from './FilterOneOfByComponent';
|
|
2
|
-
import { AnyFilter } from './registry/AnyFilter';
|
|
3
3
|
export interface FilterByComponent extends Omit<FilterOneOfByComponent, 'value'> {
|
|
4
4
|
value: AnyFilter;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NonEmptyArray } from '@coast/core-utils/NonEmptyArray';
|
|
1
|
+
import type { NonEmptyArray } from '@coast/core-utils/NonEmptyArray';
|
|
2
2
|
import { FilterOneOfByComponent } from '../filters/FilterOneOfByComponent';
|
|
3
3
|
export interface RecurringEntitiesAutoExtend {
|
|
4
4
|
seriesFilter: NonEmptyArray<FilterOneOfByComponent>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ISODateString } from '@coast/core-types/common/ISODateString';
|
|
2
|
-
import { EntityFields } from '../EntityFields';
|
|
2
|
+
import type { EntityFields } from '../EntityFields';
|
|
3
3
|
import { RecurringEntitiesAutoExtend } from './RecurringEntitiesAutoExtend';
|
|
4
4
|
export interface RecurringEntitiesExtend {
|
|
5
5
|
autoExtend?: RecurringEntitiesAutoExtend;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RecurringEntitiesScheduleId } from '@coast/core-types/workflow-entity/recurring/RecurringEntitiesScheduleId';
|
|
2
2
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
|
-
import { EntityFields } from '../EntityFields';
|
|
3
|
+
import type { EntityFields } from '../EntityFields';
|
|
4
4
|
export interface UpdateRecurringEntities {
|
|
5
5
|
entityFields: EntityFields;
|
|
6
6
|
fromDate?: Date;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityFields } from '../workflow-entity/EntityFields';
|
|
1
|
+
import type { EntityFields } from '../workflow-entity/EntityFields';
|
|
2
2
|
import { ListWorkflowEntitiesInput } from '../workflow-entity/ListWorkflowEntitiesInput';
|
|
3
3
|
export interface CreateBatchUpdateWorkflowEntitiesFile extends Omit<ListWorkflowEntitiesInput, 'offset' | 'limit'> {
|
|
4
4
|
fields: EntityFields;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Selector } from '@coast/schemas';
|
|
1
2
|
import { ViewTemplateId } from '@coast/core-types/view-template/ViewTemplateId';
|
|
2
|
-
import { Selector } from '@coast/schemas';
|
|
3
3
|
export interface ViewTemplateSelector {
|
|
4
4
|
selector?: Selector;
|
|
5
5
|
viewTemplateId: ViewTemplateId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Icon } from '@coast/schemas';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
|
-
import { Icon } from '@coast/schemas';
|
|
3
3
|
import { Component } from './Component';
|
|
4
4
|
export interface PresentationComponent<T extends ComponentType = ComponentType> extends Component<T> {
|
|
5
5
|
icon?: Icon;
|
package/dist/models/workflow-template/components/related-card-lookup/RelatedCardLookupComponent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Icon } from '@coast/schemas';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
3
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
3
|
-
import { Icon } from '@coast/schemas';
|
|
4
4
|
import { Component } from '../Component';
|
|
5
5
|
export interface RelatedCardLookupComponent extends Component<ComponentType.RELATED_CARD_LOOKUP> {
|
|
6
6
|
lookupComponentId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkflowTemplateId } from '@coast/core-types/workflow-template/WorkflowTemplateId';
|
|
2
|
-
import { EntityFields } from '../../../workflow-entity/EntityFields';
|
|
2
|
+
import type { EntityFields } from '../../../workflow-entity/EntityFields';
|
|
3
3
|
export interface SubformComponentDataValue {
|
|
4
4
|
data?: EntityFields;
|
|
5
5
|
workflowTemplateId: WorkflowTemplateId;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Icon } from '@coast/schemas';
|
|
1
2
|
import { ComponentType } from '@coast/core-types/workflow-template/components/ComponentType';
|
|
2
|
-
import { Icon } from '@coast/schemas';
|
|
3
3
|
import { Component } from '../Component';
|
|
4
4
|
export interface CombinedTagsComponent extends Component<ComponentType.COMBINED_TAGS> {
|
|
5
5
|
componentIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"generateTypes.js","sourceRoot":"","sources":["../../src/scripts/generateTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+EAA4E;AAC5E,MAAY,IAAI,iCAAa;AAE7B,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAE5B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,kDAAkD,CAAC,CAAC,CAAC,YAAY,CACpG,CAAC;AAEF,IAAA,6BAAa,EAAC;IACV,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAA0B,CAAC;IAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,WAAW,CAAC;IAC7C,uBAAuB,EAAE,CAAC,YAAY,EAAE,mBAAmB,EAAE,MAAM,CAAC;IACpE,sCAAsC,EAAE;QACpC,SAAS;QACT,iBAAiB;QACjB,wBAAwB;QACxB,gCAAgC;QAChC,yBAAyB;QACzB,iBAAiB;QACjB,gCAAgC;QAChC,oBAAoB;QACpB,yBAAyB;QACzB,oBAAoB;QACpB,eAAe;KAClB;IACD,gBAAgB,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAClE,kCAAkC,EAAE,OAAO,CAAC,GAAG,CAAC,2BAA2B,KAAK,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;IAC7G,wBAAwB,EACpB,iHAAiH;IACrH,iBAAiB,EAAE;QACf,gBAAgB;QAKhB,kBAAkB;QAClB,0BAA0B;QAC1B,cAAc;QACd,mCAAmC;QACnC,sBAAsB;QACtB,2BAA2B;QAC3B,2CAA2C;QAC3C,YAAY;QACZ,kBAAkB;QAClB,iBAAiB;QACjB,0BAA0B;QAC1B,eAAe;QACf,oBAAoB;QACpB,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,0BAA0B;QAC1B,0BAA0B;QAC1B,6BAA6B;QAC7B,kCAAkC;QAClC,iCAAiC;QACjC,wBAAwB;QACxB,6BAA6B;QAC7B,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,2BAA2B;QAC3B,gCAAgC;QAChC,gCAAgC;QAChC,yBAAyB;QACzB,+BAA+B;QAC/B,8BAA8B;QAC9B,oCAAoC;QACpC,iBAAiB;QACjB,sBAAsB;QACtB,sBAAsB;QACtB,2BAA2B;QAC3B,iBAAiB;QACjB,sBAAsB;KACzB;IACD,uBAAuB,EAAE,YAAY;IACrC,uBAAuB,EAAE,CAAC,8BAA8B,EAAE,YAAY,CAAC;IACvE,IAAI,EAAE,IAAI;CACb,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coast/core-api-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.287",
|
|
4
4
|
"description": "Facilitates the generation of core-api-types npm package",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"author": "Coast Engineering",
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@coast/core-types": "0.0.
|
|
27
|
-
"@coast/core-utils": "0.0.
|
|
26
|
+
"@coast/core-types": "0.0.32",
|
|
27
|
+
"@coast/core-utils": "0.0.13",
|
|
28
28
|
"@coast/schemas": "^4.0.0",
|
|
29
29
|
"@coast/service-common": "^2.0.69",
|
|
30
30
|
"@paradoxical-io/types": "^2.1.0",
|
|
@@ -35,11 +35,12 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@coast/service-common-scripts": "^1.0.50",
|
|
38
|
+
"@typescript/native-preview": "^7.0.0-dev.20260327.2",
|
|
38
39
|
"glob": "^10.4.5",
|
|
39
40
|
"ts-morph": "^24.0.0",
|
|
40
41
|
"ts-node": "^10.9.2",
|
|
41
42
|
"tsx": "^4.19.4",
|
|
42
|
-
"typescript": "^
|
|
43
|
+
"typescript": "^6.0.0"
|
|
43
44
|
},
|
|
44
45
|
"scripts": {
|
|
45
46
|
"clean": "yarn clean:dist",
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
"clean:dist": "rm -rf dist tsconfig.tsbuildinfo",
|
|
48
49
|
"generate": "tsx src/scripts/generateTypes.ts",
|
|
49
50
|
"regenerate": "yarn clean:sources && yarn generate",
|
|
50
|
-
"build": "yarn clean:dist &&
|
|
51
|
+
"build": "yarn clean:dist && tsgo"
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|
|
53
54
|
"access": "public"
|