-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublic-committee.interface.ts
More file actions
48 lines (44 loc) · 1.09 KB
/
public-committee.interface.ts
File metadata and controls
48 lines (44 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Copyright The Linux Foundation and each contributor to LFX.
// SPDX-License-Identifier: MIT
/**
* Public-safe committee member representation.
* Strips emails, internal IDs, and other private fields.
*/
export interface PublicCommitteeMember {
name: string;
organization?: string;
role?: string;
}
/**
* Public-safe meeting schedule information.
*/
export interface PublicCommitteeMeeting {
time: string;
timezone: string;
duration: number;
recurrence?: string;
video_link?: string;
}
/**
* External links associated with a committee.
*/
export interface PublicCommitteeLinks {
website?: string;
mailing_list_url?: string;
chat_channel_url?: string;
}
/**
* Public-safe committee representation for unauthenticated consumers.
* Used by foundation websites and external integrations.
*/
export interface PublicCommittee {
uid: string;
name: string;
description?: string;
category: string;
chairs: PublicCommitteeMember[];
members: PublicCommitteeMember[];
total_members: number;
meeting_schedule?: PublicCommitteeMeeting;
external_links: PublicCommitteeLinks;
}