Variables
ContentFilter
ContentFilter: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { contentTopic?: string } & { contentTopic?: string } & Record<Exclude<keyof I, "contentTopic">, never>
Parameters
toJSON:function
Parameters
Returns unknown
HistoryQuery
HistoryQuery: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { contentFilters?: { contentTopic?: string | undefined; }[]; endTime?: number; pagingInfo?: { pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; }; pubSubTopic?: string; startTime?: number } & { contentFilters?: { contentTopic?: string }[] & ({ contentTopic?: string } & { contentTopic?: string | undefined; } & Record<Exclude<keyof I["contentFilters"][number], "contentTopic">, never>)[] & Record<Exclude<keyof I["contentFilters"], keyof { contentTopic?: string }[]>, never>; endTime?: number; pagingInfo?: { cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }; direction?: PagingInfo_Direction; pageSize?: number } & { pageSize?: number | undefined; cursor?: ({ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } & { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } & Record<...>) | undefined; direction?: PagingInfo_Direction |... & Record<Exclude<keyof I["pagingInfo"], keyof proto.PagingInfo>, never>; pubSubTopic?: string; startTime?: number } & Record<Exclude<keyof I, keyof proto.HistoryQuery>, never>
Parameters
toJSON:function
Parameters
Returns unknown
HistoryRPC
HistoryRPC: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { query?: { pubSubTopic?: string | undefined; contentFilters?: { contentTopic?: string | undefined; }[] | undefined; pagingInfo?: { pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | un...; requestId?: string; response?: { messages?: { payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }[] | undefined; pagingInfo?: { ...; } | undefined; error?: HistoryResponse_Error | undefined; } } & { query?: { contentFilters?: { contentTopic?: string | undefined; }[]; endTime?: number; pagingInfo?: { pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; }; pubSubTopic?: string; startTime?: number } & { pubSubTopic?: string | undefined; contentFilters?: ({ contentTopic?: string | undefined; }[] & ({ contentTopic?: string | undefined; } & { contentTopic?: string | undefined; } & Record<Exclude<...>, never>)[] & Record<...>) | undefined; pagingInfo?: ({ ...; } & ... 1 more ... & Record<...>) | undefined; startTime?... & Record<Exclude<keyof I["query"], keyof proto.HistoryQuery>, never>; requestId?: string; response?: { error?: HistoryResponse_Error; messages?: { payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }[]; pagingInfo?: { pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; } } & { messages?: ({ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }[] & ({ payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; } & { ...; } & Record<...>)[] ... & Record<Exclude<keyof I["response"], keyof proto.HistoryResponse>, never> } & Record<Exclude<keyof I, keyof proto.HistoryRPC>, never>
Parameters
toJSON:function
Parameters
Returns unknown
HistoryResponse
HistoryResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { error?: HistoryResponse_Error; messages?: { payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; }[]; pagingInfo?: { pageSize?: number | undefined; cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } | undefined; direction?: PagingInfo_Direction | undefined; } } & { error?: HistoryResponse_Error; messages?: { contentTopic?: string; payload?: Uint8Array; timestamp?: number; version?: number }[] & ({ contentTopic?: string; payload?: Uint8Array; timestamp?: number; version?: number } & { payload?: Uint8Array | undefined; contentTopic?: string | undefined; version?: number | undefined; timestamp?: number | undefined; } & Record<Exclude<keyof I["messages"][number], keyof proto.WakuMessage>, never>)[] & Record<Exclude<keyof I["messages"], keyof { contentTopic?: string; payload?: Uint8Array; timestamp?: number; version?: number }[]>, never>; pagingInfo?: { cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }; direction?: PagingInfo_Direction; pageSize?: number } & { pageSize?: number | undefined; cursor?: ({ digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } & { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } & Record<...>) | undefined; direction?: PagingInfo_Direction |... & Record<Exclude<keyof I["pagingInfo"], keyof proto.PagingInfo>, never> } & Record<Exclude<keyof I, keyof proto.HistoryResponse>, never>
Parameters
toJSON:function
Parameters
Returns unknown
Index
Index: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
- decode(input: Uint8Array | Reader, length?: number): proto.Index
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
- encode(message: proto.Index, writer?: Writer): Writer
fromJSON:function
fromPartial:function
Type parameters
I: { digest?: Uint8Array; receivedTime?: number; senderTime?: number } & { digest?: Uint8Array; receivedTime?: number; senderTime?: number } & Record<Exclude<keyof I, keyof proto.Index>, never>
Parameters
toJSON:function
Parameters
Returns unknown
PagingInfo
PagingInfo: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { cursor?: { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; }; direction?: PagingInfo_Direction; pageSize?: number } & { cursor?: { digest?: Uint8Array; receivedTime?: number; senderTime?: number } & { digest?: Uint8Array | undefined; receivedTime?: number | undefined; senderTime?: number | undefined; } & Record<Exclude<keyof I["cursor"], keyof proto.Index>, never>; direction?: PagingInfo_Direction; pageSize?: number } & Record<Exclude<keyof I, keyof proto.PagingInfo>, never>
Parameters
toJSON:function
Parameters
Returns unknown
WakuMessage
WakuMessage: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }
Type declaration
decode:function
Parameters
input: Uint8Array | Reader
Optional length: number
encode:function
fromJSON:function
fromPartial:function
Type parameters
I: { contentTopic?: string; payload?: Uint8Array; timestamp?: number; version?: number } & { contentTopic?: string; payload?: Uint8Array; timestamp?: number; version?: number } & Record<Exclude<keyof I, keyof proto.WakuMessage>, never>
Parameters
toJSON:function
Parameters
Returns unknown