mirror of
https://github.com/kc4x4sar/d4h-typescript.git
synced 2026-07-12 17:21:05 -07:00
Added support for updating custom fields.
This commit is contained in:
@@ -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',
|
||||
}
|
||||
Reference in New Issue
Block a user