partial implementation of v3 api

This commit is contained in:
2024-12-21 08:18:26 +00:00
parent f77bed5979
commit 1c36cdb7d5
69 changed files with 1387 additions and 257 deletions
+7 -2
View File
@@ -1,9 +1,9 @@
import { CustomField } from './customField'
import { CustomField } from './types/customField'
export interface Entity {
custom_fields?: CustomField[];
id: number;
type: EntityType;
entityType: EntityType;
}
// EntityType must be one of:
@@ -13,4 +13,9 @@ export interface Entity {
// Only the ones actively in use are implemented.
export enum EntityType {
Member = 'member',
memberGroup = 'membergroup',
Incident = 'incident',
Qualification = 'qualification',
Award = 'award',
Animal = 'animal'
}