mirror of
https://github.com/kc4x4sar/d4h-typescript.git
synced 2026-06-03 09:23:36 -07:00
Added joined_at field to Member
This commit is contained in:
+23
-22
@@ -1,37 +1,38 @@
|
||||
import { Entity } from './entity'
|
||||
|
||||
export interface EmergencyContact {
|
||||
name: string | null;
|
||||
relation: string | null;
|
||||
phone: string | null;
|
||||
alt_phone: string | null;
|
||||
name: string | null
|
||||
relation: string | null
|
||||
phone: string | null
|
||||
alt_phone: string | null
|
||||
}
|
||||
|
||||
export interface MemberStatus {
|
||||
id: number;
|
||||
type: string;
|
||||
value: string;
|
||||
label: MemberStatusLabel | null;
|
||||
id: number
|
||||
type: string
|
||||
value: string
|
||||
label: MemberStatusLabel | null
|
||||
}
|
||||
|
||||
export interface MemberStatusLabel {
|
||||
id: number;
|
||||
value: string;
|
||||
id: number
|
||||
value: string
|
||||
}
|
||||
|
||||
export interface Member extends Entity {
|
||||
address: string;
|
||||
email: string | null;
|
||||
emergency_contacts: EmergencyContact[];
|
||||
group_ids: number[] | null;
|
||||
homephone: string;
|
||||
mobilephone: string;
|
||||
name: string;
|
||||
notes: string | null;
|
||||
position: string;
|
||||
ref: string;
|
||||
status: MemberStatus;
|
||||
workphone: string;
|
||||
address: string
|
||||
email: string | null
|
||||
emergency_contacts: EmergencyContact[]
|
||||
group_ids: number[] | null
|
||||
homephone: string
|
||||
joined_at: string
|
||||
mobilephone: string
|
||||
name: string
|
||||
notes: string | null
|
||||
position: string
|
||||
ref: string
|
||||
status: MemberStatus
|
||||
workphone: string
|
||||
}
|
||||
|
||||
export interface MemberUpdate {
|
||||
|
||||
Reference in New Issue
Block a user