We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fdb0f2 commit 4f6cd8aCopy full SHA for 4f6cd8a
functions/src/events/types.ts
@@ -4,6 +4,7 @@ import {
4
Literal as L,
5
Null,
6
Number,
7
+ Optional,
8
Record,
9
Runtype,
10
Static,
@@ -77,9 +78,9 @@ export type Hearing = Static<typeof Hearing>
77
78
export const Hearing = BaseEvent.extend({
79
type: L("hearing"),
80
content: HearingContent,
- videoURL: Nullable(String),
81
- videoAssemblyId: Nullable(String),
82
- videoFetchedAt: Nullable(InstanceOf(Timestamp))
+ videoURL: Optional(String),
+ videoAssemblyId: Optional(String),
83
+ videoFetchedAt: Optional(InstanceOf(Timestamp))
84
})
85
86
export type Event = Static<typeof Event>
0 commit comments