@overmap-ai/core 1.0.78-procedures.0 → 1.0.78-procedures.1

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,3 +1,5 @@
1
+ import { SerializedCondition } from '@overmap-ai/forms';
2
+ import { RequiredFileModel } from '../files';
1
3
  import { Asset, AssetType } from './assets';
2
4
  import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, IndexedModel, SubmittedAtModel, TimestampedModel, TreeModel, UUIDModel } from './base';
3
5
  import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
@@ -11,13 +13,17 @@ export interface ProcedureType extends UUIDModel, TimestampedModel, SubmittedAtM
11
13
  issue_type: IssueType["uuid"] | null;
12
14
  asset_type: AssetType["uuid"] | null;
13
15
  }
14
- export interface ProcedureStep extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, TreeModel<string> {
16
+ export interface ProcedureTypeAttachment extends UUIDModel, TimestampedModel, SubmittedAtModel, RequiredFileModel, CreatedByModel {
17
+ procedure_type: ProcedureType["uuid"];
18
+ }
19
+ export interface ProcedureStep extends UUIDModel, TimestampedModel, ColorModel, SubmittedAtModel, CreatedByModel, TreeModel<string> {
15
20
  procedure_type: ProcedureType["uuid"];
16
21
  name: string;
17
22
  order: number;
18
23
  }
19
24
  export interface ProcedureStepFields extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, FieldsModel {
20
25
  procedure_step: ProcedureStep["uuid"];
26
+ field_conditions?: SerializedCondition[] | null;
21
27
  }
22
28
  export interface ProcedureTypeFields extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsModel {
23
29
  procedure_type: ProcedureType["uuid"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overmap-ai/core",
3
- "version": "1.0.78-procedures.0",
3
+ "version": "1.0.78-procedures.1",
4
4
  "description": "Core functionality for Overmap",
5
5
  "keywords": [
6
6
  "components",