Added support for updating custom fields.

This commit is contained in:
Colin Williams
2023-03-19 18:01:57 -07:00
committed by GitHub
parent a627aaa423
commit e552ff377e
7 changed files with 159 additions and 44 deletions
+16
View File
@@ -0,0 +1,16 @@
import { CustomField } from './customField'
export interface Entity {
custom_fields?: CustomField[];
id: number;
type: EntityType;
}
// EntityType must be one of:
// event, exercise, gear, healthsafety_report, incident,
// incident.weather, member, person_involved, unit, activity
//
// Only the ones actively in use are implemented.
export enum EntityType {
Member = 'member',
}