Added missing values for HistoryError to be sync with nwaku

This commit is contained in:
NagyZoltanPeter 2024-04-09 13:02:45 +02:00
parent 6758265021
commit aa3ce1fc40
No known key found for this signature in database
GPG Key ID: 16EADB9673B65368
2 changed files with 8 additions and 2 deletions

View File

@ -376,12 +376,16 @@ export interface HistoryResponse {
export namespace HistoryResponse {
export enum HistoryError {
NONE = 'NONE',
INVALID_CURSOR = 'INVALID_CURSOR'
INVALID_CURSOR = 'INVALID_CURSOR',
TOO_MANY_RESULTS = 'TOO_MANY_RESULTS',
SERVICE_UNAVAILABLE = 'SERVICE_UNAVAILABLE'
}
enum __HistoryErrorValues {
NONE = 0,
INVALID_CURSOR = 1
INVALID_CURSOR = 1,
TOO_MANY_RESULTS = 429,
SERVICE_UNAVAILABLE = 503
}
export namespace HistoryError {

View File

@ -42,6 +42,8 @@ message HistoryResponse {
enum HistoryError {
NONE = 0;
INVALID_CURSOR = 1;
TOO_MANY_RESULTS = 429;
SERVICE_UNAVAILABLE = 503;
}
HistoryError error = 4;
}