mirror of
https://github.com/kc4x4sar/d4h-typescript.git
synced 2026-07-12 17:21:05 -07:00
partial implementation of v3 api
This commit is contained in:
+7
-2
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user