Type declaration
-
create:function
- create<I>(base?: I): WatchEvent
-
Type Parameters
-
I extends {
document?: string;
id?: string;
operation?: string;
} & {
document?: string;
id?: string;
operation?: string;
} & { [ K in string | number | symbol]: never }
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): WatchEvent
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: WatchEvent, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): WatchEvent
-
Type Parameters
-
I extends {
document?: string;
id?: string;
operation?: string;
} & {
document?: string;
id?: string;
operation?: string;
} & { [ K in string | number | symbol]: never }
-
toJSON:function
- toJSON(message: WatchEvent): unknown
-
Returns unknown