feat(api): proxy tag type

This commit is contained in:
Spectralitree 2022-01-09 15:55:23 +01:00
parent e2a16cd76b
commit b57f5b6cb6

View File

@ -8,6 +8,11 @@ interface MemberPrivacy {
metadata_privacy?: string metadata_privacy?: string
} }
type proxytag = {
prefix?: string,
suffix?: string
}
export default class Member { export default class Member {
id?: string; id?: string;
uuid?: string; uuid?: string;
@ -22,7 +27,7 @@ export default class Member {
created?: string; created?: string;
keep_proxy?: boolean keep_proxy?: boolean
system?: string; system?: string;
proxy_tags?: Array<object>; proxy_tags?: Array<proxytag>;
privacy?: MemberPrivacy privacy?: MemberPrivacy
constructor(data: any) { constructor(data: any) {