Skip to content

Commit 2f4c835

Browse files
jdegandgeromegrignon
authored andcommitted
fix: add updated models to contributing
1 parent 951becc commit 2f4c835

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ export interface Community {
5050
type: 'workshop' | 'conference' | 'meetup' | 'other';
5151
location: string | null;
5252
url: string | null;
53+
mediaChannel: MediaChannel | null;
5354
logo: string | null;
5455
twitter: string | null;
5556
linkedin: string | null;
5657
callForPapers: string | null;
57-
events: Event[]; // default to []
58+
events: Event[];
5859
}
5960
```
6061

@@ -67,17 +68,17 @@ The item should match this format:
6768

6869
```typescript
6970
export interface Event {
70-
name: string | null;
71+
name?: string;
7172
type: 'workshop' | 'conference' | 'meetup' | 'other';
72-
location: string | null;
73-
url: string | null;
73+
location?: string | null;
7474
date: string;
7575
language: string;
7676
isFree: boolean;
7777
isRemote: boolean;
7878
isOnsite: boolean;
79-
callForPapers: string | null;
80-
callForPapersDueDate: string | null;
79+
callForPapers?: string | null;
80+
callForPapersDueDate?: string | null;
81+
url?: string;
8182
}
8283
```
8384

0 commit comments

Comments
 (0)